
Installgen
Features and Benefits
Installgen
Demo Available for download...

# ********** Note: This file is currently a placeholder file
# ********** in preparation for Oracle's correction of
# ********** bug id#s 2269576, 2248392, 2258652 (unpublished).
# ********** Additionally, RMAN 10031 errors have been observed after running
# ********** catproc.sql while native PL/SQL compilation is active (bug id# 2383726).
# file: spnc_makefile.mk (renamed from 63_sol_901_spnc_makefile.mk)
# Features: This makefile along with the appropriate init.ora parameters
# enables the Oracle database to compile PL/SQL code into native
# machine code.
#
# Script Sequence#: 63
# Used By: Oracle database
# Usage: Requires parameter setup within init.ora file.
# Copyright 2002 by .com Solutions Inc.
#
# ---------------------- Revision History ---------------
# Date By Changes
# 12-23-2001 dsimpson Initial Release
# 05-22-2002 dsimpson Added comments about unfixed Oracle issues
# to the header section, disabled use of native
# compiling in init.ora too.
# This output file was created by Installgen version 1.38 on Sun Nov 10 14:51:56 2002. By .com Solutions Inc. www.dotcomsolutionsinc.net
I_SYM=-I
PLSQLHOME=$(ORACLE_HOME)/plsql/
# PLSQL include
PLSQLINCLUDE=$(PLSQLHOME)include/
PLSQLINCLUDEH=$(I_SYM)$(PLSQLINCLUDE)
# PLSQL public
PLSQLPUBLIC=$(PLSQLHOME)public/
PLSQLPUBLICH=$(I_SYM)$(PLSQLPUBLIC)
#
# File extensions
#
SO_EXT=so
OBJ_EXT=o
SRC_EXT=c
#
# C compiler flags
#
#optimize for gcc
OPTIMIZE=-O1
#PIC option for gcc
PIC=-fpic
INCLUDE=$(PLSQLINCLUDEH) $(PLSQLPUBLICH)
PFLAGS=$(INCLUDE)
CFLAGS=$(OPTIMIZE) $(PFLAGS) $(PIC)
RM=/usr/bin/rm -f
#
# Specify C Compiler
#
CC=/usr/local/bin/gcc
#
# Compile Rule
#
COMPO=$(CC) $*.$(SRC_EXT) -c -o $*.$(OBJ_EXT) $(CFLAGS)
COMPILE.c=COMPO
#
# Specify Linker and Linker flags
#
LD=/usr/local/bin/ld
LDFLAGS=-G -o $@
SO_COMMAND=$(LD) $(LDFLAGS) $(SHARED_CFLAG) $*.$(OBJ_EXT)
.SILENT:
#
# To create shared libraries
#
%.$(SO_EXT): FORCE
$($(COMPILE.c))
$(SO_COMMAND)
$(RM) -f $*.$(SRC_EXT) $*.$(OBJ_EXT)
FORCE:

