# Entering loc_rdbms.mk

# Entering /port1/src733/buildtools/prefix.mk

# Entering /port1/src733/buildtools/rules.mk
 
# Exiting /port1/src733/buildtools/rules.mk
# Entering /port1/src733/buildtools/defs.mk

AR=/bin/idar

ARCREATE=$(AR) cr$(ARLOCAL)

COMP=/lib/idcomp

ARDELETE= $(AR) d$(ARLOCAL)

AREXTRACT = $(AR) x 

ARREPLACE = $(AR) r 

COPY=cp

LDFLAGS =-o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME) 

LIBHOME=$(ORACLE_HOME)/lib

BINHOME=$(ORACLE_HOME)/bin


LDCCOM= $(CC) $(GFLAG) $(CCFLAGS) $(LDFLAGS)

MOVE=mv

REMOVE=rm -f 

SHELL=/bin/sh

TOUCH=touch

CD = cd

LN = ln

CAT = cat

ECHO = echo

CHMOD = chmod

RM = rm

CP = cp

MV = mv

I_SYM=-I

SILENT=@

CFLAGS= $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS)

PFLAGS= $(INCLUDE) $(SPFLAGS) $(LPFLAGS)

TTLIBS=$(NETLIBS) $(LLIBORA) $(NETLIBS) $(LLIBORA) $(LIBPLSHACK) \
	$(LLIBEPC) $(LLIBTRACE) $(CORELIBS) $(LDLIBS) `cat $(ORACLE_HOME)/rdbms/lib/sysliblist` $(MATHLIB)
DEVTTLIBS=$(TTLIBS)

TTLIBD=$(NETLIBD) $(LIBORA) $(LIBSQLNET) $(LIBORA) \
	$(CORELIBD) $(LIBEPC)


CLIBS=$(LOCALLIBS) $(EXOSLIBS) $(LIBBSD) $(OTHERLIBS) $(SECLIBS) $(M6LIBS)

LDLIBS=$(SPLIBS) $(CLIBS) $(MATHLIB)

SPLIBS=

MATHLIB=-lm

LOCALLIBS=

# Exiting /port1/src733/buildtools/defs.mk
# Entering /port1/src733/buildtools/platform.mk


PLATFORM = sco_unix

LLTHREAD=

SMPWCF=smpwcf.c

BUILD_VIEW=sdview
SDVIEW_SETUP=sdview_setup
VIEWDIR=view


LKLIBS=$(ORACLE_HOME)/rdbms/lib/libstublm.a
LIBSTUBLKMGR= $(ORACLE_HOME)/rdbms/lib/libstublm.a
GUILIBHOME=/usr/lib
MOTIFHOME=/usr/X/lib
XLIBS=-L/usr/X/lib -lXaw -lXt -lXmu -lX11 -lPW -lpt -lm
MOTIFLIBS=-L$(MOTIFHOME)/lib -lXm -lXt -lXmu -lX11 -lnsl -lm
MOTIFINCLUDE=$(I_SYM)/usr/include/Xm $(I_SYM)/usr/include/X11
SYSTEMLIBS = $(LKLIBS) -lsocket -lnsl -lm -ldl $(LLAIO) 
PLLIBS = -lc

PL_FLAGS =

OTHERLIBS = `cat $(ORACLE_HOME)/rdbms/lib/sysliblist` $(LLAIO)

ROFLAGS=-c
DEFAULTCCFLAGS= $(CCFLAGS)



CPP=/lib/cpp

OPTIMIZE2=
OPTIMIZE4=
OPTIMIZE=$(OPTIMIZE2)

SPFLAGS=

ARLOCAL=

ASFLAGS=


COMPO2=$(subst -xO4,-xO2,$(COMPO))
MAKE_LIB_OBJ_O2=$(COMPO2) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPXA=$(subst -Xc,-Xa,$(COMPO))
MAKE_LIB_OBJ_XA=$(COMPXA) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPXA2=$(subst -xO4,-xO2,$(COMPXA))
MAKE_LIB_OBJ_XA2=$(COMPXA2) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPXANO=$(subst -xO2,,$(COMPXA))
MAKE_LIB_OBJ_XANO=$(COMPXANO) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPNO=$(subst -xO2,,$(COMPO))
MAKE_LIB_OBJ_NO=$(COMPNO) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPXANO=$(subst -xO2,,$(COMPXA))
MAKE_LIB_OBJ_XANO=$(COMPXANO) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPRO2=$(subst -xO4,-xO2,$(COMPRO))
MAKE_LIB_OBJ_RO2=$(COMPRO2) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPRONO=$(subst -xO2,-x02,$(COMPRO))
MAKE_LIB_OBJ_RONO=$(COMPRONO) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPDNO=$(CC) -c -Xc $(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS) -DDEBUG $<
MAKE_LIB_OBJ_DNO=$(COMPDNO) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPXADNO=$(CC) -c -g -Usun -Xa -mr -K PIC $(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS) -DDEBUG $<
MAKE_LIB_OBJ_XA_DNO=$(COMPXADNO) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)


ASROFLAGS=$(ASFLAGS)
ASRO= $(AS) $(ASROFLAGS) $(MAKERO) $<

ASPFLAGS = -P $(PFLAGS)

CC=cc

COMPRO= $(CC) $(ROFLAGS) $(CFLAGS) $(MAKERO) $<

COMPRONO= $(CC) $(ROFLAGS) $(CDEBUG) $(CCFLAGS) $(PFLAGS) $(MAKERONO)

LD=/bin/idld

LDPFLAGS= -o $@ -p $(PRODUCT_LIBHOME) -L$(LIBHOME)
LDGPFLAGS= -o $@ -pg $(PRODUCT_LIBHOME) -L$(LIBHOME)
LDFLAGS= -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME)

LCOMPO= $(CC) -c $(CFLAGS) $? ; mv `basename $@` $@

LCOMPD= $(CC) -c $(CFLAGS) -DDEBUG $? ; mv `basename $@` $@

LCOMPS= $(CC) -S $(CFLAGS) $? ; mv `basename $@` $@

LCOMPNO= $(CC) -c $(PFLAGS) $(CCFLAGS) $? ; mv `basename $@` $@

SO=a

SPFLAGS=

EXOSLIBS=
LIBBSD=
SECLIBS=
M6LIBS=

PERL = perl

MKCUST_TARGET = mkcustinclude

USE_GENROFIX=yes

BUGDB_PORT=28

LINK=/bin/idld $(COMPOBJS)

CUS_PLFRM=$(ORACLE_HOME)/buildtools/cus_plfrm.mk
# Exiting /port1/src733/buildtools/platform.mk
# Exiting /port1/src733/buildtools/prefix.mk
# Entering /port1/src733/oracore3/oracore3.mk

COREHOME= $(ORACLE_HOME)/oracore3

LIBCORE= $(LIBHOME)/libcore3.$(SO)
LIBCV6= $(LIBHOME)/libc3v6.$(SO)
LLIBCORE= -lcore3
LLIBCV6= -lc3v6


COREPUBLIC=$(I_SYM)$(COREHOME)/public
COREINCLUDE=$(I_SYM)$(COREHOME)/include $(COREPUBLIC)

CORELIBD=$(LIBNLSRTL) $(LIBCV6) $(LIBCORE) $(LIBNLSRTL) $(LIBCORE) $(LIBNLSRTL)
CORELIBS=$(LLIBNLSRTL) $(LLIBCV6) $(LLIBCORE) $(LLIBNLSRTL) $(LLIBCORE) $(LLIBNLSRTL)

# Exiting /port1/src733/oracore3/oracore3.mk
# Entering /port1/src733/nlsrtl3/nlsrtl3.mk

NLSRTLHOME= $(ORACLE_HOME)/nlsrtl3

ORA_NLS = $(ORACLE_HOME)/ocommon/nls/admin/data

NLSRTLLIB= -lnlsrtl3
LIBNLSRTL= $(LIBHOME)/libnlsrtl3.$(SO)
SHAREDLIBNLSRTL = $(LIBHOME)/libnlsrtl3.so.3.2
ARCSHAREDLIBNLSRTL = $(LIBHOME)/libnlsrtl3.sa.3.2
LLIBNLSRTL=-lnlsrtl3
NLSRTLPUBLIC = $(I_SYM)$(NLSRTLHOME)/public
NLSRTLINCLUDE = $(I_SYM)$(NLSRTLHOME)/include $(NLSRTLPUBLIC)
# Exiting /port1/src733/nlsrtl3/nlsrtl3.mk
# Entering /port1/src733/network/network.mk

# Entering /port1/src733/network/platform.mk

NETLIBHOME=$(NETHOME)/lib
SITESRC=$(ORACLE_HOME)/oratcl

OSN_USE_FTT=-DOSN_USE_FTT

NTCONTAB=ntcontab.s
NNFGT=nnfgt.s
NAUTAB=nautab.s
GENNT=oratmp1

TNCR_SRC=tncr.c
TNCRTARG=tncr.i
TNCR_OUT=tncr.i
TNCR_TEST=tncr.tsc
TNCRFLT_SRC=tncrflt.c
TNCRFLTTARG=tncrflt.i
TNCRFLT_OUT=tncrflt.i
TNCRFLT_TEST=tncrflt.tsc

LIBNTTCP= $(NETLIBHOME)/libnttcp.a
TCP=ntt
TCPINS=tcppa
NTTCPFLAG=-DNTUSETCP



LIBNTIS= $(NETLIBHOME)/libntis.a
LIBNTTLI = $(NETLIBHOME)/libnttli.a
ISPX=yes
SPXINS=spxpa
TLISPXDMN=ntisbsdm
TLISPXCTL=ntspxctl
GTLI=nttli
NTSPXFLAG=-DNTUSEISPX
NWINCLUDE=$(I_SYM)/usr/include/sys/ipx









SNMP_NONE=yes
SNMPAGENTTESTEXECS = nmdtest nmdtrap
SNMPAUX=nmd
SNMPFLAG=-DORACLE_SNMP_NONE


LIBTCL=$(NETLIBHOME)/libtcl.a
DBSNMP= dbsnmp
TCLSHDEBUG= oratclsh
OEMEVENT=oemevent
AGENTTESTEXECS= nmitest nmitestd nmiqtest nmitclsh nmieutest
AGENT=nmi
AGENTINS=snmp
TCLFLAGS= -DVERSION7 -DHAVE_UNISTD_H=1 -DNO_FLOAT_H=1 -DNO_STDLIB_H=1 -DNO_STRING_H=1 -DNEED_MATHERR=1
TCLINCLUDE=$(I_SYM)$(SITESRC)/include

NAMESRC=nnfo.c
NAMES=names
NAMESCTL=namesctl
TNNFGNAMES=tnnfgn
NAMESRV=nno
NCTL=nncc
NAMESINS=names
NAMESFLAG=-DNNFG_USEONAMES





# Exiting /port1/src733/network/platform.mk

NETHOME=$(ORACLE_HOME)/network
NETINCLUDE= $(I_SYM)$(NETHOME)/public $(I_SYM)$(NETHOME)/include

OSNCON     = $(NETHOME)/lib/osncon.o 
OSNTTC     = $(NETHOME)/osn/osnttc.o
OSNREP     = $(NETHOME)/osn/osnrep.o 
SNLPTDUM   = $(NETLIBHOME)/snlptdum.o
NAETAB     = $(NETLIBHOME)/naeet.o $(NETLIBHOME)/naect.o

OSNTAB = $(ORACLE_HOME)/lib/osntab.o
OSNTABST = $(ORACLE_HOME)/lib/osntabst.o
NTCONTAB= $(LIBHOME)/ntcontab.o

LIBSQLNET=$(LIBHOME)/libsqlnet.a
LIBRPC=$(LIBHOME)/libncr.a
LIBTNSAPI=$(LIBHOME)/libtnsapi.a
LLIBSQLNET=-lsqlnet
LLIBRPC=-lncr
LLIBTNSAPI=-ltnsapi
LIBMIGV1=$(ORACLE_HOME)/network/lib/libmigv1.a
NETLIBD= $(LIBSQLNET) $(LIBRPC)
NETLIBS= $(LLIBSQLNET) $(LLIBRPC) $(LLIBSQLNET)

# Exiting /port1/src733/network/network.mk
# Entering /port1/src733/plsql/plsql.mk

PLSHOME=$(ORACLE_HOME)/plsql
PLSQL_ROOT=$(PLSHOME)



LLIBAPPS = -lapps
LLIBCOG = -lcog
LLIBCOX = -lcox
LLIBIDL = -lidl
LLIBKNLDE = -lknlde
LLIBPKG = -lpkg
LLIBPLS = -lpls
LLIBSEM = -lsem
LLIBSYN = -lsyn

LIBAPPS = $(LIBHOME)/libapps.a
LIBCOG = $(LIBHOME)/libcog.a
LIBCOX = $(LIBHOME)/libcox.a
LIBIDL = $(LIBHOME)/libidl.a
LIBKNLDE = $(LIBHOME)/libknlde.a
LIBPKG = $(LIBHOME)/libpkg.a
LIBPLS = $(LIBHOME)/libpls.a
LIBSEM = $(LIBHOME)/libsem.a
LIBSYN = $(LIBHOME)/libsyn.a


PLSQLLIBS=$(LIBAPPS) $(LIBCOG) $(LIBCOX) $(LIBIDL) $(LIBKNLDE) \
        $(LIBPKG) $(LIBPLS) $(LIBSEM) $(LIBSYN)

LLIBPLSQL=$(LLIBAPPS) $(LLIBCOG) $(LLIBCOX) $(LLIBIDL) $(LLIBKNLDE) \
        $(LLIBPKG) $(LLIBPLS) $(LLIBSEM) $(LLIBSYN)

# Exiting /port1/src733/plsql/plsql.mk
# Entering /port1/src733/slax/slax.mk
SLAXHOME=$(ORACLE_HOME)/slax
SLAXINCLUDE=$(I_SYM)$(SLAXHOME)/include

LLIBSLAX=-lslax

LIBSLAXD=$(LIBHOME)/libslax.a
# Exiting /port1/src733/slax/slax.mk
# Entering /port1/src733/precomp/precomp.mk

PRECOMPHOME=$(ORACLE_HOME)/precomp
PRECOMPPUBLIC=$(I_SYM)$(PRECOMPHOME)/public


LLIBSQL=-lsql

LIBSQLD=$(LIBHOME)/libsql.a

PROADA = proada
PROCOB = procob
PROC16 = proc16
PROFOR = profor
PROPAS = propas
PROPLI = propli
PROC = proc
MODC = modc
MODADA = modada
RTSORA = rtsora

# Exiting /port1/src733/precomp/precomp.mk
# Entering /port1/src733/otrace/otrace.mk


TRACEHOME= $(ORACLE_HOME)/otrace

LIBEPC= $(LIBHOME)/libepc.$(SO)
LLIBEPC= -lepc
LIBEPCFE= $(LIBHOME)/libepcfe.$(SO)
LLIBEPCFE= -lepcfe
LIBEPCPT=$(LIBHOME)libepcpt.$(SO)
LLIBEPCPT= -lepcpt

LLIBTRACE= $(LLIBEPC) $(LLIBEPCPT)


TRACEPUBLIC=$(I_SYM)$(TRACEHOME)/public
TRACEINCLUDE=$(I_SYM)$(TRACEHOME)/include $(TRACEPUBLIC)

# Exiting /port1/src733/otrace/otrace.mk
# Entering /port1/src733/icx/icx.mk
ICXHOME=$(ORACLE_HOME)/icx


LLIBICX = -licx

LIBICX=$(ICXHOME)/lib/libicx.a
LIBICXD=$(ORACLE_HOME)/lib/libicx.a
LIBICXS=$(LLIBICX)

ICXLIBS=$(LIBICX)

LLIBSICX=$(LLIBICX)

# Exiting /port1/src733/icx/icx.mk
# Entering /port1/src733/owsutl/owsutl.mk
OWSUTLHOME=$(ORACLE_HOME)/owsutl
 
 
LLIBOWSUTL = -lndw1
 
LIBOWSUTL=$(OWSUTLHOME)/lib/libndw1.a
LIBOWSUTLD=$(ORACLE_HOME)/lib/libndw1.a
LIBOWSUTLS=$(LLIBOWSUTL)
 
OWSUTLLIBS=$(LIBOWSUTL)
 
LLIBSOWSUTL=$(LLIBOWSUTL)
 
# Exiting /port1/src733/owsutl/owsutl.mk

# Entering /port1/src733/rdbms/rdbms.mk

RDBMSHOME=$(ORACLE_HOME)/rdbms
RDBMS_ROOT=$(RDBMSHOME)
RDBMSPUBLIC=$(I_SYM)$(RDBMSHOME)/public $(I_SYM)$(RDBMSHOME)/include

SYSLIBLIST = $(RDBMS_ROOT)/lib/sysliblist

PLS_ON = $(RDBMS_ROOT)/lib/kkxwtp.o
MTS_ON = $(RDBMS_ROOT)/lib/kmc.o \
	$(RDBMS_ROOT)/lib/kmd.o \
	$(RDBMS_ROOT)/lib/kmm.o \
	$(RDBMS_ROOT)/lib/kmn.o

PQO_ON  =$(RDBMS_ROOT)/lib/kxfo.o
DDB_ON  =$(RDBMS_ROOT)/lib/ktd.o
REP_ON = $(RDBMS_ROOT)/lib/kkzo.o

PLS_OFF = $(RDBMS_ROOT)/lib/kkxntp.o

LIBCLIENT=$(ORACLE_HOME)/lib/libclient.a
LLIBCLIENT=-lclient

LIBSERVER=$(ORACLE_HOME)/lib/libserver.a
LLIBSERVER=-lserver

LIBGENERIC=$(ORACLE_HOME)/lib/libgeneric.a
LLIBGENERIC=-lgeneric

LIBCOMMON=$(ORACLE_HOME)/lib/libcommon.a
LLIBCOMMON=-lcommon

LIBIMP=$(RDBMSHOME)/lib/libimp.a
LLIBIMP=-limp

LIBEXP=$(RDBMSHOME)/lib/libexp.a
LLIBEXP=-lexp

LIBSTUB=$(RDBMSHOME)/lib/libstublm.a
LLIBSTUB=$(RDBMSHOME)/lib/libstublm.a

LDLIBS=-lld

LIBORA=$(LIBCLIENT) $(LIBCOMMON) $(LIBGENERIC) $(LIBSTUB)  $(LMLIBS)
LLIBORA=$(LLIBCLIENT) $(LLIBCOMMON) $(LLIBGENERIC) $(LLIBSTUB) $(LDLIBS)

# Exiting /port1/src733/rdbms/rdbms.mk

PRODUCT=rdbms
LIBKNLOPT=$(RDBMSHOME)/lib/libknlopt.a
LLIBKNLOPT=-lknlopt

SOMAIN= $(LIBHOME)/s0main.o

PROCOPT= kkxwtp.o
DDBOPT= ktd.o
PARROPT= kcsm.o
PQOPT= kxfo.o
REPOPT= kkzo.o
SDOPT= kxmwsd.o
SCAFOPT = kksdopt.o
BMIOPT= kkrbp.o
NO_PROCOPT= kkxntp.o
NO_DDBOPT= ksnktd.o
NO_PARROPT= ksnkcs.o
NO_PQOPT= ksnkxf.o
NO_REPOPT= ksnkkz.o
NO_SDOPT= kxmnsd.o
NO_SCAFOPT= kksdnop.o
NO_BMIOPT= ksnkkrb.o

# Exiting loc_rdbms.mk
# Entering osd_rdbms.mk

KSMSS=ksms.s
KSMS=ksms.o
RANLIBKNLOPT=
RANLIBORA=
OTHERST=
PSOLIBS=
DUMPSOLIBS=-lstublm
GENARGS=
LDFLAGS_ORA=
LIBLISTRDBMS=
RDBMSLIBS= $(LLIBSERVER) $(LLIBORA) $(LLIBKNLOPT) $(LLIBSLAX) $(LLIBPLSQL) \
	$(LLIBSERVER) $(LLIBORA) $(LLIBKNLOPT) $(LLIBSLAX) $(LLIBPLSQL) \
	$(LLIBSERVER) $(LLIBPLSQL) $(LLIBSLAX) $(LLIBPLSQL)
PLSPECFILES=
STLIBS= $(CONFIG) $(OSNTABST) $(RDBMSLIBS) $(LLIBICX) $(LLIBOWSUTL) \
	$(PLSPECFILES) $(NETLIBS) \
	$(LLIBORA) $(NETLIBS) $(CORELIBS) $(LIBEPC) $(SDOLIBS) $(LLIBPSO) \
	$(LDLIBS)
LLAIO=-lsuds

$(KSMS): $(KSMSS)
	/bin/idas -o $(KSMS) $(KSMSS)
	chmod 644 $(LIBSERVER)
	$(ARREPLACE) $(LIBSERVER) $(KSMS) $(RANLIBORA)

$(KSMSS): $(ORACLE_HOME)/bin/genksms
	$(ORACLE_HOME)/bin/genksms > $(KSMSS)

$(CONFIG): config.c
	/lib/idcpp config.c oratmp.c 
	$(COMP) -i oratmp.c -o oratmp.s -f config.c
	/bin/idas -o config.o oratmp.s
	/bin/rm -f oratmp.c oratmp.s

# Exiting osd_rdbms.mk
# Entering /port1/src733/buildtools/cus_plfrm.mk

COMPOBJ=$(ORACLE_HOME)/lib
COMPOBJS=/usr/ccs/lib/crt1.o /usr/ccs/lib/values-Xa.o /usr/ccs/lib/crtn.o
 
LDSTRING=
OTHERLIBS= `cat $(ORACLE_HOME)/rdbms/lib/sysliblist` $(LDSTRING)
DEVTTLIBS=$(NETLIBS) $(LLIBORA) $(NETLIBS) $(LLIBORA) $(LIBPLSHACK) \
	$(LLIBEPC) $(CORELIBS) $(SPLIBS) $(LOCALLIBS) $(EXOSLIBS) $(LIBBSD) `cat $(ORACLE_HOME)/rdbms/lib/sysliblist`  $(SECLIBS) $(M6LIBS) $(MATHLIB)




# Exiting /port1/src733/buildtools/cus_plfrm.mk
