Checking in all Makefile.inst in src/Demos/*. These are the Makefiles
that get installed rather than the build Makefiles.
This commit is contained in:
@@ -40,7 +40,7 @@ done
|
||||
|
||||
generate_makedefs()
|
||||
{
|
||||
cat <<-EOF > $1
|
||||
cat <<-EOF
|
||||
TOPDIR ?= ../
|
||||
THISDIR = .
|
||||
INC = -I$INST_INCLUDE -I./
|
||||
@@ -65,7 +65,7 @@ EOF
|
||||
|
||||
generate_makerules()
|
||||
{
|
||||
cat <<-EOF1 | sed 's/TAB/ /' > $1
|
||||
cat <<-EOF1 | sed 's/TAB/ /'
|
||||
|
||||
all : $(EXEC) $(LIB) $(PLUGIN)
|
||||
|
||||
@@ -101,8 +101,8 @@ EOF1
|
||||
echo =========== Installing Demo Source Code =================
|
||||
|
||||
echo " generaing make files ..."
|
||||
generate_makedefs $INST_SRC/Make/makedefs
|
||||
generate_makerules $INST_SRC/Make/makerules
|
||||
generate_makedefs > $INST_SRC/Make/makedefs
|
||||
generate_makerules > $INST_SRC/Make/makerules
|
||||
|
||||
echo " copying demo files ..."
|
||||
copy_demo_source
|
||||
|
||||
19
src/Demos/hangglide/Makefile.inst
Normal file
19
src/Demos/hangglide/Makefile.inst
Normal file
@@ -0,0 +1,19 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
base.cpp\
|
||||
GliderManipulator.cpp\
|
||||
hangglide.cpp\
|
||||
hat.cpp\
|
||||
ReaderWriterFLY.cpp\
|
||||
sky.cpp\
|
||||
tank.cpp\
|
||||
terrain.cpp\
|
||||
trees.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = osghangglide
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
12
src/Demos/osgbillboard/Makefile.inst
Normal file
12
src/Demos/osgbillboard/Makefile.inst
Normal file
@@ -0,0 +1,12 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
osgbillboard.cpp
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
|
||||
EXEC = osgbillboard
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
13
src/Demos/osgcluster/Makefile.inst
Normal file
13
src/Demos/osgcluster/Makefile.inst
Normal file
@@ -0,0 +1,13 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
broadcaster.cpp\
|
||||
osgcluster.cpp\
|
||||
receiver.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(SOCKET_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = osgcluster
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
16
src/Demos/osgconv/Makefile.inst
Normal file
16
src/Demos/osgconv/Makefile.inst
Normal file
@@ -0,0 +1,16 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
OrientationConverter.cpp\
|
||||
osgconv.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = osgconv
|
||||
|
||||
INSTFILES =\
|
||||
$(CXXFILES)\
|
||||
Makefile.inst=Makefile
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
11
src/Demos/osgcopy/Makefile.inst
Normal file
11
src/Demos/osgcopy/Makefile.inst
Normal file
@@ -0,0 +1,11 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
osgcopy.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = osgcopy
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
11
src/Demos/osgcube/Makefile.inst
Normal file
11
src/Demos/osgcube/Makefile.inst
Normal file
@@ -0,0 +1,11 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
osgcube.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = osgcube
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
11
src/Demos/osgimpostor/Makefile.inst
Normal file
11
src/Demos/osgimpostor/Makefile.inst
Normal file
@@ -0,0 +1,11 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
osgimpostor.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = osgimpostor
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
11
src/Demos/osgreflect/Makefile.inst
Normal file
11
src/Demos/osgreflect/Makefile.inst
Normal file
@@ -0,0 +1,11 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
osgreflect.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = osgreflect
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
11
src/Demos/osgscribe/Makefile.inst
Normal file
11
src/Demos/osgscribe/Makefile.inst
Normal file
@@ -0,0 +1,11 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
osgscribe.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = osgscribe
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
11
src/Demos/osgstereoimage/Makefile.inst
Normal file
11
src/Demos/osgstereoimage/Makefile.inst
Normal file
@@ -0,0 +1,11 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
osgstereoimage.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = osgstereoimage
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
11
src/Demos/osgtext/Makefile.inst
Normal file
11
src/Demos/osgtext/Makefile.inst
Normal file
@@ -0,0 +1,11 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
main.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(FREETYPE_LIB) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = osgtext
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
11
src/Demos/osgtexture/Makefile.inst
Normal file
11
src/Demos/osgtexture/Makefile.inst
Normal file
@@ -0,0 +1,11 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
osgtexture.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = osgtexture
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
11
src/Demos/osgversion/Makefile.inst
Normal file
11
src/Demos/osgversion/Makefile.inst
Normal file
@@ -0,0 +1,11 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
osgversion.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = osgversion
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
11
src/Demos/osgviews/Makefile.inst
Normal file
11
src/Demos/osgviews/Makefile.inst
Normal file
@@ -0,0 +1,11 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
osgviews.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = osgviews
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
12
src/Demos/sgv/Makefile.inst
Normal file
12
src/Demos/sgv/Makefile.inst
Normal file
@@ -0,0 +1,12 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
sgv.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = sgv
|
||||
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
Reference in New Issue
Block a user