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