Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

679 lines
26 KiB

  1. #
  2. # Kernel Make file
  3. #
  4. # Macros defined on command line:
  5. # DEST - Destination of obj's.
  6. # CFLAGS - DOS version dependent C compiler flags
  7. # AFLAGS - DOS version dependent assembler flags
  8. !INCLUDE ..\makefile.inc
  9. # For DOS.
  10. MAKE=NMAKE
  11. # Uncomment one of the two following lines. The first disables our
  12. # protected-mode-only Int 21 handlers for testing. The second is
  13. # the way we ship.
  14. #WOW_QUICK_INT21=
  15. WOW_QUICK_INT21=-DW_Q21
  16. #####################################################################
  17. # #
  18. # The command lines in this section MUST AGREE with their parallels #
  19. # in the master CORE makefile. #
  20. # #
  21. #####################################################################
  22. !ifndef ALT_PROJECT
  23. ALT_PROJECT=USA
  24. ALT_PROJECT_TARGET=.
  25. !endif
  26. !if !$(FREEBUILD) && "$(ALT_PROJECT)" != "NEC_98"
  27. A1FLAGS=-DWOW $(WOW_QUICK_INT21) -DWINDEBUG -DPM386 -DWOW_$(PROCESSOR_ARCHITECTURE) $(DBCS_FLAGS)
  28. CFLAGS=-DWINDEBUG -DPM386 $(DBCS_FLAGS)
  29. !else
  30. A1FLAGS=-DWOW $(WOW_QUICK_INT21) -DPM386 -DWOW_$(PROCESSOR_ARCHITECTURE) $(DBCS_FLAGS)
  31. CFLAGS=-DPM386 $(DBCS_FLAGS)
  32. !endif
  33. # Turn on the PMODE and BUILDDLL flags
  34. MAP=map/li/warnfixup
  35. WOWINC = ..\..\inc
  36. AINC = -I..\inc -I$(WOWINC)
  37. CINC = -I..\inc -I$(WOWINC) -I$(SDK_INC_PATH)
  38. RCINC=..\inc;$(WOWINC);$(SDK_INC_PATH)
  39. #make sure the tools can see all the right files
  40. PATH = .\$(DEST);$(PATH)
  41. ##########
  42. #
  43. # Standard command line definitions
  44. #
  45. AFLAGS = $(A1FLAGS) -s -t -P -W0
  46. # flags for kernstub.asm compiles (no protect mode)
  47. KSAFLAGS = -I..\..\.. -I..\..\..\..\inc -I..\..\..\..\..\inc $(A1FLAGS) -DPMODE=0 -DBUILDDLL -s -t -P -W2
  48. #
  49. # -Zi gives exes larger than 600K, so use -Zd
  50. #
  51. !if !$(FREEBUILD)
  52. AFLAGS = $(AFLAGS) -Zd
  53. CFLAGS = $(CFLAGS) -Od -Oi -Zd
  54. LDEBUG = /LI
  55. !endif
  56. ASMCMD = $(ASM) $(AINC) $(AFLAGS)
  57. CP_FLAGS = -c -Asnw -G2sc -Oase -Zpe -W2 -Fo$*.obj $(CFLAGS)
  58. CPF_FLAGS = -c -DWOW -Alnw -G2sc -Oase -Zpe -W2 -Fo$*.obj $(CFLAGS)
  59. CP = $(CL) $(CP_FLAGS)
  60. CPF = $(CL) $(CPF_FLAGS)
  61. ##############################################################################
  62. # (leave a blank line above this one)
  63. #
  64. # The Assembler File List
  65. #
  66. all: makedir setenv oldobjs $(DEST)\kernel.exe $(DEST)\krnl386.sym
  67. -binplace -o $(ALT_PROJECT_TARGET) $(DEST)\krnl386.exe
  68. -binplace -o $(ALT_PROJECT_TARGET) $(DEST)\krnl386.sym
  69. -binplace -o $(ALT_PROJECT_TARGET) $(DEST)\krnl386.map
  70. makedir:
  71. @-if not exist $(DEST) md $(DEST)
  72. setenv:
  73. set include=$(ENVINCS);$(INCLUDE)
  74. oldobjs:
  75. @if exist strings.asm del strings.asm
  76. clean: all
  77. OBJ = $(DEST)\winexec.obj \
  78. $(DEST)\kdata.obj \
  79. $(DEST)\ldboot.obj \
  80. $(DEST)\ldutil.obj \
  81. $(DEST)\ldfile.obj \
  82. $(DEST)\ldseg.obj \
  83. $(DEST)\ldreloc.obj \
  84. $(DEST)\ldint.obj \
  85. $(DEST)\gpfix.obj \
  86. $(DEST)\ldopen.obj \
  87. $(DEST)\ld.obj \
  88. $(DEST)\ldaux.obj \
  89. $(DEST)\ldcache.obj \
  90. $(DEST)\lddebug.obj \
  91. $(DEST)\ldfastb.obj \
  92. $(DEST)\stack.obj \
  93. $(DEST)\mapdata.obj \
  94. $(DEST)\kdataend.obj \
  95. $(DEST)\ldstack.obj \
  96. $(DEST)\ldheader.obj \
  97. $(DEST)\resaux.obj \
  98. $(DEST)\strings.obj \
  99. $(DEST)\ripaux.obj \
  100. $(DEST)\module.obj \
  101. $(DEST)\task.obj \
  102. $(DEST)\context.obj \
  103. $(DEST)\i21file.obj \
  104. $(DEST)\int24.obj \
  105. $(DEST)\dosinit.obj \
  106. $(DEST)\atom.obj \
  107. $(DEST)\diskio.obj \
  108. $(DEST)\lstring.obj \
  109. $(DEST)\hmem.obj \
  110. $(DEST)\userpro.obj \
  111. $(DEST)\handle.obj \
  112. $(DEST)\lacheck.obj \
  113. $(DEST)\lalloc.obj \
  114. $(DEST)\lcompact.obj \
  115. $(DEST)\linterf.obj \
  116. $(DEST)\lhandle.obj \
  117. $(DEST)\i21entry.obj \
  118. $(DEST)\i21task.obj \
  119. $(DEST)\ldappl.obj \
  120. $(DEST)\ldself.obj \
  121. $(DEST)\rip.obj \
  122. $(DEST)\intnn.obj \
  123. $(DEST)\enable.obj \
  124. $(DEST)\miscapi.obj \
  125. $(DEST)\lzexp.obj \
  126. $(DEST)\rom.obj \
  127. $(DEST)\layer.obj \
  128. $(DEST)\error.obj \
  129. $(DEST)\diag.obj \
  130. $(DEST)\wow16cal.obj \
  131. $(DEST)\kthunks.obj \
  132. $(DEST)\wowdeb.obj \
  133. $(DEST)\tasking.obj \
  134. $(DEST)\selman.obj \
  135. $(DEST)\kflatstb.obj
  136. OBJ3 = $(DEST)\3glru.obj \
  137. $(DEST)\3gmemini.obj \
  138. $(DEST)\3gmoreme.obj \
  139. $(DEST)\3protect.obj \
  140. $(DEST)\3gacheck.obj \
  141. $(DEST)\3galloc.obj \
  142. $(DEST)\3gcompac.obj \
  143. $(DEST)\3ginterf.obj \
  144. $(DEST)\3gmem.obj \
  145. $(DEST)\gpcont.obj \
  146. $(DEST)\disasm.obj \
  147. $(DEST)\patch.obj \
  148. $(DEST)\reboot.obj \
  149. $(DEST)\kold.obj
  150. $(DEST)\kernel.exe: $(LINKFILE) kernel.def $(DEST)\kernstub.exe $(OBJ) $(OBJ3) \
  151. $(DEST)\krnl386.res
  152. @echo $(DEST)\kdata+ >$(DEST)\tmp.lnk
  153. @echo $(DEST)\strings+ >>$(DEST)\tmp.lnk
  154. @echo $(DEST)\atom+ >>$(DEST)\tmp.lnk
  155. @echo $(DEST)\context+ >>$(DEST)\tmp.lnk
  156. @echo $(DEST)\dosinit+ >>$(DEST)\tmp.lnk
  157. @echo $(DEST)\i21file+ >>$(DEST)\tmp.lnk
  158. @echo $(DEST)\i21task+ >>$(DEST)\tmp.lnk
  159. @echo $(DEST)\ld+ >>$(DEST)\tmp.lnk
  160. @echo $(DEST)\ldaux+ >>$(DEST)\tmp.lnk
  161. @echo $(DEST)\ldboot+ >>$(DEST)\tmp.lnk
  162. @echo $(DEST)\lddebug+ >>$(DEST)\tmp.lnk
  163. @echo $(DEST)\ldopen+ >>$(DEST)\tmp.lnk
  164. @echo $(DEST)\ldutil+ >>$(DEST)\tmp.lnk
  165. @echo $(DEST)\lstring+ >>$(DEST)\tmp.lnk
  166. @echo $(DEST)\reboot+ >>$(DEST)\tmp.lnk
  167. @echo $(DEST)\userpro+ >>$(DEST)\tmp.lnk
  168. @echo $(DEST)\winexec+ >>$(DEST)\tmp.lnk
  169. @echo $(DEST)\wow16cal+ >>$(DEST)\tmp.lnk
  170. @echo $(DEST)\ldint+ >>$(DEST)\tmp.lnk
  171. @echo $(DEST)\stack+ >>$(DEST)\tmp.lnk
  172. @echo $(DEST)\mapdata+ >>$(DEST)\tmp.lnk
  173. @echo $(DEST)\layer+ >>$(DEST)\tmp.lnk
  174. @echo $(DEST)\ldfastb+ >>$(DEST)\tmp.lnk
  175. @echo $(DEST)\3gmemini+ >>$(DEST)\tmp.lnk
  176. @echo $(DEST)\ldself+ >>$(DEST)\tmp.lnk
  177. @echo $(DEST)\int24+ >>$(DEST)\tmp.lnk
  178. @echo $(DEST)\diskio+ >>$(DEST)\tmp.lnk
  179. @echo $(DEST)\3ginterf+ >>$(DEST)\tmp.lnk
  180. @echo $(DEST)\intnn+ >>$(DEST)\tmp.lnk
  181. @echo $(DEST)\i21entry+ >>$(DEST)\tmp.lnk
  182. @echo $(DEST)\3protect+ >>$(DEST)\tmp.lnk
  183. @echo $(DEST)\3gmoreme+ >>$(DEST)\tmp.lnk
  184. @echo $(DEST)\3gcompac+ >>$(DEST)\tmp.lnk
  185. @echo $(DEST)\lhandle+ >>$(DEST)\tmp.lnk
  186. @echo $(DEST)\3galloc+ >>$(DEST)\tmp.lnk
  187. @echo $(DEST)\3glru+ >>$(DEST)\tmp.lnk
  188. @echo $(DEST)\3gmem+ >>$(DEST)\tmp.lnk
  189. @echo $(DEST)\handle+ >>$(DEST)\tmp.lnk
  190. @echo $(DEST)\kold+ >>$(DEST)\tmp.lnk
  191. @echo $(DEST)\ldfile+ >>$(DEST)\tmp.lnk
  192. @echo $(DEST)\gpfix+ >>$(DEST)\tmp.lnk
  193. @echo $(DEST)\hmem+ >>$(DEST)\tmp.lnk
  194. @echo $(DEST)\module+ >>$(DEST)\tmp.lnk
  195. @echo $(DEST)\ldheader+ >>$(DEST)\tmp.lnk
  196. @echo $(DEST)\ldcache+ >>$(DEST)\tmp.lnk
  197. @echo $(DEST)\ldreloc+ >>$(DEST)\tmp.lnk
  198. @echo $(DEST)\ldappl+ >>$(DEST)\tmp.lnk
  199. @echo $(DEST)\ldseg+ >>$(DEST)\tmp.lnk
  200. @echo $(DEST)\tasking+ >>$(DEST)\tmp.lnk
  201. @echo $(DEST)\task+ >>$(DEST)\tmp.lnk
  202. @echo $(DEST)\ldstack+ >>$(DEST)\tmp.lnk
  203. @echo $(DEST)\resaux+ >>$(DEST)\tmp.lnk
  204. @echo $(DEST)\linterf+ >>$(DEST)\tmp.lnk
  205. @echo $(DEST)\lcompact+ >>$(DEST)\tmp.lnk
  206. @echo $(DEST)\lalloc+ >>$(DEST)\tmp.lnk
  207. @echo $(DEST)\ripaux+ >>$(DEST)\tmp.lnk
  208. @echo $(DEST)\rip+ >>$(DEST)\tmp.lnk
  209. @echo $(DEST)\3gacheck+ >>$(DEST)\tmp.lnk
  210. @echo $(DEST)\lacheck+ >>$(DEST)\tmp.lnk
  211. @echo $(DEST)\rom+ >>$(DEST)\tmp.lnk
  212. @echo $(DEST)\enable+ >>$(DEST)\tmp.lnk
  213. @echo $(DEST)\miscapi+ >>$(DEST)\tmp.lnk
  214. @echo $(DEST)\lzexp+ >>$(DEST)\tmp.lnk
  215. @echo $(DEST)\error+ >>$(DEST)\tmp.lnk
  216. @echo $(DEST)\gpcont+ >>$(DEST)\tmp.lnk
  217. @echo $(DEST)\disasm+ >>$(DEST)\tmp.lnk
  218. @echo $(DEST)\patch+ >>$(DEST)\tmp.lnk
  219. @echo $(DEST)\diag+ >>$(DEST)\tmp.lnk
  220. @echo $(DEST)\kthunks+ >>$(DEST)\tmp.lnk
  221. @echo $(DEST)\wowdeb+ >>$(DEST)\tmp.lnk
  222. @echo $(DEST)\kdataend+ >>$(DEST)\tmp.lnk
  223. @echo $(DEST)\selman+ >>$(DEST)\tmp.lnk
  224. @echo $(DEST)\kflatstb >>$(DEST)\tmp.lnk
  225. @echo $(DEST)\kernel.exe/align:16/warnfixup/farcall/nopackcode/onerror:noexe >>$(DEST)\tmp.lnk
  226. @echo $(DEST)\kernel.map/map >>$(DEST)\tmp.lnk
  227. @echo /NOD/NOE >>$(DEST)\tmp.lnk
  228. $(LINK) $(LDEBUG) @$(DEST)\tmp.lnk,kernel.def
  229. $(RC) -t $(DEST)\krnl386.res $(DEST)\kernel.exe
  230. fixexe $(DEST)\kernel.exe
  231. @-del $(DEST)\tmp.lnk
  232. $(DEST)\kernstub.exe: kernstub.asm
  233. cd $(DEST)
  234. $(ASM) $(KSAFLAGS) ..\..\..\kernstub;
  235. $(LINK) kernstub;
  236. -erase kernstub.obj
  237. cd ..\..\..
  238. $(DEST)\kernel.map: $(DEST)\kernel.exe
  239. $(DEST)\kernel.sym: $(DEST)\kernel.map
  240. mapsym /n -o $(DEST)\kernel.sym $(DEST)\kernel.map
  241. $(DEST)\krnl386.rc : krnl386.rc
  242. copy $? $@
  243. $(DEST)\kernel.rcv : kernel.rcv
  244. copy $? $@
  245. $(DEST)\krnl386.res: $(DEST)\krnl386.rc $(DEST)\kernel.rcv ..\inc\common.ver
  246. set INCLUDE=$(RCINC)
  247. $(RC) -r $(DEST)\krnl386.rc
  248. $(DEST)\krnl386.sym: $(DEST)\kernel.map
  249. mapsym /n -o $(DEST)\kernel.sym $(DEST)\kernel.map
  250. copy $(DEST)\kernel.exe $(DEST)\krnl386.exe
  251. copy $(DEST)\kernel.map $(DEST)\krnl386.map
  252. copy $(DEST)\kernel.sym $(DEST)\krnl386.sym
  253. -erase $(DEST)\kernel.exe
  254. #
  255. # The C File List
  256. #
  257. $(DEST)\rip.obj:: rip.c
  258. Set CL=$(CPF_FLAGS)
  259. $(CL) rip.c
  260. Set CL=
  261. $(DEST)\lzexp.obj:: lzexp.c
  262. Set CL=$(CP_FLAGS)
  263. $(CL) -NT _TEXT lzexp.c
  264. Set CL=
  265. $(DEST)\error.obj:: error.c
  266. Set CL=$(CP_FLAGS)
  267. $(CL) -NT _TEXT error.c
  268. Set CL=
  269. $(DEST)\disasm.obj:: disasm.c
  270. Set CL=$(CPF_FLAGS)
  271. $(CL) disasm.c
  272. Set CL=
  273. # DO NOT DELETE THE FOLLOWING LINE
  274. # Dependencies follow
  275. $(DEST)\3gacheck.obj 3gacheck.lst: 3gacheck.asm ../inc/cmacros.inc \
  276. ../inc/logerror.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  277. protect.inc winkern.inc
  278. $(ASMCMD) 3gacheck,$(DEST)\;
  279. $(DEST)\3galloc.obj 3galloc.lst: 3galloc.asm ../inc/cmacros.inc ../inc/logerror.inc \
  280. ../inc/rom.inc ikernel.inc kernel.inc krom.inc protect.inc \
  281. winkern.inc
  282. $(ASMCMD) 3galloc,$(DEST)\;
  283. $(DEST)\3gcompac.obj 3gcompac.lst: 3gcompac.asm ../inc/cmacros.inc \
  284. ../inc/logerror.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  285. protect.inc winkern.inc
  286. $(ASMCMD) 3gcompac,$(DEST)\;
  287. $(DEST)\3ginterf.obj 3ginterf.lst: 3ginterf.asm ../inc/cmacros.inc \
  288. ../inc/logerror.inc ../inc/newexe.inc ../inc/rom.inc ikernel.inc \
  289. kernel.inc krom.inc pdb.inc protect.inc tdb.inc winkern.inc \
  290. $(WOWINC)\tdb16.inc $(WOWINC)\wow.inc $(WOWINC)\wowkrn.inc
  291. $(ASMCMD) 3ginterf,$(DEST)\;
  292. $(DEST)\3glru.obj 3glru.lst: 3glru.asm ../inc/cmacros.inc ../inc/logerror.inc \
  293. ../inc/newexe.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  294. protect.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  295. $(ASMCMD) 3glru,$(DEST)\;
  296. $(DEST)\3gmem.obj 3gmem.lst: 3gmem.asm ../inc/cmacros.inc ../inc/logerror.inc \
  297. ../inc/rom.inc ikernel.inc kernel.inc krom.inc protect.inc tdb.inc $(WOWINC)\tdb16.inc \
  298. winkern.inc
  299. $(ASMCMD) 3gmem,$(DEST)\;
  300. $(DEST)\3gmemini.obj 3gmemini.lst: 3gmemini.asm ../inc/cmacros.inc \
  301. ../inc/logerror.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  302. protect.inc winkern.inc
  303. $(ASMCMD) 3gmemini,$(DEST)\;
  304. $(DEST)\3gmoreme.obj 3gmoreme.lst: 3gmoreme.asm ../inc/cmacros.inc \
  305. ../inc/logerror.inc ../inc/newexe.inc ../inc/rom.inc ikernel.inc \
  306. kernel.inc krom.inc protect.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  307. $(ASMCMD) 3gmoreme,$(DEST)\;
  308. $(DEST)\3protect.obj 3protect.lst: 3protect.asm ../inc/cmacros.inc \
  309. ../inc/logerror.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  310. pdb.inc protect.inc winkern.inc
  311. $(ASMCMD) 3protect,$(DEST)\;
  312. $(DEST)\aliases.obj aliases.lst: aliases.asm
  313. $(ASMCMD) aliases,$(DEST)\;
  314. $(DEST)\atom.obj atom.lst: atom.asm ../inc/cmacros.inc ../inc/gpfix.inc \
  315. ../inc/logerror.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  316. winkern.inc
  317. $(ASMCMD) atom,$(DEST)\;
  318. $(DEST)\context.obj context.lst: context.asm ../inc/cmacros.inc ../inc/gpfix.inc \
  319. ../inc/logerror.inc ../inc/rom.inc eems.inc ikernel.inc kernel.inc \
  320. krom.inc pdb.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc $(WOWINC)\wowcmpat.inc
  321. $(ASMCMD) context,$(DEST)\;
  322. $(DEST)\diag.obj diag.lst: diag.asm ../inc/cmacros.inc ../inc/logerror.inc \
  323. ../inc/rom.inc ikernel.inc kernel.inc krom.inc winkern.inc
  324. $(ASMCMD) diag,$(DEST)\;
  325. $(DEST)\diskio.obj diskio.lst: diskio.asm ../inc/cmacros.inc ../inc/logerror.inc \
  326. ../inc/rom.inc ikernel.inc kernel.inc krom.inc winkern.inc
  327. $(ASMCMD) diskio,$(DEST)\;
  328. $(DEST)\dosinit.obj dosinit.lst: dosinit.asm ../inc/cmacros.inc ../inc/logerror.inc \
  329. ../inc/rom.inc ikernel.inc kernel.inc krom.inc pdb.inc winkern.inc
  330. $(ASMCMD) dosinit,$(DEST)\;
  331. $(DEST)\enable.obj enable.lst: enable.asm ../inc/cmacros.inc ../inc/logerror.inc \
  332. ../inc/newexe.inc ../inc/rom.inc eems.inc ikernel.inc kernel.inc \
  333. krom.inc pdb.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  334. $(ASMCMD) enable,$(DEST)\;
  335. $(DEST)\gacheck.obj gacheck.lst: gacheck.asm ../inc/cmacros.inc ../inc/logerror.inc \
  336. ../inc/rom.inc ikernel.inc kernel.inc krom.inc winkern.inc
  337. $(ASMCMD) gacheck,$(DEST)\;
  338. $(DEST)\gpcont.obj gpcont.lst: gpcont.asm ../inc/cmacros.inc ../inc/logerror.inc \
  339. ../inc/newexe.inc ../inc/rom.inc gpcont.inc ikernel.inc kernel.inc \
  340. krom.inc winkern.inc
  341. $(ASMCMD) gpcont,$(DEST)\;
  342. $(DEST)\gpfix.obj gpfix.lst: gpfix.asm ../inc/cmacros.inc ../inc/gpfix.inc \
  343. ../inc/logerror.inc ../inc/newexe.inc ../inc/rom.inc ikernel.inc \
  344. kernel.inc krom.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  345. $(ASMCMD) gpfix,$(DEST)\;
  346. $(DEST)\handle.obj handle.lst: handle.asm ../inc/cmacros.inc ../inc/logerror.inc \
  347. ../inc/rom.inc ikernel.inc kernel.inc krom.inc winkern.inc
  348. $(ASMCMD) handle,$(DEST)\;
  349. $(DEST)\hmem.obj hmem.lst: hmem.asm ../inc/cmacros.inc ../inc/gpfix.inc \
  350. ../inc/logerror.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  351. winkern.inc
  352. $(ASMCMD) hmem,$(DEST)\;
  353. $(DEST)\i21entry.obj i21entry.lst: i21entry.asm ../inc/cmacros.inc \
  354. ../inc/logerror.inc ../inc/newexe.inc ../inc/rom.inc eems.inc \
  355. ikernel.inc kernel.inc krom.inc pdb.inc protect.inc tdb.inc $(WOWINC)\tdb16.inc \
  356. winkern.inc
  357. $(ASMCMD) i21entry,$(DEST)\;
  358. $(DEST)\i21file.obj i21file.lst: i21file.asm ../inc/cmacros.inc ../inc/logerror.inc \
  359. ../inc/rom.inc eems.inc ikernel.inc kdos.inc kernel.inc krom.inc \
  360. pdb.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  361. $(ASMCMD) i21file,$(DEST)\;
  362. $(DEST)\i21task.obj i21task.lst: i21task.asm ../inc/cmacros.inc ../inc/logerror.inc \
  363. ../inc/rom.inc eems.inc ikernel.inc kdos.inc kernel.inc krom.inc \
  364. pdb.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  365. $(ASMCMD) i21task,$(DEST)\;
  366. $(DEST)\int24.obj int24.lst: int24.asm ../inc/cmacros.inc ../inc/logerror.inc \
  367. ../inc/rom.inc ikernel.inc kernel.inc krom.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  368. $(ASMCMD) int24,$(DEST)\;
  369. $(DEST)\intnn.obj intnn.lst: intnn.asm ../inc/cmacros.inc ../inc/logerror.inc \
  370. ../inc/rom.inc ikernel.inc kernel.inc krom.inc pdb.inc tdb.inc $(WOWINC)\tdb16.inc \
  371. winkern.inc
  372. $(ASMCMD) intnn,$(DEST)\;
  373. $(DEST)\kdata.obj kdata.lst: kdata.asm ../inc/cmacros.inc ../inc/gpfix.inc \
  374. ../inc/logerror.inc ../inc/rom.inc gpcont.inc ikernel.inc kernel.inc \
  375. krom.inc winkern.inc
  376. $(ASMCMD) kdata,$(DEST)\;
  377. $(DEST)\kdataend.obj kdataend.lst: kdataend.asm ../inc/cmacros.inc \
  378. ../inc/logerror.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  379. winkern.inc
  380. $(ASMCMD) kdataend,$(DEST)\;
  381. $(DEST)\kernstub.obj kernstub.lst: kernstub.asm ../inc/cmacros.inc \
  382. ../inc/newexe.inc protect.inc
  383. $(ASMCMD) kernstub,$(DEST)\;
  384. $(DEST)\kthunks.obj kthunks.lst: kthunks.asm ../inc/cmacros.inc \
  385. $(WOWINC)\wow.inc $(WOWINC)\wowkrn.inc
  386. $(ASMCMD) kthunks,$(DEST)\;
  387. $(DEST)\lacheck.obj lacheck.lst: lacheck.asm ../inc/cmacros.inc ../inc/logerror.inc \
  388. ../inc/rom.inc ikernel.inc kernel.inc krom.inc winkern.inc
  389. $(ASMCMD) lacheck,$(DEST)\;
  390. $(DEST)\lalloc.obj lalloc.lst: lalloc.asm ../inc/cmacros.inc ../inc/logerror.inc \
  391. ../inc/rom.inc ikernel.inc kernel.inc krom.inc winkern.inc
  392. $(ASMCMD) lalloc,$(DEST)\;
  393. $(DEST)\layer.obj layer.lst: layer.asm ../inc/gpfix.inc ../inc/klayer.inc \
  394. ../inc/logerror.inc kernel.api
  395. $(ASMCMD) layer,$(DEST)\;
  396. $(DEST)\lcompact.obj lcompact.lst: lcompact.asm ../inc/cmacros.inc \
  397. ../inc/logerror.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  398. winkern.inc
  399. $(ASMCMD) lcompact,$(DEST)\;
  400. $(DEST)\ld.obj ld.lst: ld.asm ../inc/cmacros.inc ../inc/logerror.inc \
  401. ../inc/newexe.inc ../inc/rom.inc eems.inc ikernel.inc kernel.inc \
  402. krom.inc pdb.inc protect.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  403. $(ASMCMD) ld,$(DEST)\;
  404. $(DEST)\ldappl.obj ldappl.lst: ldappl.asm ../inc/cmacros.inc ../inc/logerror.inc \
  405. ../inc/newexe.inc ../inc/rom.inc appl.inc ikernel.inc kernel.inc \
  406. krom.inc protect.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  407. $(ASMCMD) ldappl,$(DEST)\;
  408. $(DEST)\ldaux.obj ldaux.lst: ldaux.asm ../inc/cmacros.inc ../inc/logerror.inc \
  409. ../inc/newexe.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  410. protect.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  411. $(ASMCMD) ldaux,$(DEST)\;
  412. $(DEST)\ldboot.obj ldboot.lst: ldboot.asm ../inc/cmacros.inc ../inc/logerror.inc \
  413. ../inc/newexe.inc ../inc/rom.inc eems.inc gpcont.inc ikernel.inc \
  414. kernel.inc krom.inc pdb.inc protect.inc tdb.inc $(WOWINC)\tdb16.inc \
  415. winkern.inc $(WOWINC)\doswow.inc
  416. $(ASMCMD) ldboot,$(DEST)\;
  417. $(DEST)\ldcache.obj ldcache.lst: ldcache.asm ../inc/cmacros.inc ../inc/logerror.inc \
  418. ../inc/newexe.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  419. tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  420. $(ASMCMD) ldcache,$(DEST)\;
  421. $(DEST)\lddebug.obj lddebug.lst: lddebug.asm ../inc/cmacros.inc ../inc/logerror.inc \
  422. ../inc/newexe.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  423. protect.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc $(WOWINC)\tdb16.inc \
  424. $(WOWINC)\bop.inc $(WOWINC)\wow.inc $(WOWINC)\dbgsvc.inc
  425. $(ASMCMD) lddebug,$(DEST)\;
  426. $(DEST)\ldfastb.obj ldfastb.lst: ldfastb.asm ../inc/cmacros.inc ../inc/logerror.inc \
  427. ../inc/newexe.inc ../inc/rom.inc eems.inc ikernel.inc kernel.inc \
  428. krom.inc pdb.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  429. $(ASMCMD) ldfastb,$(DEST)\;
  430. $(DEST)\ldfile.obj ldfile.lst: ldfile.asm ../inc/cmacros.inc ../inc/logerror.inc \
  431. ../inc/newexe.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  432. winkern.inc
  433. $(ASMCMD) ldfile,$(DEST)\;
  434. $(DEST)\ldheader.obj ldheader.lst: ldheader.asm ../inc/cmacros.inc ../inc/gpfix.inc \
  435. ../inc/logerror.inc ../inc/newexe.inc ../inc/rom.inc ikernel.inc \
  436. kernel.inc krom.inc winkern.inc
  437. $(ASMCMD) ldheader,$(DEST)\;
  438. $(DEST)\ldint.obj ldint.lst: ldint.asm ../inc/cmacros.inc ../inc/logerror.inc \
  439. ../inc/newexe.inc ../inc/rom.inc ../inc/windows.inc gpcont.inc \
  440. ikernel.inc kdos.inc kernel.inc krom.inc protect.inc tdb.inc $(WOWINC)\tdb16.inc \
  441. winkern.inc $(WOWINC)\bop.inc
  442. $(ASMCMD) ldint,$(DEST)\;
  443. $(DEST)\ldopen.obj ldopen.lst: ldopen.asm ../inc/cmacros.inc ../inc/logerror.inc \
  444. ../inc/newexe.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  445. pdb.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  446. $(ASMCMD) ldopen,$(DEST)\;
  447. $(DEST)\ldreloc.obj ldreloc.lst: ldreloc.asm ../inc/cmacros.inc ../inc/gpfix.inc \
  448. ../inc/logerror.inc ../inc/newexe.inc ../inc/rom.inc ikernel.inc \
  449. kernel.inc krom.inc protect.inc winkern.inc
  450. $(ASMCMD) ldreloc,$(DEST)\;
  451. $(DEST)\ldseg.obj ldseg.lst: ldseg.asm ../inc/cmacros.inc ../inc/logerror.inc \
  452. ../inc/newexe.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  453. protect.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  454. $(ASMCMD) ldseg,$(DEST)\;
  455. $(DEST)\ldself.obj ldself.lst: ldself.asm ../inc/cmacros.inc ../inc/logerror.inc \
  456. ../inc/newexe.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  457. tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  458. $(ASMCMD) ldself,$(DEST)\;
  459. $(DEST)\ldstack.obj ldstack.lst: ldstack.asm ../inc/cmacros.inc ../inc/logerror.inc \
  460. ../inc/newexe.inc ../inc/rom.inc eems.inc ikernel.inc kernel.inc \
  461. krom.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  462. $(ASMCMD) ldstack,$(DEST)\;
  463. $(DEST)\ldutil.obj ldutil.lst: ldutil.asm ../inc/cmacros.inc ../inc/logerror.inc \
  464. ../inc/newexe.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  465. protect.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  466. $(ASMCMD) ldutil,$(DEST)\;
  467. $(DEST)\lhandle.obj lhandle.lst: lhandle.asm ../inc/cmacros.inc ../inc/logerror.inc \
  468. ../inc/rom.inc ikernel.inc kernel.inc krom.inc winkern.inc
  469. $(ASMCMD) lhandle,$(DEST)\;
  470. $(DEST)\linterf.obj linterf.lst: linterf.asm ../inc/cmacros.inc ../inc/logerror.inc \
  471. ../inc/rom.inc ikernel.inc kernel.inc krom.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  472. $(ASMCMD) linterf,$(DEST)\;
  473. $(DEST)\lstring.obj lstring.lst: lstring.asm ../inc/cmacros.inc ../inc/gpfix.inc \
  474. ../inc/logerror.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  475. winkern.inc $(WOWINC)\wowcmpat.inc
  476. $(ASMCMD) lstring,$(DEST)\;
  477. $(DEST)\mapdata.obj mapdata.lst: mapdata.asm ../inc/cmacros.inc ../inc/logerror.inc \
  478. ../inc/rom.inc ikernel.inc kernel.inc krom.inc winkern.inc
  479. $(ASMCMD) mapdata,$(DEST)\;
  480. $(DEST)\miscapi.obj miscapi.lst: miscapi.asm ../inc/cmacros.inc ../inc/logerror.inc \
  481. ../inc/newexe.inc ../inc/rom.inc eems.inc ikernel.inc kernel.inc \
  482. krom.inc pdb.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  483. $(ASMCMD) miscapi,$(DEST)\;
  484. $(DEST)\module.obj module.lst: module.asm ../inc/cmacros.inc ../inc/logerror.inc \
  485. ../inc/newexe.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  486. tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  487. $(ASMCMD) module,$(DEST)\;
  488. $(DEST)\patch.obj patch.lst: patch.asm ../inc/cmacros.inc kernel.inc \
  489. ../inc/gpfix.inc pdb.inc tdb.inc ../inc/newexe.inc protect.inc
  490. $(ASMCMD) patch,$(DEST)\;
  491. $(DEST)\reboot.obj reboot.lst: reboot.asm ../inc/cmacros.inc ../inc/logerror.inc \
  492. ../inc/newexe.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  493. protect.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  494. $(ASMCMD) reboot,$(DEST)\;
  495. $(DEST)\resaux.obj resaux.lst: resaux.asm ../inc/cmacros.inc ../inc/logerror.inc \
  496. ../inc/newexe.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  497. protect.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  498. $(ASMCMD) resaux,$(DEST)\;
  499. $(DEST)\ripaux.obj ripaux.lst: ripaux.asm ../inc/cmacros.inc ../inc/logerror.inc \
  500. ../inc/newexe.inc ../inc/rom.inc ikernel.inc kernel.inc krom.inc \
  501. winkern.inc
  502. $(ASMCMD) ripaux,$(DEST)\;
  503. $(DEST)\rom.obj rom.lst: rom.asm ../inc/cmacros.inc ../inc/logerror.inc \
  504. ../inc/rom.inc ikernel.inc kernel.inc krom.inc pdb.inc protect.inc \
  505. winkern.inc
  506. $(ASMCMD) rom,$(DEST)\;
  507. $(DEST)\stack.obj stack.lst: stack.asm ../inc/cmacros.inc ../inc/logerror.inc \
  508. ../inc/rom.inc ikernel.inc kernel.inc krom.inc winkern.inc
  509. $(ASMCMD) stack,$(DEST)\;
  510. $(DEST)\strings.obj strings.lst: messages\$(ALT_PROJECT)\strings.asm gpcont.inc
  511. $(ASMCMD) messages\$(ALT_PROJECT)\strings,$(DEST)\;
  512. $(DEST)\task.obj task.lst: task.asm ../inc/cmacros.inc ../inc/logerror.inc \
  513. ../inc/newexe.inc ../inc/rom.inc eems.inc ikernel.inc kernel.inc \
  514. krom.inc pdb.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc \
  515. $(WOWINC)\bop.inc
  516. $(ASMCMD) task,$(DEST)\;
  517. $(DEST)\tasking.obj tasking.lst: tasking.asm ../inc/cmacros.inc \
  518. tdb.inc $(WOWINC)\tdb16.inc $(WOWINC)\wow.inc
  519. $(ASMCMD) tasking,$(DEST)\;
  520. $(DEST)\userpro.obj userpro.lst: userpro.asm ../inc/cmacros.inc ../inc/logerror.inc \
  521. ../inc/rom.inc ikernel.inc kernel.inc krom.inc pdb.inc winkern.inc
  522. $(ASMCMD) userpro,$(DEST)\;
  523. $(DEST)\w32sys.obj w32sys.lst: w32sys.asm ../inc/cmacros.inc ../inc/logerror.inc \
  524. ../inc/rom.inc ikernel.inc kernel.inc krom.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  525. $(ASMCMD) w32sys,$(DEST)\;
  526. $(DEST)\winexec.obj winexec.lst: winexec.asm ../inc/cmacros.inc ../inc/logerror.inc \
  527. ../inc/rom.inc ikernel.inc kernel.inc krom.inc winkern.inc $(WOWINC)\wowcmpat.inc
  528. $(ASMCMD) winexec,$(DEST)\;
  529. $(DEST)\kold.obj kold.lst: kold.asm ../inc/cmacros.inc \
  530. ../inc/logerror.inc ../inc/newexe.inc ../inc/rom.inc ikernel.inc \
  531. kernel.inc krom.inc protect.inc tdb.inc $(WOWINC)\tdb16.inc winkern.inc
  532. $(ASMCMD) kold,$(DEST)\;
  533. $(DEST)\wowdeb.obj wowdeb.lst: wowdeb.asm ../inc/cmacros.inc \
  534. kernel.inc $(WOWINC)\wow.inc
  535. $(ASMCMD) wowdeb,$(DEST)\;
  536. $(DEST)\wow16cal.obj wow16cal.lst: wow16cal.asm ../inc/cmacros.inc \
  537. $(WOWINC)\wow.inc $(WOWINC)\dpmi.inc tdb.inc $(WOWINC)\tdb16.inc
  538. $(ASMCMD) wow16cal,$(DEST)\;
  539. $(DEST)\selman.obj selman.lst: selman.asm ../inc/gpfix.inc kernel.inc
  540. $(ASMCMD) selman,$(DEST)\;
  541. $(DEST)\kflatstb.obj kflatstb.lst: kflatstb.asm kernel.inc
  542. $(ASMCMD) kflatstb,$(DEST)\;
  543. disasm.obj disasm.lst:: disasm.c ../inc/windows.h ../inc/windowsx.h
  544. error.obj error.lst:: error.c ../inc/logerror.h ikernel.h kernel.h
  545. fixexe.obj fixexe.lst:: fixexe.c
  546. lzexp.obj lzexp.lst:: lzexp.c ikernel.h kernel.h
  547. rip.obj rip.lst:: rip.c ikernel.h kernel.h newexe.h
  548. # IF YOU PUT STUFF HERE IT WILL GET BLASTED