home *** CD-ROM | disk | FTP | other *** search
Makefile | 1989-06-29 | 6.4 KB | 209 lines |
- # operating system: SunOS 3.5
-
- BOOTSTRAPCFLAGS =
- AS = as
- CC = cc
- CPP = /lib/cpp
- LD = ld
- LINT = lint
- INSTALL = install
- TAGS = ctags
- RM = rm -f
- MV = mv
- LN = ln -s
- RANLIB = ranlib
- RANLIBINSTFLAGS = -t
- AR = ar clq
- LS = ls
- LINTOPTS = -axz
- LINTLIBFLAG = -C
- MAKE = make
- STD_CPP_DEFINES =
- STD_DEFINES =
-
- ###########################################################################
- # site-specific configuration parameters - edit site.def to change
- ###########################################################################
- # definitions common to all Makefiles - do not edit
-
- SHELL = /bin/sh
-
- DESTDIR =
- USRLIBDIR = $(DESTDIR)/usr/lib
- BINDIR = $(DESTDIR)/usr/bin/X11
- INCDIR = $(DESTDIR)/usr/include/X11
- ADMDIR = $(DESTDIR)/usr/adm
- LIBDIR = $(USRLIBDIR)/X11
- LINTLIBDIR = $(USRLIBDIR)/lint
- FONTDIR = $(LIBDIR)/fonts
- XINITDIR = $(LIBDIR)/xinit
- XDMDIR = $(LIBDIR)/xdm
- UWMDIR = $(LIBDIR)/uwm
- AWMDIR = $(LIBDIR)/awm
- TWMDIR = $(LIBDIR)/twm
- MANPATH = $(DESTDIR)/usr/man
- MANSOURCEPATH = $(MANPATH)/man
- MANDIR = $(MANSOURCEPATH)n
- LIBMANDIR = $(MANSOURCEPATH)3
- XAPPLOADDIR = $(LIBDIR)/app-defaults
-
- INSTBINFLAGS = -m 0755
- INSTUIDFLAGS = -m 4755
- INSTLIBFLAGS = -m 0664
- INSTINCFLAGS = -m 0444
- INSTMANFLAGS = -m 0444
- INSTAPPFLAGS = -m 0444
- INSTKMEMFLAGS = -m 4755
- FCFLAGS = -t
- DEFS = -DNOSCCS
- CDEBUGFLAGS = -O $(DEFS)
-
- PATHSEP = /
- DEPEND = $(DEPENDSRC)/makedepend
- IMAKE = $(IMAKESRC)/imake
- RGB = $(RGBSRC)/rgb
- FC = $(BDFTOSNFSRC)/bdftosnf
- MKFONTDIR = $(MKFONTDIRSRC)/mkfontdir
- MKDIRHIER = $(SCRIPTSSRC)/mkdirhier.sh
-
- CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(STD_DEFINES) $(DEFINES)
- LINTFLAGS = $(LINTOPTS) $(INCLUDES) $(STD_DEFINES) $(DEFINES) -DLINT
- LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES) $(SYSAUX_LIBRARIES)
- TOP = /usr/src/X11/X11R3
- CLIENTSRC = $(TOP)/clients
- DEMOSRC = $(TOP)/demos
- LIBSRC = $(TOP)/lib
- FONTSRC = $(TOP)/fonts
- INCLUDESRC = $(TOP)/X11
- SERVERSRC = $(TOP)/server
- UTILSRC = $(TOP)/util
- SCRIPTSSRC = $(UTILSRC)/scripts
- EXAMPLESRC = $(TOP)/examples
- CONTRIBSRC = $(TOP)/contrib
- DOCSRC = $(TOP)/doc
- RGBSRC = $(TOP)/rgb
- DEPENDSRC = $(UTILSRC)/makedepend
- IMAKESRC = $(UTILSRC)/imake
- IRULESRC = $(UTILSRC)/imake.includes
- XLIBSRC = $(LIBSRC)
- XMUSRC = $(LIBSRC)
- TOOLKITSRC = $(LIBSRC)
- AWIDGETSRC = $(LIBSRC)
- OLDXLIBSRC = $(LIBSRC)/oldX
- BDFTOSNFSRC = $(FONTSRC)/bdftosnf
- MKFONTDIRSRC = $(FONTSRC)/mkfontdir
- EXTENSIONSRC = $(TOP)/extensions
- EXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a
- XLIB = $(XLIBSRC)/libX11.a
- XMULIB = $(XMUSRC)/libXmu.a
- OLDXLIB = $(OLDXLIBSRC)/liboldX.a
- XTOOLLIB = $(TOOLKITSRC)/libXt.a
- XAWLIB = $(AWIDGETSRC)/libXaw.a
- LINTXLIB = $(XLIBSRC)/llib-lX11.ln
- LINTXMU = $(XMUSRC)/llib-lXmu.ln
- LINTXTOOL = $(TOOLKITSRC)/llib-lXt.ln
- LINTXAW = $(AWIDGETSRC)/llib-lXaw.ln
- INCLUDES = -I$(TOP)
- MACROFILE = Sun.macros
- ICONFIGFILES = $(IRULESRC)/Imake.tmpl \
- $(IRULESRC)/$(MACROFILE) $(IRULESRC)/site.def
- IMAKE_DEFINES =
- IMAKE_CMD = $(NEWTOP)$(IMAKE) -TImake.tmpl -I$(NEWTOP)$(IRULESRC) \
- -s Makefile $(IMAKE_DEFINES)
- RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
- .emacs_* tags TAGS make.log MakeOut
-
- ###########################################################################
- # rules:
- ###########################################################################
-
- INCLUDES = -I$(TOP)
- SRCS = xmtool.c
- LOCAL_LIBRARIES = -lXaw -lXmu -lXt -lX
-
- all: xmtool
-
- xmtool: xmtool.o
- $(CC) -o $@ xmtool.o $(LOCAL_LIBRARIES) $(LDFLAGS) -lm $(SYSLAST_LIBRARIES)
-
- relink::
- $(RM) xmtool
- $(MAKE) $(MFLAGS) xmtool
-
- clean::
- $(RM) xmtool
-
- depend:: $(DEPEND)
-
- depend::
- $(DEPEND) -s "# DO NOT DELETE" -- $(CFLAGS) -- $(SRCS)
-
- $(DEPEND):
- @echo "making $@"; \
- cd $(DEPENDSRC); $(MAKE)
-
- ###########################################################################
- # Imake.tmpl common rules for all Makefiles - do not edit
-
- emptyrule::
-
- clean::
- $(RM_CMD) \#*
-
- Makefile:: $(IMAKE)
-
- Makefile:: Imakefile \
- $(IRULESRC)/Imake.tmpl \
- $(IRULESRC)/Imake.rules \
- $(IRULESRC)/site.def \
- $(IRULESRC)/$(MACROFILE)
- -@if [ -f Makefile ]; then \
- echo "$(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \
- $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
- else exit 0; fi
- $(IMAKE_CMD) -DTOPDIR=$(TOP)
-
- $(IMAKE):
- @echo "making $@"; \
- cd $(IMAKESRC); $(MAKE) BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)
-
- tags::
- $(TAGS) -w *.[ch]
- $(TAGS) -xw *.[ch] > TAGS
-
- ###########################################################################
- # empty rules for directories that do not have SUBDIRS - do not edit
-
- install::
- @echo "install done"
-
- install.man::
- @echo "install.man done"
-
- Makefiles::
-
- ###########################################################################
- # dependencies generated by makedepend
-
- # DO NOT DELETE
-
- xmtool.o: /usr/include/stdio.h /usr/include/X11/Xatom.h
- xmtool.o: /usr/include/X11/Intrinsic.h /usr/include/X11/Xlib.h
- xmtool.o: /usr/include/sys/types.h /usr/include/sys/sysmacros.h
- xmtool.o: /usr/include/X11/X.h /usr/include/X11/Xutil.h
- xmtool.o: /usr/include/X11/Xresource.h /usr/include/X11/Xos.h
- xmtool.o: /usr/include/strings.h /usr/include/sys/file.h
- xmtool.o: /usr/include/sys/fcntl.h /usr/include/sys/time.h
- xmtool.o: /usr/include/sys/time.h /usr/include/X11/Core.h
- xmtool.o: /usr/include/X11/Composite.h /usr/include/X11/Constraint.h
- xmtool.o: /usr/include/X11/StringDefs.h /usr/include/X11/Box.h
- xmtool.o: /usr/include/X11/Clock.h /usr/include/X11/Xmu.h
- xmtool.o: /usr/include/X11/Command.h /usr/include/X11/Label.h
- xmtool.o: /usr/include/X11/Simple.h /usr/include/X11/copyright.h
- xmtool.o: /usr/include/X11/Dialog.h /usr/include/X11/Form.h
- xmtool.o: /usr/include/X11/Constraint.h /usr/include/X11/Load.h
- xmtool.o: /usr/include/X11/Scroll.h /usr/include/X11/AsciiText.h
- xmtool.o: /usr/include/X11/Text.h /usr/include/X11/VPaned.h
- xmtool.o: /usr/include/X11/Viewport.h /usr/include/X11/Cardinals.h
- xmtool.o: /usr/include/errno.h /usr/include/sys/errno.h /usr/include/signal.h
-