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 \
|
2007-01-24 01:29:14 +08:00
|
|
|
osgText \
|
2006-11-03 22:07:20 +08:00
|
|
|
osgViewer \
|
2006-03-02 23:26:12 +08:00
|
|
|
osgParticle \
|
|
|
|
osgFX \
|
2006-10-06 22:16:11 +08:00
|
|
|
osgShadow \
|
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 \
|
|
|
|
ac3d \
|
|
|
|
bmp \
|
2007-01-08 20:04:04 +08:00
|
|
|
bsp \
|
2006-03-02 23:26:12 +08:00
|
|
|
dds \
|
|
|
|
directx \
|
|
|
|
dw \
|
|
|
|
dxf \
|
2006-03-09 05:38:37 +08:00
|
|
|
ESRIShape \
|
2006-03-02 23:26:12 +08:00
|
|
|
flt \
|
|
|
|
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 \
|
2007-01-08 20:04:04 +08:00
|
|
|
OpenFlight \
|
2006-03-02 23:26:12 +08:00
|
|
|
osg \
|
|
|
|
osga \
|
|
|
|
osgFX \
|
|
|
|
osgParticle \
|
|
|
|
osgSim \
|
|
|
|
osgText \
|
|
|
|
osgtgz \
|
|
|
|
pic \
|
|
|
|
pnm \
|
|
|
|
rgb \
|
|
|
|
rot \
|
|
|
|
scale \
|
|
|
|
stl \
|
|
|
|
tga \
|
|
|
|
tgz \
|
|
|
|
trans \
|
2007-01-08 20:04:04 +08:00
|
|
|
txf \
|
2006-03-02 23:26:12 +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
|
|
|
|
|
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
|
|
|
|
|
2007-01-09 22:35:59 +08:00
|
|
|
ifeq ($(LIBVRML_INSTALLED),yes)
|
|
|
|
PLUGIN_DIRS += vrml
|
|
|
|
endif
|
|
|
|
|
2003-09-03 05:53:41 +08:00
|
|
|
|
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
|
|
|
|
|
2007-01-22 02:24:54 +08:00
|
|
|
APPLICATION_DIRS += osgarchive \
|
|
|
|
osgconv \
|
|
|
|
osgviewer \
|
2005-03-13 09:47:46 +08:00
|
|
|
|
2007-01-22 02:24:54 +08:00
|
|
|
ifeq ($(GDAL_INSTALLED),yes)
|
|
|
|
APPLICATION_DIRS += osgdem
|
2005-03-14 05:22:56 +08:00
|
|
|
endif
|
2005-03-13 09:47:46 +08:00
|
|
|
|
2007-01-22 02:24:54 +08:00
|
|
|
ifeq ($(PRODUCER_INSTALLED),yes)
|
2005-10-13 16:05:46 +08:00
|
|
|
|
2007-01-22 02:24:54 +08:00
|
|
|
APPLICATION_DIRS += osgproducerviewer
|
2005-10-13 16:05:46 +08:00
|
|
|
|
2007-01-22 02:24:54 +08:00
|
|
|
endif
|
2005-10-13 16:05:46 +08:00
|
|
|
|
2007-01-22 02:24:54 +08:00
|
|
|
EXAMPLE_DIRS = \
|
|
|
|
osganimate \
|
2006-03-02 23:26:12 +08:00
|
|
|
osgautotransform \
|
|
|
|
osgbillboard \
|
|
|
|
osgblendequation \
|
|
|
|
osgcallback \
|
|
|
|
osgcamera \
|
2006-10-06 22:16:11 +08:00
|
|
|
osgcatch \
|
2006-03-02 23:26:12 +08:00
|
|
|
osgclip \
|
|
|
|
osgcluster \
|
|
|
|
osgcopy \
|
|
|
|
osgcubemap \
|
|
|
|
osgdelaunay \
|
|
|
|
osgdepthpartition \
|
2006-10-27 00:03:17 +08:00
|
|
|
osgdepthshadow \
|
2006-03-02 23:26:12 +08:00
|
|
|
osgdistortion \
|
|
|
|
osgforest \
|
|
|
|
osgfxbrowser \
|
|
|
|
osggeodemo \
|
|
|
|
osggeometry \
|
|
|
|
osghangglide \
|
|
|
|
osghud \
|
|
|
|
osgimpostor \
|
2006-10-27 00:03:17 +08:00
|
|
|
osgintersection \
|
2006-03-02 23:26:12 +08:00
|
|
|
osgkeyboard \
|
|
|
|
osgkeyboardmouse \
|
|
|
|
osglauncher \
|
|
|
|
osglight \
|
|
|
|
osglightpoint \
|
|
|
|
osglogicop \
|
|
|
|
osglogo \
|
|
|
|
osgmotionblur \
|
|
|
|
osgmovie \
|
|
|
|
osgmultiplecameras \
|
2006-10-06 22:16:11 +08:00
|
|
|
osgmultitexture \
|
2006-03-02 23:26:12 +08:00
|
|
|
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 \
|
2006-10-06 22:16:11 +08:00
|
|
|
osgshadow \
|
2006-03-02 23:26:12 +08:00
|
|
|
osgshadowtexture \
|
|
|
|
osgshape \
|
|
|
|
osgsimple \
|
|
|
|
osgsimplifier \
|
|
|
|
osgslice \
|
|
|
|
osgspacewarp \
|
|
|
|
osgspheresegment \
|
|
|
|
osgspotlight \
|
|
|
|
osgstereoimage \
|
|
|
|
osgteapot \
|
2007-01-08 19:23:52 +08:00
|
|
|
osgtessellate \
|
2006-03-02 23:26:12 +08:00
|
|
|
osgtext \
|
|
|
|
osgtexture1D \
|
|
|
|
osgtexture2D \
|
|
|
|
osgtexture3D \
|
|
|
|
osgtexturerectangle \
|
|
|
|
osgunittests \
|
|
|
|
osgvertexprogram \
|
|
|
|
osgvolume \
|
|
|
|
osgwindows \
|
2003-04-07 05:32:44 +08:00
|
|
|
|
2004-10-01 23:49:57 +08:00
|
|
|
|
2007-01-22 02:24:54 +08:00
|
|
|
ifeq ($(COMPILE_INTROSPECTION),yes)
|
|
|
|
EXAMPLE_DIRS += osgintrospection
|
|
|
|
endif
|
2005-10-13 16:05:46 +08:00
|
|
|
|
2007-01-22 02:24:54 +08:00
|
|
|
ifeq ($(GDAL_INSTALLED),yes)
|
|
|
|
EXAMPLE_DIRS += osgphotoalbum
|
|
|
|
EXAMPLE_DIRS += osgbluemarble
|
|
|
|
EXAMPLE_DIRS += osgsimulation
|
|
|
|
EXAMPLE_DIRS += osgfadetext
|
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
|
2006-10-02 23:38:31 +08:00
|
|
|
EXAMPLE_DIRS += osgsimpleviewerGLUT
|
2005-04-09 03:40:16 +08:00
|
|
|
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
|
2006-10-02 23:38:31 +08:00
|
|
|
|
|
|
|
ifeq ($(FLTK_INSTALLED),yes)
|
|
|
|
EXAMPLE_DIRS += osgsimpleviewerFLTK
|
|
|
|
endif
|