Various changes to the BUILD system:

o Object files now go in subdirectories named $(OS)$(ARCH).Opt and
       $(OS)$(ARCH).Debug for OS's that support both architectures.
          eg.  Linux32.Opt and Linux32.Debug

     o Libraries links are now placed in lib/$(OS)$(ARCH)
          eg.  lib/Linux32/

     o Binaries are now placed in bin/$(OS)$(ARCH)
          eg. bin/Linux32

     o 'make install' and 'make instlinks' now place files/links in
       /usr/local/{include,lib,share/OpenSceneGraph} by default on
       most systems (Solaris still goes in /opt/OpenSceneGraph).
       Rather than having the somwehat confusing INST_SYS_PREFIX and
       INST_SHARE_PREFX, you can override these with just
            INST_LOCATION
       For example,
             make INST_LOCATION=/usr
       will place files at /usr/include, /usr/lib,
       /usr/share/OpenSceneGraph.
This commit is contained in:
Don BURNS
2003-03-13 02:53:40 +00:00
parent 7439d7bb58
commit 693a889ece
50 changed files with 269 additions and 286 deletions

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osganimate

View File

@@ -9,7 +9,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgbillboard

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgcallback

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgclip

View File

@@ -16,7 +16,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(SOCKET_LIBS) $(OTHER_
INSTFILES = \
$(CXXFILES)\
$(HEADERFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgcluster

View File

@@ -13,7 +13,7 @@ LIBS += -losg -losgUtil -losgDB $(GL_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
$(HEADERFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgconv

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgcopy

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgcube

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgcubemap

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osggeodemo

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osggeometry

View File

@@ -23,7 +23,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
$(HEADERFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osghangglide

View File

@@ -9,7 +9,7 @@ LIBS += -losgText $(OSG_LIBS) -L/usr/local/lib $(FREETYPE_LIB) $(GLUT_LIB) $
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osghud

View File

@@ -9,7 +9,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgimpostor

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osglight

View File

@@ -8,7 +8,7 @@ LIBS += -losgSim $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osglightpoint

View File

@@ -8,7 +8,7 @@ LIBS += -losgText $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osglogo

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgmultitexture

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgoccluder

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS) -losgPart
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgparticle

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgprerender

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgreflect

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgscribe

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgsequence

View File

@@ -9,7 +9,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgshadowtexture

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgshape

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgstereoimage

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgteapot

View File

@@ -9,7 +9,7 @@ LIBS += -losgText $(OSG_LIBS) -L/usr/local/lib $(FREETYPE_LIB) $(GLUT_LIB) $
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgtext

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgtexture1D

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgtexture2D

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgtexture3D

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgunittests

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgversion

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgvertexprogram

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = osgviews

View File

@@ -8,7 +8,7 @@ LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
GNUmakefile.inst=GNUmakefile
EXEC = sgv