proto.make 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590
  1. # $Header$
  2. #PARAMS do not remove this line
  3. SRC_DIR = $(SRC_HOME)/util/int
  4. INCLUDES = -I$(TARGET_HOME)/h -I$(TARGET_HOME)/config -I.
  5. CFLAGS = $(COPTIONS) $(INCLUDES)
  6. LDFLAGS = $(LDOPTIONS)
  7. LINTFLAGS = $(LINTOPTIONS) $(INCLUDES)
  8. INT = int
  9. IP_SPEC = $(SRC_HOME)/etc/ip_spec.t
  10. TRAPS = $(SRC_HOME)/etc/traps
  11. APP_A = $(SRC_HOME)/doc/int/appA # to be moved later
  12. CFILES = $(SRC_DIR)/alloc.c \
  13. $(SRC_DIR)/core.c \
  14. $(SRC_DIR)/data.c \
  15. $(SRC_DIR)/do_array.c \
  16. $(SRC_DIR)/do_branch.c \
  17. $(SRC_DIR)/do_comp.c \
  18. $(SRC_DIR)/do_conv.c \
  19. $(SRC_DIR)/do_fpar.c \
  20. $(SRC_DIR)/do_incdec.c \
  21. $(SRC_DIR)/do_intar.c \
  22. $(SRC_DIR)/do_load.c \
  23. $(SRC_DIR)/do_logic.c \
  24. $(SRC_DIR)/do_misc.c \
  25. $(SRC_DIR)/do_proc.c \
  26. $(SRC_DIR)/do_ptrar.c \
  27. $(SRC_DIR)/do_sets.c \
  28. $(SRC_DIR)/do_store.c \
  29. $(SRC_DIR)/do_unsar.c \
  30. $(SRC_DIR)/dump.c \
  31. $(SRC_DIR)/disassemble.c \
  32. $(SRC_DIR)/fra.c \
  33. $(SRC_DIR)/global.c \
  34. $(SRC_DIR)/init.c \
  35. $(SRC_DIR)/io.c \
  36. $(SRC_DIR)/log.c \
  37. $(SRC_DIR)/m_ioctl.c \
  38. $(SRC_DIR)/m_sigtrp.c \
  39. $(SRC_DIR)/main.c \
  40. $(SRC_DIR)/moncalls.c \
  41. $(SRC_DIR)/monstruct.c \
  42. $(SRC_DIR)/proctab.c \
  43. $(SRC_DIR)/read.c \
  44. $(SRC_DIR)/rsb.c \
  45. $(SRC_DIR)/segment.c \
  46. $(SRC_DIR)/stack.c \
  47. $(SRC_DIR)/switch.c \
  48. $(SRC_DIR)/tally.c \
  49. $(SRC_DIR)/text.c \
  50. $(SRC_DIR)/trap.c \
  51. $(SRC_DIR)/warn.c
  52. OBJ = alloc.o core.o data.o do_array.o do_branch.o do_comp.o do_conv.o \
  53. do_fpar.o do_incdec.o do_intar.o do_load.o do_logic.o do_misc.o \
  54. do_proc.o do_ptrar.o do_sets.o do_store.o do_unsar.o dump.o \
  55. disassemble.o fra.o global.o init.o io.o log.o m_ioctl.o m_sigtrp.o \
  56. main.o moncalls.o monstruct.o proctab.o read.o rsb.o segment.o \
  57. stack.o switch.o tally.o text.o trap.o warn.o
  58. HDR = $(SRC_DIR)/alloc.h \
  59. $(SRC_DIR)/fra.h \
  60. $(SRC_DIR)/global.h \
  61. $(SRC_DIR)/linfil.h \
  62. $(SRC_DIR)/log.h \
  63. $(SRC_DIR)/mem.h \
  64. $(SRC_DIR)/memdirect.h \
  65. $(SRC_DIR)/monstruct.h \
  66. $(SRC_DIR)/opcode.h \
  67. $(SRC_DIR)/proctab.h \
  68. $(SRC_DIR)/read.h \
  69. $(SRC_DIR)/rsb.h \
  70. $(SRC_DIR)/shadow.h \
  71. $(SRC_DIR)/text.h \
  72. $(SRC_DIR)/trap.h \
  73. $(SRC_DIR)/logging.h \
  74. $(SRC_DIR)/debug.h \
  75. $(SRC_DIR)/nofloat.h \
  76. $(SRC_DIR)/segcheck.h \
  77. $(SRC_DIR)/sysidf.h \
  78. $(SRC_DIR)/v7ioctl.h \
  79. $(SRC_DIR)/e.out.h# should be in $(EM)/h or so, or in $(EM/h/em_abs.h
  80. # Main entries
  81. all: test
  82. install: $(INT)
  83. cp $(INT) $(TARGET_HOME)/bin/int
  84. cp int.1 $(TARGET_HOME)/man/int.1
  85. cmp: $(INT)
  86. -cmp $(INT) $(TARGET_HOME)/bin/int
  87. -cmp int.1 $(TARGET_HOME)/man/int.1
  88. test: $(INT) test/awa.em22 test/awa.em24 test/awa.em44
  89. @rm -f int.mess
  90. -echo 3 5 7 2 -1 | time $(INT) test/awa.em22
  91. cat int.mess
  92. @rm -f int.mess
  93. -echo 3 5 7 2 -1 | time $(INT) test/awa.em24
  94. cat int.mess
  95. @rm -f int.mess
  96. -echo 3 5 7 2 -1 | time $(INT) test/awa.em44
  97. cat int.mess
  98. $(INT): $(OBJ)
  99. $(CC) $(LDFLAGS) -o $(INT) $(OBJ)
  100. # Generated files
  101. trap_msg: $(SRC_DIR)/M.trap_msg $(TRAPS)
  102. $(SRC_DIR)/M.trap_msg $(TRAPS)
  103. warn_msg: $(SRC_DIR)/M.warn_msg $(APP_A)
  104. $(SRC_DIR)/M.warn_msg $(APP_A)
  105. warn.h: $(SRC_DIR)/M.warn_h $(APP_A)
  106. $(SRC_DIR)/M.warn_h $(APP_A)
  107. switch/DoCases:
  108. (cd switch; make DoCases)
  109. switch/PrCases:
  110. (cd switch; make PrCases)
  111. test/awa.em22:
  112. (cd test; make awa.em22)
  113. test/awa.em24:
  114. (cd test; make awa.em24)
  115. test/awa.em44:
  116. (cd test; make awa.em44)
  117. # Auxiliary entries
  118. lint: $(CFILES) trap_msg warn_msg warn.h switch/DoCases switch/PrCases
  119. $(LINT) $(LINTFLAGS) $(CFILES)
  120. tags: $(HDR) $(CFILES)
  121. ctags $(HDR) $(CFILES)
  122. MFILES = $(SRC_DIR)/M.trap_msg $(SRC_DIR)/M.warn_h $(SRC_DIR)/M.warn_msg
  123. ALL = $(SRC_DIR)/READ_ME $(SRC_DIR)/proto.make $(MFILES) $(HDR) $(CFILES)
  124. print:
  125. @pr $(ALL)
  126. pr: print
  127. opr:
  128. make pr | opr
  129. clean:
  130. rm -f core mon.out int.mess int.log int.core int.tally \
  131. trap_msg warn_msg warn.h tags print \
  132. $(OBJ) $(INT)
  133. (cd switch; make clean)
  134. (cd test; make clean)
  135. bare: clean
  136. (cd switch; make bare)
  137. depend: warn.h trap_msg warn_msg
  138. sed '/^#DEPENDENCIES/,$$d' Makefile >Makefile.new
  139. echo '#DEPENDENCIES' >>Makefile.new
  140. for i in $(CFILES) ; do \
  141. echo "`basename $$i .c`.$$(SUF): $$i" >> Makefile.new ; \
  142. echo ' $$(CC) -c $$(CFLAGS)' $$i >> Makefile.new ; \
  143. $(UTIL_HOME)/lib.bin/cpp -d $(INCLUDES) $$i | sed "s/^/`basename $$i .c`.$$(SUF): /" >> Makefile.new ; \
  144. done
  145. mv Makefile Makefile.old
  146. mv Makefile.new Makefile
  147. # do not remove the next line
  148. #DEPENDENCIES
  149. alloc.$(SUF): $(SRC_DIR)/alloc.c
  150. $(CC) -c $(CFLAGS) $(SRC_DIR)/alloc.c
  151. alloc.$(SUF): $(SRC_DIR)/alloc.h
  152. alloc.$(SUF): $(SRC_DIR)/global.h
  153. alloc.$(SUF): $(SRC_DIR)/debug.h
  154. core.$(SUF): $(SRC_DIR)/core.c
  155. $(CC) -c $(CFLAGS) $(SRC_DIR)/core.c
  156. core.$(SUF): $(SRC_DIR)/fra.h
  157. core.$(SUF): $(SRC_DIR)/shadow.h
  158. core.$(SUF): $(SRC_DIR)/global.h
  159. core.$(SUF): $(SRC_DIR)/logging.h
  160. data.$(SUF): $(SRC_DIR)/data.c
  161. $(CC) -c $(CFLAGS) $(SRC_DIR)/data.c
  162. data.$(SUF): $(SRC_DIR)/shadow.h
  163. data.$(SUF): $(SRC_DIR)/mem.h
  164. data.$(SUF): $(SRC_DIR)/memdirect.h
  165. data.$(SUF): $(SRC_DIR)/alloc.h
  166. data.$(SUF): ./warn.h
  167. data.$(SUF): $(SRC_DIR)/trap.h
  168. data.$(SUF): $(SRC_DIR)/log.h
  169. data.$(SUF): $(SRC_DIR)/global.h
  170. data.$(SUF): $(SRC_DIR)/nofloat.h
  171. data.$(SUF): $(SRC_DIR)/logging.h
  172. data.$(SUF): $(TARGET_HOME)/h/em_abs.h
  173. do_array.$(SUF): $(SRC_DIR)/do_array.c
  174. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_array.c
  175. do_array.$(SUF): $(SRC_DIR)/fra.h
  176. do_array.$(SUF): $(SRC_DIR)/text.h
  177. do_array.$(SUF): $(SRC_DIR)/mem.h
  178. do_array.$(SUF): $(SRC_DIR)/trap.h
  179. do_array.$(SUF): $(SRC_DIR)/logging.h
  180. do_array.$(SUF): $(SRC_DIR)/log.h
  181. do_array.$(SUF): $(SRC_DIR)/global.h
  182. do_array.$(SUF): $(TARGET_HOME)/h/em_abs.h
  183. do_branch.$(SUF): $(SRC_DIR)/do_branch.c
  184. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_branch.c
  185. do_branch.$(SUF): ./warn.h
  186. do_branch.$(SUF): $(SRC_DIR)/fra.h
  187. do_branch.$(SUF): $(SRC_DIR)/text.h
  188. do_branch.$(SUF): $(SRC_DIR)/trap.h
  189. do_branch.$(SUF): $(SRC_DIR)/mem.h
  190. do_branch.$(SUF): $(SRC_DIR)/logging.h
  191. do_branch.$(SUF): $(SRC_DIR)/log.h
  192. do_branch.$(SUF): $(SRC_DIR)/global.h
  193. do_branch.$(SUF): $(TARGET_HOME)/h/em_abs.h
  194. do_comp.$(SUF): $(SRC_DIR)/do_comp.c
  195. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_comp.c
  196. do_comp.$(SUF): $(SRC_DIR)/fra.h
  197. do_comp.$(SUF): $(SRC_DIR)/text.h
  198. do_comp.$(SUF): $(SRC_DIR)/trap.h
  199. do_comp.$(SUF): $(SRC_DIR)/shadow.h
  200. do_comp.$(SUF): $(SRC_DIR)/mem.h
  201. do_comp.$(SUF): ./warn.h
  202. do_comp.$(SUF): $(SRC_DIR)/log.h
  203. do_comp.$(SUF): $(SRC_DIR)/global.h
  204. do_comp.$(SUF): $(SRC_DIR)/nofloat.h
  205. do_comp.$(SUF): $(SRC_DIR)/logging.h
  206. do_comp.$(SUF): $(TARGET_HOME)/h/em_abs.h
  207. do_conv.$(SUF): $(SRC_DIR)/do_conv.c
  208. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_conv.c
  209. do_conv.$(SUF): ./warn.h
  210. do_conv.$(SUF): $(SRC_DIR)/fra.h
  211. do_conv.$(SUF): $(SRC_DIR)/text.h
  212. do_conv.$(SUF): $(SRC_DIR)/trap.h
  213. do_conv.$(SUF): $(SRC_DIR)/mem.h
  214. do_conv.$(SUF): $(SRC_DIR)/logging.h
  215. do_conv.$(SUF): $(SRC_DIR)/log.h
  216. do_conv.$(SUF): $(SRC_DIR)/global.h
  217. do_conv.$(SUF): $(SRC_DIR)/nofloat.h
  218. do_conv.$(SUF): $(TARGET_HOME)/h/em_abs.h
  219. do_fpar.$(SUF): $(SRC_DIR)/do_fpar.c
  220. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_fpar.c
  221. do_fpar.$(SUF): ./warn.h
  222. do_fpar.$(SUF): $(SRC_DIR)/fra.h
  223. do_fpar.$(SUF): $(SRC_DIR)/text.h
  224. do_fpar.$(SUF): $(SRC_DIR)/trap.h
  225. do_fpar.$(SUF): $(SRC_DIR)/mem.h
  226. do_fpar.$(SUF): $(SRC_DIR)/logging.h
  227. do_fpar.$(SUF): $(SRC_DIR)/log.h
  228. do_fpar.$(SUF): $(SRC_DIR)/global.h
  229. do_fpar.$(SUF): $(SRC_DIR)/nofloat.h
  230. do_fpar.$(SUF): $(TARGET_HOME)/h/em_abs.h
  231. do_incdec.$(SUF): $(SRC_DIR)/do_incdec.c
  232. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_incdec.c
  233. do_incdec.$(SUF): ./warn.h
  234. do_incdec.$(SUF): $(SRC_DIR)/fra.h
  235. do_incdec.$(SUF): $(SRC_DIR)/text.h
  236. do_incdec.$(SUF): $(SRC_DIR)/mem.h
  237. do_incdec.$(SUF): $(SRC_DIR)/trap.h
  238. do_incdec.$(SUF): $(SRC_DIR)/nofloat.h
  239. do_incdec.$(SUF): $(SRC_DIR)/logging.h
  240. do_incdec.$(SUF): $(SRC_DIR)/log.h
  241. do_incdec.$(SUF): $(SRC_DIR)/global.h
  242. do_incdec.$(SUF): $(TARGET_HOME)/h/em_abs.h
  243. do_intar.$(SUF): $(SRC_DIR)/do_intar.c
  244. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_intar.c
  245. do_intar.$(SUF): $(SRC_DIR)/fra.h
  246. do_intar.$(SUF): $(SRC_DIR)/text.h
  247. do_intar.$(SUF): ./warn.h
  248. do_intar.$(SUF): $(SRC_DIR)/trap.h
  249. do_intar.$(SUF): $(SRC_DIR)/mem.h
  250. do_intar.$(SUF): $(SRC_DIR)/log.h
  251. do_intar.$(SUF): $(SRC_DIR)/global.h
  252. do_intar.$(SUF): $(SRC_DIR)/logging.h
  253. do_intar.$(SUF): $(TARGET_HOME)/h/em_abs.h
  254. do_load.$(SUF): $(SRC_DIR)/do_load.c
  255. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_load.c
  256. do_load.$(SUF): ./warn.h
  257. do_load.$(SUF): $(SRC_DIR)/rsb.h
  258. do_load.$(SUF): $(SRC_DIR)/fra.h
  259. do_load.$(SUF): $(SRC_DIR)/text.h
  260. do_load.$(SUF): $(SRC_DIR)/trap.h
  261. do_load.$(SUF): $(SRC_DIR)/mem.h
  262. do_load.$(SUF): $(SRC_DIR)/logging.h
  263. do_load.$(SUF): $(SRC_DIR)/log.h
  264. do_load.$(SUF): $(SRC_DIR)/global.h
  265. do_load.$(SUF): $(TARGET_HOME)/h/em_abs.h
  266. do_logic.$(SUF): $(SRC_DIR)/do_logic.c
  267. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_logic.c
  268. do_logic.$(SUF): $(SRC_DIR)/fra.h
  269. do_logic.$(SUF): $(SRC_DIR)/text.h
  270. do_logic.$(SUF): $(SRC_DIR)/trap.h
  271. do_logic.$(SUF): $(SRC_DIR)/shadow.h
  272. do_logic.$(SUF): $(SRC_DIR)/mem.h
  273. do_logic.$(SUF): ./warn.h
  274. do_logic.$(SUF): $(SRC_DIR)/log.h
  275. do_logic.$(SUF): $(SRC_DIR)/global.h
  276. do_logic.$(SUF): $(SRC_DIR)/logging.h
  277. do_logic.$(SUF): $(TARGET_HOME)/h/em_abs.h
  278. do_misc.$(SUF): $(SRC_DIR)/do_misc.c
  279. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_misc.c
  280. do_misc.$(SUF): $(SRC_DIR)/linfil.h
  281. do_misc.$(SUF): $(SRC_DIR)/rsb.h
  282. do_misc.$(SUF): $(SRC_DIR)/fra.h
  283. do_misc.$(SUF): $(SRC_DIR)/read.h
  284. do_misc.$(SUF): $(SRC_DIR)/text.h
  285. do_misc.$(SUF): $(SRC_DIR)/shadow.h
  286. do_misc.$(SUF): $(SRC_DIR)/memdirect.h
  287. do_misc.$(SUF): $(SRC_DIR)/mem.h
  288. do_misc.$(SUF): ./warn.h
  289. do_misc.$(SUF): $(SRC_DIR)/trap.h
  290. do_misc.$(SUF): $(SRC_DIR)/log.h
  291. do_misc.$(SUF): $(SRC_DIR)/global.h
  292. do_misc.$(SUF): $(SRC_DIR)/logging.h
  293. do_misc.$(SUF): $(TARGET_HOME)/h/em_abs.h
  294. do_proc.$(SUF): $(SRC_DIR)/do_proc.c
  295. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_proc.c
  296. do_proc.$(SUF): $(SRC_DIR)/linfil.h
  297. do_proc.$(SUF): $(SRC_DIR)/rsb.h
  298. do_proc.$(SUF): $(SRC_DIR)/fra.h
  299. do_proc.$(SUF): $(SRC_DIR)/proctab.h
  300. do_proc.$(SUF): $(SRC_DIR)/text.h
  301. do_proc.$(SUF): ./warn.h
  302. do_proc.$(SUF): $(SRC_DIR)/trap.h
  303. do_proc.$(SUF): $(SRC_DIR)/memdirect.h
  304. do_proc.$(SUF): $(SRC_DIR)/shadow.h
  305. do_proc.$(SUF): $(SRC_DIR)/mem.h
  306. do_proc.$(SUF): $(SRC_DIR)/log.h
  307. do_proc.$(SUF): $(SRC_DIR)/global.h
  308. do_proc.$(SUF): $(SRC_DIR)/logging.h
  309. do_proc.$(SUF): $(TARGET_HOME)/h/em_abs.h
  310. do_ptrar.$(SUF): $(SRC_DIR)/do_ptrar.c
  311. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_ptrar.c
  312. do_ptrar.$(SUF): $(SRC_DIR)/fra.h
  313. do_ptrar.$(SUF): $(SRC_DIR)/text.h
  314. do_ptrar.$(SUF): ./warn.h
  315. do_ptrar.$(SUF): $(SRC_DIR)/trap.h
  316. do_ptrar.$(SUF): $(SRC_DIR)/mem.h
  317. do_ptrar.$(SUF): $(SRC_DIR)/logging.h
  318. do_ptrar.$(SUF): $(SRC_DIR)/log.h
  319. do_ptrar.$(SUF): $(SRC_DIR)/global.h
  320. do_ptrar.$(SUF): $(SRC_DIR)/segcheck.h
  321. do_ptrar.$(SUF): $(TARGET_HOME)/h/em_abs.h
  322. do_sets.$(SUF): $(SRC_DIR)/do_sets.c
  323. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_sets.c
  324. do_sets.$(SUF): $(SRC_DIR)/fra.h
  325. do_sets.$(SUF): $(SRC_DIR)/text.h
  326. do_sets.$(SUF): $(SRC_DIR)/mem.h
  327. do_sets.$(SUF): $(SRC_DIR)/trap.h
  328. do_sets.$(SUF): $(SRC_DIR)/logging.h
  329. do_sets.$(SUF): $(SRC_DIR)/log.h
  330. do_sets.$(SUF): $(SRC_DIR)/global.h
  331. do_sets.$(SUF): $(TARGET_HOME)/h/em_abs.h
  332. do_store.$(SUF): $(SRC_DIR)/do_store.c
  333. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_store.c
  334. do_store.$(SUF): ./warn.h
  335. do_store.$(SUF): $(SRC_DIR)/fra.h
  336. do_store.$(SUF): $(SRC_DIR)/text.h
  337. do_store.$(SUF): $(SRC_DIR)/trap.h
  338. do_store.$(SUF): $(SRC_DIR)/mem.h
  339. do_store.$(SUF): $(SRC_DIR)/logging.h
  340. do_store.$(SUF): $(SRC_DIR)/log.h
  341. do_store.$(SUF): $(SRC_DIR)/global.h
  342. do_store.$(SUF): $(TARGET_HOME)/h/em_abs.h
  343. do_unsar.$(SUF): $(SRC_DIR)/do_unsar.c
  344. $(CC) -c $(CFLAGS) $(SRC_DIR)/do_unsar.c
  345. do_unsar.$(SUF): $(SRC_DIR)/fra.h
  346. do_unsar.$(SUF): $(SRC_DIR)/text.h
  347. do_unsar.$(SUF): ./warn.h
  348. do_unsar.$(SUF): $(SRC_DIR)/trap.h
  349. do_unsar.$(SUF): $(SRC_DIR)/mem.h
  350. do_unsar.$(SUF): $(SRC_DIR)/log.h
  351. do_unsar.$(SUF): $(SRC_DIR)/global.h
  352. do_unsar.$(SUF): $(SRC_DIR)/logging.h
  353. do_unsar.$(SUF): $(TARGET_HOME)/h/em_abs.h
  354. dump.$(SUF): $(SRC_DIR)/dump.c
  355. $(CC) -c $(CFLAGS) $(SRC_DIR)/dump.c
  356. dump.$(SUF): $(SRC_DIR)/rsb.h
  357. dump.$(SUF): $(SRC_DIR)/linfil.h
  358. dump.$(SUF): $(SRC_DIR)/shadow.h
  359. dump.$(SUF): $(SRC_DIR)/proctab.h
  360. dump.$(SUF): $(SRC_DIR)/text.h
  361. dump.$(SUF): $(SRC_DIR)/fra.h
  362. dump.$(SUF): $(SRC_DIR)/mem.h
  363. dump.$(SUF): $(SRC_DIR)/memdirect.h
  364. dump.$(SUF): $(SRC_DIR)/log.h
  365. dump.$(SUF): $(SRC_DIR)/global.h
  366. dump.$(SUF): $(SRC_DIR)/logging.h
  367. dump.$(SUF): $(TARGET_HOME)/h/em_abs.h
  368. disassemble.$(SUF): $(SRC_DIR)/disassemble.c
  369. $(CC) -c $(CFLAGS) $(SRC_DIR)/disassemble.c
  370. disassemble.$(SUF): ./switch/PrCases
  371. disassemble.$(SUF): $(SRC_DIR)/alloc.h
  372. disassemble.$(SUF): $(SRC_DIR)/proctab.h
  373. disassemble.$(SUF): $(SRC_DIR)/memdirect.h
  374. disassemble.$(SUF): $(SRC_DIR)/opcode.h
  375. disassemble.$(SUF): $(SRC_DIR)/global.h
  376. fra.$(SUF): $(SRC_DIR)/fra.c
  377. $(CC) -c $(CFLAGS) $(SRC_DIR)/fra.c
  378. fra.$(SUF): $(SRC_DIR)/alloc.h
  379. fra.$(SUF): $(SRC_DIR)/fra.h
  380. fra.$(SUF): $(SRC_DIR)/shadow.h
  381. fra.$(SUF): $(SRC_DIR)/mem.h
  382. fra.$(SUF): $(SRC_DIR)/global.h
  383. fra.$(SUF): $(SRC_DIR)/logging.h
  384. global.$(SUF): $(SRC_DIR)/global.c
  385. $(CC) -c $(CFLAGS) $(SRC_DIR)/global.c
  386. global.$(SUF): $(SRC_DIR)/global.h
  387. init.$(SUF): $(SRC_DIR)/init.c
  388. $(CC) -c $(CFLAGS) $(SRC_DIR)/init.c
  389. init.$(SUF): $(SRC_DIR)/read.h
  390. init.$(SUF): $(SRC_DIR)/trap.h
  391. init.$(SUF): $(SRC_DIR)/shadow.h
  392. init.$(SUF): $(SRC_DIR)/mem.h
  393. init.$(SUF): ./warn.h
  394. init.$(SUF): $(SRC_DIR)/alloc.h
  395. init.$(SUF): $(SRC_DIR)/log.h
  396. init.$(SUF): $(SRC_DIR)/global.h
  397. init.$(SUF): $(SRC_DIR)/logging.h
  398. init.$(SUF): $(TARGET_HOME)/h/em_abs.h
  399. io.$(SUF): $(SRC_DIR)/io.c
  400. $(CC) -c $(CFLAGS) $(SRC_DIR)/io.c
  401. io.$(SUF): $(SRC_DIR)/linfil.h
  402. io.$(SUF): $(SRC_DIR)/mem.h
  403. io.$(SUF): $(SRC_DIR)/global.h
  404. io.$(SUF): $(SRC_DIR)/logging.h
  405. log.$(SUF): $(SRC_DIR)/log.c
  406. $(CC) -c $(CFLAGS) $(SRC_DIR)/log.c
  407. log.$(SUF): $(SRC_DIR)/linfil.h
  408. log.$(SUF): $(SRC_DIR)/global.h
  409. log.$(SUF): $(SRC_DIR)/logging.h
  410. m_ioctl.$(SUF): $(SRC_DIR)/m_ioctl.c
  411. $(CC) -c $(CFLAGS) $(SRC_DIR)/m_ioctl.c
  412. m_ioctl.$(SUF): ./warn.h
  413. m_ioctl.$(SUF): $(SRC_DIR)/mem.h
  414. m_ioctl.$(SUF): $(SRC_DIR)/global.h
  415. m_ioctl.$(SUF): $(SRC_DIR)/v7ioctl.h
  416. m_ioctl.$(SUF): $(TARGET_HOME)/config/local.h
  417. m_ioctl.$(SUF): $(SRC_DIR)/sysidf.h
  418. m_sigtrp.$(SUF): $(SRC_DIR)/m_sigtrp.c
  419. $(CC) -c $(CFLAGS) $(SRC_DIR)/m_sigtrp.c
  420. m_sigtrp.$(SUF): $(SRC_DIR)/trap.h
  421. m_sigtrp.$(SUF): ./warn.h
  422. m_sigtrp.$(SUF): $(SRC_DIR)/logging.h
  423. m_sigtrp.$(SUF): $(SRC_DIR)/log.h
  424. m_sigtrp.$(SUF): $(SRC_DIR)/global.h
  425. main.$(SUF): $(SRC_DIR)/main.c
  426. $(CC) -c $(CFLAGS) $(SRC_DIR)/main.c
  427. main.$(SUF): $(SRC_DIR)/rsb.h
  428. main.$(SUF): $(SRC_DIR)/opcode.h
  429. main.$(SUF): $(SRC_DIR)/read.h
  430. main.$(SUF): $(SRC_DIR)/text.h
  431. main.$(SUF): ./warn.h
  432. main.$(SUF): $(SRC_DIR)/trap.h
  433. main.$(SUF): $(SRC_DIR)/log.h
  434. main.$(SUF): $(SRC_DIR)/global.h
  435. main.$(SUF): $(SRC_DIR)/nofloat.h
  436. main.$(SUF): $(SRC_DIR)/logging.h
  437. main.$(SUF): $(SRC_DIR)/e.out.h
  438. main.$(SUF): $(TARGET_HOME)/h/em_abs.h
  439. moncalls.$(SUF): $(SRC_DIR)/moncalls.c
  440. $(CC) -c $(CFLAGS) $(SRC_DIR)/moncalls.c
  441. moncalls.$(SUF): $(SRC_DIR)/mem.h
  442. moncalls.$(SUF): ./warn.h
  443. moncalls.$(SUF): $(SRC_DIR)/trap.h
  444. moncalls.$(SUF): $(SRC_DIR)/global.h
  445. moncalls.$(SUF): $(TARGET_HOME)/h/em_abs.h
  446. moncalls.$(SUF): $(SRC_DIR)/shadow.h
  447. moncalls.$(SUF): $(SRC_DIR)/alloc.h
  448. moncalls.$(SUF): $(SRC_DIR)/logging.h
  449. moncalls.$(SUF): $(SRC_DIR)/log.h
  450. moncalls.$(SUF): $(TARGET_HOME)/config/local.h
  451. moncalls.$(SUF): $(SRC_DIR)/sysidf.h
  452. monstruct.$(SUF): $(SRC_DIR)/monstruct.c
  453. $(CC) -c $(CFLAGS) $(SRC_DIR)/monstruct.c
  454. monstruct.$(SUF): $(SRC_DIR)/monstruct.h
  455. monstruct.$(SUF): $(SRC_DIR)/mem.h
  456. monstruct.$(SUF): $(SRC_DIR)/global.h
  457. monstruct.$(SUF): $(SRC_DIR)/v7ioctl.h
  458. monstruct.$(SUF): $(TARGET_HOME)/config/local.h
  459. monstruct.$(SUF): $(SRC_DIR)/sysidf.h
  460. proctab.$(SUF): $(SRC_DIR)/proctab.c
  461. $(CC) -c $(CFLAGS) $(SRC_DIR)/proctab.c
  462. proctab.$(SUF): $(SRC_DIR)/proctab.h
  463. proctab.$(SUF): $(SRC_DIR)/alloc.h
  464. proctab.$(SUF): $(SRC_DIR)/log.h
  465. proctab.$(SUF): $(SRC_DIR)/global.h
  466. proctab.$(SUF): $(SRC_DIR)/logging.h
  467. read.$(SUF): $(SRC_DIR)/read.c
  468. $(CC) -c $(CFLAGS) $(SRC_DIR)/read.c
  469. read.$(SUF): $(SRC_DIR)/text.h
  470. read.$(SUF): $(SRC_DIR)/read.h
  471. read.$(SUF): $(SRC_DIR)/shadow.h
  472. read.$(SUF): $(SRC_DIR)/mem.h
  473. read.$(SUF): ./warn.h
  474. read.$(SUF): $(SRC_DIR)/log.h
  475. read.$(SUF): $(SRC_DIR)/global.h
  476. read.$(SUF): $(SRC_DIR)/nofloat.h
  477. read.$(SUF): $(SRC_DIR)/logging.h
  478. read.$(SUF): $(TARGET_HOME)/h/as_spec.h
  479. read.$(SUF): $(TARGET_HOME)/h/em_spec.h
  480. read.$(SUF): $(TARGET_HOME)/config/local.h
  481. rsb.$(SUF): $(SRC_DIR)/rsb.c
  482. $(CC) -c $(CFLAGS) $(SRC_DIR)/rsb.c
  483. rsb.$(SUF): ./warn.h
  484. rsb.$(SUF): $(SRC_DIR)/shadow.h
  485. rsb.$(SUF): $(SRC_DIR)/linfil.h
  486. rsb.$(SUF): $(SRC_DIR)/proctab.h
  487. rsb.$(SUF): $(SRC_DIR)/rsb.h
  488. rsb.$(SUF): $(SRC_DIR)/mem.h
  489. rsb.$(SUF): $(SRC_DIR)/global.h
  490. rsb.$(SUF): $(SRC_DIR)/logging.h
  491. segment.$(SUF): $(SRC_DIR)/segment.c
  492. $(CC) -c $(CFLAGS) $(SRC_DIR)/segment.c
  493. segment.$(SUF): $(SRC_DIR)/alloc.h
  494. segment.$(SUF): $(SRC_DIR)/mem.h
  495. segment.$(SUF): $(SRC_DIR)/global.h
  496. segment.$(SUF): $(SRC_DIR)/segcheck.h
  497. stack.$(SUF): $(SRC_DIR)/stack.c
  498. $(CC) -c $(CFLAGS) $(SRC_DIR)/stack.c
  499. stack.$(SUF): $(SRC_DIR)/rsb.h
  500. stack.$(SUF): $(SRC_DIR)/shadow.h
  501. stack.$(SUF): $(SRC_DIR)/mem.h
  502. stack.$(SUF): $(SRC_DIR)/memdirect.h
  503. stack.$(SUF): $(SRC_DIR)/alloc.h
  504. stack.$(SUF): $(SRC_DIR)/trap.h
  505. stack.$(SUF): ./warn.h
  506. stack.$(SUF): $(SRC_DIR)/log.h
  507. stack.$(SUF): $(SRC_DIR)/global.h
  508. stack.$(SUF): $(SRC_DIR)/nofloat.h
  509. stack.$(SUF): $(SRC_DIR)/logging.h
  510. stack.$(SUF): $(TARGET_HOME)/h/em_abs.h
  511. switch.$(SUF): $(SRC_DIR)/switch.c
  512. $(CC) -c $(CFLAGS) $(SRC_DIR)/switch.c
  513. switch.$(SUF): ./switch/DoCases
  514. switch.$(SUF): ./warn.h
  515. switch.$(SUF): $(SRC_DIR)/trap.h
  516. switch.$(SUF): $(SRC_DIR)/text.h
  517. switch.$(SUF): $(SRC_DIR)/opcode.h
  518. switch.$(SUF): $(SRC_DIR)/global.h
  519. switch.$(SUF): $(TARGET_HOME)/h/em_abs.h
  520. tally.$(SUF): $(SRC_DIR)/tally.c
  521. $(CC) -c $(CFLAGS) $(SRC_DIR)/tally.c
  522. tally.$(SUF): $(SRC_DIR)/alloc.h
  523. tally.$(SUF): $(SRC_DIR)/linfil.h
  524. tally.$(SUF): $(SRC_DIR)/global.h
  525. text.$(SUF): $(SRC_DIR)/text.c
  526. $(CC) -c $(CFLAGS) $(SRC_DIR)/text.c
  527. text.$(SUF): ./warn.h
  528. text.$(SUF): $(SRC_DIR)/proctab.h
  529. text.$(SUF): $(SRC_DIR)/read.h
  530. text.$(SUF): $(SRC_DIR)/text.h
  531. text.$(SUF): $(SRC_DIR)/trap.h
  532. text.$(SUF): $(SRC_DIR)/alloc.h
  533. text.$(SUF): $(SRC_DIR)/global.h
  534. text.$(SUF): $(TARGET_HOME)/h/em_abs.h
  535. trap.$(SUF): $(SRC_DIR)/trap.c
  536. $(CC) -c $(CFLAGS) $(SRC_DIR)/trap.c
  537. trap.$(SUF): ./trap_msg
  538. trap.$(SUF): $(SRC_DIR)/fra.h
  539. trap.$(SUF): $(SRC_DIR)/rsb.h
  540. trap.$(SUF): $(SRC_DIR)/linfil.h
  541. trap.$(SUF): $(SRC_DIR)/shadow.h
  542. trap.$(SUF): $(SRC_DIR)/mem.h
  543. trap.$(SUF): ./warn.h
  544. trap.$(SUF): $(SRC_DIR)/trap.h
  545. trap.$(SUF): $(SRC_DIR)/log.h
  546. trap.$(SUF): $(SRC_DIR)/global.h
  547. trap.$(SUF): $(SRC_DIR)/logging.h
  548. trap.$(SUF): $(TARGET_HOME)/h/em_abs.h
  549. warn.$(SUF): $(SRC_DIR)/warn.c
  550. $(CC) -c $(CFLAGS) $(SRC_DIR)/warn.c
  551. warn.$(SUF): ./warn_msg
  552. warn.$(SUF): $(SRC_DIR)/linfil.h
  553. warn.$(SUF): ./warn.h
  554. warn.$(SUF): $(SRC_DIR)/alloc.h
  555. warn.$(SUF): $(SRC_DIR)/log.h
  556. warn.$(SUF): $(SRC_DIR)/global.h
  557. warn.$(SUF): $(SRC_DIR)/logging.h