# 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 "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 $ # 38 # ------------------------------------------------------------------------- # 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 $ # 33 # 315 # 321 # 324 # 334 # 344 # 356 # 363 # 390 # 418 # 428 # 435 # 445 # 451 # 460 # 463 # 491 # 504 # 518 # 541 # 553 # 560 # 571 # 577 # 583 # 606 # 613 # 617 # 628 # 638 # 669 # 672 # 675 SHELL = /bin/sh TOP = ../../. CURRENT_DIR = ./adm/src 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 +w2 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) # ------------------------------------------------------------------------- # PRIDE System Build Parameters # # 3 # # # P R I D E P R O J E C T T E M P L A T E # # # # # P R I D E D E F I N E S # # # ------------------------------------------------------------------------- # PRIDE System make variables; these need to be coordinated with rules CONFIGSRC = $(TOP)/config IMAKESRC = $(CONFIGSRC) DEPENDSRC = $(TOP)/makedepend ADMDIR = $(TOP)/adm SCRIPTSRC = $(ADMDIR)/scripts LIBDIR = $(TOP)/lib LIBSRC = $(TOP)/libsrc SCRLIBS = $(TOP)/scrlibs BATDIR = $(TOP)/bat CONN = $(TOP)/conn RELSCREENS = $(TOP)/rel/screens # # Pride Interfaces # OUTPUTDIR = $(CONN)/output GENCMDIR = $(OUTPUTDIR)/gen_cm GENCMSRC = $(GENCMDIR) GENCMINCLUDE = -I$(GENCMSRC) LIBGENCM = $(GENCMSRC)/libgen_cm.a # # Pride Generic Libraries # LIBOCFSRC = $(LIBSRC)/ocf LIBSCRSRC = $(LIBSRC)/scr LIBSOSRC = $(LIBSRC)/so LIBSAMSRC = $(LIBSRC)/sam LIBSJSRC = $(LIBSRC)/sj LIBGENDBSRC = $(LIBSRC)/gendb LIBQSRC = $(LIBSRC)/q LIBQFSRC = $(LIBSRC)/qf LIBQCSRC = $(LIBSRC)/qc LIBSAPIENTSRC = $(LIBSRC)/sapient LIBFRMAPISRC = $(LIBSRC)/frmapi LIBRULEFUNCSSRC = $(LIBSRC)/rulefuncs LIBPRIFUNCSSRC = $(LIBSRC)/prifuncs LIBOCF = $(LIBOCFSRC)/libocf.a LIBSCR = $(LIBSCRSRC)/libscr.a LIBSO = $(LIBSOSRC)/libso.a LIBSAM = $(LIBSAMSRC)/libsam.a LIBSJ = $(LIBSJSRC)/libsj.a LIBGENDB = $(LIBGENDBSRC)/libgendb.a LIBQ = $(LIBQSRC)/libq.a LIBQF = $(LIBQFSRC)/libqf.a LIBQC = $(LIBQCSRC)/libqc.a LIBSAPIENT = $(LIBSAPIENTSRC)/libsapient.a LIBFRMAPI = $(LIBFRMAPISRC)/libfrmapi.a LIBRULEFUNCS = $(LIBRULEFUNCSSRC)/librulefuncs.a LIBPRIFUNCS = $(LIBPRIFUNCSSRC)/libprifuncs.a # # Pride Specific Libraries # # # SCREEN LIBRARIES # # Generic GEN_TOP = $(SCRLIBS)/gen GEN_LIBSRC = $(GEN_TOP)/src GEN_INC = $(GEN_TOP)/include GEN_LIB = $(GEN_LIBSRC)/libgen.a # Standard Costing STD_TOP = $(SCRLIBS)/std STD_LIBSRC = $(STD_TOP)/src STD_INC = $(STD_TOP)/include STD_LIB = $(STD_LIBSRC)/libstd.a # Product Screens PRI_TOP = $(SCRLIBS)/pri PRI_LIBSRC = $(PRI_TOP)/src PRI_INC = $(PRI_TOP)/include PRI_LIB = $(PRI_LIBSRC)/libpri.a # Rules Screens RUL_TOP = $(SCRLIBS)/rul RUL_LIBSRC = $(RUL_TOP)/src RUL_INC = $(RUL_TOP)/include RUL_LIB = $(RUL_LIBSRC)/librul.a # Rule Daemon RD_TOP = $(BATDIR)/rule_daemon RD_LIBSRC = $(RD_TOP)/src RD_INC = $(RD_TOP)/src RD_LIB = $(RD_LIBSRC)/librulefuncs.a # Factory FAC_TOP = $(SCRLIBS)/fac FAC_LIBSRC = $(FAC_TOP)/src FAC_INC = $(FAC_TOP)/include FAC_LIB = $(FAC_LIBSRC)/libfac.a # Parser PRS_TOP = $(LIBSRC)/prs PRS_LIBSRC = $(PRS_TOP)/src PRS_INC = $(PRS_TOP)/src PRS_LIB = $(PRS_LIBSRC)/libprs.a # Usr USR_TOP = $(SCRLIBS)/usr USR_LIBSRC = $(USR_TOP)/src USR_INC = $(USR_TOP)/include USR_LIB = $(USR_LIBSRC)/libusr.a # Label System LAB_TOP = $(SCRLIBS)/lab LAB_LIBSRC = $(LAB_TOP)/src LAB_INC = $(LAB_TOP)/include LAB_LIB = $(LAB_LIBSRC)/liblab.a # # BATCH PROCESSES # # STD Costing STDCST_TOP = $(BATDIR)/stdcost STDCST_LIBSRC = $(STDCST_TOP)/src STDCST_INC = $(STDCST_TOP)/src STDCST_LIB = $(STDCST_LIBSRC)/libstdcost.a # Period Costing PER_TOP = $(BATDIR)/per PER_LIBSRC = $(PER_TOP)/src PER_INC = $(PER_TOP)/src PER_LIB = $(PER_LIBSRC)/libper.a # # Oracle # ORUID = $(PRIDE_USER)/$(PRIDE_PASSWORD) ORVERSION = DBMS_ORA6 ORDIR = /usr/oracle ORBINSRC = $(ORDIR)/bin PCC = $(ORBINSRC)/proc ORLIBSRC = $(ORDIR)/proc/lib ORINCLUDE = $(ORLIBSRC) ORRDBMSLIBDIR = $(ORDIR)/rdbms/lib SQLLIB = $(ORRDBMSLIBDIR)/libsql.a OCIC = $(ORRDBMSLIBDIR)/libocic.a ORALIB = $(ORRDBMSLIBDIR)/libora.a PLSLIB = $(ORRDBMSLIBDIR)/libpls.a KNLLIB = $(ORRDBMSLIBDIR)/libknl.a SQLNET = $(ORRDBMSLIBDIR)/libsqlnet.a OSNTAB = $(ORRDBMSLIBDIR)/osntab.o OTHERORALIBS = -lcl LIBSQL14 = $(ORDIR)/rdbms/lib/libsql14.a OSNTAB = $(ORDIR)/rdbms/lib/osntab.o NETLIBS = $(OSNTAB) $(ORDIR)/rdbms/lib/libsqlnet.a LIBORA = $(ORDIR)/rdbms/lib/libora.a PROLDLIBS = $(LIBSQL14) $(NETLIBS) $(LIBORA) LIBOCIC14 = $(ORDIR)/rdbms/lib/liboci14c.a OCILDLIBS = $(LIBOCIC14) $(NETLIBS) $(LIBORA) OTHERORALIBS = `cat $(ORDIR)/rdbms/lib/sysliblist` ALLORALIBS = $(LIBSQL14) $(LIBOCIC14) $(NETLIBS) $(LIBORA) $(OTHERORALIBS) PCCFLAGS = include=$(ORLIBSRC) ireclen=256 oreclen=256 \ select_error=no sqlcheck=full userid=$(ORUID) \ release_cursor=no hold_cursor=yes maxopencursors=64 \ host=C # # Jam # MACHINE = HP800_8 JAMDIR = /usr/jam JAMLIBSRC = $(JAMDIR)/lib JAMLINK = $(JAMDIR)/link JAMORADBI = $(JAMDIR)/oradbi JAMINCSRC = $(JAMDIR)/include JAMDBI5INIT = $(JAMORADBI)/dbi5init.o LIBJX = $(JAMLIBSRC)/libjx.a LIBJM = $(JAMLIBSRC)/libjm.a LIBSM = $(JAMLIBSRC)/libsm.a JXMAIN = jxmain JMAIN = jmain FUNCLIST = funclist MAINSRC = $(LIBSJSRC) FUNCLISTSRC = $(LIBSJSRC) FUNCLIST_HDIR = ../include # # Utility scripts # MKHFILES = $(SCRIPTSRC)/mkhfiles # 232 IMAKE = $(IMAKESRC)/imake DEPEND = $(DEPENDSRC)/makedepend OCFGENJAMINCLUDES = -I$(LIBOCFSRC) -I$(LIBSCRSRC) -I$(LIBSOSRC) \ -I$(LIBSAMSRC) -I$(LIBSJSRC) GENINCLUDES = -I$(GEN_LIBSRC) -I$(GEN_INC) -I$(LIBGENDBSRC) -I$(LIBQSRC) \ -I$(LIBQFSRC) -I$(LIBQCSRC) -I$(LIBSAPIENTSRC) -I$(LIBOCFSRC) ALLOCFINCLUDES = $(OCFGENJAMINCLUDES) $(GENINCLUDES) ORAINCLUDES = -I$(ORLIBSRC) JAMINCLUDES = -I$(JAMINCSRC) OCFGENJAMLIBS = $(LIBOCF) $(LIBSCR) $(LIBSO) $(LIBSJ) GENLIBS = $(GEN_LIB) $(LIBGENDB) $(LIBQ) \ $(LIBQC) $(LIBQF) $(LIBSAPIENT) $(LIBSAM) ALLOCFLIBS = $(OCFGENJAMLIBS) $(GENLIBS) JAMXLIBS = $(LIBJX) $(LIBJM) $(LIBSM) JAMLIBS = $(LIBJM) $(LIBSM) ORALIBS = $(ALLORALIBS) DEPLIBS = $(ALLOCFLIBS) EXTRA_DEFINES = -D$(MACHINE) -D_HPUX_SOURCE SYS_LIBRARIES = -lm /usr/old/malloc3c.o RELEASE_TOP = /usr/ocf/release/pride REL_ADM = $(RELEASE_TOP)/adm REL_ADMBIN = $(REL_ADM)/bin REL_ADMDOCS = $(REL_ADM)/docs REL_POSTRELEASE = $(REL_ADM)/post_release REL_SETUP_DIR = $(REL_ADM)/setup REL_BAT = $(RELEASE_TOP)/bat REL_MEP = $(REL_BAT)/mep REL_MEP_QF = $(REL_MEP)/qf REL_RD = $(REL_BAT)/rule_daemon REL_STDCOST = $(REL_BAT)/stdcost REL_STORES = $(REL_BAT)/stores REL_BIN = $(RELEASE_TOP)/bin REL_SCREENS = $(RELEASE_TOP)/screens REL_SCHED = $(RELEASE_TOP)/sched REL_CONFIG = $(RELEASE_TOP)/config REL_CONF_JAM = $(REL_CONFIG)/jam REL_CONF_OTHER = $(REL_CONFIG)/other REL_DB = $(RELEASE_TOP)/db REL_DOCS = $(RELEASE_TOP)/docs REL_LOADS = $(RELEASE_TOP)/bin REL_QF = $(RELEASE_TOP)/qf REL_QF_LOADS = $(REL_QF)/load REL_QF_SCREENS = $(REL_BIN) REL_SPOOL = $(RELEASE_TOP)/qf REL_SP_DATA = $(REL_SPOOL)/data REL_SP_LAB = $(REL_SPOOL)/lab REL_SP_MSG = $(REL_SPOOL)/msg # 313 # 329 # 332 # ------------------------------------------------------------------------- # 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 # ------------------------------------------------------------------------- # start of Imakefile SUBDIRS = tab2ctl 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 $(SUBDIRS) ;\ 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 # 904 # ------------------------------------------------------------------------- # dependencies generated by makedepend