home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Tex / Tex29 / StTeXsrc.zoo / src / BIGG / INIT / Makefile
Makefile  |  1988-09-30  |  7KB  |  277 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 -DBIGG -m68020 -fomit-frame-pointer -fcombine-regs \
  65. -fforce-mem -fforce-addr
  66. C1FLAGS          = -DINIT -traditional -O -DBIGG -m68020 -fomit-frame-pointer -fcombine-regs \
  67. -fforce-mem -fforce-addr
  68. #CFLAGS          = -O -DINIT -DBIGG
  69. #CFLAGS          = -O -DINIT -DBIGG $(68010CFLAGS)
  70.  
  71. LDFLAGS          = $(CFLAGS)
  72.  
  73. LIBS          =
  74.  
  75. LINKER          = gcc
  76. #LINKER          = cc
  77.  
  78. CC          = gcc
  79. #CC          = cc
  80.  
  81. MAKEFILE      = Makefile
  82.  
  83. OBJS          = align.o \
  84.         arith.o \
  85.         box.o \
  86.         boxlists.o \
  87.         char.o \
  88.         cmds.o \
  89.         cond.o \
  90.         def.o \
  91.         dvi.o \
  92.         eq.o \
  93.         eqstack.o \
  94.         error.o \
  95.         eval.o \
  96.         evalstack.o \
  97.         expand.o \
  98.         file.o \
  99.         fmt.o \
  100.         hash.o \
  101.         heap.o \
  102.         hyph.o \
  103.         io.o \
  104.         math.o \
  105.         mathlists.o \
  106.         mlst-hlst.o \
  107.         pack.o \
  108.         page.o \
  109.         par.o \
  110.         print.o \
  111.         scan.o \
  112.         str.o \
  113.         tex.o \
  114.         texext.o \
  115.         tfm.o \
  116.         token.o \
  117.         tokenlists.o \
  118.         tokenstack.o
  119.  
  120. PRINT          = tgrind -c
  121.  
  122. PROGRAM          = initex
  123.  
  124. SRCS          = align.c \
  125.         arith.c \
  126.         box.c \
  127.         boxlists.c \
  128.         char.c \
  129.         cmds.c \
  130.         cond.c \
  131.         def.c \
  132.         dvi.c \
  133.         eq.c \
  134.         eqstack.c \
  135.         error.c \
  136.         eval.c \
  137.         evalstack.c \
  138.         expand.c \
  139.         file.c \
  140.         fmt.c \
  141.         hash.c \
  142.         heap.c \
  143.         hyph.c \
  144.         io.c \
  145.         math.c \
  146.         mathlists.c \
  147.         mlst-hlst.c \
  148.         pack.c \
  149.         page.c \
  150.         par.c \
  151.         print.c \
  152.         scan.c \
  153.         str.c \
  154.         tex.c \
  155.         texext.c \
  156.         tfm.c \
  157.         token.c \
  158.         tokenlists.c \
  159.         tokenstack.c
  160.  
  161. $(PROGRAM):     $(OBJS)
  162.         @rm -f $(PROGRAM)
  163.         $(LINKER) $(LDFLAGS) $(OBJS) $(LIBS) -o $(PROGRAM)
  164.         @size $(PROGRAM)
  165.  
  166. install:    $(PROGRAM)
  167.         install -c -s -m 0755 $(PROGRAM) $(DEST)
  168.         @ls -lgs $(DEST)/$(PROGRAM)
  169.  
  170. clean:;        @rm -f $(OBJS) core $(PROGRAM) *.out
  171.  
  172. depend:;    @rm -f .#*.[chly]
  173.         mkmf -f $(MAKEFILE) PROGRAM=$(PROGRAM) DEST=$(DEST)
  174.  
  175. index:;        @ctags -wx $(HDRS) $(SRCS)
  176.  
  177. print:;        @$(PRINT) $(HDRS) $(SRCS)
  178.  
  179. program:        $(PROGRAM)
  180.  
  181. tags:           $(HDRS) $(SRCS); @ctags $(HDRS) $(SRCS)
  182.  
  183. update:        $(DEST)/$(PROGRAM)
  184.  
  185. $(DEST)/$(PROGRAM): $(SRCS) $(HDRS)
  186.         @make -f $(MAKEFILE) DEST=$(DEST) install
  187.  
  188. .DEFAULT:;
  189. ###
  190. align.o: tex.h cmds.h heap.h arith.h eq.h eqstack.h hash.h \
  191.     token.h tokenstack.h scan.h evalstack.h box.h pack.h math.h \
  192.     mlst-hlst.h error.h align.h
  193. arith.o: tex.h print.h arith.h
  194. box.o: tex.h texext.h arith.h heap.h char.h str.h \
  195.     eq.h hash.h tfm.h print.h math.h box.h tokenlists.h
  196. boxlists.o: tex.h cmds.h heap.h eq.h eqstack.h def.h box.h \
  197.     tokenstack.h token.h scan.h tokenlists.h evalstack.h tfm.h pack.h \
  198.     page.h math.h io.h print.h error.h boxlists.h
  199. char.o: tex.h char.h
  200. cmds.o: tex.h texext.h heap.h eq.h eqstack.h str.h \
  201.     hash.h token.h tokenlists.h tokenstack.h scan.h evalstack.h def.h \
  202.     cond.h expand.h box.h boxlists.h tfm.h math.h mathlists.h align.h \
  203.     error.h print.h cmds.h
  204. cond.o: tex.h cmds.h heap.h box.h eq.h eqstack.h hash.h \
  205.     token.h tokenlists.h scan.h tokenstack.h evalstack.h file.h print.h \
  206.     error.h cond.h
  207. def.o: tex.h cmds.h heap.h io.h eq.h hash.h eqstack.h \
  208.     evalstack.h token.h scan.h tokenstack.h expand.h arith.h str.h \
  209.     box.h boxlists.h tokenlists.h file.h tfm.h dvi.h page.h print.h \
  210.     error.h def.h
  211. dvi.o: tex.h texext.h heap.h str.h io.h eq.h box.h \
  212.     scan.h tfm.h file.h pack.h print.h error.h dvi.h 
  213. eq.o: tex.h cmds.h heap.h char.h hash.h box.h print.h \
  214.     error.h eq.h 
  215. eqstack.o: tex.h cmds.h heap.h eq.h token.h tokenstack.h \
  216.     tokenlists.h print.h error.h eqstack.h
  217. error.o: tex.h tokenstack.h token.h eq.h io.h print.h \
  218.     error.h str.h 
  219. eval.o: tex.h cmds.h heap.h char.h tfm.h eq.h eqstack.h \
  220.     hash.h token.h scan.h tokenstack.h evalstack.h box.h boxlists.h \
  221.     math.h mathlists.h cond.h def.h dvi.h pack.h page.h par.h print.h \
  222.     error.h eval.h
  223. evalstack.o: tex.h cmds.h heap.h tokenstack.h eq.h box.h \
  224.     page.h print.h error.h evalstack.h
  225. expand.o: tex.h cmds.h heap.h io.h eq.h hash.h box.h \
  226.     tokenstack.h scan.h token.h tokenlists.h cond.h file.h print.h \
  227.     error.h expand.h
  228. file.o: tex.h cmds.h heap.h char.h eq.h token.h scan.h \
  229.     tokenstack.h str.h fmt.h io.h print.h error.h file.h 
  230. fmt.o: tex.h texext.h heap.h token.h eq.h box.h \
  231.     eqstack.h hash.h file.h tfm.h str.h hyph.h io.h print.h error.h \
  232.     fmt.h
  233. hash.o: tex.h cmds.h heap.h box.h scan.h eq.h io.h math.h \
  234.     boxlists.h str.h error.h hash.h
  235. heap.o: tex.h eq.h arith.h box.h token.h tokenlists.h \
  236.     evalstack.h par.h page.h print.h error.h heap.h
  237. hyph.o: tex.h cmds.h heap.h token.h eq.h str.h tfm.h \
  238.     box.h scan.h tokenstack.h par.h print.h error.h hyph.h
  239. io.o: tex.h char.h tokenstack.h print.h io.h 
  240. math.o: tex.h heap.h eq.h scan.h evalstack.h arith.h \
  241.     str.h box.h tfm.h print.h pack.h math.h
  242. mathlists.o: tex.h cmds.h heap.h arith.h eq.h eqstack.h \
  243.     evalstack.h token.h tokenstack.h scan.h tfm.h box.h pack.h math.h \
  244.     mlst-hlst.h par.h page.h print.h error.h mathlists.h
  245. mlst-hlst.o: tex.h heap.h arith.h scan.h eq.h box.h math.h \
  246.     pack.h tfm.h print.h error.h mlst-hlst.h
  247. pack.o: tex.h heap.h arith.h scan.h tokenstack.h eq.h \
  248.     eqstack.h evalstack.h box.h tfm.h dvi.h print.h error.h pack.h
  249.     $(CC) $(C1FLAGS) -c pack.c
  250.  
  251. page.o: tex.h heap.h arith.h tokenstack.h tokenlists.h \
  252.     eq.h eqstack.h evalstack.h scan.h expand.h box.h pack.h par.h math.h \
  253.     dvi.h print.h error.h page.h
  254. par.o: tex.h heap.h arith.h eq.h tfm.h tokenstack.h \
  255.     evalstack.h box.h pack.h hyph.h print.h error.h par.h
  256. print.o: tex.h texext.h eq.h char.h str.h io.h print.h
  257. scan.o: tex.h cmds.h heap.h arith.h eq.h token.h \
  258.     tokenstack.h evalstack.h char.h str.h box.h expand.h tfm.h dvi.h \
  259.     print.h error.h page.h scan.h
  260. str.o: tex.h io.h file.h error.h str.h
  261. tex.o: tex.h texext.h cmds.h heap.h char.h str.h eq.h \
  262.     hash.h evalstack.h eqstack.h tokenstack.h token.h box.h pack.h cond.h \
  263.     io.h file.h tfm.h hyph.h dvi.h fmt.h error.h print.h page.h 
  264. texext.o: tex.h cmds.h heap.h eq.h hash.h token.h box.h \
  265.     scan.h def.h tokenstack.h tokenlists.h evalstack.h io.h str.h \
  266.     file.h dvi.h print.h error.h texext.h
  267. tfm.o: tex.h cmds.h heap.h arith.h eq.h hash.h box.h \
  268.     scan.h token.h tokenstack.h io.h file.h print.h error.h tfm.h
  269. token.o: tex.h cmds.h heap.h eq.h hash.h scan.h io.h \
  270.     char.h box.h cond.h print.h error.h expand.h align.h tokenstack.h \
  271.     token.h
  272. tokenlists.o: tex.h cmds.h heap.h eq.h hash.h str.h box.h \
  273.     token.h expand.h tokenstack.h io.h scan.h def.h file.h tfm.h print.h \
  274.     error.h tokenlists.h
  275. tokenstack.o: tex.h cmds.h heap.h eq.h def.h char.h io.h \
  276.     token.h tokenlists.h box.h print.h error.h tokenstack.h
  277.