Submission from Sean Spicer which adds Make/makedefs.irix.std.64 which
compiles the OSG as 64bit. Small changes by Robert to accomodate recent MacOSX makefile changes.
This commit is contained in:
70
Make/makedefs.irix.std.64
Normal file
70
Make/makedefs.irix.std.64
Normal file
@@ -0,0 +1,70 @@
|
||||
MAKEDIR = $(OSGHOME)/Make
|
||||
INSTRULES = $(MAKEDIR)/instrules
|
||||
MAKEDEPEND = Makedepend
|
||||
OBJS = $(C++FILES:.cpp=.o) $(CFILES:.c=.o) $(YACCFILES:.y=.o) $(LEXFILES:.l=.o)
|
||||
|
||||
DEPFILES = $(OBJS:.o=.d)
|
||||
|
||||
|
||||
C++ = CC
|
||||
YFLAGS = -d
|
||||
#CFLAGS = -O2 64 -MDupdate $(MAKEDEPEND) -LANG:std -OPT:Olimit=0 -DEBUG:woff=1682 -DEBUG:woff=3303
|
||||
CFLAGS = -O2 -64 -LANG:std -OPT:Olimit=0 -DEBUG:woff=1682 -DEBUG:woff=3303
|
||||
C++FLAGS = ${CFLAGS}
|
||||
CPPFLAGS = ${CFLAGS}
|
||||
|
||||
SO_EXT = so
|
||||
DL_EXT = so
|
||||
|
||||
LDFLAGS = -O2 -64 -LANG:std -OPT:Olimit=0
|
||||
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(C++) $(C++FLAGS) -c $<
|
||||
|
||||
LINKERARGS =
|
||||
DYNAMICLIBRARYLIB =
|
||||
PFLOADERPATH = /usr/lib32/libpfdb
|
||||
GLUTLIB = -lglut
|
||||
GL_LIBS = -lGLU -lGL -lm
|
||||
X_LIBS = -lXmu -lX11 -lXi
|
||||
|
||||
#
|
||||
# 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 \
|
||||
/usr/include/osgDB \
|
||||
/usr/include/osgGLUT \
|
||||
/usr/include/osgUtil \
|
||||
/usr/include/osgText \
|
||||
/usr/share/OpenSceneGraph\
|
||||
/usr/share/OpenSceneGraph/data\
|
||||
/usr/share/OpenSceneGraph/data/Images\
|
||||
/usr/share/OpenSceneGraph/data/Test\
|
||||
/usr/lib32/osgPlugins\
|
||||
|
||||
|
||||
TARGET_BIN = /usr/bin
|
||||
TARGET_LIB = /usr/lib32
|
||||
TARGET_INCLUDE = /usr/include
|
||||
TARGET_DATA = /usr/share/OpenSceneGraph/data
|
||||
TARGET_LOADER_LIB = /usr/lib/osgPlugins
|
||||
|
||||
#
|
||||
# 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 = ""
|
||||
8
Makefile
8
Makefile
@@ -62,6 +62,12 @@ irix:
|
||||
ln -sf makerules.irix makerules
|
||||
$(MAKE)
|
||||
|
||||
irix64:
|
||||
cd Make;\
|
||||
ln -sf makedefs.irix.std.64 makedefs ;\
|
||||
ln -sf makerules.irix makerules
|
||||
$(MAKE)
|
||||
|
||||
irix.old:
|
||||
cd Make;\
|
||||
ln -sf makedefs.irix.nonstd makedefs ;\
|
||||
@@ -101,7 +107,7 @@ clean : $(MAKE_PREP)
|
||||
clobber : $(MAKE_PREP) clean
|
||||
for f in $(DIRS) ; do cd $$f; $(MAKE) clobber; cd ..; done
|
||||
rm -f $(MAKE_PREP)
|
||||
|
||||
|
||||
depend : $(MAKE_PREP)
|
||||
for f in $(DIRS) ; do cd $$f; $(MAKE) depend; cd ..; done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user