# Makefile generated by imake - do not edit! # $XConsortium: imake.c,v 1.87 94/04/17 20:10:28 rws Exp $ # ------------------------------------------------------------------------- # Makefile generated from "/proj/demeter/demeter/config/Imake.tmpl" and # $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $ # # Platform-specific parameters may be set in the appropriate .cf # configuration files. Site-specific parameters should be set in the file # site.def. Full rebuilds are recommended if any parameters are changed. # # If your C preprocessor does not define any unique symbols, you will need # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing # "make World" the first time). # # ------------------------------------------------------------------------- # site-specific configuration parameters that need to come before # the platform-specific parameters - edit site.def to change # site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $ # ------------------------------------------------------------------------- # platform-specific configuration parameters - edit sun.cf to change # platform: $XConsortium: sun.cf,v 1.72.1.1 92/03/18 13:13:37 rws Exp $ # operating system: SunOS 4.1.1 # $XConsortium: sunLib.rules,v 1.7 91/12/20 11:19:47 rws Exp $ # ------------------------------------------------------------------------- # site-specific configuration parameters that go after # the platform-specific parameters - edit site.def to change # site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $ SHELL = /bin/sh TOP = /proj/demeter/demeter CURRENT_DIR = . AR = ar clq BOOTSTRAPCFLAGS = CC = cc AS = as COMPRESS = compress CPP = /lib/cpp $(STD_CPP_DEFINES) PREPROCESSCMD = cc -E $(STD_CPP_DEFINES) INSTALL = install LD = ld LINT = lint LINTLIBFLAG = -C LINTOPTS = -axz LN = ln -s MAKE = make MV = mv CP = cp RANLIB = ranlib RANLIBINSTFLAGS = RM = rm -f TROFF = psroff MSMACROS = -ms TBL = tbl EQN = eqn STD_INCLUDES = STD_CPP_DEFINES = STD_DEFINES = EXTRA_LOAD_FLAGS = EXTRA_LIBRARIES = TAGS = ctags SHAREDCODEDEF = -DSHAREDCODE SHLIBDEF = -DSUNSHLIB PROTO_DEFINES = INSTPGMFLAGS = INSTBINFLAGS = -m 0755 INSTUIDFLAGS = -m 4755 INSTLIBFLAGS = -m 0644 INSTINCFLAGS = -m 0444 INSTMANFLAGS = -m 0444 INSTDATFLAGS = -m 0444 INSTKMEMFLAGS = -g kmem -m 2755 PROJECTROOT = /local/apps/X11R5 TOP_INCLUDES = -I$(TOP) CDEBUGFLAGS = -O CCOPTIONS = -pipe ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES) ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES) CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) LDLIBS = -L$(USRLIBDIR) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) LDCOMBINEFLAGS = -X -r DEPENDFLAGS = MACROFILE = sun.cf RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut IMAKE_DEFINES = IRULESRC = $(CONFIGSRC) IMAKE_CMD = $(IMAKE) -I$(IRULESRC) $(IMAKE_DEFINES) ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \ $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \ $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES) # ------------------------------------------------------------------------- # X Window System Build Parameters # $XConsortium: Project.tmpl,v 1.138 91/09/10 09:02:12 rws Exp $ # ------------------------------------------------------------------------- # X Window System make variables; this need to be coordinated with rules PATHSEP = / USRLIBDIR = /local/apps/X11R5/lib BINDIR = /local/apps/X11R5/bin INCROOT = /local/apps/X11R5/include BUILDINCROOT = $(TOP) BUILDINCDIR = $(BUILDINCROOT)/X11 BUILDINCTOP = .. INCDIR = $(INCROOT)/X11 ADMDIR = /usr/adm LIBDIR = $(USRLIBDIR)/X11 CONFIGDIR = $(LIBDIR)/config LINTLIBDIR = $(USRLIBDIR)/lint FONTDIR = $(LIBDIR)/fonts XINITDIR = $(LIBDIR)/xinit XDMDIR = $(LIBDIR)/xdm TWMDIR = $(LIBDIR)/twm MANPATH = /local/apps/X11R5/man MANSOURCEPATH = $(MANPATH)/man MANSUFFIX = 1 LIBMANSUFFIX = 3 MANDIR = $(MANSOURCEPATH)$(MANSUFFIX) LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX) NLSDIR = $(LIBDIR)/nls PEXAPIDIR = $(LIBDIR)/PEX XAPPLOADDIR = $(LIBDIR)/app-defaults FONTCFLAGS = -t INSTAPPFLAGS = $(INSTDATFLAGS) IMAKE = $(IMAKESRC)/imake DEPEND = $(DEPENDSRC)/makedepend RGB = $(RGBSRC)/rgb FONTC = $(BDFTOPCFSRC)/bdftopcf MKFONTDIR = $(MKFONTDIRSRC)/mkfontdir MKDIRHIER = /bin/sh $(SCRIPTSRC)/mkdirhier.sh CONFIGSRC = $(TOP)/config DOCUTILSRC = $(TOP)/doc/util CLIENTSRC = $(TOP)/clients DEMOSRC = $(TOP)/demos LIBSRC = $(TOP)/lib FONTSRC = $(TOP)/fonts INCLUDESRC = $(TOP)/X11 SERVERSRC = $(TOP)/server UTILSRC = $(TOP)/util SCRIPTSRC = $(UTILSRC)/scripts EXAMPLESRC = $(TOP)/examples CONTRIBSRC = $(TOP)/../contrib DOCSRC = $(TOP)/doc RGBSRC = $(TOP)/rgb DEPENDSRC = $(UTILSRC)/makedepend IMAKESRC = $(CONFIGSRC) XAUTHSRC = $(LIBSRC)/Xau XLIBSRC = $(LIBSRC)/X XMUSRC = $(LIBSRC)/Xmu TOOLKITSRC = $(LIBSRC)/Xt AWIDGETSRC = $(LIBSRC)/Xaw OLDXLIBSRC = $(LIBSRC)/oldX XDMCPLIBSRC = $(LIBSRC)/Xdmcp BDFTOSNFSRC = $(FONTSRC)/bdftosnf BDFTOSNFSRC = $(FONTSRC)/clients/bdftosnf BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir FSLIBSRC = $(FONTSRC)/lib/fs FONTSERVERSRC = $(FONTSRC)/server EXTENSIONSRC = $(TOP)/extensions XILIBSRC = $(EXTENSIONSRC)/lib/xinput PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX # $XConsortium: sunLib.tmpl,v 1.14.1.1 92/03/17 14:58:46 rws Exp $ SHLIBLDFLAGS = -assert pure-text PICFLAGS = -pic DEPEXTENSIONLIB = EXTENSIONLIB = -L$(EXTENSIONSRC)/lib -lXext DEPXLIB = $(DEPEXTENSIONLIB) XLIB = $(EXTENSIONLIB) -L$(XLIBSRC) -lX11 DEPXMULIB = $(XMUSRC)/libXmu.sa.$(SOXMUREV) XMULIBONLY = -L$(XMUSRC) -lXmu XMULIB = -L$(XMUSRC) -lXmu -L$(TOOLKITSRC) -L$(EXTENSIONSRC)/lib -L$(XLIBSRC) DEPOLDXLIB = OLDXLIB = -L$(OLDXLIBSRC) -loldX DEPXTOOLLIB = $(TOOLKITSRC)/libXt.sa.$(SOXTREV) XTOOLLIB = -L$(TOOLKITSRC) -lXt DEPXAWLIB = $(AWIDGETSRC)/libXaw.sa.$(SOXAWREV) XAWLIB = -L$(AWIDGETSRC) -lXaw DEPXILIB = XILIB = -L$(XILIBSRC) -lXi SOXLIBREV = 4.10 SOXTREV = 4.10 SOXAWREV = 5.0 SOOLDXREV = 4.10 SOXMUREV = 4.10 SOXEXTREV = 4.10 SOXINPUTREV = 4.10 DEPXAUTHLIB = $(XAUTHSRC)/libXau.a XAUTHLIB = $(DEPXAUTHLIB) DEPXDMCPLIB = $(XDMCPLIBSRC)/libXdmcp.a XDMCPLIB = $(DEPXDMCPLIB) DEPPHIGSLIB = $(PHIGSLIBSRC)/libphigs.a PHIGSLIB = $(DEPPHIGSLIB) DEPXBSDLIB = $(LIBSRC)/Berk/libXbsd.a XBSDLIB = $(DEPXBSDLIB) LINTEXTENSIONLIB = $(EXTENSIONSRC)/lib/llib-lXext.ln LINTXLIB = $(XLIBSRC)/llib-lX11.ln LINTXMU = $(XMUSRC)/llib-lXmu.ln LINTXTOOL = $(TOOLKITSRC)/llib-lXt.ln LINTXAW = $(AWIDGETSRC)/llib-lXaw.ln LINTXI = $(XILIBSRC)/llib-lXi.ln LINTPHIGS = $(PHIGSLIBSRC)/llib-lphigs.ln DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) DEPLIBS1 = $(DEPLIBS) DEPLIBS2 = $(DEPLIBS) DEPLIBS3 = $(DEPLIBS) # # Add the include path for C++ header files to # eliminate warning from makedepend # DEPEND = $(DEPENDSRC)/makedepend -I/local/apps/objectcenter/clc++/sparc-sunos4/incl # ------------------------------------------------------------------------- # Imake rules for building libraries, programs, scripts, and data files # rules: $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $ .SUFFIXES: .o .c .pc .l .y .C .c.o: $(RM) $@ $(CC) -c $(CFLAGS) $*.c .C.o: $(RM) $@ $(CCC) -c $(CFLAGS) $(OCFLAGS) $*.C # ------------------------------------------------------------------------- # start of Imakefile USERCD = cd.cd TOPENVNAME = UNKNOWN SIMI = SI DEMETERBUILDLIBS = WANTPPINTER = -i SUBDIRS = \ notmod EXTRASRCS = EXTRAOBJS = DEMETER = $(TOP) INCLUDES = -I$(DEMETER)/include DEFINES = -D$(SIMI) -DNOTRACE CDEBUGFLAGS = -g EXTRA_LOAD_FLAGS = LOCAL_LIBRARIES = \ $(DEMETER)/lib-$(SIMI)/`get-cpu`/libdemeter`basename $(CCC)`.a -ll NOSUFFIX = nosuffix CCC = CC CC = cc ccC = cc OVERWRITECDPRINT=yes OVERWRITECDPARSE=yes EXECLIBFLAG = TARGETLIBDIR = ../lib TARGETLIBNAME = $(TOPENVNAME) TARGETINCLUDEDIR = ../include TARGETINCLUDENAME = $(TOPENVNAME) NOCONSTRUCTOR= COMPONENTS = MKDIR = mkdir COMPPP = $(DEMETER)/bin/comp-pp $(NOSUFFIX) DEMETERUSERTOP = . LOCALCPU = `$(DEMETER)/bin/get-cpu` DEMETERCOMPILEDIR = notmod/$(LOCALCPU) DEMETERUSERPROGRAM = $(DEMETERCOMPILEDIR)/run-exec FIXEDDIR = $(DEMETER)/fixed GENERATELOGFILE = notmod/logs/generate.log MFLAGS = SIMI='$(SIMI)' LOCAL_LIBRARIES="$(LOCAL_LIBRARIES)" EXTRAOBJS="$(EXTRAOBJS)" INCLUDES="$(INCLUDES)" DEFINES="$(DEFINES)" CCC='$(CCC)' ccC='$(ccC)' EXTRA_LOAD_FLAGS="$(EXTRA_LOAD_FLAGS)" EXECLIBFLAG='$(EXECLIBFLAG)' TARGETLIBDIR='$(TARGETLIBDIR)' TARGETLIBNAME='$(TARGETLIBNAME)' TARGETINCLUDENAME='$(TARGETINCLUDENAME)' TARGETINCLUDEDIR='$(TARGETINCLUDEDIR)' TOPENVNAME='$(TOPENVNAME)' CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) $(OFLAGS) all:: Makefile $(DEMETERUSERPROGRAM) all:: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ for i in $(SUBDIRS) ;\ do \ (cd $$i ; echo "making" all "in $(CURRENT_DIR)/$$i..."; \ $(MAKE) $(MFLAGS) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' all); \ done depend:: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ for i in $(SUBDIRS) ;\ do \ (cd $$i ; echo "depending" "in $(CURRENT_DIR)/$$i..."; \ $(MAKE) $(MFLAGS) depend); \ done $(DEMETERUSERPROGRAM): demeter-sem-check demeter-generate demeter-scanner demeter-compile demeter-sem-check: notmod/sem-check.TAG notmod/sem-check.TAG: $(USERCD) -@echo Running semantic checker ... $(DEMETER)/bin/sem-check -i $(USERCD) -@$(RM) notmod/sem-check.TAG -@date > notmod/sem-check.TAG demeter-generate: notmod/generate.TAG notmod/generate.TAG: notmod/cds/cd-param-exp -@make do-generate -@$(RM) notmod/generate.TAG -@date > notmod/generate.TAG -@$(RM) generate.benefit -@$(DEMETER)/bin/generate-productivity $(USERCD) > generate.benefit do-generate: generate-dir gen-classes generate-notmodimake -@$(RM) COPYRIGHT -@$(CP) $(FIXEDDIR)/COPYRIGHT . -@chmod 644 COPYRIGHT -@$(DEMETER)/bin/version >> COPYRIGHT -@date >> COPYRIGHT -@$(RM) README -@$(CP) $(FIXEDDIR)/README . -@chmod 644 README -@if [ ! -f main.C ]; then $(CP) $(FIXEDDIR)/main.C .; chmod 644 main.C; fi -@if [ ! -f global.h ]; then $(CP) $(FIXEDDIR)/global.h .; chmod 644 global.h; fi -@$(RM) run -@$(CP) $(FIXEDDIR)/run . -@chmod 755 run -@echo "setenv GEN_DIR ./scanner" >> run -@echo './notmod/`$(DEMETER)/bin/get-cpu`/run-exec $$*' >> run -@echo >> run -@echo -n `whoami` " at " $(cwd) " ended at " >> $(GENERATELOGFILE) -@date >> $(GENERATELOGFILE) generate-dir: -@for _dir_ in . $(COMPONENTS); do $(RM) $$_dir_/?*-DEM.C; done -@for _dir_ in . $(COMPONENTS); do $(RM) -r $$_dir_/inter-pps; done -@$(RM) -r main.C.sample inter-pps notmod/def notmod/headers notmod/include notmod/lib notmod/`get-cpu` ?*.bak -@if [ ! -d scanner ]; then $(MKDIR) scanner; fi -@if [ ! -d notmod ]; then $(MKDIR) notmod; fi -@if [ ! -d notmod/def ]; then $(MKDIR) notmod/def; fi -@if [ ! -d notmod/cds ]; then $(MKDIR) notmod/cds; fi -@if [ ! -d notmod/headers ]; then $(MKDIR) notmod/headers; fi -@if [ ! -d notmod/logs ]; then $(MKDIR) notmod/logs; fi -@if [ ! -d notmod/include ]; then $(MKDIR) notmod/include; fi -@if [ ! -d notmod/lib ]; then $(MKDIR) notmod/lib; fi -@if [ -f scanner/cd-parse ]; then if [ x"yes" = x$(OVERWRITECDPARSE) ]; then $(RM) scanner/cd-parse.old; $(MV) scanner/cd-parse scanner/cd-parse.old; $(CP) notmod/cds/cd-parse scanner; fi; else $(CP) notmod/cds/cd-parse scanner; fi; -@if [ -f scanner/cd-print ]; then if [ x"yes" = x$(OVERWRITECDPRINT) ]; then $(RM) scanner/cd-print.old; $(MV) scanner/cd-print scanner/cd-print.old; $(CP) notmod/cds/cd-print scanner; fi; else $(CP) notmod/cds/cd-print scanner; fi; -@echo -n `whoami` " at " $(cwd) " started at " >> $(GENERATELOGFILE) -@date >> $(GENERATELOGFILE) generate-notmodimake: notmod/Imakefile notmod/Imakefile: Imakefile -@$(RM) notmod/Imakefile -@echo \#\d\e\fine \I\H\a\v\e\Subdirs > notmod/Imakefile -@echo \#\d\efine \P\assCDebugFlags \'\C\DEBUGFLAGS=$$\(\C\DEBUGFLAGS\)\' >> notmod/Imakefile -@echo >> notmod/Imakefile -@echo \S\IMI = $(SIMI) >> notmod/Imakefile -@echo \S\UBDIRS = `$(DEMETER)/bin/get-cpu` >> notmod/Imakefile -@echo \E\XTRAOBJS = $(EXTRAOBJS) >> notmod/Imakefile -@echo \I\NCLUDES = $(INCLUDES) >> notmod/Imakefile -@echo \D\EFINES = $(DEFINES) >> notmod/Imakefile -@echo \L\O\C\AL_LIBRARIES = $(LOCAL_LIBRARIES) >> notmod/Imakefile -@echo CCC = $(CCC) >> notmod/Imakefile -@echo ccC = $(ccC) >> notmod/Imakefile -@echo EXECLIBFLAG = $(EXECLIBFLAG) >> notmod/Imakefile -@echo OCFLAGS = $(OCFLAGS) >> notmod/Imakefile -@echo EXTRA_LOAD_FLAGS = $(EXTRA_LOAD_FLAGS) >> notmod/Imakefile -@echo DEMETER = $(DEMETER) >> notmod/Imakefile -@echo TARGETLIBDIR = $(TARGETLIBDIR) >> notmod/Imakefile -@echo TARGETLIBNAME = $(TARGETLIBNAME) >> notmod/Imakefile -@echo TARGETINCLUDEDIR= $(TARGETINCLUDEDIR) >> notmod/Imakefile -@echo TARGETINCLUDENAME= $(TARGETINCLUDENAME) >>notmod/Imakefile -@echo TOPENVNAME= $(TOPENVNAME) >> notmod/Imakefile -@echo >> notmod/Imakefile -@echo MFLAGS = SIMI=\'$$\(SIMI\)\' \\ >> notmod/Imakefile -@echo " " LOCAL_LIBRARIES=\"$$\(LOCAL_LIBRARIES\)\" \\ >> notmod/Imakefile -@echo " " EXTRAOBJS=\"$$\(EXTRAOBJS\)\" \\ >> notmod/Imakefile -@echo " " INCLUDES=\"$$\(INCLUDES\)\" \\ >> notmod/Imakefile -@echo " " DEFINES=\"$$\(DEFINES\)\" \\ >> notmod/Imakefile -@echo " " CCC=\'$$\(CCC\)\' \\ >> notmod/Imakefile -@echo " " EXTRA_LOAD_FLAGS=\"$$\(EXTRA_LOAD_FLAGS\)\" \\ >> notmod/Imakefile -@echo " " ccC=\'$$\(ccC\)\' \\ >> notmod/Imakefile -@echo " " EXECLIBFLAG=\'$$\(EXECLIBFLAG\)\' \\ >> notmod/Imakefile -@echo " " DEMETER=\'$$\(DEMETER\)\' \\ >> notmod/Imakefile -@echo " " TARGETLIBDIR=\'$$\(TARGETLIBDIR\)\' \\ >> notmod/Imakefile -@echo " " TARGETLIBNAME=\'$$\(TARGETLIBNAME\)\' \\ >> notmod/Imakefile -@echo " " TARGETINCLUDENAME=\'$$\(TARGETINCLUDENAME\)\' \\ >> notmod/Imakefile -@echo " " TARGETINCLUDEDIR=\'$$\(TARGETINCLUDEDIR\)\' \\ >> notmod/Imakefile -@echo " " TOPENVNAME=\'$$\(TOPENVNAME\)\' >> notmod/Imakefile -@echo >> notmod/Imakefile -@echo >> notmod/Imakefile -@echo \M\a\keSubdirs\($$\(\S\UBDIRS\)\) >> notmod/Imakefile -@echo \D\e\pendSubdirs\($$\(S\UBDIRS\)\) >> notmod/Imakefile -@(cd notmod; $(DEMETER)/bin/dmkmf) gen-classes: -@$(RM) notmod/def/?* notmod/cds/cd-inter main.C.sample -@echo Running C++ code generator ... $(DEMETER)/bin/generate $(SIMI) $(TOPENVNAME) "$(NOCONSTRUCTOR)" $(DEMETER)/bin/gen-hash notmod/cds/cd-param-exp $(TOPENVNAME) $(DEMETERBUILDLIBS) dh > notmod/def/make_instance.info demeter-scanner: scanner/lex.yy.c scanner/lex.yy.c: scanner/lex-DEM.l -@echo Creating scanner ... -@$(RM) scanner/lex.yy.c -@lex -nt scanner/lex-DEM.l > scanner/lex.yy.c scanner/lex-DEM.l: scanner/lex-syntax scanner/lex-definitions scanner/lex-comment scanner/lex-white-space scanner/lex-class-terminals -@$(RM) scanner/lex-DEM.l -@cat scanner/lex-definitions scanner/lex-syntax scanner/lex-comment scanner/lex-white-space scanner/lex-class-terminals > scanner/lex-DEM.l scanner/lex-syntax: scanner/cd-parse -@$(RM) lex-syntax $(DEMETER)/bin/gen-scanner scanner/lex-definitions: -@if [ ! -f scanner/lex-definitions ]; then $(CP) $(FIXEDDIR)/lex-definitions scanner; chmod 644 scanner/lex-definitions; fi scanner/lex-comment: -@if [ ! -f scanner/lex-comment ]; then $(CP) $(FIXEDDIR)/lex-comment scanner; chmod 644 scanner/lex-comment; fi scanner/lex-white-space: -@if [ ! -f scanner/lex-white-space ]; then $(CP) $(FIXEDDIR)/lex-white-space scanner; chmod 644 scanner/lex-white-space; fi scanner/lex-class-terminals: -@if [ ! -f scanner/lex-class-terminals ]; then $(CP) $(FIXEDDIR)/lex-class-terminals scanner; chmod 644 scanner/lex-class-terminals; fi demeter-compile: propagate headers generate-notmodimake process-files -@$(RM) notmod/`$(DEMETER)/bin/get-cpu`/Imakefile -@(cd notmod; $(DEMETER)/bin/gen-imakefile $(EXECLIBFLAG) `$(DEMETER)/bin/get-cpu`; mv `$(DEMETER)/bin/get-cpu`/Imakefile ttt; echo OCFLAGS=$(OCFLAGS) > `$(DEMETER)/bin/get-cpu`/Imakefile; cat ttt >> `$(DEMETER)/bin/get-cpu`/Imakefile; rm ttt) -@(cd notmod/`$(DEMETER)/bin/get-cpu`; $(DEMETER)/bin/dmkmf) make depend headers: -@echo Generating prototypes ... $(DEMETER)/bin/headers $(COMPONENTS) propagate: -@echo -@echo Running propagation pattern compiler ... if test x"$(COMPONENTS)" = x""; then $(DEMETER)/bin/propagate $(TOPENVNAME) $(WANTPPINTER); else $(DEMETER)/bin/propagate $(TOPENVNAME) $(WANTPPINTER) -c $(COMPONENTS); fi -@$(RM) notmod/propagate.TAG -@date > notmod/propagate.TAG -@$(DEMETER)/bin/ppbenefit . $(COMPONENTS) > propagate.benefit process-files: -@echo Running preprocessor ... -@if [ ! -d notmod/$(LOCALCPU) ] ; then mkdir notmod/$(LOCALCPU); fi -@if [ ! -d notmod/tmp ] ; then mkdir notmod/tmp; fi for _dir_ in . $(COMPONENTS) notmod/headers scanner notmod/def; do $(COMPPP) notmod/cds/cd-param-exp $(TOPENVNAME) -p notmod/$(LOCALCPU) $$_dir_/?*.[cCh]; done -@$(RM) notmod/tmp/filelist -@for _dir_ in . $(COMPONENTS) notmod/headers scanner notmod/def; do for _file_ in $$_dir_/?*.[cCh]; do basename $$_file_ >> notmod/tmp/filelist; done; done clean:: for _dir_ in . $(COMPONENTS); do $(RM) $$_dir_/?*-DEM.C; done for _dir_ in . $(COMPONENTS); do $(RM) -r $$_dir_/inter-pps; done $(RM) -r inter-pps $(RM) -r notmod/tmp/?* make cleancpu cleancpu: if [ -f notmod/`get-cpu`/Imakefile ]; then mv notmod/`get-cpu`/Imakefile Imakefile.notmod_cpu; fi if [ -f notmod/`get-cpu`/Makefile ]; then mv notmod/`get-cpu`/Makefile Makefile.notmod_cpu; fi $(RM) -r notmod/`get-cpu`/?* if [ -f Imakefile.notmod_cpu ]; then mv Imakefile.notmod_cpu notmod/`get-cpu`/Imakefile; fi if [ -f Makefile.notmod_cpu ]; then mv Makefile.notmod_cpu notmod/`get-cpu`/Makefile; fi clobber: for _dir_ in . $(COMPONENTS); do $(RM) $$_dir_/?*-DEM.C; done for _dir_ in . $(COMPONENTS); do $(RM) -r $$_dir_/inter-pps; done $(RM) -r main.C.sample inter-pps notmod ?*.bak # ------------------------------------------------------------------------- # common rules for all Makefiles - do not edit emptyrule:: clean:: $(RM_CMD) "#"* Makefile:: $(IMAKE) $(IMAKE): @(cd $(IMAKESRC); if [ -f Makefile ]; then \ echo "checking $@ in $(IMAKESRC) first..."; $(MAKE) all; else \ echo "bootstrapping $@ from Makefile.ini in $(IMAKESRC) first..."; \ $(MAKE) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"; fi; \ echo "okay, continuing in $(CURRENT_DIR)") Makefile:: Imakefile -@if [ -f Makefile ]; then set -x; \ $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \ else exit 0; fi $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) tags:: $(TAGS) -w *.[ch] $(TAGS) -xw *.[ch] > TAGS saber: # load $(ALLDEFINES) $(SRCS) osaber: # load $(ALLDEFINES) $(OBJS) # ------------------------------------------------------------------------- # rules for building in SUBDIRS - do not edit install:: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ for i in $(SUBDIRS) ;\ do \ (cd $$i ; echo "installing" "in $(CURRENT_DIR)/$$i..."; \ $(MAKE) $(MFLAGS) DESTDIR='$(DESTDIR)' install); \ done install.man:: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ for i in $(SUBDIRS) ;\ do \ (cd $$i ; echo "installing man pages" "in $(CURRENT_DIR)/$$i..."; \ $(MAKE) $(MFLAGS) DESTDIR='$(DESTDIR)' install.man); \ done clean:: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ for i in $(SUBDIRS) ;\ do \ (cd $$i ; echo "cleaning" "in $(CURRENT_DIR)/$$i..."; \ $(MAKE) $(MFLAGS) RM_CMD='$(RM_CMD)' clean); \ done tags:: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ for i in $(SUBDIRS) ;\ do \ (cd $$i ; echo "tagging" "in $(CURRENT_DIR)/$$i..."; \ $(MAKE) $(MFLAGS) TAGS='$(TAGS)' tags); \ done Makefiles:: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ for i in $(SUBDIRS) ;\ do \ echo "making Makefiles in $(CURRENT_DIR)/$$i..."; \ case "$$i" in \ ./?*/?*/?*/?*) newtop=../../../../ sub=subsubsubsub;; \ ./?*/?*/?*) newtop=../../../ sub=subsubsub;; \ ./?*/?*) newtop=../../ sub=subsub;; \ ./?*) newtop=../ sub=sub;; \ */?*/?*/?*) newtop=../../../../ sub=subsubsubsub;; \ */?*/?*) newtop=../../../ sub=subsubsub;; \ */?*) newtop=../../ sub=subsub;; \ *) newtop=../ sub=sub;; \ esac; \ case "$(TOP)" in \ /?*) newtop= upprefix= ;; \ *) upprefix=../ ;; \ esac; \ $(MAKE) $${sub}dirMakefiles UPPREFIX=$$upprefix NEWTOP=$$newtop \ MAKEFILE_SUBDIR=$$i NEW_CURRENT_DIR=$(CURRENT_DIR)/$$i;\ done subdirMakefiles: $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then set -x; \ $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ else exit 0; fi cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ $(MAKE) $(MFLAGS) Makefiles subsubdirMakefiles: $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then set -x; \ $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ else exit 0; fi cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ $(MAKE) $(MFLAGS) Makefiles subsubsubdirMakefiles: $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then set -x; \ $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ else exit 0; fi cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ $(MAKE) $(MFLAGS) Makefiles subsubsubsubdirMakefiles: $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then set -x; \ $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ else exit 0; fi cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ $(MAKE) $(MFLAGS) Makefiles includes:: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ for i in $(SUBDIRS) ;\ do \ (cd $$i ; echo including "in $(CURRENT_DIR)/$$i..."; \ $(MAKE) $(MFLAGS) includes); \ done # ------------------------------------------------------------------------- # dependencies generated by makedepend