|
|
researchv9-SUN3(old)
#
# This makefile is automatically generated by imake... do not modify
# or you may lose your changes when imake generates makefiles again.
# Ignore this message if you are not using imake.
#
TOP = ./..
AS = as
CC = cc
CPP = /lib/cpp
LD = ld
LINT = lint
MAKE = make
CDEBUGFLAGS = -O
DESTDIR =
INSTALL = install
TAGS = ctags
DEPEND = $(DEPENDSRC)/makedepend
IMAKE = $(IMAKESRC)/imake
RGB = $(RGBSRC)/rgb
CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(DEFINES)
LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES)
INSTLIBFLAGS = -c -m 0664
USRLIBDIR = $(DESTDIR)/usr/lib
BINDIR = $(DESTDIR)/usr/bin/X11
LIBDIR = $(DESTDIR)/usr/lib/X11
INCDIR = $(DESTDIR)/usr/include/X11
FUTUREINCDIR = $(DESTDIR)/usr/include/X
FONTDIR = $(DESTDIR)$(LIBDIR)/fonts
MANDIR = $(DESTDIR)/usr/man/mann
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/include
SERVERSRC = $(TOP)/server
UTILSRC = $(TOP)/util
HACKSRC = $(TOP)/hacks
DOCSRC = $(TOP)/doc
DEPENDSRC = $(UTILSRC)/makedepend
IMAKESRC = $(UTILSRC)/imake
RGBSRC = $(UTILSRC)/rgb
XLIBSRC = $(LIBSRC)/X
XRMSRC = $(LIBSRC)/Xrm
TOOLKITSRC = $(LIBSRC)/Xtk
OLDXLIBSRC = $(LIBSRC)/oldX
OLDXMENUSRC = $(LIBSRC)/oldXMenu
OLDXRMSRC = $(LIBSRC)/oldXrm
OLDTOOLKITSRC = $(LIBSRC)/oldXtk
EXTENSIONSRC = $(TOP)/extensions
XMANSRC = $(DOCSRC)/Xlib/Xman
EXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a
XLIB = $(XLIBSRC)/libX.a
OLDXLIB = $(OLDXLIBSRC)/liboldX.a
XTOOLLIB = $(TOOLKITSRC)/libXtk.a
OLDXTOOLLIB = $(OLDTOOLKITSRC)/liboldXtk.a
OLDXMENULIB = $(OLDXMENUSRC)/libXMenu.a
XRMLIB = $(XRMSRC)/libXrm.a
OLDXRMLIB = $(OLDXRMSRC)/liboldXrm.a
INCLUDES = -I$(TOP)
MACROFILE = Sunv9.macros
IMAKE_CMD = $(NEWTOP)$(IMAKE) -TImake.tmpl \
-I$(NEWTOP)$(UTILSRC)/imake.includes \
-s Makefile
RM_CMD = rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
tags TAGS make.log
EXPORTS = \
X.h \
XWDFile.h \
Xatom.h \
Xmd.h \
Xproto.h \
Xprotostr.h \
copyright.h \
keysym.h
IMPORTS = \
$(OLDXMENUSRC)/XMenu.h \
$(OLDXLIBSRC)/X10.h \
$(XRMSRC)/Xresource.h \
$(XLIBSRC)/Xlib.h \
$(XLIBSRC)/Xutil.h \
$(FONTSRC)/cursorfont.h \
$(TOOLKITSRC)/Atoms.h \
$(TOOLKITSRC)/ButtonBox.h \
$(TOOLKITSRC)/Clock.h \
$(TOOLKITSRC)/Command.h \
$(TOOLKITSRC)/Intrinsic.h \
$(TOOLKITSRC)/Knob.h \
$(TOOLKITSRC)/Label.h \
$(TOOLKITSRC)/Load.h \
$(TOOLKITSRC)/Misc.h \
$(TOOLKITSRC)/Quarks.h \
$(TOOLKITSRC)/Scroll.h \
$(TOOLKITSRC)/TM.h \
$(TOOLKITSRC)/Text.h \
$(TOOLKITSRC)/TopLevel.h \
$(TOOLKITSRC)/VPane.h
SUBIMPORTS = \
$(EXTENSIONSRC)/include/zoid.h \
$(EXTENSIONSRC)/include/bezier.h
INSTALLFLAGS = -m 0444
all: $(IMPORTS) $(SUBIMPORTS) extensions
@-(list=`echo $(IMPORTS) | sed -e 's/[^ ]*\///g'`; set -x; rm $$list)
ln -s $(IMPORTS) .
@-(list=`echo $(SUBIMPORTS) | sed -e 's/[^ ]*\///g'`; \
set -x; cd extensions; rm $$list)
@for i in $(SUBIMPORTS); do \
(set -x; ln -s ../$$i extensions); \
done
extensions:
mkdir $@
install:: $(EXPORTS)
@case '${MFLAGS}' in *[i]*) set +e;; esac; \
for i in $(EXPORTS); do \
(set -x; $(INSTALL) -c $(INSTALLFLAGS) $$i $(INCDIR)); \
done
depend:
@echo "depend: skipping include"
clean::
$(RM_CMD) \#*
Makefile:: Imakefile \
$(UTILSRC)/imake.includes/Imake.tmpl \
$(UTILSRC)/imake.includes/Imake.rules \
$(UTILSRC)/imake.includes/$(MACROFILE)
-rm -f Makefile.bak; mv Makefile Makefile.bak
$(IMAKE_CMD) -DTOPDIR=$(TOP)
tags::
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
install::
@echo "install done"
Makefiles::
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.