2002-04-16 23:21:24 +08:00
|
|
|
|
|
|
|
################################################################
|
|
|
|
# Directories traversed from the top level
|
|
|
|
TOP_LEVEL_DIRS = src
|
|
|
|
|
|
|
|
|
|
|
|
################################################################
|
|
|
|
# Directories traversed in the TOPDIR/src directory
|
|
|
|
SRC_DIRS = \
|
|
|
|
osg\
|
|
|
|
osgUtil\
|
|
|
|
osgDB\
|
2002-05-09 18:31:03 +08:00
|
|
|
osgGA\
|
2002-06-05 20:44:55 +08:00
|
|
|
osgParticle\
|
2002-04-16 23:21:24 +08:00
|
|
|
osgText\
|
2002-11-19 18:57:40 +08:00
|
|
|
osgSim\
|
2003-07-15 18:45:46 +08:00
|
|
|
osgGL2\
|
2003-08-27 05:17:22 +08:00
|
|
|
osgFX\
|
2003-03-26 20:50:30 +08:00
|
|
|
osgProducer\
|
2002-08-23 01:36:44 +08:00
|
|
|
osgPlugins\
|
2003-03-16 04:20:46 +08:00
|
|
|
../examples
|
2002-04-16 23:21:24 +08:00
|
|
|
|
|
|
|
|
|
|
|
################################################################
|
|
|
|
# Directories traversed in the TOPDIR/src/osgPlugins directory
|
|
|
|
|
|
|
|
PLUGIN_DIRS = \
|
2003-03-05 17:56:56 +08:00
|
|
|
ac3d\
|
|
|
|
bmp\
|
2003-01-09 06:52:27 +08:00
|
|
|
directx\
|
2003-04-03 02:26:34 +08:00
|
|
|
dds\
|
2003-03-05 17:56:56 +08:00
|
|
|
dw\
|
2002-04-16 23:21:24 +08:00
|
|
|
flt\
|
2003-03-05 17:56:56 +08:00
|
|
|
lib3ds\
|
2003-04-01 23:13:26 +08:00
|
|
|
logo\
|
2003-03-05 17:56:56 +08:00
|
|
|
lwo\
|
|
|
|
md2\
|
|
|
|
obj\
|
|
|
|
osgParticle\
|
|
|
|
osgText\
|
2003-07-23 22:06:32 +08:00
|
|
|
osgSim\
|
2003-08-27 05:17:22 +08:00
|
|
|
osgFX\
|
2003-03-05 17:56:56 +08:00
|
|
|
osg\
|
2002-04-16 23:21:24 +08:00
|
|
|
osgtgz\
|
2003-03-05 17:56:56 +08:00
|
|
|
pic\
|
2003-04-30 23:40:57 +08:00
|
|
|
pnm\
|
2003-03-05 17:56:56 +08:00
|
|
|
rgb\
|
|
|
|
tga\
|
2002-04-16 23:21:24 +08:00
|
|
|
tgz\
|
2003-03-05 17:56:56 +08:00
|
|
|
txp\
|
2003-05-24 03:51:12 +08:00
|
|
|
zip\
|
2003-05-26 18:05:52 +08:00
|
|
|
3dc\
|
2003-07-22 20:39:40 +08:00
|
|
|
ive\
|
2002-04-16 23:21:24 +08:00
|
|
|
|
2003-05-20 22:05:19 +08:00
|
|
|
|
2002-04-16 23:21:24 +08:00
|
|
|
# comment in if you have Performer installed.
|
2003-05-03 02:24:56 +08:00
|
|
|
# PLUGIN_DIRS += pfb
|
2002-04-16 23:21:24 +08:00
|
|
|
|
|
|
|
|
2003-03-12 22:01:49 +08:00
|
|
|
# comment in if have freetype2.x installed, provides type type font support to osgText.
|
|
|
|
PLUGIN_DIRS += freetype
|
2002-04-16 23:21:24 +08:00
|
|
|
|
2003-09-03 05:53:41 +08:00
|
|
|
# comment in of your have Inventor or coin installed
|
|
|
|
ifneq ("$(USE_COIN)","")
|
|
|
|
PLUGIN_DIRS += Inventor
|
|
|
|
else
|
|
|
|
ifneq ("$(USE_INVENTOR)","")
|
|
|
|
PLUGIN_DIRS += Inventor
|
|
|
|
else
|
|
|
|
PLUGIN_DIRS += iv
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
2002-04-16 23:21:24 +08:00
|
|
|
|
2003-04-11 15:18:13 +08:00
|
|
|
# Geo plugin breaks Darwin build and doens't handle BigEndian issue.
|
|
|
|
ifneq ($(OS),Darwin)
|
|
|
|
ifneq ($(OS),SunOS)
|
|
|
|
ifneq ($(OS),IRIX)
|
|
|
|
|
|
|
|
PLUGIN_DIRS += geo
|
|
|
|
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
2003-03-12 22:01:49 +08:00
|
|
|
#### MacOS X specific definitions
|
|
|
|
ifeq ($(OS),Darwin)
|
2002-04-16 23:21:24 +08:00
|
|
|
|
2003-03-12 22:01:49 +08:00
|
|
|
PLUGIN_DIRS += quicktime
|
|
|
|
|
|
|
|
else
|
|
|
|
|
2003-04-11 15:18:13 +08:00
|
|
|
# comment in if you want Open DX support, currently not on by default
|
|
|
|
# since we havn't yet checked compilation on all platforms yet.
|
|
|
|
# note, moved to non Darwin build since it currently breaks the Drawin build.
|
2003-05-21 20:15:45 +08:00
|
|
|
|
|
|
|
# commented out while the DX plugin is converted across to use Geometry rather than GeoSet.
|
|
|
|
# PLUGIN_DIRS += dx
|
2003-04-11 15:18:13 +08:00
|
|
|
|
|
|
|
|
2003-03-12 22:01:49 +08:00
|
|
|
# comment in if you have libtiff installed.
|
|
|
|
PLUGIN_DIRS += tiff
|
|
|
|
|
|
|
|
# comment in if you have libjpeg installed.
|
|
|
|
PLUGIN_DIRS += jpeg
|
|
|
|
|
|
|
|
# comment in if you have libpng installed.
|
|
|
|
PLUGIN_DIRS += png
|
|
|
|
|
|
|
|
# comment in if you have libungif installed.
|
|
|
|
PLUGIN_DIRS += gif
|
|
|
|
|
|
|
|
endif
|
2002-04-16 23:21:24 +08:00
|
|
|
|
|
|
|
|
2003-02-21 22:05:39 +08:00
|
|
|
|
|
|
|
################################################################
|
|
|
|
# Directories traversed in the TOPDIR/examples directory
|
|
|
|
|
|
|
|
EXAMPLE_DIRS = \
|
2003-03-15 04:35:45 +08:00
|
|
|
osganimate\
|
2003-05-02 05:06:18 +08:00
|
|
|
osgautotransform\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgbillboard\
|
|
|
|
osgcallback\
|
2003-02-21 22:05:39 +08:00
|
|
|
osgcameragroup\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgclip\
|
2003-02-21 22:05:39 +08:00
|
|
|
osgconv\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgcopy\
|
|
|
|
osgcubemap\
|
|
|
|
osggeodemo\
|
|
|
|
osggeometry\
|
|
|
|
osghangglide\
|
2003-03-04 06:47:50 +08:00
|
|
|
osghud\
|
2003-08-27 05:17:22 +08:00
|
|
|
osgfxbrowser\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgimpostor\
|
2003-03-25 05:17:51 +08:00
|
|
|
osgkeyboard\
|
2003-03-15 04:35:45 +08:00
|
|
|
osglight\
|
|
|
|
osglightpoint\
|
|
|
|
osglogo\
|
|
|
|
osgmultitexture\
|
|
|
|
osgoccluder\
|
|
|
|
osgparticle\
|
2003-09-10 20:38:28 +08:00
|
|
|
osgpagedlod\
|
2003-04-13 21:26:41 +08:00
|
|
|
osgpick\
|
2003-06-24 23:40:09 +08:00
|
|
|
osgpoints\
|
2003-07-15 18:45:46 +08:00
|
|
|
osgprerender\
|
|
|
|
osgprerendercubemap\
|
2003-03-10 19:59:41 +08:00
|
|
|
osgreflect\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgscribe\
|
|
|
|
osgsequence\
|
2003-09-01 17:36:03 +08:00
|
|
|
osgscalarbar\
|
|
|
|
osgspheresegment\
|
|
|
|
osgsimulation\
|
2003-07-15 18:45:46 +08:00
|
|
|
osgshaders\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgshadowtexture\
|
|
|
|
osgshape\
|
|
|
|
osgstereoimage\
|
|
|
|
osgteapot\
|
|
|
|
osgtext\
|
|
|
|
osgtexture1D\
|
|
|
|
osgtexture2D\
|
|
|
|
osgtexture3D\
|
2003-05-20 22:05:19 +08:00
|
|
|
osgtexturerectangle\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgunittests\
|
|
|
|
osgversion\
|
|
|
|
osgvertexprogram\
|
|
|
|
osgviewer\
|
2003-07-15 18:45:46 +08:00
|
|
|
osgwindows\
|
2003-06-25 05:57:13 +08:00
|
|
|
|
2003-07-08 22:44:00 +08:00
|
|
|
# osgpagedlod\
|
2003-06-24 23:40:09 +08:00
|
|
|
# osgdemeter\
|
2003-04-07 05:32:44 +08:00
|
|
|
# osgjigsaw\
|
|
|
|
|
2003-07-26 09:02:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
ifneq ($(OS),SunOS)
|
|
|
|
# Solaris requires an installation of libxml2
|
|
|
|
EXAMPLE_DIRS += slideshow3D
|
|
|
|
endif
|
|
|
|
|
2003-03-15 04:35:45 +08:00
|
|
|
# comment in you want to compile the cluster demo.
|
2003-03-17 05:58:27 +08:00
|
|
|
EXAMPLE_DIRS += osgcluster
|