Makefile
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:20k
源码类别:

VxWorks

开发平台:

C/C++

  1. # Makefile generated by the project manager
  2. #
  3. # GENERATED: Mon Nov 18 14:07:51 PST 2002
  4. # DO NOT EDIT - file is regenerated whenever the project changes
  5. ## core information
  6. ifeq ($(wildcard Makefile),)
  7. PRJ_DIR        = ..
  8. else
  9. PRJ_DIR        = .
  10. endif
  11. PRJ_FILE       = ixdp425_gnube.wpj
  12. PRJ_TYPE       = vxWorks
  13. PRJ_OBJS       = sysALib.o sysLib.o usrAppInit.o prjConfig.o linkSyms.o
  14. BOOT_OBJS      = romInit.o flashUtils.o romStart.o $(BOOT_EXTRA)
  15. BUILD_SPEC     = default
  16. BSP_DIR        = $(WIND_BASE)/target/config/ixdp425
  17. TGT_DIR        = $(WIND_BASE)/target
  18. ## set searching directories for dependencies
  19. vpath %.c $(BSP_DIR)
  20. vpath %.cpp $(BSP_DIR)
  21. vpath %.cxx $(BSP_DIR)
  22. ## build-configuration info
  23. ifeq ($(BUILD_SPEC),default)
  24. CPU            = XSCALE
  25. TOOL           = gnube
  26. TOOL_FAMILY    = gnu
  27. DEFAULT_RULE   = vxWorks
  28. endif
  29. ifeq ($(BUILD_SPEC),default_rom)
  30. CPU            = XSCALE
  31. TOOL           = gnube
  32. TOOL_FAMILY    = gnu
  33. DEFAULT_RULE   = vxWorks_rom
  34. endif
  35. ifeq ($(BUILD_SPEC),default_romCompress)
  36. CPU            = XSCALE
  37. TOOL           = gnube
  38. TOOL_FAMILY    = gnu
  39. DEFAULT_RULE   = vxWorks_romCompress
  40. endif
  41. ifeq ($(BUILD_SPEC),default_romResident)
  42. CPU            = XSCALE
  43. TOOL           = gnube
  44. TOOL_FAMILY    = gnu
  45. DEFAULT_RULE   = vxWorks_romResident
  46. endif
  47. ## component-configuration info
  48. COMPONENTS = INCLUDE_ANSI_ASSERT 
  49. INCLUDE_ANSI_CTYPE 
  50. INCLUDE_ANSI_LOCALE 
  51. INCLUDE_ANSI_MATH 
  52. INCLUDE_ANSI_STDIO 
  53. INCLUDE_ANSI_STDIO_EXTRA 
  54. INCLUDE_ANSI_STDLIB 
  55. INCLUDE_ANSI_STRING 
  56. INCLUDE_ANSI_TIME 
  57. INCLUDE_ARP_API 
  58. INCLUDE_BOOT_LINE_INIT 
  59. INCLUDE_BSD_SOCKET 
  60. INCLUDE_BUF_MGR 
  61. INCLUDE_CACHE_ENABLE 
  62. INCLUDE_CACHE_SUPPORT 
  63. INCLUDE_CTORS_DTORS 
  64. INCLUDE_DHCPC_LEASE_CLEAN 
  65. INCLUDE_DIAB_INTRINSICS 
  66. INCLUDE_DLL 
  67. INCLUDE_END 
  68. INCLUDE_END_BOOT 
  69. INCLUDE_ENV_VARS 
  70. INCLUDE_EXC_HANDLING 
  71. INCLUDE_EXC_SHOW 
  72. INCLUDE_EXC_TASK 
  73. INCLUDE_FLOATING_POINT 
  74. INCLUDE_FORMATTED_IO 
  75. INCLUDE_FTP 
  76. INCLUDE_GNU_INTRINSICS 
  77. INCLUDE_HASH 
  78. INCLUDE_HOST_TBL 
  79. INCLUDE_ICMP 
  80. INCLUDE_IGMP 
  81. INCLUDE_IO_SYSTEM 
  82. INCLUDE_IP 
  83. INCLUDE_KERNEL 
  84. INCLUDE_LOGGING 
  85. INCLUDE_LOOPBACK 
  86. INCLUDE_LSTLIB 
  87. INCLUDE_MEMORY_CONFIG 
  88. INCLUDE_MEM_MGR_BASIC 
  89. INCLUDE_MEM_MGR_FULL 
  90. INCLUDE_MMU_BASIC 
  91. INCLUDE_MSG_Q 
  92. INCLUDE_MSG_Q_SHOW 
  93. INCLUDE_MUX 
  94. INCLUDE_NETDEV_CONFIG 
  95. INCLUDE_NETDEV_NAMEGET 
  96. INCLUDE_NETMASK_GET 
  97. INCLUDE_NETWORK 
  98. INCLUDE_NET_HOST_SETUP 
  99. INCLUDE_NET_INIT 
  100. INCLUDE_NET_LIB 
  101. INCLUDE_NET_REM_IO 
  102. INCLUDE_NET_SETUP 
  103. INCLUDE_PIPES 
  104. INCLUDE_POSIX_CLOCKS 
  105. INCLUDE_RBUFF 
  106. INCLUDE_RNG_BUF 
  107. INCLUDE_SELECT 
  108. INCLUDE_SELECT_SUPPORT 
  109. INCLUDE_SEM_BINARY 
  110. INCLUDE_SEM_COUNTING 
  111. INCLUDE_SEM_MUTEX 
  112. INCLUDE_SIGNALS 
  113. INCLUDE_SIO 
  114. INCLUDE_STDIO 
  115. INCLUDE_SW_FP 
  116. INCLUDE_SYM_TBL 
  117. INCLUDE_SYSCLK_INIT 
  118. INCLUDE_SYSHW_INIT 
  119. INCLUDE_SYS_START 
  120. INCLUDE_TASK_HOOKS 
  121. INCLUDE_TASK_SHOW 
  122. INCLUDE_TASK_VARS 
  123. INCLUDE_TCP 
  124. INCLUDE_TFTP_CLIENT 
  125. INCLUDE_TIMESTAMP 
  126. INCLUDE_TIMEX 
  127. INCLUDE_TTY_DEV 
  128. INCLUDE_UDP 
  129. INCLUDE_USER_APPL 
  130. INCLUDE_USER_TIMESTAMP 
  131. INCLUDE_VXEVENTS 
  132. INCLUDE_WATCHDOGS 
  133. INCLUDE_WDB 
  134. INCLUDE_WDB_BANNER 
  135. INCLUDE_WDB_BP 
  136. INCLUDE_WDB_COMM_END 
  137. INCLUDE_WDB_CTXT 
  138. INCLUDE_WDB_DIRECT_CALL 
  139. INCLUDE_WDB_EVENTPOINTS 
  140. INCLUDE_WDB_EVENTS 
  141. INCLUDE_WDB_EXC_NOTIFY 
  142. INCLUDE_WDB_EXIT_NOTIFY 
  143. INCLUDE_WDB_FUNC_CALL 
  144. INCLUDE_WDB_GOPHER 
  145. INCLUDE_WDB_MEM 
  146. INCLUDE_WDB_REG 
  147. INCLUDE_WDB_START_NOTIFY 
  148. INCLUDE_WDB_SYS 
  149. INCLUDE_WDB_TASK 
  150. INCLUDE_WDB_TASK_BP 
  151. INCLUDE_WDB_TSFS 
  152. INCLUDE_WDB_USER_EVENT 
  153. INCLUDE_WDB_VIO 
  154. INCLUDE_WDB_VIO_LIB 
  155. INCLUDE_WINDVIEW 
  156. INCLUDE_WINDVIEW_CLASS 
  157. INCLUDE_WVUPLOAD_FILE 
  158. INCLUDE_WVUPLOAD_TSFSSOCK
  159. COMPONENT_LIBS = 
  160. include $(TGT_DIR)/h/make/defs.project
  161. ## build-configuration info
  162. ifeq ($(BUILD_SPEC),default)
  163. AR               = ararm
  164. AS               = ccarm
  165. BE_FLAG1         = -mbig-endian
  166. BE_FLAG2         = -X -EB
  167. BOOT_EXTRA       = 
  168. CC               = ccarm
  169. CC_ARCH_SPEC     = -mapcs-32 -mbig-endian -mcpu=xscale
  170. CFLAGS           = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -DARMEB -I$(PRJ_DIR) -I$(WIND_BASE)/target/config/ixdp425 -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/config/comps/src -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DPRJ_BUILD -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks
  171. CFLAGS_AS        = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -P -xassembler-with-cpp -I$(PRJ_DIR) -I$(WIND_BASE)/target/config/ixdp425 -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/config/comps/src -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DPRJ_BUILD -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks
  172. CFLAGS_AS_PROJECT = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -I/h -I. -I$(WIND_BASE)/target/config/all -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/src/config -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DARMEB -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks -P -xassembler-with-cpp
  173. CFLAGS_PROJECT   = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -I/h -I. -I$(WIND_BASE)/target/config/all -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/src/config -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DARMEB -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks
  174. CPP              = ccarm -E -P
  175. DOC_FILES        = sysLib sysEnd ixp425Eeprom ixp425Gpio ixp425I2c ixp425IntrCtl ixp425Pci ixp425PciConfigLib ixp425PciConfigShow ixp425PciDma ixp425PciIntLib ixp425Sio ixEthAccEnd ixEthAccSysEnd ixp425Timer
  176. EXTRA_MODULES    = 
  177. IXP425LIB        = $(IXP425LIB_BASE)/libIxp425.a
  178. IXP425LIB_BASE   = $(CSR_BASE)/lib/$(TOOLENV)objs
  179. LD               = ldarm
  180. LDFLAGS          = -X -EB -N
  181. LD_LINK_PATH     = -L$(WIND_BASE)/target/lib/arm/XSCALE/gnube -L$(WIND_BASE)/target/lib/arm/XSCALE/commonbe
  182. LD_PARTIAL       = ccarm -r -nostdlib -Wl,-X -Wl,-EB
  183. LD_PARTIAL_FLAGS = -X -EB -r
  184. LIBS             = $(VX_OS_LIBS)
  185. NM               = nmarm -g
  186. OPTION_DEFINE_MACRO = -D
  187. OPTION_DEPEND    = -M -w
  188. OPTION_GENERATE_DEPENDENCY_FILE = -MD
  189. OPTION_INCLUDE_DIR = -I
  190. OPTION_LANG_C    = -xc
  191. OPTION_UNDEFINE_MACRO = -U
  192. RAM_HIGH_ADRS    = 08000000     # RAM text/data address.
  193. RAM_LOW_ADRS     = 00010000     # RAM text/data address
  194. ROM_BASE_ADRS    = 50000000      # base address of EPROM
  195. SIZE             = sizearm
  196. SWAP             = $(TGT_DIR)/config/$(TARGET_DIR)/swapbytes_$(WIND_HOST_TYPE)
  197. TOOL_FAMILY      = gnu
  198. POST_BUILD_RULE  = 
  199. endif
  200. ifeq ($(BUILD_SPEC),default_rom)
  201. AR               = ararm
  202. AS               = ccarm
  203. BE_FLAG1         = -mbig-endian
  204. BE_FLAG2         = -X -EB
  205. BOOT_EXTRA       = 
  206. CC               = ccarm
  207. CC_ARCH_SPEC     = -mapcs-32 -mbig-endian -mcpu=xscale
  208. CFLAGS           = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -DARMEB -I$(PRJ_DIR) -I$(WIND_BASE)/target/config/ixdp425 -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/config/comps/src -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DPRJ_BUILD -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks
  209. CFLAGS_AS        = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -P -xassembler-with-cpp -I$(PRJ_DIR) -I$(WIND_BASE)/target/config/ixdp425 -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/config/comps/src -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DPRJ_BUILD -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks
  210. CFLAGS_AS_PROJECT = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -I/h -I. -I$(WIND_BASE)/target/config/all -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/src/config -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DARMEB -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks -P -xassembler-with-cpp
  211. CFLAGS_PROJECT   = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -I/h -I. -I$(WIND_BASE)/target/config/all -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/src/config -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DARMEB -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks
  212. CPP              = ccarm -E -P
  213. DOC_FILES        = sysLib sysEnd ixp425Eeprom ixp425Gpio ixp425I2c ixp425IntrCtl ixp425Pci ixp425PciConfigLib ixp425PciConfigShow ixp425PciDma ixp425PciIntLib ixp425Sio ixEthAccEnd ixEthAccSysEnd ixp425Timer
  214. EXTRA_MODULES    = 
  215. HEX_FLAGS        = 
  216. IXP425LIB        = $(IXP425LIB_BASE)/libIxp425.a
  217. IXP425LIB_BASE   = $(CSR_BASE)/lib/$(TOOLENV)objs
  218. LD               = ldarm
  219. LDFLAGS          = -X -EB -N
  220. LD_LINK_PATH     = -L$(WIND_BASE)/target/lib/arm/XSCALE/gnube -L$(WIND_BASE)/target/lib/arm/XSCALE/commonbe
  221. LD_PARTIAL       = ccarm -r -nostdlib -Wl,-X -Wl,-EB
  222. LD_PARTIAL_FLAGS = -X -EB -r
  223. LIBS             = $(VX_OS_LIBS)
  224. NM               = nmarm -g
  225. OPTION_DEFINE_MACRO = -D
  226. OPTION_DEPEND    = -M -w
  227. OPTION_GENERATE_DEPENDENCY_FILE = -MD
  228. OPTION_INCLUDE_DIR = -I
  229. OPTION_LANG_C    = -xc
  230. OPTION_UNDEFINE_MACRO = -U
  231. RAM_HIGH_ADRS    = 08000000     # RAM text/data address.
  232. RAM_LOW_ADRS     = 00010000     # RAM text/data address
  233. ROM_BASE_ADRS    = 50000000      # base address of EPROM
  234. ROM_SIZE         = 01000000      # size of EPROM , 16 meg for now.
  235. ROM_TEXT_ADRS    = 50000000      # code start addr in EPROM
  236. SIZE             = sizearm
  237. SWAP             = $(TGT_DIR)/config/$(TARGET_DIR)/swapbytes_$(WIND_HOST_TYPE)
  238. TOOL_FAMILY      = gnu
  239. POST_BUILD_RULE  = 
  240. endif
  241. ifeq ($(BUILD_SPEC),default_romCompress)
  242. AR               = ararm
  243. AS               = ccarm
  244. BE_FLAG1         = -mbig-endian
  245. BE_FLAG2         = -X -EB
  246. BOOT_EXTRA       = 
  247. CC               = ccarm
  248. CC_ARCH_SPEC     = -mapcs-32 -mbig-endian -mcpu=xscale
  249. CFLAGS           = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -DARMEB -I$(PRJ_DIR) -I$(WIND_BASE)/target/config/ixdp425 -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/config/comps/src -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DPRJ_BUILD -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks
  250. CFLAGS_AS        = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -P -xassembler-with-cpp -I$(PRJ_DIR) -I$(WIND_BASE)/target/config/ixdp425 -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/config/comps/src -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DPRJ_BUILD -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks
  251. CFLAGS_AS_PROJECT = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -I/h -I. -I$(WIND_BASE)/target/config/all -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/src/config -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DARMEB -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks -P -xassembler-with-cpp
  252. CFLAGS_PROJECT   = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -I/h -I. -I$(WIND_BASE)/target/config/all -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/src/config -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DARMEB -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks
  253. CPP              = ccarm -E -P
  254. DOC_FILES        = sysLib sysEnd ixp425Eeprom ixp425Gpio ixp425I2c ixp425IntrCtl ixp425Pci ixp425PciConfigLib ixp425PciConfigShow ixp425PciDma ixp425PciIntLib ixp425Sio ixEthAccEnd ixEthAccSysEnd ixp425Timer
  255. EXTRA_MODULES    = 
  256. HEX_FLAGS        = 
  257. IXP425LIB        = $(IXP425LIB_BASE)/libIxp425.a
  258. IXP425LIB_BASE   = $(CSR_BASE)/lib/$(TOOLENV)objs
  259. LD               = ldarm
  260. LDFLAGS          = -X -EB -N
  261. LD_LINK_PATH     = -L$(WIND_BASE)/target/lib/arm/XSCALE/gnube -L$(WIND_BASE)/target/lib/arm/XSCALE/commonbe
  262. LD_PARTIAL       = ccarm -r -nostdlib -Wl,-X -Wl,-EB
  263. LD_PARTIAL_FLAGS = -X -EB -r
  264. LIBS             = $(VX_OS_LIBS)
  265. NM               = nmarm -g
  266. OPTION_DEFINE_MACRO = -D
  267. OPTION_DEPEND    = -M -w
  268. OPTION_GENERATE_DEPENDENCY_FILE = -MD
  269. OPTION_INCLUDE_DIR = -I
  270. OPTION_LANG_C    = -xc
  271. OPTION_UNDEFINE_MACRO = -U
  272. RAM_HIGH_ADRS    = 08000000     # RAM text/data address.
  273. RAM_LOW_ADRS     = 00010000     # RAM text/data address
  274. ROM_BASE_ADRS    = 50000000      # base address of EPROM
  275. ROM_SIZE         = 01000000      # size of EPROM , 16 meg for now.
  276. ROM_TEXT_ADRS    = 50000000      # code start addr in EPROM
  277. SIZE             = sizearm
  278. SWAP             = $(TGT_DIR)/config/$(TARGET_DIR)/swapbytes_$(WIND_HOST_TYPE)
  279. TOOL_FAMILY      = gnu
  280. POST_BUILD_RULE  = 
  281. endif
  282. ifeq ($(BUILD_SPEC),default_romResident)
  283. AR               = ararm
  284. AS               = ccarm
  285. BE_FLAG1         = -mbig-endian
  286. BE_FLAG2         = -X -EB
  287. BOOT_EXTRA       = 
  288. CC               = ccarm
  289. CC_ARCH_SPEC     = -mapcs-32 -mbig-endian -mcpu=xscale
  290. CFLAGS           = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -DARMEB -I$(PRJ_DIR) -I$(WIND_BASE)/target/config/ixdp425 -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/config/comps/src -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DPRJ_BUILD -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks
  291. CFLAGS_AS        = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -P -xassembler-with-cpp -I$(PRJ_DIR) -I$(WIND_BASE)/target/config/ixdp425 -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/config/comps/src -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DPRJ_BUILD -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks
  292. CFLAGS_AS_PROJECT = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -I/h -I. -I$(WIND_BASE)/target/config/all -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/src/config -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DARMEB -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks -P -xassembler-with-cpp
  293. CFLAGS_PROJECT   = -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -I/h -I. -I$(WIND_BASE)/target/config/all -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/src/config -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DARMEB -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks
  294. CPP              = ccarm -E -P
  295. DOC_FILES        = sysLib sysEnd ixp425Eeprom ixp425Gpio ixp425I2c ixp425IntrCtl ixp425Pci ixp425PciConfigLib ixp425PciConfigShow ixp425PciDma ixp425PciIntLib ixp425Sio ixEthAccEnd ixEthAccSysEnd ixp425Timer
  296. EXTRA_MODULES    = 
  297. HEX_FLAGS        = 
  298. IXP425LIB        = $(IXP425LIB_BASE)/libIxp425.a
  299. IXP425LIB_BASE   = $(CSR_BASE)/lib/$(TOOLENV)objs
  300. LD               = ldarm
  301. LDFLAGS          = -X -EB -N
  302. LD_LINK_PATH     = -L$(WIND_BASE)/target/lib/arm/XSCALE/gnube -L$(WIND_BASE)/target/lib/arm/XSCALE/commonbe
  303. LD_PARTIAL       = ccarm -r -nostdlib -Wl,-X -Wl,-EB
  304. LD_PARTIAL_FLAGS = -X -EB -r
  305. LIBS             = $(VX_OS_LIBS)
  306. NM               = nmarm -g
  307. OPTION_DEFINE_MACRO = -D
  308. OPTION_DEPEND    = -M -w
  309. OPTION_GENERATE_DEPENDENCY_FILE = -MD
  310. OPTION_INCLUDE_DIR = -I
  311. OPTION_LANG_C    = -xc
  312. OPTION_UNDEFINE_MACRO = -U
  313. RAM_HIGH_ADRS    = 08000000     # RAM text/data address.
  314. RAM_LOW_ADRS     = 00010000     # RAM text/data address
  315. ROM_BASE_ADRS    = 50000000      # base address of EPROM
  316. ROM_SIZE         = 01000000      # size of EPROM , 16 meg for now.
  317. ROM_TEXT_ADRS    = 50000000      # code start addr in EPROM
  318. SIZE             = sizearm
  319. SWAP             = $(TGT_DIR)/config/$(TARGET_DIR)/swapbytes_$(WIND_HOST_TYPE)
  320. TOOL_FAMILY      = gnu
  321. POST_BUILD_RULE  = 
  322. endif
  323. # override make definitions only below this line
  324. # override make definitions only above this line
  325. include $(TGT_DIR)/h/make/rules.project
  326. ## build-configuration info
  327. sysALib.o: $(PRJ_DIR)/prjParams.h
  328. ifeq ($(BUILD_SPEC),default)
  329. usrAppInit.o:
  330. $(CC) -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -DARMEB -I$(PRJ_DIR) -I$(WIND_BASE)/target/config/ixdp425 -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/config/comps/src -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DPRJ_BUILD -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks -c $(PRJ_DIR)/usrAppInit.c
  331. endif
  332. ifeq ($(BUILD_SPEC),default_rom)
  333. usrAppInit.o:
  334. $(CC) -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -DARMEB -I$(PRJ_DIR) -I$(WIND_BASE)/target/config/ixdp425 -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/config/comps/src -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DPRJ_BUILD -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks -c $(PRJ_DIR)/usrAppInit.c
  335. endif
  336. ifeq ($(BUILD_SPEC),default_romCompress)
  337. usrAppInit.o:
  338. $(CC) -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -DARMEB -I$(PRJ_DIR) -I$(WIND_BASE)/target/config/ixdp425 -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/config/comps/src -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DPRJ_BUILD -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks -c $(PRJ_DIR)/usrAppInit.c
  339. endif
  340. ifeq ($(BUILD_SPEC),default_romResident)
  341. usrAppInit.o:
  342. $(CC) -g -mapcs-32 -mbig-endian -mcpu=xscale -ansi -fno-builtin -DARMEB -I$(PRJ_DIR) -I$(WIND_BASE)/target/config/ixdp425 -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/config/comps/src -I$(WIND_BASE)/target/src/drv -DCPU=XSCALE -DTOOL_FAMILY=gnu -DTOOL=gnube -DPRJ_BUILD -I/src/include -I/src -DCPU_XSCALE -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE -D__vxworks -c $(PRJ_DIR)/usrAppInit.c
  343. endif
  344. ## dependencies
  345. sysALib.o: $(WIND_BASE)/target/config/ixdp425/sysALib.s 
  346. $(PRJ_DIR)/prjComps.h 
  347. $(PRJ_DIR)/prjParams.h
  348. sysLib.o: $(WIND_BASE)/target/config/ixdp425/sysLib.c 
  349. $(WIND_BASE)/host/$(WIND_HOST_TYPE)/lib/gcc-lib/arm-wrs-vxworks/2.9-010413/include/stddef.h 
  350. $(PRJ_DIR)/prjComps.h 
  351. $(PRJ_DIR)/prjParams.h 
  352. $(WIND_BASE)/host/$(WIND_HOST_TYPE)/lib/gcc-lib/arm-wrs-vxworks/2.9-010413/include/stdarg.h
  353. flashUtils.o: $(WIND_BASE)/target/config/ixdp425/flashUtils.c
  354. romInit.o: $(WIND_BASE)/target/config/ixdp425/romInit.s 
  355. $(PRJ_DIR)/prjComps.h 
  356. $(PRJ_DIR)/prjParams.h
  357. romStart.o: $(WIND_BASE)/target/config/comps/src/romStart.c 
  358. $(WIND_BASE)/host/$(WIND_HOST_TYPE)/lib/gcc-lib/arm-wrs-vxworks/2.9-010413/include/stddef.h 
  359. $(PRJ_DIR)/prjComps.h 
  360. $(PRJ_DIR)/prjParams.h 
  361. $(WIND_BASE)/host/$(WIND_HOST_TYPE)/lib/gcc-lib/arm-wrs-vxworks/2.9-010413/include/stdarg.h
  362. usrAppInit.o: $(PRJ_DIR)/usrAppInit.c
  363. prjConfig.o: $(PRJ_DIR)/prjConfig.c 
  364. $(WIND_BASE)/host/$(WIND_HOST_TYPE)/lib/gcc-lib/arm-wrs-vxworks/2.9-010413/include/stddef.h 
  365. $(PRJ_DIR)/prjComps.h 
  366. $(PRJ_DIR)/prjParams.h 
  367. $(WIND_BASE)/host/$(WIND_HOST_TYPE)/lib/gcc-lib/arm-wrs-vxworks/2.9-010413/include/stdarg.h
  368. linkSyms.o: $(PRJ_DIR)/linkSyms.c
  369. ## user defined rules
  370. romStart.o : 
  371. $(CC) $(OPTION_OBJECT_ONLY) $(CFLAGS) $(PROJECT_BSP_FLAGS_EXTRA) $(ROM_FLAGS_EXTRA) $< -o $@
  372. flashUtils.o : 
  373. $(CC) $(OPTION_OBJECT_ONLY) $(CFLAGS) $(PROJECT_BSP_FLAGS_EXTRA) $(WIND_BASE)/target/config/ixdp425/flashUtils.c -o $@
  374. romInit.o : 
  375. $(CC) $(OPTION_OBJECT_ONLY) $(CFLAGS_AS) $(PROJECT_BSP_FLAGS_EXTRA) $(ROM_FLAGS_EXTRA) $< -o $@
  376. linkSyms.o : 
  377. $(CC) $(OPTION_OBJECT_ONLY) $(CFLAGS) $(PROJECT_BSP_FLAGS_EXTRA) $(PRJ_DIR)/linkSyms.c -o $@
  378. sysLib.o : 
  379. $(CC) $(OPTION_OBJECT_ONLY) $(CFLAGS) $(PROJECT_BSP_FLAGS_EXTRA) $(WIND_BASE)/target/config/ixdp425/sysLib.c -o $@
  380. sysALib.o : 
  381. $(AS) $(OPTION_OBJECT_ONLY) $(CFLAGS_AS) $(PROJECT_BSP_FLAGS_EXTRA) $(WIND_BASE)/target/config/ixdp425/sysALib.s -o $@
  382. prjConfig.o : 
  383. $(CC) $(OPTION_OBJECT_ONLY) $(CFLAGS) $(PROJECT_BSP_FLAGS_EXTRA) $(PRJ_DIR)/prjConfig.c -o $@