home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume3 / bdftools / part01 / Makefile < prev    next >
Encoding:
Makefile  |  1989-03-07  |  7.0 KB  |  250 lines

  1. # Makefile generated by imake - do not edit!
  2. # $XConsortium: imake.c,v 1.37 88/10/08 20:08:30 jim Exp $
  3. #
  4. # The cpp used on this machine replaces all newlines and multiple tabs and
  5. # spaces in a macro expansion with a single space.  Imake tries to compensate
  6. # for this, but is not always successful.
  7. #
  8.  
  9. ###########################################################################
  10. # X Window System Makefile generated from template file Imake.tmpl
  11. # $XConsortium: Imake.tmpl,v 1.91 88/10/23 22:37:10 jim Exp $
  12. #
  13. # Do not change the body of the imake template file.  Server-specific
  14. # parameters may be set in the appropriate .macros file; site-specific
  15. # parameters (but shared by all servers) may be set in site.def.  If you
  16. # make any changes, you'll need to rebuild the makefiles using
  17. # "make World" (at best) or "make Makefile; make Makefiles" (at least) in
  18. # the top level directory.
  19. #
  20. # If your C preprocessor doesn't define any unique symbols, you'll need
  21. # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
  22. # "make Makefile", "make Makefiles", or "make World").
  23. #
  24. # If you absolutely can't get imake to work, you'll need to set the
  25. # variables at the top of each Makefile as well as the dependencies at the
  26. # bottom (makedepend will do this automatically).
  27. #
  28.  
  29. ###########################################################################
  30. # platform-specific configuration parameters - edit Sun.macros to change
  31.  
  32. # platform:  $XConsortium: Sun.macros,v 1.52 88/10/23 11:00:55 jim Exp $
  33. # operating system:   SunOS 3.4
  34.  
  35. BOOTSTRAPCFLAGS =
  36.              AS = as
  37.              CC = cc
  38.             CPP = /lib/cpp
  39.              LD = ld
  40.            LINT = lint
  41.         INSTALL = install
  42.            TAGS = ctags
  43.              RM = rm -f
  44.              MV = mv
  45.              LN = ln -s
  46.          RANLIB = ranlib
  47. RANLIBINSTFLAGS = -t
  48.              AR = ar clq
  49.              LS = ls
  50.        LINTOPTS = -xz
  51.     LINTLIBFLAG = -C
  52.            MAKE = make
  53. STD_CPP_DEFINES =
  54.     STD_DEFINES =
  55.  
  56. ###########################################################################
  57. # site-specific configuration parameters - edit site.def to change
  58.  
  59. # site:  $XConsortium: site.def,v 1.16 88/10/12 10:30:24 jim Exp $
  60.  
  61. ###########################################################################
  62. # definitions common to all Makefiles - do not edit
  63.  
  64.           SHELL =  /bin/sh
  65.  
  66.         DESTDIR = /global
  67.       USRLIBDIR = $(DESTDIR)/lib
  68.          BINDIR = $(DESTDIR)/bin/X11
  69.          INCDIR = $(DESTDIR)/include
  70.          ADMDIR = $(DESTDIR)/usr/adm
  71.          LIBDIR = $(USRLIBDIR)/X11
  72.      LINTLIBDIR = $(USRLIBDIR)/lint
  73.         FONTDIR = $(LIBDIR)/fonts
  74.        XINITDIR = $(LIBDIR)/xinit
  75.          XDMDIR = $(LIBDIR)/xdm
  76.          UWMDIR = $(LIBDIR)/uwm
  77.          AWMDIR = $(LIBDIR)/awm
  78.          TWMDIR = $(LIBDIR)/twm
  79.           DTDIR = $(LIBDIR)/dt
  80.         MANPATH = /usr/man
  81.   MANSOURCEPATH = $(MANPATH)/man
  82.          MANDIR = $(MANSOURCEPATH)n
  83.       LIBMANDIR = $(MANSOURCEPATH)n3
  84.     XAPPLOADDIR = $(LIBDIR)/app-defaults
  85.  
  86.    INSTBINFLAGS = -m 0755
  87.    INSTUIDFLAGS = -m 4755
  88.    INSTLIBFLAGS = -m 0664
  89.    INSTINCFLAGS = -m 0444
  90.    INSTMANFLAGS = -m 0444
  91.    INSTAPPFLAGS = -m 0444
  92.   INSTKMEMFLAGS = -m 4755
  93.         FCFLAGS = -t
  94.     CDEBUGFLAGS = -O
  95.  
  96.         PATHSEP = /
  97.          DEPEND = $(BINDIR)/makedepend
  98.           IMAKE = $(BINDIR)/imake
  99.             RGB = $(LIBDIR)/rgb
  100.              FC = $(BINDIR)/bdftosnf
  101.       MKFONTDIR = $(BINDIR)/mkfontdir
  102.       MKDIRHIER = $(BINDIR)/mkdirhier.sh
  103.  
  104.          CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(STD_DEFINES) $(DEFINES)
  105.       LINTFLAGS = $(LINTOPTS) $(INCLUDES) $(STD_DEFINES) $(DEFINES) -DLINT
  106.         LDFLAGS = $(CDEBUGFLAGS) -L$(USRLIBDIR) $(SYS_LIBRARIES) $(SYSAUX_LIBRARIES)
  107.  
  108.        IRULESRC = $(LIBDIR)/imake.includes
  109.  
  110.    EXTENSIONLIB = $(USRLIBDIR)/libext.a
  111.            XLIB = $(USRLIBDIR)/libX11.a
  112.          XMULIB = $(USRLIBDIR)/libXmu.a
  113.         OLDXLIB = $(USRLIBDIR)/liboldX.a
  114.        XTOOLLIB = $(USRLIBDIR)/libXt.a
  115.          XAWLIB = $(USRLIBDIR)/libXaw.a
  116.        LINTXLIB = $(USRLIBDIR)/lint/llib-lX11.ln
  117.         LINTXMU = $(USRLIBDIR)/lint/llib-lXmu.ln
  118.       LINTXTOOL = $(USRLIBDIR)/lint/llib-lXt.ln
  119.         LINTXAW = $(USRLIBDIR)/lint/llib-lXaw.ln
  120.        INCLUDES = -I$(INCDIR)
  121.       MACROFILE = Sun.macros
  122.    ICONFIGFILES = $(IRULESRC)/Imake.tmpl \
  123.             $(IRULESRC)/$(MACROFILE) $(IRULESRC)/site.def
  124.   IMAKE_DEFINES =
  125.       IMAKE_CMD = $(NEWTOP)$(IMAKE) -TImake.tmpl -I$(NEWTOP)$(IRULESRC) \
  126.             -s Makefile $(IMAKE_DEFINES)
  127.          RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
  128.             .emacs_* tags TAGS make.log MakeOut
  129.  
  130. ###########################################################################
  131. # rules:  $XConsortium: Imake.rules,v 1.71 88/10/23 22:46:34 jim Exp $
  132.  
  133. ###########################################################################
  134. # start of Imakefile
  135.  
  136.           SYS_LIBRARIES = -ll -lm $(XMULIB) $(XLIB)
  137.  
  138. SRCS=    bdf2gf.c dumpgf.c
  139. OBJS=    bdf2gf.o dumpgf.o
  140. PROGRAMS= bdftogf bdftovf
  141.  
  142.  PROGRAM = bdftogf
  143.  
  144. all:: bdftogf
  145.  
  146. bdftogf: $(OBJS) $(LOCAL_LIBRARIES)
  147.     $(RM) $@
  148.     $(CC) -o $@ $(OBJS) $(LOCAL_LIBRARIES) $(LDFLAGS) $(SYSLAST_LIBRARIES)
  149.  
  150. relink::
  151.     $(RM) $(PROGRAM)
  152.     $(MAKE) $(MFLAGS) $(PROGRAM)
  153.  
  154. install:: bdftogf
  155.     $(INSTALL) -c $(INSTALLFLAGS) bdftogf $(BINDIR)
  156.  
  157. install.man:: bdftogf.man
  158.     $(INSTALL) -c $(INSTMANFLAGS) bdftogf.man $(MANDIR)/bdftogf.n
  159.  
  160. depend:: $(DEPEND)
  161.  
  162. depend::
  163.     $(DEPEND) -s "# DO NOT DELETE" -- $(CFLAGS) -- $(SRCS)
  164.  
  165. $(DEPEND):
  166.     @echo "making $@"; \
  167.     cd $(DEPENDSRC); $(MAKE)
  168.  
  169. clean::
  170.     $(RM) $(PROGRAM)
  171.  
  172.  PROGRAM = bdftovf
  173.  
  174. all:: bdftovf
  175.  
  176. bdftovf: $(OBJS) $(LOCAL_LIBRARIES)
  177.     $(RM) $@
  178.     $(CC) -o $@ $(OBJS) $(LOCAL_LIBRARIES) $(LDFLAGS) $(SYSLAST_LIBRARIES)
  179.  
  180. relink::
  181.     $(RM) $(PROGRAM)
  182.     $(MAKE) $(MFLAGS) $(PROGRAM)
  183.  
  184. install:: bdftovf
  185.     $(INSTALL) -c $(INSTALLFLAGS) bdftovf $(BINDIR)
  186.  
  187. install.man:: bdftovf.man
  188.     $(INSTALL) -c $(INSTMANFLAGS) bdftovf.man $(MANDIR)/bdftovf.n
  189.  
  190. depend:: $(DEPEND)
  191.  
  192. depend::
  193.     $(DEPEND) -s "# DO NOT DELETE" -- $(CFLAGS) -- $(SRCS)
  194.  
  195. $(DEPEND):
  196.     @echo "making $@"; \
  197.     cd $(DEPENDSRC); $(MAKE)
  198.  
  199. clean::
  200.     $(RM) $(PROGRAM)
  201.  
  202. lint:
  203.     $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
  204. lint1:
  205.     $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
  206.  
  207. ###########################################################################
  208. # Imake.tmpl common rules for all Makefiles - do not edit
  209.  
  210. emptyrule::
  211.  
  212. clean::
  213.     $(RM_CMD) \#*
  214.  
  215. Makefile:: $(IMAKE)
  216.  
  217. Makefile:: Imakefile \
  218.     $(IRULESRC)/Imake.tmpl \
  219.     $(IRULESRC)/Imake.rules \
  220.     $(IRULESRC)/site.def \
  221.     $(IRULESRC)/$(MACROFILE)
  222.     -@if [ -f Makefile ]; then \
  223.     echo "$(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \
  224.     $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
  225.     else exit 0; fi
  226.     $(IMAKE_CMD) -DTOPDIR=$(TOP)
  227.  
  228. $(IMAKE):
  229.     @echo "making $@"; \
  230.     cd $(IMAKESRC); $(MAKE) BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)
  231.  
  232. tags::
  233.     $(TAGS) -w *.[ch]
  234.     $(TAGS) -xw *.[ch] > TAGS
  235.  
  236. ###########################################################################
  237. # empty rules for directories that do not have SUBDIRS - do not edit
  238.  
  239. install::
  240.     @echo "install done"
  241.  
  242. install.man::
  243.     @echo "install.man done"
  244.  
  245. Makefiles::
  246.  
  247. ###########################################################################
  248. # dependencies generated by makedepend
  249.  
  250.