home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / unixtex-6.1b-src.tgz / tar.out / contrib / unixtex / xdvik / Makefile.in < prev    next >
Encoding:
Makefile  |  1996-09-28  |  9.5 KB  |  247 lines

  1. # Makefile for xdvik --kb@cs.umb.edu.
  2. version = 18f
  3.  
  4. ac_include ../make/paths.make
  5.  
  6. # See INSTALL for compilation options.
  7. DEFS = @PS_DEF@ $(XDEFS)
  8.  
  9. ac_include ../make/common.make
  10. ac_include ../make/programs.make
  11.  
  12. # If your X include files or libraries won't be found automatically by
  13. # the compiler or linker, define these appropriately.  If you are
  14. # compiling with -DNOTOOL, set tool_libs="".
  15. x_cppflags = @X_CFLAGS@
  16. x_ldflags = @X_LIBS@
  17. x_pre_libs = @X_PRE_LIBS@
  18. x_extra_libs = @X_EXTRA_LIBS@
  19. x_tool_libs = -lXaw -lXmu -lXt -lXext
  20. x_libs = $(x_ldflags) $(x_tool_libs) $(x_pre_libs) -lX11 $(x_extra_libs)
  21.  
  22. # So this gets included in the default CPPFLAGS.  (Don't do it by
  23. # default because then we'd include it for all the web2c compilations.)
  24. prog_cflags = $(x_cppflags)
  25.  
  26. # We don't use alloca ourselves, but the X library might, and this way
  27. # we avoid the buggy versions in -lPW or -lucb.
  28. ALLOCA = alloca.o
  29.  
  30. objects = xdvi.o dvi_draw.o dvi_init.o events.o font-open.o gf.o pk.o   \
  31. psdps.o psgs.o psheader.o psnews.o special.o util.o vf.o sfDir.o        \
  32. sfDraw.o sfPath.o sfSelFile.o xgetcwd.o $(ALLOCA)
  33.  
  34. program = xdvi
  35.  
  36. default all: $(program) xdvi.1
  37.  
  38. $(program): $(kpathsea) $(objects)
  39.     $(link_command) $(x_ldflags) $(objects) $(x_libs) $(LOADLIBES)
  40.  
  41. squeeze: squeeze.o
  42.     $(link_command) squeeze.o
  43.  
  44. psheader.c: psheader.txt squeeze
  45.     ./squeeze $(srcdir)/psheader.txt $@
  46.  
  47. xdvi.1: xdvi.man sedscript
  48.     sed -f sedscript <$(srcdir)/xdvi.man >$@
  49.  
  50. sedscript: mksedscript
  51.     $(SHELL) $(srcdir)/mksedscript pkpath sizes vfpath $(DEFS) >$@
  52.  
  53. ac_include ../make/tkpathsea.make
  54.  
  55. install: install-exec install-data
  56. uninstall: uninstall-exec uninstall-data
  57.  
  58. install-exec: $(program)
  59.     $(SHELL) $(top_srcdir)/../mkdirchain $(bindir)
  60.     $(INSTALL_PROGRAM) $(program) $(bindir)/$(program)
  61. uninstall-exec:
  62.     rm -f $(bindir)/$(program)
  63.  
  64. install-data: xdvi.1
  65.     $(SHELL) $(top_srcdir)/../mkdirchain $(mandir)
  66.     $(INSTALL_DATA) xdvi.1 $(mandir)/xdvi.$(manext)
  67. uninstall-data:
  68.     rm -f $(mandir)/xdvi.$(manext)
  69.  
  70.  
  71. distname = xdvik
  72. program_files = xdvi.icon xdvi.man psheader.txt mksedscript
  73. version_files = patchlevel.h
  74.  
  75. pre-dist-$(distname):
  76. post-dist-$(distname):
  77.     cd $(top_distdir); rm -f xdvik/psheader.c
  78.  
  79. ac_include ../make/dist.make
  80. ac_include ../make/config.make
  81.  
  82. info dvi check:
  83.  
  84. ac_include ../make/misc.make
  85.  
  86. distclean::
  87.     rm -f psheader.c sedscript xdvi.1
  88.  
  89. ac_include ../make/rdepend.make
  90. alloca.o: alloca.c
  91. dvi_draw.o: dvi_draw.c config.h $(kpathsea_srcdir)/config.h ./c-auto.h \
  92.   $(kpathsea_srcdir)/c-std.h \
  93.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  94.   $(kpathsea_srcdir)/c-memstr.h \
  95.   $(kpathsea_srcdir)/c-errno.h $(kpathsea_srcdir)/c-minmax.h \
  96.   $(kpathsea_srcdir)/c-limits.h \
  97.   $(kpathsea_srcdir)/c-proto.h \
  98.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  99.   xdvi.h \
  100.   $(kpathsea_srcdir)/c-ctype.h \
  101.   $(kpathsea_srcdir)/c-fopen.h $(kpathsea_srcdir)/c-vararg.h dvi.h
  102. dvi_init.o: dvi_init.c config.h $(kpathsea_srcdir)/config.h ./c-auto.h \
  103.   $(kpathsea_srcdir)/c-std.h \
  104.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  105.   $(kpathsea_srcdir)/c-memstr.h \
  106.   $(kpathsea_srcdir)/c-errno.h $(kpathsea_srcdir)/c-minmax.h \
  107.   $(kpathsea_srcdir)/c-limits.h \
  108.   $(kpathsea_srcdir)/c-proto.h \
  109.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  110.   xdvi.h \
  111.   $(kpathsea_srcdir)/c-fopen.h \
  112.   $(kpathsea_srcdir)/c-stat.h \
  113.   $(kpathsea_srcdir)/magstep.h $(kpathsea_srcdir)/tex-glyph.h $(kpathsea_srcdir)/tex-file.h dvi.h
  114. events.o: events.c ./config.h $(kpathsea_srcdir)/config.h ./c-auto.h \
  115.   $(kpathsea_srcdir)/c-std.h \
  116.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  117.   $(kpathsea_srcdir)/c-memstr.h \
  118.   $(kpathsea_srcdir)/c-errno.h $(kpathsea_srcdir)/c-minmax.h \
  119.   $(kpathsea_srcdir)/c-limits.h \
  120.   $(kpathsea_srcdir)/c-proto.h \
  121.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  122.   ./xdvi.h 
  123. font-open.o: font-open.c config.h $(kpathsea_srcdir)/config.h ./c-auto.h \
  124.   $(kpathsea_srcdir)/c-std.h \
  125.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  126.   $(kpathsea_srcdir)/c-memstr.h \
  127.   $(kpathsea_srcdir)/c-errno.h $(kpathsea_srcdir)/c-minmax.h \
  128.   $(kpathsea_srcdir)/c-limits.h \
  129.   $(kpathsea_srcdir)/c-proto.h \
  130.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  131.   xdvi.h \
  132.   $(kpathsea_srcdir)/c-fopen.h \
  133.   $(kpathsea_srcdir)/tex-glyph.h $(kpathsea_srcdir)/tex-file.h
  134. gf.o: gf.c config.h $(kpathsea_srcdir)/config.h ./c-auto.h $(kpathsea_srcdir)/c-std.h \
  135.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  136.   $(kpathsea_srcdir)/c-memstr.h \
  137.   $(kpathsea_srcdir)/c-errno.h $(kpathsea_srcdir)/c-minmax.h \
  138.   $(kpathsea_srcdir)/c-limits.h \
  139.   $(kpathsea_srcdir)/c-proto.h \
  140.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  141.   xdvi.h 
  142. pk.o: pk.c config.h $(kpathsea_srcdir)/config.h ./c-auto.h $(kpathsea_srcdir)/c-std.h \
  143.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  144.   $(kpathsea_srcdir)/c-memstr.h \
  145.   $(kpathsea_srcdir)/c-errno.h $(kpathsea_srcdir)/c-minmax.h \
  146.   $(kpathsea_srcdir)/c-limits.h \
  147.   $(kpathsea_srcdir)/c-proto.h \
  148.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  149.   xdvi.h 
  150. psdps.o: psdps.c
  151. psgs.o: psgs.c config.h $(kpathsea_srcdir)/config.h ./c-auto.h $(kpathsea_srcdir)/c-std.h \
  152.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  153.   $(kpathsea_srcdir)/c-memstr.h \
  154.   $(kpathsea_srcdir)/c-errno.h $(kpathsea_srcdir)/c-minmax.h \
  155.   $(kpathsea_srcdir)/c-limits.h \
  156.   $(kpathsea_srcdir)/c-proto.h \
  157.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  158.   xdvi.h \
  159.   $(kpathsea_srcdir)/c-pathmx.h 
  160. psheader.o: psheader.c
  161. psnews.o: psnews.c
  162. sfDir.o: sfDir.c \
  163.   sfinternal.h \
  164.   $(kpathsea_srcdir)/config.h \
  165.   ./c-auto.h $(kpathsea_srcdir)/c-std.h \
  166.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  167.   $(kpathsea_srcdir)/c-memstr.h $(kpathsea_srcdir)/c-errno.h \
  168.   $(kpathsea_srcdir)/c-minmax.h $(kpathsea_srcdir)/c-limits.h \
  169.   $(kpathsea_srcdir)/c-proto.h \
  170.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  171.   $(kpathsea_srcdir)/c-dir.h \
  172.   $(kpathsea_srcdir)/c-stat.h 
  173. sfDraw.o: sfDraw.c $(kpathsea_srcdir)/config.h ./c-auto.h $(kpathsea_srcdir)/c-std.h \
  174.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  175.   $(kpathsea_srcdir)/c-memstr.h \
  176.   $(kpathsea_srcdir)/c-errno.h $(kpathsea_srcdir)/c-minmax.h \
  177.   $(kpathsea_srcdir)/c-limits.h \
  178.   $(kpathsea_srcdir)/c-proto.h \
  179.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  180.   $(kpathsea_srcdir)/c-stat.h \
  181.   sfinternal.h 
  182. sfPath.o: sfPath.c \
  183.   $(kpathsea_srcdir)/config.h ./c-auto.h $(kpathsea_srcdir)/c-std.h \
  184.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  185.   $(kpathsea_srcdir)/c-memstr.h \
  186.   $(kpathsea_srcdir)/c-errno.h $(kpathsea_srcdir)/c-minmax.h \
  187.   $(kpathsea_srcdir)/c-limits.h \
  188.   $(kpathsea_srcdir)/c-proto.h \
  189.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  190.   $(kpathsea_srcdir)/c-stat.h \
  191.   sfinternal.h 
  192. sfSelFile.o: sfSelFile.c \
  193.   sfinternal.h 
  194. special.o: special.c config.h $(kpathsea_srcdir)/config.h ./c-auto.h \
  195.   $(kpathsea_srcdir)/c-std.h \
  196.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  197.   $(kpathsea_srcdir)/c-memstr.h \
  198.   $(kpathsea_srcdir)/c-errno.h $(kpathsea_srcdir)/c-minmax.h \
  199.   $(kpathsea_srcdir)/c-limits.h \
  200.   $(kpathsea_srcdir)/c-proto.h \
  201.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  202.   xdvi.h \
  203.   $(kpathsea_srcdir)/c-fopen.h \
  204.   $(kpathsea_srcdir)/c-ctype.h $(kpathsea_srcdir)/line.h \
  205.   $(kpathsea_srcdir)/tex-file.h
  206. squeeze.o: squeeze.c 
  207. util.o: util.c config.h $(kpathsea_srcdir)/config.h ./c-auto.h $(kpathsea_srcdir)/c-std.h \
  208.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  209.   $(kpathsea_srcdir)/c-memstr.h \
  210.   $(kpathsea_srcdir)/c-errno.h $(kpathsea_srcdir)/c-minmax.h \
  211.   $(kpathsea_srcdir)/c-limits.h \
  212.   $(kpathsea_srcdir)/c-proto.h \
  213.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  214.   xdvi.h \
  215.   $(kpathsea_srcdir)/c-fopen.h \
  216.   $(kpathsea_srcdir)/c-vararg.h
  217. vf.o: vf.c config.h $(kpathsea_srcdir)/config.h ./c-auto.h $(kpathsea_srcdir)/c-std.h \
  218.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  219.   $(kpathsea_srcdir)/c-memstr.h \
  220.   $(kpathsea_srcdir)/c-errno.h $(kpathsea_srcdir)/c-minmax.h \
  221.   $(kpathsea_srcdir)/c-limits.h \
  222.   $(kpathsea_srcdir)/c-proto.h \
  223.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  224.   xdvi.h \
  225.   dvi.h
  226. xdvi.o: xdvi.c config.h $(kpathsea_srcdir)/config.h ./c-auto.h $(kpathsea_srcdir)/c-std.h \
  227.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  228.   $(kpathsea_srcdir)/c-memstr.h \
  229.   $(kpathsea_srcdir)/c-errno.h $(kpathsea_srcdir)/c-minmax.h \
  230.   $(kpathsea_srcdir)/c-limits.h \
  231.   $(kpathsea_srcdir)/c-proto.h \
  232.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  233.   xdvi.h \
  234.   c-openmx.h $(kpathsea_srcdir)/c-ctype.h \
  235.   $(kpathsea_srcdir)/c-fopen.h $(kpathsea_srcdir)/c-pathch.h \
  236.   $(kpathsea_srcdir)/proginit.h $(kpathsea_srcdir)/progname.h $(kpathsea_srcdir)/tex-file.h \
  237.   patchlevel.h \
  238.   xdvi.icon 
  239. xgetcwd.o: xgetcwd.c $(kpathsea_srcdir)/config.h ./c-auto.h $(kpathsea_srcdir)/c-std.h \
  240.   $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  241.   $(kpathsea_srcdir)/c-memstr.h \
  242.   $(kpathsea_srcdir)/c-errno.h $(kpathsea_srcdir)/c-minmax.h \
  243.   $(kpathsea_srcdir)/c-limits.h \
  244.   $(kpathsea_srcdir)/c-proto.h \
  245.   $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  246.   $(kpathsea_srcdir)/c-pathmx.h
  247.