home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume3 / xgif / part01 / Makefile < prev    next >
Encoding:
Makefile  |  1989-02-21  |  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.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. LOCAL_LIBRARIES = $(XLIB)
  137.  
  138. OBJS = \
  139.     xgif.o \
  140.     xgifload.o
  141.  
  142. SRCS = \
  143.     xgif.c \
  144.     xgifload.c
  145.  
  146.  PROGRAM = xgif
  147.  
  148. all:: xgif
  149.  
  150. xgif: $(OBJS) $(LOCAL_LIBRARIES)
  151.     $(RM) $@
  152.     $(CC) -o $@ $(OBJS) $(LOCAL_LIBRARIES) $(LDFLAGS) $(SYSLAST_LIBRARIES)
  153.  
  154. relink::
  155.     $(RM) $(PROGRAM)
  156.     $(MAKE) $(MFLAGS) $(PROGRAM)
  157.  
  158. install:: xgif
  159.     $(INSTALL) -c $(INSTALLFLAGS) xgif $(BINDIR)
  160.  
  161. install.man:: xgif.man
  162.     $(INSTALL) -c $(INSTMANFLAGS) xgif.man $(MANDIR)/xgif.n
  163.  
  164. depend:: $(DEPEND)
  165.  
  166. depend::
  167.     $(DEPEND) -s "# DO NOT DELETE" -- $(CFLAGS) -- $(SRCS)
  168.  
  169. $(DEPEND):
  170.     @echo "making $@"; \
  171.     cd $(DEPENDSRC); $(MAKE)
  172.  
  173. clean::
  174.     $(RM) $(PROGRAM)
  175.  
  176. ###########################################################################
  177. # Imake.tmpl common rules for all Makefiles - do not edit
  178.  
  179. emptyrule::
  180.  
  181. clean::
  182.     $(RM_CMD) \#*
  183.  
  184. Makefile:: $(IMAKE)
  185.  
  186. Makefile:: Imakefile \
  187.     $(IRULESRC)/Imake.tmpl \
  188.     $(IRULESRC)/Imake.rules \
  189.     $(IRULESRC)/site.def \
  190.     $(IRULESRC)/$(MACROFILE)
  191.     -@if [ -f Makefile ]; then \
  192.     echo "$(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \
  193.     $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
  194.     else exit 0; fi
  195.     $(IMAKE_CMD) -DTOPDIR=$(TOP)
  196.  
  197. $(IMAKE):
  198.     @echo "making $@"; \
  199.     cd $(IMAKESRC); $(MAKE) BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)
  200.  
  201. tags::
  202.     $(TAGS) -w *.[ch]
  203.     $(TAGS) -xw *.[ch] > TAGS
  204.  
  205. ###########################################################################
  206. # empty rules for directories that do not have SUBDIRS - do not edit
  207.  
  208. install::
  209.     @echo "install done"
  210.  
  211. install.man::
  212.     @echo "install.man done"
  213.  
  214. Makefiles::
  215.  
  216. ###########################################################################
  217. # dependencies generated by makedepend
  218.  
  219. # DO NOT DELETE
  220.  
  221. xgif.o: xgif.h /usr/include/stdio.h /usr/include/math.h /usr/include/ctype.h
  222. xgif.o: /global/include/X11/Xos.h /usr/include/sys/types.h
  223. xgif.o: /usr/include/sys/sysmacros.h /usr/include/strings.h
  224. xgif.o: /usr/include/sys/file.h /usr/include/sys/fcntl.h
  225. xgif.o: /usr/include/sys/time.h /usr/include/sys/time.h
  226. xgif.o: /global/include/X11/Xlib.h /global/include/X11/X.h
  227. xgif.o: /global/include/X11/Xutil.h
  228. xgifload.o: xgif.h /usr/include/stdio.h /usr/include/math.h
  229. xgifload.o: /usr/include/ctype.h /global/include/X11/Xos.h
  230. xgifload.o: /usr/include/sys/types.h /usr/include/sys/sysmacros.h
  231. xgifload.o: /usr/include/strings.h /usr/include/sys/file.h
  232. xgifload.o: /usr/include/sys/fcntl.h /usr/include/sys/time.h
  233. xgifload.o: /usr/include/sys/time.h /global/include/X11/Xlib.h
  234. xgifload.o: /global/include/X11/X.h /global/include/X11/Xutil.h
  235.