home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Tex / Tex29 / StTeXsrc.zoo / src / Makefile.ini < prev    next >
Makefile  |  1989-10-27  |  7KB  |  279 lines

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