|
|
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
SUBDIRS = ico muncher plaid wm
all::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "making $$i"; \
$(MAKE) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' $(MFLAGS)); \
done
depend::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "depending $$i"; \
$(MAKE) $(MFLAGS) depend ); \
done
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::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "installing $$i"; \
INSTALL='$(INSTALL)' DESTDIR='$(DESTDIR)' \
$(MAKE) $(MFLAGS) install ); \
done
clean::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "cleaning $$i"; \
RM_CMD='$(RM_CMD)' $(MAKE) $(MFLAGS) clean ); \
done
tags::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "tagging $$i"; \
TAGS='$(TAGS)' $(MAKE) $(MFLAGS) tags ); \
done
Makefiles::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
echo "Making Makefiles in $$i..."; \
case "$$i" in \
./?*/?*/?*) newtop=../../../ sub=subsubsub;; \
./?*/?*) newtop=../../ sub=subsub;; \
./?*) newtop=../ sub=sub;; \
*/?*/?*) newtop=../../../ sub=subsubsub;; \
*/?*) newtop=../../ sub=subsub;; \
*) newtop=../ sub=sub;; \
esac; \
NEWTOP=$$newtop MAKEFILE_SUBDIR=$$i \
$(MAKE) $${sub}dirMakefiles; \
done
subdirMakefiles:
rm -f $(MAKEFILE_SUBDIR)/Makefile.bak
-mv $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak
cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(TOP)/..; \
$(MAKE) $(MFLAGS) Makefiles
subsubdirMakefiles:
rm -f $(MAKEFILE_SUBDIR)/Makefile.bak
-mv $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak
cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(TOP)/../..; \
$(MAKE) $(MFLAGS) Makefiles
subsubsubdirMakefiles:
rm -f $(MAKEFILE_SUBDIR)/Makefile.bak
-mv $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak
cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(TOP)/../../..; \
$(MAKE) $(MFLAGS) Makefiles
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.