# Makefile generated by imake - do not edit! # $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $ # # The cpp used on this machine replaces all newlines and multiple tabs and # spaces in a macro expansion with a single space. Imake tries to compensate # for this, but is not always successful. # # ------------------------------------------------------------------------- # Makefile generated from "/home/ally/dev/util/imconfig/Imake.tmpl" and # $XConsortium: Imake.tmpl,v 1.138 91/07/30 14:59:20 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). # # 57 # 64 # 71 # 85 # 92 # 114 # 121 # 128 # 136 # 143 # 152 # 159 # 184 # 197 # 208 # 220 # 230 # 237 # 246 # 253 # ------------------------------------------------------------------------- # 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 $ # 40 # ------------------------------------------------------------------------- # platform-specific configuration parameters - edit hp.cf to change # platform: $XConsortium: hp.cf,v 1.48 91/12/18 09:43:08 rws Exp $ # operating system: HP-UX 7.0 # 17 # 31 # 283 # 294 # ------------------------------------------------------------------------- # 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 $ # 35 # 315 # 321 # 324 # 334 # 344 # 356 # 363 # 390 # 418 # 428 # 435 # 445 # 451 # 460 # 463 # 491 # 507 # 518 # 541 # 553 # 560 # 571 # 577 # 583 # 606 # 613 # 617 # 628 # 638 # 669 # 672 SHELL = /bin/sh TOP = ../.. CURRENT_DIR = . AR = ar clq BOOTSTRAPCFLAGS = CC = CC AS = as # 696 COMPRESS = compress CPP = /lib/cpp $(STD_CPP_DEFINES) PREPROCESSCMD = CC -E $(STD_CPP_DEFINES) INSTALL = install LD = ld LINT = lint LINTLIBFLAG = -o LINTOPTS = -ax LN = ln -s MAKE = make MV = mv -f CP = cp # 712 RM = rm -f TROFF = psroff MSMACROS = -ms TBL = tbl EQN = eqn STD_INCLUDES = STD_CPP_DEFINES = -DSYSV STD_DEFINES = -DSYSV EXTRA_LOAD_FLAGS = EXTRA_LIBRARIES = TAGS = ctags MFLAGS = -$(MAKEFLAGS) # 730 # 733 # 739 # 742 # 745 # 748 # 751 # 754 # 757 # 770 PROTO_DEFINES = # 777 INSTPGMFLAGS = INSTBINFLAGS = -m 0755 INSTUIDFLAGS = -m 4755 INSTLIBFLAGS = -m 0644 INSTINCFLAGS = -m 0444 INSTMANFLAGS = -m 0444 INSTDATFLAGS = -m 0444 INSTKMEMFLAGS = -m 4755 # 790 # 795 TOP_INCLUDES = -I$(TOP)/include CDEBUGFLAGS = -g CCOPTIONS = -Aa -D_HPUX_SOURCE 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) # 813 LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) # 818 LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) LDCOMBINEFLAGS = -X -r DEPENDFLAGS = MACROFILE = hp.cf RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut IMAKE_DEFINES = # 831 IRULESRC = $(CONFIGSRC) IMAKE_CMD = $(NEWTOP)$(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES) ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \ $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \ $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES) # ------------------------------------------------------------------------- # ALLY System Build Parameters # # 3 # # # A L L Y P R O J E C T T E M P L A T E # # # # # A L L Y D E F I N E S # # # ------------------------------------------------------------------------- # PRIDE System make variables; these need to be coordinated with rules # # Platform defines # MACHINE = HP800_8 # # TOPS # DEVTOP = $(TOP)/dev RELTOP = $(TOP)/rel # # UTIL # UTILDIR = $(DEVTOP)/util CONFIGSRC = $(UTILDIR)/imconfig DEPENDSRC = $(UTILDIR)/makedepend IMAKESRC = $(CONFIGSRC) # # ADM # ADMDIR = $(DEVTOP)/adm SCRIPTSRC = $(ADMDIR)/scripts ADMSRC = $(ADMDIR)/src # # APPCFG # APPCFGDIR = $(DEVTOP)/appcfg # # SRC # SRCDIR = $(DEVTOP)/src ALLYDIR = $(SRCDIR)/ally OPTDIR = $(SRCDIR)/opt COMMGRDIR = $(SRCDIR)/commgr COMMGRDEPDIR = $(COMMGRDIR)/dep FAXDIR = $(COMMGRDEPDIR)/fax MODEMDIR = $(COMMGRDEPDIR)/modem EPNDIR = $(COMMGRDEPDIR)/epn COMMGRINDEPDIR = $(COMMGRDIR)/indep DBMGRSYBASEDIR = $(DBMGRDIR)/sybase DBMGRINDEPDIR = $(DBMGRDIR)/indep # # LIBSRC # LIBSRCDIR = $(DEVTOP)/libsrc DPYMGRDIR = $(LIBSRCDIR)/dpymgr DBMGRDIR = $(LIBSRCDIR)/dbmgr MEMMGRDIR = $(LIBSRCDIR)/memmgr OFMGRDIR = $(LIBSRCDIR)/ofmgr BPMGRDIR = $(LIBSRCDIR)/bpmgr ERRMGRDIR = $(LIBSRCDIR)/errmgr GENDIR = $(LIBSRCDIR)/gen PROTOCOLDIR = $(LIBSRCDIR)/protocol OPTPROTODIR = $(PROTOCOLDIR)/opt DBMGRPROTODIR = $(PROTOCOLDIR)/dbmgr COMMGRPROTODIR = $(PROTOCOLDIR)/commgr LIBDPYMGR = $(DPYMGRDIR)/libdpymgr.a LIBDBMGR = $(DBMGRDIR)/libdbmgr.a LIBMEMMGR = $(MEMMGRDIR)/libmemmgr.a LIBOFMGR = $(OFMGRDIR)/libofmgr.a LIBBPMGR = $(BPMGRDIR)/libpmgr.a LIBERRMGR = $(ERRMGRDIR)/liberrmgr.a LIBGEN = $(GENDIR)/libgen.a LIBOPTPROTO = $(OPTPROTO)/liboptproto.a LIBDBPROTO = $(DBMGRPROTODIR)/libbpproto.a LIBCOMMPROTO = $(COMMGRPROTODIR)/libcommproto.a # # Sybase # # # Teleuse # # # Utility scripts # IMAKE = $(IMAKESRC)/imake DEPEND = $(DEPENDSRC)/makedepend APPINCLUDES = -I$(DPYMGRDIR) -I$(MEMMGRDIR) -I$(OFMGRDIR) -I$(BPMGR) \ -I$(ERRMGR) -I$(OPTPROTO) -I$(DBMGRPROTODIR) \ -I$(COMMGRPROTODIR) SYBASEINCLUDES = -I$(SYBASELIBDIR) TELEUSEINCLUDES = -I$(TELUSEDIR) # # ALLAPPLIBS Still to be defined # ALLAPPLIBS = DEPLIBS = $(ALLAPPLIBS) EXTRA_DEFINES = -D$(MACHINE) -D_HPUX_SOURCE SYS_LIBRARIES = -lm RELAPPCFG = $(RELTOP)/appcfg RELAPPDEFS = $(RELAPPCFG)/app-defaults RELBIN = $(RELTOP)/bin RELUSR = $(RELTOP)/usr # 145 # 161 # 164 # ------------------------------------------------------------------------- # 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 $ # 162 # 173 # 353 # 598 # 613 # 628 # 698 # 1341 # 1442 # 1465 # 1484 # 1499 .SUFFIXES: .o .c .pc .l .y .C .C.o: $(CC) -c $(CFLAGS) $(ALLINCLUDES) $*.C # ------------------------------------------------------------------------- # start of Imakefile SUBDIRS = scripts src RELSUBDIRS = scripts src 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 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 release:: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ for i in $(RELSUBDIRS) ;\ do \ (cd $$i ; echo "releasing" "in $(CURRENT_DIR)/$$i..."; \ $(MAKE) $(MFLAGS) RM_CMD='$(RM_CMD)' release); \ done # ------------------------------------------------------------------------- # 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 # 868 # 876 # ------------------------------------------------------------------------- # 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 # 908 # ------------------------------------------------------------------------- # dependencies generated by makedepend