# 
# ========================================================================
# CORAL 
#   Copyright R. Ramakrishnan and The CORAL Group, 
# University of Wisconsin at Madison.
# 1992 All Rights Reserved.
# Version 0.1
# ========================================================================
#
#
#
# ------------------------------------------------------------------------
# CORAL Version 0.1
# RESEARCH SOFTWARE DISCLAIMER -------------------------------------------
# ------------------------------------------------------------------------
#
#    As unestablished, research software, this program is provided free of 
#    charge on an "as is" basis without warranty of any kind, either 
#    express or implied.  Acceptance and use of this program constitutes 
#    the user's understanding that she will have no recourse for any 
#    actual or consequential damages, including, but not limited to, 
#    lost profits or savings, arising out of the use of or inability to 
#    use this program.  
#
# ------------------------------------------------------------------------
# USER AGREEMENT ---------------------------------------------------------
# ------------------------------------------------------------------------
#
#     BY ACCEPTANCE AND USE OF THIS EXPERIMENTAL PROGRAM
#     THE USER AGREES TO THE FOLLOWING:
#
#     a.  This program is provided free of charge for the user's personal, 
#	 non-commercial, experimental use.
#
#     b.  All title, ownership and rights to this program and any copies 
#         remain with the copyright holder, irrespective of the ownership 
#	 of the media on which the program resides.
#
#     c.  The user is permitted to create derivative works to this program.  
#         However, all copies of the program and its derivative works must
#         contain the CORAL copyright notice, the UNESTABLISHED SOFTWARE 
#         DISCLAIMER and this USER AGREEMENT.
#
#     d.  The user understands and agrees that this program and any 
#         derivative works are to be used solely for experimental purposes 
#	 and are not to be sold or commercially exploited in any manner 
#	 WITHOUT EXPRESS WRITTEN PERMISSION.
#
#     e.  We request that the user supply us with a copy of any changes, 
#         enhancements, or derivative works which the user may create,
#	 with the user's permission to redistribute it.
#	 Copies of such material should be sent to:  CORAL@CS.WISC.EDU
#
# -------------------------------------------------------------------------
#
#  File of defaults to be included in all Makefiles
#
#

#
# Change CPlusROOT to the root directory for C++ on your machine
CPlusROOT=/usr/gnu/bin
#
#CPlusROOT=/usr/misc/C++
#

#
# CORAL compiles with g++ and with AT&T C++ versions 2.0 upwards
#
CPlus=g++
CC=gcc
#
#CPlus=CC
#CC=cc
#

#
# We recommend that CORALROOT be specified as an environment variable.
# However, if for some reason it isn't in the environment,
# specify it here, or else the makefiles will not work !
#
#CORALROOT=/var/home/praveen/coral
#

#
# These specify the Exodus source directory and the name of the
# Exodus library. If persistence is not being used, or if Exodus
# has not been installed, use the blank definitions of the two macros
#EXODUS=$(CORALROOT)/exodus
#EXODUS_LIB=$(EXODUS)/libsm_client.a
#
EXODUS=
EXODUS_LIB=
#


#
# Note : provide complete path to scanner
# We _strongly_ recommend that flex version 2.4.6 be used.
#
SCANNER=/u1/coral/flex/mips/bin/flex

#
# For incremental loading of C++ code to work, CORAL must be compiled
# with either the -N flag for DECstations, or the -n flag for SUN4s. If this
# feature is not desired, both can be commented out.
#IMP_OPS= -N
#
#IMP_OPS= -n
#


.SUFFIXES: .C

# Comment this if you want to see how the make proceeds
#.SILENT:
#

#
#  DFLAGS controls conditional compilation:
#    -DDEBUG specifies that code for debugging is included
#    -DDO_TRACE specifies that code for tracing is included
#    -DDO_PROFILE specifies that code for profiling is included
#    -DDO_EXPLAIN includes code for generating info for the Explain tool
#    -DWITH_PERSISTENCE specifies that code for persistent relations is included
#    -DCORAL_FLEX specifies use of flex scanner
#    -DCORAL_LEX specifies use of lex scanner
#
#    WARNING:: either -DCORAL_FLEX or -DCORAL_LEX must be specified. We strongly
#    recommend that flex be used.
#
#    make sure that lex/flex is in your current path
#
#    set the WITH_PERSISTENCE flag only if Exodus is installed !
#
#
#    default set of flags
#
#	-g 
#	-DDEBUG 
#	-DWITH_PERSISTENCE

DFLAGS= \
	-O \
	-DDO_EXPLAIN \
	-DDO_PROFILE \
	-DDO_TRACE \
	-DCORAL_FLEX

#    end of make_include


