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 = \
|
2006-03-02 23:26:12 +08:00
|
|
|
src \
|
2005-03-13 09:47:46 +08:00
|
|
|
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 = \
|
2006-03-02 23:26:12 +08:00
|
|
|
osg \
|
|
|
|
osgUtil \
|
|
|
|
osgDB \
|
|
|
|
osgGA \
|
|
|
|
osgParticle \
|
|
|
|
osgText \
|
|
|
|
osgFX \
|
2005-10-13 16:05:46 +08:00
|
|
|
osgSim
|
|
|
|
|
|
|
|
ifeq ($(PRODUCER_INSTALLED),yes)
|
|
|
|
SRC_DIRS += osgProducer
|
|
|
|
endif
|
2005-04-14 19:28:23 +08:00
|
|
|
|
2005-04-11 23:17:24 +08:00
|
|
|
ifeq ($(GDAL_INSTALLED),yes)
|
|
|
|
SRC_DIRS += osgTerrain
|
|
|
|
endif
|
|
|
|
|
2005-04-04 21:49:20 +08:00
|
|
|
ifeq ($(COMPILE_INTROSPECTION),yes)
|
|
|
|
SRC_DIRS += \
|
2006-03-02 23:26:12 +08:00
|
|
|
osgIntrospection \
|
2005-04-04 21:49:20 +08:00
|
|
|
osgWrappers
|
|
|
|
endif
|
2004-03-12 00:14:25 +08:00
|
|
|
|
|
|
|
SRC_DIRS += \
|
2006-03-02 23:26:12 +08:00
|
|
|
osgPlugins \
|
2005-04-04 21:49:20 +08:00
|
|
|
|
2002-04-16 23:21:24 +08:00
|
|
|
|
2004-12-09 13:29:10 +08:00
|
|
|
WRAPPER_DIRS = \
|
2006-03-02 23:26:12 +08:00
|
|
|
osg \
|
|
|
|
osgParticle \
|
|
|
|
osgSim \
|
|
|
|
osgUtil \
|
|
|
|
osgDB \
|
|
|
|
osgFX \
|
|
|
|
osgText \
|
2005-10-13 16:05:46 +08:00
|
|
|
osgGA
|
2004-12-09 13:29:10 +08:00
|
|
|
|
2005-10-13 16:05:46 +08:00
|
|
|
ifeq ($(PRODUCER_INSTALLED),yes)
|
|
|
|
WRAPPER_DIRS += osgProducer
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(GDAL_INSTALLED),yes)
|
|
|
|
WRAPPER_DIRS += osgTerrain
|
|
|
|
endif
|
2005-04-14 19:28:23 +08:00
|
|
|
|
|
|
|
|
2002-04-16 23:21:24 +08:00
|
|
|
################################################################
|
|
|
|
# Directories traversed in the TOPDIR/src/osgPlugins directory
|
|
|
|
|
|
|
|
PLUGIN_DIRS = \
|
2006-03-02 23:26:12 +08:00
|
|
|
3dc \
|
2006-05-15 17:46:54 +08:00
|
|
|
bsp \
|
2006-03-02 23:26:12 +08:00
|
|
|
ac3d \
|
|
|
|
bmp \
|
|
|
|
dds \
|
|
|
|
directx \
|
|
|
|
dw \
|
|
|
|
dxf \
|
2006-03-09 05:38:37 +08:00
|
|
|
ESRIShape \
|
2006-03-02 23:26:12 +08:00
|
|
|
flt \
|
2006-03-09 05:38:37 +08:00
|
|
|
OpenFlight \
|
2006-03-02 23:26:12 +08:00
|
|
|
hdr \
|
|
|
|
ive \
|
|
|
|
lib3ds \
|
|
|
|
logo \
|
|
|
|
lwo \
|
|
|
|
lws \
|
|
|
|
md2 \
|
|
|
|
net \
|
2006-03-09 05:38:37 +08:00
|
|
|
normals \
|
2006-03-02 23:26:12 +08:00
|
|
|
obj \
|
|
|
|
osg \
|
|
|
|
osga \
|
|
|
|
osgFX \
|
|
|
|
osgParticle \
|
|
|
|
osgSim \
|
|
|
|
osgText \
|
|
|
|
osgtgz \
|
|
|
|
pic \
|
|
|
|
pnm \
|
|
|
|
rgb \
|
|
|
|
rot \
|
|
|
|
scale \
|
|
|
|
stl \
|
|
|
|
tga \
|
|
|
|
tgz \
|
|
|
|
trans \
|
|
|
|
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
|
|
|
|
|
2006-08-23 21:32:03 +08:00
|
|
|
ifeq ($(COLLADA_INSTALLED),yes)
|
2006-08-24 21:16:38 +08:00
|
|
|
PLUGIN_DIRS += dae
|
2006-08-23 21:32:03 +08:00
|
|
|
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-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-02-21 22:05:39 +08:00
|
|
|
################################################################
|
|
|
|
# Directories traversed in the TOPDIR/examples directory
|
|
|
|
|
2005-03-13 09:47:46 +08:00
|
|
|
APPLICATION_DIRS = \
|
2005-10-13 16:05:46 +08:00
|
|
|
osgversion
|
|
|
|
|
|
|
|
ifeq ($(PRODUCER_INSTALLED),yes)
|
|
|
|
|
2006-03-02 23:26:12 +08:00
|
|
|
APPLICATION_DIRS += osgarchive \
|
|
|
|
osgconv \
|
|
|
|
osgviewer \
|
2005-10-13 16:05:46 +08:00
|
|
|
|
|
|
|
ifeq ($(GDAL_INSTALLED),yes)
|
|
|
|
APPLICATION_DIRS += osgdem
|
|
|
|
endif
|
2005-03-13 09:47:46 +08:00
|
|
|
|
2005-03-14 05:22:56 +08:00
|
|
|
endif
|
2005-03-13 09:47:46 +08:00
|
|
|
|
2005-10-13 16:05:46 +08:00
|
|
|
|
|
|
|
EXAMPLE_DIRS =
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(PRODUCER_INSTALLED),yes)
|
|
|
|
|
2006-03-02 23:26:12 +08:00
|
|
|
EXAMPLE_DIRS += osganimate \
|
|
|
|
osgautotransform \
|
|
|
|
osgbillboard \
|
|
|
|
osgblendequation \
|
|
|
|
osgcallback \
|
|
|
|
osgcatch \
|
|
|
|
osgcamera \
|
|
|
|
osgcameragroup \
|
|
|
|
osgclip \
|
|
|
|
osgcluster \
|
|
|
|
osgcopy \
|
|
|
|
osgcubemap \
|
|
|
|
osgdelaunay \
|
|
|
|
osgdepthshadow \
|
|
|
|
osgdepthpartition \
|
|
|
|
osgdistortion \
|
|
|
|
osgforest \
|
|
|
|
osgfxbrowser \
|
|
|
|
osggeodemo \
|
|
|
|
osggeometry \
|
|
|
|
osghangglide \
|
|
|
|
osghud \
|
|
|
|
osgimpostor \
|
|
|
|
osgkeyboard \
|
|
|
|
osgkeyboardmouse \
|
|
|
|
osglauncher \
|
|
|
|
osglight \
|
|
|
|
osglightpoint \
|
|
|
|
osglogicop \
|
|
|
|
osglogo \
|
|
|
|
osgmotionblur \
|
|
|
|
osgmovie \
|
|
|
|
osgmultitexture \
|
|
|
|
osgmultiplecameras \
|
|
|
|
osgoccluder \
|
|
|
|
osgpagedlod \
|
|
|
|
osgparametric \
|
|
|
|
osgparticle \
|
|
|
|
osgparticleeffects \
|
|
|
|
osgpick \
|
|
|
|
osgplanets \
|
|
|
|
osgpoints \
|
|
|
|
osgpointsprite \
|
2006-04-05 23:13:17 +08:00
|
|
|
osgprecipitation \
|
2006-03-02 23:26:12 +08:00
|
|
|
osgprerender \
|
|
|
|
osgprerendercubemap \
|
|
|
|
osgreflect \
|
|
|
|
osgscalarbar \
|
|
|
|
osgscribe \
|
|
|
|
osgsequence \
|
|
|
|
osgshaders \
|
|
|
|
osgshaderterrain \
|
|
|
|
osgshadowtexture \
|
|
|
|
osgshape \
|
|
|
|
osgsimple \
|
|
|
|
osgsimplepager \
|
|
|
|
osgsimplifier \
|
|
|
|
osgslice \
|
|
|
|
osgspacewarp \
|
|
|
|
osgspheresegment \
|
|
|
|
osgspotlight \
|
|
|
|
osgstereoimage \
|
|
|
|
osgteapot \
|
|
|
|
osgtesselate \
|
|
|
|
osgtext \
|
|
|
|
osgtexture1D \
|
|
|
|
osgtexture2D \
|
|
|
|
osgtexture3D \
|
|
|
|
osgtexturerectangle \
|
|
|
|
osgunittests \
|
|
|
|
osgvertexprogram \
|
|
|
|
osgvolume \
|
|
|
|
osgwindows \
|
2003-04-07 05:32:44 +08:00
|
|
|
|
2005-10-13 16:05:46 +08:00
|
|
|
ifeq ($(COMPILE_INTROSPECTION),yes)
|
|
|
|
EXAMPLE_DIRS += osgintrospection
|
|
|
|
endif
|
2004-10-01 23:49:57 +08:00
|
|
|
|
2005-10-13 16:05:46 +08:00
|
|
|
ifeq ($(GDAL_INSTALLED),yes)
|
|
|
|
EXAMPLE_DIRS += osgphotoalbum
|
|
|
|
EXAMPLE_DIRS += osgbluemarble
|
|
|
|
EXAMPLE_DIRS += osgsimulation
|
2006-09-19 04:54:48 +08:00
|
|
|
EXAMPLE_DIRS += osgfadetext
|
2005-10-13 16:05:46 +08:00
|
|
|
endif
|
|
|
|
|
2004-01-31 05:11:58 +08:00
|
|
|
endif
|
2005-04-09 03:40:16 +08:00
|
|
|
|
|
|
|
ifeq ($(GLUT_INSTALLED),yes)
|
|
|
|
EXAMPLE_DIRS += osgGLUTsimple
|
|
|
|
EXAMPLE_DIRS += osgGLUTkeyboardmouse
|
|
|
|
endif
|
2006-10-01 00:26:53 +08:00
|
|
|
|
|
|
|
ifeq ($(QT3_INSTALLED),yes)
|
|
|
|
EXAMPLE_DIRS += osgsimpleviewerQT3
|
2006-10-01 04:06:26 +08:00
|
|
|
endif
|
2006-10-01 00:26:53 +08:00
|
|
|
|
2006-10-01 21:26:02 +08:00
|
|
|
ifeq ($(QT4_INSTALLED),yes)
|
|
|
|
EXAMPLE_DIRS += osgsimpleviewerQT4
|
|
|
|
endif
|
|
|
|
|
2006-10-01 04:06:26 +08:00
|
|
|
ifeq ($(SDL_INSTALLED),yes)
|
|
|
|
EXAMPLE_DIRS += osgsimpleviewerSDL
|
2006-10-01 00:26:53 +08:00
|
|
|
endif
|