2002-04-16 23:21:24 +08:00
|
|
|
|
|
|
|
################################################################
|
|
|
|
# Directories traversed from the top level
|
2005-03-13 09:47:46 +08:00
|
|
|
TOP_LEVEL_DIRS = \
|
|
|
|
src\
|
|
|
|
applications
|
|
|
|
|
|
|
|
ifeq ($(COMPILE_EXAMPLES),yes)
|
|
|
|
TOP_LEVEL_DIRS += examples
|
|
|
|
endif
|
2002-04-16 23:21:24 +08:00
|
|
|
|
|
|
|
|
|
|
|
################################################################
|
|
|
|
# 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\
|
2004-12-09 13:29:10 +08:00
|
|
|
osgIntrospection\
|
2004-03-12 00:14:25 +08:00
|
|
|
|
|
|
|
ifeq ($(GDAL_INSTALLED),yes)
|
|
|
|
SRC_DIRS += osgTerrain
|
|
|
|
endif
|
|
|
|
|
|
|
|
SRC_DIRS += \
|
2002-08-23 01:36:44 +08:00
|
|
|
osgPlugins\
|
2004-12-09 13:29:10 +08:00
|
|
|
osgWrappers\
|
2002-04-16 23:21:24 +08:00
|
|
|
|
2004-12-09 13:29:10 +08:00
|
|
|
WRAPPER_DIRS = \
|
|
|
|
osg\
|
|
|
|
|
|
|
|
|
2002-04-16 23:21:24 +08:00
|
|
|
################################################################
|
|
|
|
# Directories traversed in the TOPDIR/src/osgPlugins directory
|
|
|
|
|
|
|
|
PLUGIN_DIRS = \
|
2005-02-11 04:38:50 +08:00
|
|
|
3dc\
|
2003-03-05 17:56:56 +08:00
|
|
|
ac3d\
|
|
|
|
bmp\
|
2003-04-03 02:26:34 +08:00
|
|
|
dds\
|
2005-02-11 04:38:50 +08:00
|
|
|
directx\
|
2003-03-05 17:56:56 +08:00
|
|
|
dw\
|
2002-04-16 23:21:24 +08:00
|
|
|
flt\
|
2005-02-11 04:38:50 +08:00
|
|
|
hdr\
|
|
|
|
ive\
|
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\
|
2004-01-04 04:32:27 +08:00
|
|
|
lws\
|
2003-03-05 17:56:56 +08:00
|
|
|
md2\
|
2004-09-01 17:54:36 +08:00
|
|
|
net\
|
2003-03-05 17:56:56 +08:00
|
|
|
obj\
|
|
|
|
osg\
|
2004-11-11 00:40:08 +08:00
|
|
|
osga\
|
2005-02-11 04:38:50 +08:00
|
|
|
osgFX\
|
|
|
|
osgParticle\
|
|
|
|
osgSim\
|
|
|
|
osgText\
|
2002-04-16 23:21:24 +08:00
|
|
|
osgtgz\
|
2003-03-05 17:56:56 +08:00
|
|
|
pic\
|
2004-02-04 06:46:10 +08:00
|
|
|
pnm\
|
2003-03-05 17:56:56 +08:00
|
|
|
rgb\
|
2004-05-07 23:18:59 +08:00
|
|
|
rot\
|
|
|
|
scale\
|
2004-11-12 22:49:22 +08:00
|
|
|
stl\
|
2005-02-11 04:38:50 +08:00
|
|
|
tga\
|
|
|
|
tgz\
|
2004-05-07 23:18:59 +08:00
|
|
|
trans\
|
2005-02-11 04:38:50 +08:00
|
|
|
txp\
|
|
|
|
zip\
|
2004-05-07 23:18:59 +08:00
|
|
|
|
2002-04-16 23:21:24 +08:00
|
|
|
|
2004-01-31 05:11:58 +08:00
|
|
|
ifeq ($(GDAL_INSTALLED),yes)
|
|
|
|
PLUGIN_DIRS += gdal
|
|
|
|
endif
|
|
|
|
|
2005-02-05 03:34:46 +08:00
|
|
|
ifeq ($(XINE_INSTALLED),yes)
|
|
|
|
PLUGIN_DIRS += xine
|
|
|
|
endif
|
|
|
|
|
2004-01-31 05:11:58 +08:00
|
|
|
ifeq ($(JASPER_INSTALLED),yes)
|
|
|
|
PLUGIN_DIRS += jp2
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(FREETYPE_INSTALLED),yes)
|
|
|
|
PLUGIN_DIRS += freetype
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(QUICKTIME_INSTALLED),yes)
|
|
|
|
PLUGIN_DIRS += quicktime
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(LIBJPEG_INSTALLED),yes)
|
2004-02-04 06:46:10 +08:00
|
|
|
PLUGIN_DIRS += jpeg
|
2004-01-31 05:11:58 +08:00
|
|
|
endif
|
2003-10-06 16:01:12 +08:00
|
|
|
|
2004-01-31 05:11:58 +08:00
|
|
|
ifeq ($(LIBUNGIF_INSTALLED),yes)
|
2004-02-04 06:46:10 +08:00
|
|
|
PLUGIN_DIRS += gif
|
2004-01-31 05:11:58 +08:00
|
|
|
endif
|
2003-05-20 22:05:19 +08:00
|
|
|
|
2004-01-31 05:11:58 +08:00
|
|
|
ifeq ($(LIBTIFF_INSTALLED),yes)
|
2004-02-04 06:46:10 +08:00
|
|
|
PLUGIN_DIRS += tiff
|
2004-01-31 05:11:58 +08:00
|
|
|
endif
|
2002-04-16 23:21:24 +08:00
|
|
|
|
2004-02-04 06:46:10 +08:00
|
|
|
ifeq ($(LIBPNG_INSTALLED),yes)
|
|
|
|
PLUGIN_DIRS += png
|
2004-01-31 05:11:58 +08:00
|
|
|
endif
|
2002-04-16 23:21:24 +08:00
|
|
|
|
2004-03-09 23:00:52 +08:00
|
|
|
ifeq ($(LIBMPEG3_INSTALLED),yes)
|
2004-03-09 23:39:10 +08:00
|
|
|
PLUGIN_DIRS += mpeg
|
2004-03-09 23:00:52 +08:00
|
|
|
endif
|
|
|
|
|
2005-02-25 19:26:28 +08:00
|
|
|
ifeq ($(AVIFILE_INSTALLED),yes)
|
|
|
|
PLUGIN_DIRS += avi
|
|
|
|
endif
|
2002-04-16 23:21:24 +08:00
|
|
|
|
2004-01-31 05:11:58 +08:00
|
|
|
ifeq ($(COIN_INSTALLED),yes)
|
2003-09-03 05:53:41 +08:00
|
|
|
PLUGIN_DIRS += Inventor
|
2004-01-31 05:11:58 +08:00
|
|
|
else
|
|
|
|
ifeq ($(INVENTOR_INSTALLED),yes)
|
2003-09-03 05:53:41 +08:00
|
|
|
PLUGIN_DIRS += Inventor
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
2004-01-31 05:11:58 +08:00
|
|
|
ifeq ($(PERFORMER_INSTALLED),yes)
|
|
|
|
PLUGIN_DIRS += pfb
|
|
|
|
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-09-27 00:02:53 +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-02-21 22:05:39 +08:00
|
|
|
################################################################
|
|
|
|
# Directories traversed in the TOPDIR/examples directory
|
|
|
|
|
2005-03-13 09:47:46 +08:00
|
|
|
APPLICATION_DIRS = \
|
|
|
|
osgarchive\
|
|
|
|
osgconv\
|
|
|
|
osgversion\
|
|
|
|
osgviewer\
|
|
|
|
|
2005-03-14 05:22:56 +08:00
|
|
|
ifeq ($(GDAL_INSTALLED),yes)
|
|
|
|
APPLICATION_DIRS += osgdem
|
|
|
|
endif
|
2005-03-13 09:47:46 +08:00
|
|
|
|
2003-02-21 22:05:39 +08:00
|
|
|
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\
|
2005-01-04 00:39:28 +08:00
|
|
|
osgblendequation\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgcallback\
|
2003-02-21 22:05:39 +08:00
|
|
|
osgcameragroup\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgclip\
|
2004-01-31 05:11:58 +08:00
|
|
|
osgcluster\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgcopy\
|
|
|
|
osgcubemap\
|
2004-01-31 05:11:58 +08:00
|
|
|
osgdepthshadow\
|
|
|
|
osgdistortion\
|
|
|
|
osgforest\
|
|
|
|
osgfxbrowser\
|
2003-03-15 04:35:45 +08:00
|
|
|
osggeodemo\
|
|
|
|
osggeometry\
|
|
|
|
osghangglide\
|
2003-03-04 06:47:50 +08:00
|
|
|
osghud\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgimpostor\
|
2004-12-09 13:29:10 +08:00
|
|
|
osgintrospection\
|
2003-03-25 05:17:51 +08:00
|
|
|
osgkeyboard\
|
2003-12-16 07:23:45 +08:00
|
|
|
osgkeyboardmouse\
|
2004-10-01 23:49:57 +08:00
|
|
|
osglauncher\
|
2003-03-15 04:35:45 +08:00
|
|
|
osglight\
|
|
|
|
osglightpoint\
|
2005-01-04 00:39:28 +08:00
|
|
|
osglogicop\
|
2005-03-18 18:46:15 +08:00
|
|
|
osglogo\
|
2004-09-01 17:54:36 +08:00
|
|
|
osgmotionblur\
|
2005-03-18 18:46:15 +08:00
|
|
|
osgmovie\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgmultitexture\
|
|
|
|
osgoccluder\
|
2003-09-10 20:38:28 +08:00
|
|
|
osgpagedlod\
|
2004-01-31 05:11:58 +08:00
|
|
|
osgparticle\
|
2003-04-13 21:26:41 +08:00
|
|
|
osgpick\
|
2004-10-23 00:39:24 +08:00
|
|
|
osgplanets\
|
2003-06-24 23:40:09 +08:00
|
|
|
osgpoints\
|
2004-03-03 06:36:11 +08:00
|
|
|
osgpointsprite\
|
2003-07-15 18:45:46 +08:00
|
|
|
osgprerender\
|
|
|
|
osgprerendercubemap\
|
2003-03-10 19:59:41 +08:00
|
|
|
osgreflect\
|
2004-01-31 05:11:58 +08:00
|
|
|
osgscalarbar\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgscribe\
|
|
|
|
osgsequence\
|
2003-07-15 18:45:46 +08:00
|
|
|
osgshaders\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgshadowtexture\
|
|
|
|
osgshape\
|
2004-01-31 05:11:58 +08:00
|
|
|
osgsimple\
|
|
|
|
osgsimplepager\
|
2004-04-19 00:15:49 +08:00
|
|
|
osgsimplifier\
|
2005-01-12 23:37:02 +08:00
|
|
|
osgslice\
|
2004-01-31 05:11:58 +08:00
|
|
|
osgspacewarp\
|
|
|
|
osgspheresegment\
|
2004-10-02 06:05:40 +08:00
|
|
|
osgspotlight\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgstereoimage\
|
|
|
|
osgteapot\
|
2004-08-02 15:23:26 +08:00
|
|
|
osgtesselate\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgtext\
|
|
|
|
osgtexture1D\
|
|
|
|
osgtexture2D\
|
|
|
|
osgtexture3D\
|
2003-05-20 22:05:19 +08:00
|
|
|
osgtexturerectangle\
|
2003-03-15 04:35:45 +08:00
|
|
|
osgunittests\
|
|
|
|
osgvertexprogram\
|
2004-07-01 22:29:29 +08:00
|
|
|
osgvolume\
|
2003-07-15 18:45:46 +08:00
|
|
|
osgwindows\
|
2003-04-07 05:32:44 +08:00
|
|
|
|
2004-10-01 23:49:57 +08:00
|
|
|
|
|
|
|
|
2004-01-31 05:11:58 +08:00
|
|
|
ifeq ($(GDAL_INSTALLED),yes)
|
|
|
|
EXAMPLE_DIRS += osgphotoalbum
|
|
|
|
EXAMPLE_DIRS += osgbluemarble
|
2004-09-14 23:03:18 +08:00
|
|
|
EXAMPLE_DIRS += osgsimulation
|
2004-01-31 05:11:58 +08:00
|
|
|
endif
|
2003-07-26 09:02:39 +08:00
|
|
|
|
2004-01-31 05:11:58 +08:00
|
|
|
ifeq ($(DEMETER_INSTALLED),yes)
|
|
|
|
EXAMPLE_DIRS += osgdemeter
|
|
|
|
endif
|