home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / graphics-0.17 / xplot / Makefile.X < prev    next >
Encoding:
Makefile  |  1990-09-12  |  7.1 KB  |  235 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.5
  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 = -axz
  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 =
  67.       USRLIBDIR = $(DESTDIR)/usr/lib
  68.          BINDIR = $(DESTDIR)/usr/bin/X11
  69.          INCDIR = $(DESTDIR)/usr/include/X11
  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.         MANPATH = $(DESTDIR)/usr/man
  80.   MANSOURCEPATH = $(MANPATH)/man
  81.          MANDIR = $(MANSOURCEPATH)n
  82.       LIBMANDIR = $(MANSOURCEPATH)3
  83.     XAPPLOADDIR = $(LIBDIR)/app-defaults
  84.  
  85.    INSTBINFLAGS = -m 0755
  86.    INSTUIDFLAGS = -m 4755
  87.    INSTLIBFLAGS = -m 0664
  88.    INSTINCFLAGS = -m 0444
  89.    INSTMANFLAGS = -m 0444
  90.    INSTAPPFLAGS = -m 0444
  91.   INSTKMEMFLAGS = -m 4755
  92.         FCFLAGS = -t
  93.     CDEBUGFLAGS = -O -DPURDUE
  94.  
  95.         PATHSEP = /
  96.          DEPEND = $(DEPENDSRC)/makedepend
  97.           IMAKE = $(IMAKESRC)/imake
  98.             RGB = $(RGBSRC)/rgb
  99.              FC = $(BDFTOSNFSRC)/bdftosnf
  100.       MKFONTDIR = $(MKFONTDIRSRC)/mkfontdir
  101.       MKDIRHIER = $(SCRIPTSSRC)/mkdirhier.sh
  102.  
  103.          CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(STD_DEFINES) $(DEFINES)
  104.       LINTFLAGS = $(LINTOPTS) $(INCLUDES) $(STD_DEFINES) $(DEFINES) -DLINT
  105.         LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES) $(SYSAUX_LIBRARIES)
  106.             TOP = /usr/src/X11
  107.       CLIENTSRC = $(TOP)/clients
  108.         DEMOSRC = $(TOP)/demos
  109.          LIBSRC = $(TOP)/lib
  110.         FONTSRC = $(TOP)/fonts
  111.      INCLUDESRC = $(TOP)/X11
  112.       SERVERSRC = $(TOP)/server
  113.         UTILSRC = $(TOP)/util
  114.      SCRIPTSSRC = $(UTILSRC)/scripts
  115.      EXAMPLESRC = $(TOP)/examples
  116.      CONTRIBSRC = $(TOP)/contrib
  117.          DOCSRC = $(TOP)/doc
  118.          RGBSRC = $(TOP)/rgb
  119.       DEPENDSRC = $(UTILSRC)/makedepend
  120.        IMAKESRC = $(UTILSRC)/imake
  121.        IRULESRC = $(UTILSRC)/imake.includes
  122.         XLIBSRC = $(LIBSRC)/X
  123.          XMUSRC = $(LIBSRC)/Xmu
  124.      TOOLKITSRC = $(LIBSRC)/Xt
  125.      AWIDGETSRC = $(LIBSRC)/Xaw
  126.      OLDXLIBSRC = $(LIBSRC)/oldX
  127.     BDFTOSNFSRC = $(FONTSRC)/bdftosnf
  128.    MKFONTDIRSRC = $(FONTSRC)/mkfontdir
  129.    EXTENSIONSRC = $(TOP)/extensions
  130.    EXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a
  131.            XLIB = $(XLIBSRC)/libX11.a
  132.          XMULIB = $(XMUSRC)/libXmu.a
  133.         OLDXLIB = $(OLDXLIBSRC)/liboldX.a
  134.        XTOOLLIB = $(TOOLKITSRC)/libXt.a
  135.          XAWLIB = $(AWIDGETSRC)/libXaw.a
  136.        LINTXLIB = $(XLIBSRC)/llib-lX11.ln
  137.         LINTXMU = $(XMUSRC)/llib-lXmu.ln
  138.       LINTXTOOL = $(TOOLKITSRC)/llib-lXt.ln
  139.         LINTXAW = $(AWIDGETSRC)/llib-lXaw.ln
  140.        INCLUDES = -I$(TOP)
  141.       MACROFILE = Sun.macros
  142.    ICONFIGFILES = $(IRULESRC)/Imake.tmpl \
  143.             $(IRULESRC)/$(MACROFILE) $(IRULESRC)/site.def
  144.   IMAKE_DEFINES =
  145.       IMAKE_CMD = $(NEWTOP)$(IMAKE) -TImake.tmpl -I$(NEWTOP)$(IRULESRC) \
  146.             -s Makefile $(IMAKE_DEFINES)
  147.          RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
  148.             .emacs_* tags TAGS make.log MakeOut
  149.  
  150. ###########################################################################
  151. # rules:  $XConsortium: Imake.rules,v 1.71 88/10/23 22:46:34 jim Exp $
  152.  
  153. ###########################################################################
  154. # start of Imakefile
  155.  
  156.        INCLUDES = -I$(TOP)/usr/include -I$(TOP)/usr/include/X11
  157. LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
  158.   SYS_LIBRARIES = -lm
  159.            SRCS = xplot.c
  160.            OBJS = xplot.o
  161.  
  162.  PROGRAM = xplot
  163.  
  164. all:: xplot
  165.  
  166. xplot: $(OBJS) $(LOCAL_LIBRARIES)
  167.     $(RM) $@
  168.     $(CC) -o $@ $(OBJS) $(LOCAL_LIBRARIES) $(LDFLAGS) $(SYSLAST_LIBRARIES)
  169.  
  170. relink::
  171.     $(RM) $(PROGRAM)
  172.     $(MAKE) $(MFLAGS) $(PROGRAM)
  173.  
  174. install:: xplot
  175.     $(INSTALL) -c $(INSTALLFLAGS) xplot $(BINDIR)
  176.  
  177. install.man:: xplot.man
  178.     $(INSTALL) -c $(INSTMANFLAGS) xplot.man $(MANDIR)/xplot.n
  179.  
  180. depend:: $(DEPEND)
  181.  
  182. depend::
  183.     $(DEPEND) -s "# DO NOT DELETE" -- $(CFLAGS) -- $(SRCS)
  184.  
  185. $(DEPEND):
  186.     @echo "making $@"; \
  187.     cd $(DEPENDSRC); $(MAKE)
  188.  
  189. clean::
  190.     $(RM) $(PROGRAM)
  191.  
  192. ###########################################################################
  193. # Imake.tmpl common rules for all Makefiles - do not edit
  194.  
  195. emptyrule::
  196.  
  197. clean::
  198.     $(RM_CMD) \#*
  199.  
  200. Makefile:: $(IMAKE)
  201.  
  202. Makefile:: Imakefile \
  203.     $(IRULESRC)/Imake.tmpl \
  204.     $(IRULESRC)/Imake.rules \
  205.     $(IRULESRC)/site.def \
  206.     $(IRULESRC)/$(MACROFILE)
  207.     -@if [ -f Makefile ]; then \
  208.     echo "$(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \
  209.     $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
  210.     else exit 0; fi
  211.     $(IMAKE_CMD) -DTOPDIR=$(TOP)
  212.  
  213. $(IMAKE):
  214.     @echo "making $@"; \
  215.     cd $(IMAKESRC); $(MAKE) BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)
  216.  
  217. tags::
  218.     $(TAGS) -w *.[ch]
  219.     $(TAGS) -xw *.[ch] > TAGS
  220.  
  221. ###########################################################################
  222. # empty rules for directories that do not have SUBDIRS - do not edit
  223.  
  224. install::
  225.     @echo "install done"
  226.  
  227. install.man::
  228.     @echo "install.man done"
  229.  
  230. Makefiles::
  231.  
  232. ###########################################################################
  233. # dependencies generated by makedepend
  234.  
  235.