2001-01-11 00:32:10 +08:00
|
|
|
#!smake
|
|
|
|
include ../../Make/makedefs
|
|
|
|
|
|
|
|
C++FILES = \
|
|
|
|
AlphaFunc.cpp\
|
2001-09-20 05:08:56 +08:00
|
|
|
Billboard.cpp\
|
|
|
|
BoundingBox.cpp\
|
|
|
|
BoundingSphere.cpp\
|
|
|
|
Camera.cpp\
|
|
|
|
ClipPlane.cpp \
|
|
|
|
ColorMask.cpp \
|
|
|
|
CullFace.cpp\
|
|
|
|
Depth.cpp \
|
|
|
|
Drawable.cpp\
|
|
|
|
Fog.cpp\
|
2001-09-22 10:42:08 +08:00
|
|
|
FrameStamp.cpp\
|
2001-09-20 05:08:56 +08:00
|
|
|
FrontFace.cpp\
|
|
|
|
Geode.cpp\
|
2001-01-11 00:32:10 +08:00
|
|
|
GeoSet.cpp\
|
|
|
|
GeoSet_ogl.cpp\
|
2001-09-20 05:08:56 +08:00
|
|
|
GLExtensions.cpp\
|
|
|
|
Group.cpp\
|
|
|
|
Image.cpp\
|
|
|
|
Impostor.cpp\
|
|
|
|
ImpostorSprite.cpp\
|
2001-01-11 00:32:10 +08:00
|
|
|
Light.cpp\
|
|
|
|
LightSource.cpp\
|
2001-09-20 05:08:56 +08:00
|
|
|
LineSegment.cpp\
|
|
|
|
LOD.cpp\
|
2001-01-11 00:32:10 +08:00
|
|
|
Material.cpp\
|
|
|
|
Matrix.cpp\
|
|
|
|
Node.cpp\
|
|
|
|
NodeVisitor.cpp\
|
2001-09-20 05:08:56 +08:00
|
|
|
Notify.cpp\
|
2001-01-11 00:32:10 +08:00
|
|
|
Object.cpp\
|
2001-09-20 05:08:56 +08:00
|
|
|
Point.cpp\
|
|
|
|
PolygonMode.cpp\
|
|
|
|
PolygonOffset.cpp\
|
|
|
|
Quat.cpp\
|
|
|
|
State.cpp\
|
|
|
|
StateSet.cpp\
|
|
|
|
Stencil.cpp \
|
|
|
|
Switch.cpp\
|
2001-01-11 00:32:10 +08:00
|
|
|
TexEnv.cpp\
|
|
|
|
TexGen.cpp\
|
|
|
|
TexMat.cpp\
|
2001-09-20 05:08:56 +08:00
|
|
|
Texture.cpp\
|
2001-01-11 00:32:10 +08:00
|
|
|
Timer.cpp\
|
2001-09-20 05:08:56 +08:00
|
|
|
Transform.cpp\
|
|
|
|
Transparency.cpp\
|
2001-01-11 00:32:10 +08:00
|
|
|
Version.cpp\
|
2001-09-22 10:42:08 +08:00
|
|
|
Viewport.cpp\
|
2001-01-11 00:32:10 +08:00
|
|
|
|
|
|
|
|
|
|
|
TARGET_BASENAME = osg
|
|
|
|
|
|
|
|
TARGET_LIB_FILES = lib$(TARGET_BASENAME).so
|
|
|
|
|
|
|
|
TARGET_INCLUDE_FILES = \
|
|
|
|
osg/AlphaFunc\
|
|
|
|
osg/Billboard\
|
|
|
|
osg/BoundingBox\
|
|
|
|
osg/BoundingSphere\
|
2001-09-20 05:08:56 +08:00
|
|
|
osg/BoundsChecking\
|
2001-01-11 00:32:10 +08:00
|
|
|
osg/Camera\
|
2001-09-20 05:08:56 +08:00
|
|
|
osg/ClipPlane\
|
|
|
|
osg/ClippingVolume\
|
|
|
|
osg/ColorMask\
|
2001-01-11 00:32:10 +08:00
|
|
|
osg/CullFace\
|
2001-09-20 05:08:56 +08:00
|
|
|
osg/Depth\
|
|
|
|
osg/Drawable\
|
2001-01-11 00:32:10 +08:00
|
|
|
osg/Export\
|
|
|
|
osg/Fog\
|
2001-09-22 10:42:08 +08:00
|
|
|
osg/FrameStamp\
|
2001-09-20 05:08:56 +08:00
|
|
|
osg/FrontFace\
|
|
|
|
osg/GL\
|
|
|
|
osg/GLExtensions\
|
2001-01-11 00:32:10 +08:00
|
|
|
osg/GeoSet\
|
|
|
|
osg/Geode\
|
|
|
|
osg/Group\
|
|
|
|
osg/Image\
|
2001-09-20 05:08:56 +08:00
|
|
|
osg/Impostor\
|
|
|
|
osg/ImpostorSprite\
|
2001-01-11 00:32:10 +08:00
|
|
|
osg/LOD\
|
|
|
|
osg/Light\
|
|
|
|
osg/LightSource\
|
2001-09-20 05:08:56 +08:00
|
|
|
osg/LineSegment\
|
2001-01-11 00:32:10 +08:00
|
|
|
osg/Material\
|
|
|
|
osg/Matrix\
|
2001-09-20 05:08:56 +08:00
|
|
|
osg/MemoryAdapter\
|
2001-01-11 00:32:10 +08:00
|
|
|
osg/Node\
|
2001-09-22 10:42:08 +08:00
|
|
|
osg/NodeCallback\
|
2001-01-11 00:32:10 +08:00
|
|
|
osg/NodeVisitor\
|
2001-09-20 05:08:56 +08:00
|
|
|
osg/Notify\
|
2001-01-11 00:32:10 +08:00
|
|
|
osg/Object\
|
|
|
|
osg/Point\
|
2001-09-20 05:08:56 +08:00
|
|
|
osg/PolygonMode\
|
2001-01-11 00:32:10 +08:00
|
|
|
osg/PolygonOffset\
|
2001-09-20 05:08:56 +08:00
|
|
|
osg/Plane\
|
2001-01-11 00:32:10 +08:00
|
|
|
osg/Quat\
|
|
|
|
osg/Referenced\
|
|
|
|
osg/State\
|
2001-09-20 05:08:56 +08:00
|
|
|
osg/StateAttribute\
|
|
|
|
osg/StateSet\
|
|
|
|
osg/Stencil\
|
2001-01-11 00:32:10 +08:00
|
|
|
osg/Switch\
|
|
|
|
osg/TexEnv\
|
|
|
|
osg/TexGen\
|
|
|
|
osg/TexMat\
|
|
|
|
osg/Texture\
|
|
|
|
osg/Timer\
|
2001-09-20 05:08:56 +08:00
|
|
|
osg/Transform\
|
|
|
|
osg/Transparency\
|
2001-01-11 00:32:10 +08:00
|
|
|
osg/Types\
|
|
|
|
osg/Vec2\
|
|
|
|
osg/Vec3\
|
|
|
|
osg/Vec4\
|
|
|
|
osg/Version\
|
2001-09-22 10:42:08 +08:00
|
|
|
osg/Viewport\
|
2001-09-20 05:08:56 +08:00
|
|
|
osg/mem_ptr\
|
|
|
|
osg/ref_ptr\
|
2001-01-11 00:32:10 +08:00
|
|
|
|
|
|
|
|
|
|
|
TARGET_DATA_FILES = \
|
|
|
|
cessna.osg\
|
|
|
|
cow.osg\
|
|
|
|
dumptruck.osg\
|
|
|
|
e-s-bike.osg\
|
|
|
|
flight_park.fly\
|
|
|
|
glider.osg\
|
|
|
|
ncc1701d.osg\
|
|
|
|
paraglider.osg\
|
|
|
|
torus.osg\
|
|
|
|
turtle.osg\
|
|
|
|
Test/CullFace.osg\
|
|
|
|
Test/Point.osg\
|
|
|
|
Test/PolygonOffset.osg\
|
|
|
|
Images/lz.rgb\
|
|
|
|
Images/reflect.rgb\
|
|
|
|
Images/tank.rgb\
|
|
|
|
Images/tree0.rgba\
|
|
|
|
Images/water.rgb\
|
|
|
|
Images/white.rgb\
|
|
|
|
|
|
|
|
|
2001-09-20 05:08:56 +08:00
|
|
|
LIBS = -lGLU -lGL -lm
|
2001-01-11 00:32:10 +08:00
|
|
|
|
|
|
|
LIB = ../../lib/lib$(TARGET_BASENAME).so
|
|
|
|
#LIB = ../../lib/lib$(TARGET_BASENAME).a
|
|
|
|
|
|
|
|
C++FLAGS += -I ../../include
|
|
|
|
|
|
|
|
include ../../Make/makerules
|
|
|
|
|