# System Commands
CXX		=	CC
CC_FLAGS	=	-rpath /usr/local/lib:/afs/cs/usr/sachdev/lib/@sys -DANSI -g -O

EXT		=	.irix

# System Variables
ARCH		=	irix_cxx4
SYS_INCS	=	-I/usr/local/include \
			-I/usr/include
SYS_LIB_DIRS	=	-L/usr/dt/lib \
			-L/usr/local/lib/X11 \
			-L/usr/local/lib
SYS_LIBS	=	$(SYS_LIB_DIRS) -lsocket -lX11 -lm

# note: even though this make file is for ACIS_VER 210 and AGVER 151, the
# versions have to be defined as 200 and 105 to be consistent with the
# include files.

# Acis3.0 specifics
# Acis3.0 specifics
ACIS30_ARCH	=	sgi_so
ACIS30_MAIN	=	/afs/cs.cmu.edu/project/edrc-codes-2/temp/acis/@sys/omega/lib/acis
ACIS30_INCS	=	\
			-I$(ACIS30_MAIN)/bool3.0	\
			-I$(ACIS30_MAIN)/covr3.0	\
			-I$(ACIS30_MAIN)/cstr3.0	\
			-I$(ACIS30_MAIN)/eulr3.0	\
			-I$(ACIS30_MAIN)/fct3.0		\
			-I$(ACIS30_MAIN)/intr3.0	\
			-I$(ACIS30_MAIN)/kern3.0	\
			-I$(ACIS30_MAIN)/ofst3.0	\
			-I$(ACIS30_MAIN)/swp3.0
 
ACIS30_LIB_DIRS	=	-L$(ACIS30_MAIN)/lib/$(ACIS30_ARCH)

ACIS30_LIBS	= 	-lsweep \
			-loffset \
			-lcover \
			-lfaceter \
			-lboolean \
			-lconstrct \
			-leuler \
			-lintersct \
			-lspline \
			-lkernel

ACIS30_FLAGS	=	-rpath $(ACIS30_MAIN)/lib/$(ACIS30_ARCH) \
			-DPOINT_VERSION=0	\
			-DANSI			\
			-D$(ARCH)		\
			-DNO_DTORS		\
			-DX_WINDOWS		\
			-DMOTIF

ACIS30_LIB_FLAGS =	$(ACIS30_LIB_DIRS) \
			$(ACIS30_LIBS)

# end of Acis3.0

ACIS_LIB_DIRS	=	$(ACIS30_LIB_DIRS)
ACIS_INCS	=	$(ACIS30_INCS)
ACIS_LIBS	=	$(ACIS30_LIB_FLAGS)
ACIS_FLAGS	=	$(ACIS30_FLAGS)

# Inventor variables:
# INVENTOR        =       $(OIVHOME)
INVENTOR        =       /usr
# OPEN_GL		=	$(OGLHOME)
OPEN_GL		=	/usr
INVENTOR_INCS   =       -I$(INVENTOR)/include -I$(OPEN_GL)/include
INVENTOR_LIBS   =       -lGL -lGLU \
			-lInventorXt -lInventor -limage
INVENTOR_LIB_DIRS =	-L$(INVENTOR)/lib -L$(OPEN_GL)/lib

# combine everything
INCS	=	$(TCLTK_INCS) $(SYS_INCS) $(LEDA_INCS) $(ACIS_INCS) \
		$(INVENTOR_INCS) $(LOCAL_INCS)

LIB_DIRS =	$(SYS_LIB_DIRS) $(LEDA_LIB_DIRS) $(ACIS_LIB_DIRS) \
		$(INVENTOR_LIB_DIRS) $(TCLTK_LIB_DIRS) $(LOCAL_LIB_DIRS)

LIBS	=	$(LOCAL_LIBS) $(INVENTOR_LIBS) $(TCLTK_LIBS) \
		$(ACIS_LIBS) $(LEDA_LIBS) $(SYS_LIBS)
