home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Tex / Tex29 / StTeXsrc.zoo / src / BIGGG / INIT / Makefile
Makefile  |  1988-06-04  |  7KB  |  272 lines

  1. #
  2. #  Pehong Chen, University of California, Berkeley (phc@renoir.berkeley.edu)
  3. #
  4. #      modified for distribution, monardo@renoir.berkeley.edu
  5. #
  6.  
  7. VPATH         = ../..
  8.  
  9. DEST          = /usr/local
  10.  
  11. MANDIR          = /usr/man/manl
  12.  
  13. MANUAL          =
  14.  
  15. HDRS          = align.h \
  16.         arith.h \
  17.         box.h \
  18.         boxlists.h \
  19.         char.h \
  20.         cmds.h \
  21.         cond.h \
  22.         def.h \
  23.         dvi.h \
  24.         eq.h \
  25.         eqstack.h \
  26.         error.h \
  27.         eval.h \
  28.         evalstack.h \
  29.         expand.h \
  30.         file.h \
  31.         fmt.h \
  32.         hash.h \
  33.         heap.h \
  34.         hyph.h \
  35.         io.h \
  36.         math.h \
  37.         mathlists.h \
  38.         mlst-hlst.h \
  39.         pack.h \
  40.         page.h \
  41.         par.h \
  42.         print.h \
  43.         scan.h \
  44.         str.h \
  45.         tex.h \
  46.         texext.h \
  47.         tfm.h \
  48.         token.h \
  49.         tokenlists.h \
  50.         tokenstack.h
  51.  
  52. # Option for compiling SUN 68010 code with a 68020 CPU
  53. 68010CFLAGS   = -m68010 -L/usr.MC68010/lib -Qpath /usr.MC68010/cstart
  54.  
  55. # 16-bit word
  56. #CFLAGS          = -O -DINIT
  57. #CFLAGS          = -O -DINIT $(68010CFLAGS)
  58.  
  59. # 32-bit word
  60. #CFLAGS          = -O -DINIT -DBIG
  61. #CFLAGS          = -O -DINIT -DBIG $(68010CFLAGS)
  62.  
  63. # 64-bit word
  64. #CFLAGS          = -O -DINIT -DBIGGG -m68020
  65. CFLAGS          = -O -DINIT -DBIGGG
  66. #CFLAGS          = -O -DINIT -DBIGGG $(68010CFLAGS)
  67.  
  68. LDFLAGS          = $(CFLAGS)
  69.  
  70. LIBS          =
  71.  
  72. #LINKER          = gcc
  73. LINKER          = cc
  74.  
  75. #CC          = gcc
  76. CC          = cc
  77.  
  78. MAKEFILE      = Makefile
  79.  
  80. OBJS          = align.o \
  81.         arith.o \
  82.         box.o \
  83.         boxlists.o \
  84.         char.o \
  85.         cmds.o \
  86.         cond.o \
  87.         def.o \
  88.         dvi.o \
  89.         eq.o \
  90.         eqstack.o \
  91.         error.o \
  92.         eval.o \
  93.         evalstack.o \
  94.         expand.o \
  95.         file.o \
  96.         fmt.o \
  97.         hash.o \
  98.         heap.o \
  99.         hyph.o \
  100.         io.o \
  101.         math.o \
  102.         mathlists.o \
  103.         mlst-hlst.o \
  104.         pack.o \
  105.         page.o \
  106.         par.o \
  107.         print.o \
  108.         scan.o \
  109.         str.o \
  110.         tex.o \
  111.         texext.o \
  112.         tfm.o \
  113.         token.o \
  114.         tokenlists.o \
  115.         tokenstack.o
  116.  
  117. PRINT          = tgrind -c
  118.  
  119. PROGRAM          = initex
  120.  
  121. SRCS          = align.c \
  122.         arith.c \
  123.         box.c \
  124.         boxlists.c \
  125.         char.c \
  126.         cmds.c \
  127.         cond.c \
  128.         def.c \
  129.         dvi.c \
  130.         eq.c \
  131.         eqstack.c \
  132.         error.c \
  133.         eval.c \
  134.         evalstack.c \
  135.         expand.c \
  136.         file.c \
  137.         fmt.c \
  138.         hash.c \
  139.         heap.c \
  140.         hyph.c \
  141.         io.c \
  142.         math.c \
  143.         mathlists.c \
  144.         mlst-hlst.c \
  145.         pack.c \
  146.         page.c \
  147.         par.c \
  148.         print.c \
  149.         scan.c \
  150.         str.c \
  151.         tex.c \
  152.         texext.c \
  153.         tfm.c \
  154.         token.c \
  155.         tokenlists.c \
  156.         tokenstack.c
  157.  
  158. $(PROGRAM):     $(OBJS)
  159.         @rm -f $(PROGRAM)
  160.         $(LINKER) $(LDFLAGS) $(OBJS) $(LIBS) -o $(PROGRAM)
  161.         @size $(PROGRAM)
  162.  
  163. install:    $(PROGRAM)
  164.         install -c -s -m 0755 $(PROGRAM) $(DEST)
  165.         @ls -lgs $(DEST)/$(PROGRAM)
  166.  
  167. clean:;        @rm -f $(OBJS) core $(PROGRAM) *.out
  168.  
  169. depend:;    @rm -f .#*.[chly]
  170.         mkmf -f $(MAKEFILE) PROGRAM=$(PROGRAM) DEST=$(DEST)
  171.  
  172. index:;        @ctags -wx $(HDRS) $(SRCS)
  173.  
  174. print:;        @$(PRINT) $(HDRS) $(SRCS)
  175.  
  176. program:        $(PROGRAM)
  177.  
  178. tags:           $(HDRS) $(SRCS); @ctags $(HDRS) $(SRCS)
  179.  
  180. update:        $(DEST)/$(PROGRAM)
  181.  
  182. $(DEST)/$(PROGRAM): $(SRCS) $(HDRS)
  183.         @make -f $(MAKEFILE) DEST=$(DEST) install
  184.  
  185. .DEFAULT:;
  186. ###
  187. align.o: tex.h cmds.h heap.h arith.h eq.h eqstack.h hash.h \
  188.     token.h tokenstack.h scan.h evalstack.h box.h pack.h math.h \
  189.     mlst-hlst.h error.h align.h
  190. arith.o: tex.h print.h arith.h
  191. box.o: tex.h texext.h arith.h heap.h char.h str.h \
  192.     eq.h hash.h tfm.h print.h math.h box.h tokenlists.h
  193. boxlists.o: tex.h cmds.h heap.h eq.h eqstack.h def.h box.h \
  194.     tokenstack.h token.h scan.h tokenlists.h evalstack.h tfm.h pack.h \
  195.     page.h math.h io.h print.h error.h boxlists.h
  196. char.o: tex.h char.h
  197. cmds.o: tex.h texext.h heap.h eq.h eqstack.h str.h \
  198.     hash.h token.h tokenlists.h tokenstack.h scan.h evalstack.h def.h \
  199.     cond.h expand.h box.h boxlists.h tfm.h math.h mathlists.h align.h \
  200.     error.h print.h cmds.h
  201. cond.o: tex.h cmds.h heap.h box.h eq.h eqstack.h hash.h \
  202.     token.h tokenlists.h scan.h tokenstack.h evalstack.h file.h print.h \
  203.     error.h cond.h
  204. def.o: tex.h cmds.h heap.h io.h eq.h hash.h eqstack.h \
  205.     evalstack.h token.h scan.h tokenstack.h expand.h arith.h str.h \
  206.     box.h boxlists.h tokenlists.h file.h tfm.h dvi.h page.h print.h \
  207.     error.h def.h
  208. dvi.o: tex.h texext.h heap.h str.h io.h eq.h box.h \
  209.     scan.h tfm.h file.h pack.h print.h error.h dvi.h 
  210. eq.o: tex.h cmds.h heap.h char.h hash.h box.h print.h \
  211.     error.h eq.h 
  212. eqstack.o: tex.h cmds.h heap.h eq.h token.h tokenstack.h \
  213.     tokenlists.h print.h error.h eqstack.h
  214. error.o: tex.h tokenstack.h token.h eq.h io.h print.h \
  215.     error.h str.h 
  216. eval.o: tex.h cmds.h heap.h char.h tfm.h eq.h eqstack.h \
  217.     hash.h token.h scan.h tokenstack.h evalstack.h box.h boxlists.h \
  218.     math.h mathlists.h cond.h def.h dvi.h pack.h page.h par.h print.h \
  219.     error.h eval.h
  220. evalstack.o: tex.h cmds.h heap.h tokenstack.h eq.h box.h \
  221.     page.h print.h error.h evalstack.h
  222. expand.o: tex.h cmds.h heap.h io.h eq.h hash.h box.h \
  223.     tokenstack.h scan.h token.h tokenlists.h cond.h file.h print.h \
  224.     error.h expand.h
  225. file.o: tex.h cmds.h heap.h char.h eq.h token.h scan.h \
  226.     tokenstack.h str.h fmt.h io.h print.h error.h file.h 
  227. fmt.o: tex.h texext.h heap.h token.h eq.h box.h \
  228.     eqstack.h hash.h file.h tfm.h str.h hyph.h io.h print.h error.h \
  229.     fmt.h
  230. hash.o: tex.h cmds.h heap.h box.h scan.h eq.h io.h math.h \
  231.     boxlists.h str.h error.h hash.h
  232. heap.o: tex.h eq.h arith.h box.h token.h tokenlists.h \
  233.     evalstack.h par.h page.h print.h error.h heap.h
  234. hyph.o: tex.h cmds.h heap.h token.h eq.h str.h tfm.h \
  235.     box.h scan.h tokenstack.h par.h print.h error.h hyph.h
  236. io.o: tex.h char.h tokenstack.h print.h io.h 
  237. math.o: tex.h heap.h eq.h scan.h evalstack.h arith.h \
  238.     str.h box.h tfm.h print.h pack.h math.h
  239. mathlists.o: tex.h cmds.h heap.h arith.h eq.h eqstack.h \
  240.     evalstack.h token.h tokenstack.h scan.h tfm.h box.h pack.h math.h \
  241.     mlst-hlst.h par.h page.h print.h error.h mathlists.h
  242. mlst-hlst.o: tex.h heap.h arith.h scan.h eq.h box.h math.h \
  243.     pack.h tfm.h print.h error.h mlst-hlst.h
  244. pack.o: tex.h heap.h arith.h scan.h tokenstack.h eq.h \
  245.     eqstack.h evalstack.h box.h tfm.h dvi.h print.h error.h pack.h
  246. page.o: tex.h heap.h arith.h tokenstack.h tokenlists.h \
  247.     eq.h eqstack.h evalstack.h scan.h expand.h box.h pack.h par.h math.h \
  248.     dvi.h print.h error.h page.h
  249. par.o: tex.h heap.h arith.h eq.h tfm.h tokenstack.h \
  250.     evalstack.h box.h pack.h hyph.h print.h error.h par.h
  251. print.o: tex.h texext.h eq.h char.h str.h io.h print.h
  252. scan.o: tex.h cmds.h heap.h arith.h eq.h token.h \
  253.     tokenstack.h evalstack.h char.h str.h box.h expand.h tfm.h dvi.h \
  254.     print.h error.h page.h scan.h
  255. str.o: tex.h io.h file.h error.h str.h
  256. tex.o: tex.h texext.h cmds.h heap.h char.h str.h eq.h \
  257.     hash.h evalstack.h eqstack.h tokenstack.h token.h box.h pack.h cond.h \
  258.     io.h file.h tfm.h hyph.h dvi.h fmt.h error.h print.h page.h 
  259. texext.o: tex.h cmds.h heap.h eq.h hash.h token.h box.h \
  260.     scan.h def.h tokenstack.h tokenlists.h evalstack.h io.h str.h \
  261.     file.h dvi.h print.h error.h texext.h
  262. tfm.o: tex.h cmds.h heap.h arith.h eq.h hash.h box.h \
  263.     scan.h token.h tokenstack.h io.h file.h print.h error.h tfm.h
  264. token.o: tex.h cmds.h heap.h eq.h hash.h scan.h io.h \
  265.     char.h box.h cond.h print.h error.h expand.h align.h tokenstack.h \
  266.     token.h
  267. tokenlists.o: tex.h cmds.h heap.h eq.h hash.h str.h box.h \
  268.     token.h expand.h tokenstack.h io.h scan.h def.h file.h tfm.h print.h \
  269.     error.h tokenlists.h
  270. tokenstack.o: tex.h cmds.h heap.h eq.h def.h char.h io.h \
  271.     token.h tokenlists.h box.h print.h error.h tokenstack.h
  272.