Makefile 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. EMH=../../../h
  2. EMLIB=../../../lib
  3. SHR=../share
  4. CFILES=\
  5. cs.c cs_alloc.c cs_aux.c cs_avail.c cs_debug.c cs_elim.c \
  6. cs_entity.c cs_kill.c cs_partit.c cs_profit.c cs_getent.c \
  7. cs_stack.c cs_vnm.c
  8. OFILES=\
  9. cs.o cs_alloc.o cs_aux.o cs_avail.o cs_debug.o cs_elim.o \
  10. cs_entity.o cs_kill.o cs_partit.o cs_profit.o cs_getent.o \
  11. cs_stack.o cs_vnm.o
  12. HFILES=\
  13. cs.h cs_alloc.h cs_aux.h cs_avail.h cs_debug.h cs_elim.h \
  14. cs_entity.h cs_kill.h cs_partit.h cs_profit.h cs_getent.h \
  15. cs_stack.h cs_vnm.h
  16. PRFILES=\
  17. $(CFILES) $(HFILES) Makefile
  18. SHARE_OFILES=\
  19. $(SHR)/get.o $(SHR)/put.o $(SHR)/alloc.o $(SHR)/global.o $(SHR)/debug.o\
  20. $(SHR)/files.o $(SHR)/map.o $(SHR)/lset.o $(SHR)/cset.o $(SHR)/aux.o\
  21. $(SHR)/go.o
  22. SHARE_MFILES=\
  23. $(SHR)/get.m $(SHR)/put.m $(SHR)/alloc.m $(SHR)/global.m $(SHR)/debug.m\
  24. $(SHR)/files.m $(SHR)/map.m $(SHR)/lset.m $(SHR)/cset.m $(SHR)/aux.m\
  25. $(SHR)/go.m
  26. cs: $(OFILES)
  27. $(CC) -o cs $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
  28. cs_ack: $(CFILES) $(SHARE_MFILES)
  29. $(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
  30. $(CC) -o cs -.c $(LDFLAGS) cs.o $(EMLIB)/em_data.a
  31. lint:
  32. lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
  33. pr: $(PRFILES)
  34. @pr $?
  35. @touch pr
  36. depend:
  37. $(SHR)/makedepend
  38. # the next lines are generated automatically
  39. # AUTOAUTOAUTOAUTOAUTOAUTO
  40. cs.o: ../share/debug.h
  41. cs.o: ../share/go.h
  42. cs.o: ../share/types.h
  43. cs.o: cs.h
  44. cs.o: cs_aux.h
  45. cs.o: cs_avail.h
  46. cs.o: cs_debug.h
  47. cs.o: cs_elim.h
  48. cs.o: cs_entity.h
  49. cs.o: cs_profit.h
  50. cs.o: cs_stack.h
  51. cs.o: cs_vnm.h
  52. cs_alloc.o: ../share/alloc.h
  53. cs_alloc.o: ../share/types.h
  54. cs_alloc.o: cs.h
  55. cs_aux.o: ../share/aux.h
  56. cs_aux.o: ../share/debug.h
  57. cs_aux.o: ../share/global.h
  58. cs_aux.o: ../share/lset.h
  59. cs_aux.o: ../share/types.h
  60. cs_aux.o: cs.h
  61. cs_aux.o: cs_entity.h
  62. cs_avail.o: ../../../h/em_mnem.h
  63. cs_avail.o: ../share/aux.h
  64. cs_avail.o: ../share/debug.h
  65. cs_avail.o: ../share/global.h
  66. cs_avail.o: ../share/lset.h
  67. cs_avail.o: ../share/types.h
  68. cs_avail.o: cs.h
  69. cs_avail.o: cs_alloc.h
  70. cs_avail.o: cs_aux.h
  71. cs_avail.o: cs_getent.h
  72. cs_debug.o: ../../../h/em_spec.h
  73. cs_debug.o: ../share/debug.h
  74. cs_debug.o: ../share/lset.h
  75. cs_debug.o: ../share/types.h
  76. cs_debug.o: cs.h
  77. cs_debug.o: cs_aux.h
  78. cs_debug.o: cs_avail.h
  79. cs_debug.o: cs_entity.h
  80. cs_elim.o: ../../../h/em_mnem.h
  81. cs_elim.o: ../../../h/em_reg.h
  82. cs_elim.o: ../share/alloc.h
  83. cs_elim.o: ../share/aux.h
  84. cs_elim.o: ../share/debug.h
  85. cs_elim.o: ../share/global.h
  86. cs_elim.o: ../share/lset.h
  87. cs_elim.o: ../share/types.h
  88. cs_elim.o: cs.h
  89. cs_elim.o: cs_alloc.h
  90. cs_elim.o: cs_aux.h
  91. cs_elim.o: cs_avail.h
  92. cs_elim.o: cs_debug.h
  93. cs_elim.o: cs_partit.h
  94. cs_elim.o: cs_profit.h
  95. cs_entity.o: ../share/debug.h
  96. cs_entity.o: ../share/global.h
  97. cs_entity.o: ../share/lset.h
  98. cs_entity.o: ../share/types.h
  99. cs_entity.o: cs.h
  100. cs_entity.o: cs_aux.h
  101. cs_getent.o: ../../../h/em_mnem.h
  102. cs_getent.o: ../share/aux.h
  103. cs_getent.o: ../share/debug.h
  104. cs_getent.o: ../share/global.h
  105. cs_getent.o: ../share/types.h
  106. cs_getent.o: cs.h
  107. cs_getent.o: cs_aux.h
  108. cs_getent.o: cs_entity.h
  109. cs_getent.o: cs_stack.h
  110. cs_kill.o: ../../../h/em_mnem.h
  111. cs_kill.o: ../share/aux.h
  112. cs_kill.o: ../share/cset.h
  113. cs_kill.o: ../share/debug.h
  114. cs_kill.o: ../share/global.h
  115. cs_kill.o: ../share/lset.h
  116. cs_kill.o: ../share/types.h
  117. cs_kill.o: cs.h
  118. cs_kill.o: cs_aux.h
  119. cs_kill.o: cs_avail.h
  120. cs_kill.o: cs_debug.h
  121. cs_kill.o: cs_entity.h
  122. cs_partit.o: ../../../h/em_mnem.h
  123. cs_partit.o: ../../../h/em_pseu.h
  124. cs_partit.o: ../../../h/em_reg.h
  125. cs_partit.o: ../../../h/em_spec.h
  126. cs_partit.o: ../share/aux.h
  127. cs_partit.o: ../share/debug.h
  128. cs_partit.o: ../share/global.h
  129. cs_partit.o: ../share/types.h
  130. cs_partit.o: cs.h
  131. cs_partit.o: cs_stack.h
  132. cs_profit.o: ../../../h/em_mnem.h
  133. cs_profit.o: ../../../h/em_spec.h
  134. cs_profit.o: ../share/aux.h
  135. cs_profit.o: ../share/cset.h
  136. cs_profit.o: ../share/debug.h
  137. cs_profit.o: ../share/global.h
  138. cs_profit.o: ../share/lset.h
  139. cs_profit.o: ../share/types.h
  140. cs_profit.o: cs.h
  141. cs_profit.o: cs_aux.h
  142. cs_profit.o: cs_avail.h
  143. cs_profit.o: cs_partit.h
  144. cs_stack.o: ../share/aux.h
  145. cs_stack.o: ../share/debug.h
  146. cs_stack.o: ../share/global.h
  147. cs_stack.o: ../share/types.h
  148. cs_stack.o: cs.h
  149. cs_stack.o: cs_aux.h
  150. cs_valno.o: ../share/debug.h
  151. cs_valno.o: ../share/types.h
  152. cs_valno.o: cs.h
  153. cs_vnm.o: ../../../h/em_mnem.h
  154. cs_vnm.o: ../share/aux.h
  155. cs_vnm.o: ../share/debug.h
  156. cs_vnm.o: ../share/global.h
  157. cs_vnm.o: ../share/types.h
  158. cs_vnm.o: cs.h
  159. cs_vnm.o: cs_alloc.h
  160. cs_vnm.o: cs_aux.h
  161. cs_vnm.o: cs_avail.h
  162. cs_vnm.o: cs_entity.h
  163. cs_vnm.o: cs_getent.h
  164. cs_vnm.o: cs_kill.h
  165. cs_vnm.o: cs_partit.h
  166. cs_vnm.o: cs_stack.h