2001-01-11 00:32:10 +08:00
|
|
|
MAKEDIR = $(OSGHOME)/Make
|
|
|
|
INSTRULES = $(MAKEDIR)/instrules
|
|
|
|
MAKEDEPEND = Makedepend
|
2001-10-24 06:08:02 +08:00
|
|
|
OBJS = $(C++FILES:.cpp=.o) $(CFILES:.c=.o) $(YACCFILES:.y=.o) $(LEXFILES:.l=.o)
|
2001-01-11 00:32:10 +08:00
|
|
|
|
|
|
|
DEPFILES = $(OBJS:.o=.d)
|
|
|
|
|
|
|
|
|
2001-10-24 06:59:54 +08:00
|
|
|
C++ = g++
|
|
|
|
YFLAGS = -d
|
2001-01-11 00:32:10 +08:00
|
|
|
LCINCS += -I/usr/X11R6/include
|
|
|
|
LC++INCS += ${LCINCS}
|
2002-04-01 00:40:44 +08:00
|
|
|
CFLAGS = -O2 -W -Wall $(LCINCS)
|
|
|
|
#CFLAGS = -g -DOSG_USE_MEMORY_MANAGER -W -Wall $(LCINCS)
|
2001-10-24 06:59:54 +08:00
|
|
|
C++FLAGS = ${CFLAGS}
|
|
|
|
CPPFLAGS = ${CFLAGS}
|
2001-01-11 00:32:10 +08:00
|
|
|
|
2002-01-04 07:28:54 +08:00
|
|
|
SO_EXT = so
|
2002-01-16 20:08:29 +08:00
|
|
|
DL_EXT = so
|
2002-01-04 07:28:54 +08:00
|
|
|
|
2002-04-01 00:40:44 +08:00
|
|
|
LDFLAGS = -O2 -W -Wall -L/usr/X11R6/lib
|
|
|
|
#LDFLAGS = -g -W -Wall -L/usr/X11R6/lib
|
2001-01-11 00:32:10 +08:00
|
|
|
|
2001-10-24 07:15:40 +08:00
|
|
|
LINKERARGS = -Xlinker
|
2001-09-20 05:08:56 +08:00
|
|
|
DYNAMICLIBRARYLIB = -ldl
|
2001-10-24 06:59:54 +08:00
|
|
|
PFLOADERPATH = /usr/lib/libpfdb
|
2001-10-18 06:17:23 +08:00
|
|
|
|
2001-09-20 05:08:56 +08:00
|
|
|
GLUTLIB = -lglut
|
2002-01-04 07:28:54 +08:00
|
|
|
GL_LIBS = -lGLU -lGL -lm
|
|
|
|
X_LIBS = -lXmu -lX11 -lXi
|
2001-01-11 00:32:10 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# TARGET_DIRS are directories that would not exist on the system except
|
|
|
|
# for the presence of OpenSceneGraph. 'make instclean' removes these
|
|
|
|
# directories
|
|
|
|
#
|
|
|
|
TARGET_DIRS = \
|
|
|
|
/usr/include/osg \
|
2001-09-20 05:08:56 +08:00
|
|
|
/usr/include/osgDB \
|
|
|
|
/usr/include/osgGLUT \
|
2001-01-11 00:32:10 +08:00
|
|
|
/usr/include/osgUtil \
|
2001-11-03 04:11:37 +08:00
|
|
|
/usr/include/osgText \
|
2001-01-11 00:32:10 +08:00
|
|
|
/usr/share/OpenSceneGraph\
|
|
|
|
/usr/share/OpenSceneGraph/data\
|
|
|
|
/usr/share/OpenSceneGraph/data/Images\
|
|
|
|
/usr/share/OpenSceneGraph/data/Test\
|
|
|
|
/usr/lib/osgPlugins\
|
|
|
|
|
|
|
|
|
|
|
|
TARGET_BIN = /usr/bin
|
|
|
|
TARGET_LIB = /usr/lib
|
|
|
|
TARGET_INCLUDE = /usr/include
|
|
|
|
TARGET_DATA = /usr/share/OpenSceneGraph/data
|
|
|
|
|
|
|
|
#
|
|
|
|
# This definitions are necessary for IRIX. The following statement
|
|
|
|
# does not work for smake using a sh:
|
|
|
|
#
|
|
|
|
# for variable in $(LIST); do ...; done
|
|
|
|
#
|
|
|
|
# .. if $(LIST) is a NULL variable. So we have to define 0 length
|
|
|
|
# strings and check for them inside the for loop
|
|
|
|
#
|
|
|
|
|
|
|
|
TARGET_LIB_FILES = ""
|
|
|
|
TARGET_BIN_FILES = ""
|
|
|
|
TARGET_INCLUDE_FILES = ""
|
|
|
|
TARGET_DATA_FILES = ""
|
|
|
|
TARGET_LOADER_FILES = ""
|