proto.make 18 KB

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