Added pkgadd distribution for Solaris.

Added a cleaner way to install demo source so that installed versions use a
simplified makedefs/makerules.

Small fix to get osgText to compile with Solaris CC.  Constructor declared
with a non-const argument, but implemented with const argument.
This commit is contained in:
Don BURNS
2002-04-09 14:55:38 +00:00
parent 055e056645
commit 30eab4b79a
27 changed files with 412 additions and 54 deletions

View File

@@ -12,12 +12,11 @@ DIRS = \
osgreflect\
osgscribe\
osgstereoimage\
osgtext\
osgtexture\
osgviews\
osgversion\
sgv
LEFT_TO_DO =\
osgtext\
include $(TOPDIR)/Make/makedirrules

View File

@@ -12,8 +12,18 @@ CXXFILES =\
terrain.cpp\
trees.cpp\
HEADERFILES = \
GliderManipulator.h\
hat.h\
terrain_data.h\
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
$(HEADERFILES)\
Makefile.inst=Makefile
EXEC = osghangglide
include $(TOPDIR)/Make/makerules

View File

@@ -7,6 +7,10 @@ CXXFILES =\
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
EXEC = osgbillboard
include $(TOPDIR)/Make/makerules

View File

@@ -6,8 +6,18 @@ CXXFILES =\
osgcluster.cpp\
receiver.cpp\
HEADERFILES =\
broadcaster.h\
receiver.h\
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(SOCKET_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
$(HEADERFILES)\
Makefile.inst=Makefile
EXEC = osgcluster
include $(TOPDIR)/Make/makerules

View File

@@ -5,8 +5,17 @@ CXXFILES =\
OrientationConverter.cpp\
osgconv.cpp\
HEADERFILES = \
OrientationConverter.h
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
$(HEADERFILES)\
Makefile.inst=Makefile
EXEC = osgconv
include $(TOPDIR)/Make/makerules

View File

@@ -6,6 +6,10 @@ CXXFILES =\
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
EXEC = osgcopy
include $(TOPDIR)/Make/makerules

View File

@@ -6,6 +6,10 @@ CXXFILES =\
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
EXEC = osgcube
include $(TOPDIR)/Make/makerules

View File

@@ -6,6 +6,10 @@ CXXFILES =\
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
EXEC = osgimpostor
include $(TOPDIR)/Make/makerules

View File

@@ -6,6 +6,10 @@ CXXFILES =\
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
EXEC = osgreflect
include $(TOPDIR)/Make/makerules

View File

@@ -6,6 +6,10 @@ CXXFILES =\
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
EXEC = osgscribe
include $(TOPDIR)/Make/makerules

View File

@@ -6,6 +6,10 @@ CXXFILES =\
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
EXEC = osgstereoimage
include $(TOPDIR)/Make/makerules

View File

@@ -4,7 +4,12 @@ include $(TOPDIR)/Make/makedefs
CXXFILES =\
main.cpp\
LIBS += $(OSG_LIBS) $(FREETYPE_LIB) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
LINKARGS += -L/usr/local/lib
LIBS += -losgText $(OSG_LIBS) $(FREETYPE_LIB) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
EXEC = osgtext

View File

@@ -6,6 +6,10 @@ CXXFILES =\
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
EXEC = osgtexture
include $(TOPDIR)/Make/makerules

View File

@@ -6,6 +6,10 @@ CXXFILES =\
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
EXEC = osgversion
include $(TOPDIR)/Make/makerules

View File

@@ -6,6 +6,10 @@ CXXFILES =\
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
EXEC = osgviews
include $(TOPDIR)/Make/makerules

View File

@@ -6,6 +6,10 @@ CXXFILES =\
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
Makefile.inst=Makefile
EXEC = sgv
include $(TOPDIR)/Make/makerules

View File

@@ -1,7 +1,10 @@
TOPDIR = ../..
include $(TOPDIR)/Make/makedefs
DIRS = osg rgb lib3ds flt obj lwo txp dw bmp pic tga osgtgz tgz zip
#DIRS = osg rgb lib3ds flt obj lwo txp dw bmp pic tga osgtgz tgz zip
DIRS = osg rgb lib3ds flt obj lwo dw bmp pic tga osgtgz tgz zip
#DIRS += txp
# comment in if you have Performer installed.
# DIRS += pfb

View File

@@ -27,7 +27,7 @@ void FTContour::AddPoint( const float x, const float y)
}
FTVectoriser::FTVectoriser( const FT_Glyph glyph)
FTVectoriser::FTVectoriser( FT_Glyph glyph)
: contour(0),
contourFlag(0),
kBSTEPSIZE( 0.2)