OpenSceneGraph/Make/makedirdefs

315 lines
4.8 KiB
Plaintext
Raw Normal View History

################################################################
# Directories traversed from the top level
TOP_LEVEL_DIRS = \
src \
applications
ifeq ($(COMPILE_EXAMPLES),yes)
TOP_LEVEL_DIRS += examples
endif
################################################################
# Directories traversed in the TOPDIR/src directory
SRC_DIRS = \
osg \
osgUtil \
osgDB \
osgGA \
osgText \
2006-11-03 22:07:20 +08:00
osgViewer \
osgParticle \
osgFX \
osgShadow \
osgSim \
osgManipulator
ifeq ($(PRODUCER_INSTALLED),yes)
SRC_DIRS += osgProducer
endif
ifeq ($(GDAL_INSTALLED),yes)
SRC_DIRS += osgTerrain
endif
ifeq ($(COMPILE_INTROSPECTION),yes)
SRC_DIRS += \
osgIntrospection \
osgWrappers
endif
SRC_DIRS += \
osgPlugins \
WRAPPER_DIRS = \
osg \
osgDB \
osgFX \
2007-02-20 17:48:59 +08:00
osgGA \
osgManipulator \
osgParticle \
osgShadow \
osgSim \
osgText \
osgUtil \
osgViewer \
2007-02-20 17:48:59 +08:00
ifeq ($(PRODUCER_INSTALLED),yes)
WRAPPER_DIRS += osgProducer
endif
ifeq ($(GDAL_INSTALLED),yes)
WRAPPER_DIRS += osgTerrain
endif
################################################################
# Directories traversed in the TOPDIR/src/osgPlugins directory
PLUGIN_DIRS = \
3dc \
ac3d \
bmp \
bsp \
dds \
directx \
dw \
dxf \
ESRIShape \
flt \
hdr \
ive \
lib3ds \
logo \
lwo \
lws \
md2 \
net \
normals \
obj \
OpenFlight \
osg \
osga \
osgFX \
osgParticle \
osgSim \
osgText \
osgtgz \
pic \
pnm \
rgb \
rot \
scale \
stl \
tga \
tgz \
trans \
txf \
txp \
zip \
ifeq ($(GDAL_INSTALLED),yes)
PLUGIN_DIRS += gdal
endif
ifeq ($(COLLADA_INSTALLED),yes)
PLUGIN_DIRS += dae
endif
2005-02-05 03:34:46 +08:00
ifeq ($(XINE_INSTALLED),yes)
PLUGIN_DIRS += xine
endif
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)
PLUGIN_DIRS += jpeg
endif
ifeq ($(LIBUNGIF_INSTALLED),yes)
PLUGIN_DIRS += gif
endif
ifeq ($(LIBTIFF_INSTALLED),yes)
PLUGIN_DIRS += tiff
endif
ifeq ($(LIBPNG_INSTALLED),yes)
PLUGIN_DIRS += png
endif
ifeq ($(COIN_INSTALLED),yes)
PLUGIN_DIRS += Inventor
else
ifeq ($(INVENTOR_INSTALLED),yes)
PLUGIN_DIRS += Inventor
endif
endif
ifeq ($(LIBVRML_INSTALLED),yes)
PLUGIN_DIRS += vrml
endif
ifeq ($(PERFORMER_INSTALLED),yes)
PLUGIN_DIRS += pfb
endif
# 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
################################################################
# Directories traversed in the TOPDIR/examples directory
APPLICATION_DIRS = \
osgversion
2007-01-22 02:24:54 +08:00
APPLICATION_DIRS += osgarchive \
osgconv \
osgviewer \
2007-01-22 02:24:54 +08:00
ifeq ($(GDAL_INSTALLED),yes)
APPLICATION_DIRS += osgdem
2005-03-14 05:22:56 +08:00
endif
2007-01-22 02:24:54 +08:00
ifeq ($(PRODUCER_INSTALLED),yes)
2007-01-22 02:24:54 +08:00
APPLICATION_DIRS += osgproducerviewer
2007-01-22 02:24:54 +08:00
endif
2007-01-22 02:24:54 +08:00
EXAMPLE_DIRS = \
osganimate \
osgautotransform \
osgbillboard \
osgblendequation \
osgcallback \
osgcamera \
osgcatch \
osgclip \
osgcluster \
osgcopy \
osgcubemap \
osgdelaunay \
osgdepthpartition \
osgdepthshadow \
osgdistortion \
osgforest \
osgfxbrowser \
osggeodemo \
osggeometry \
osghangglide \
osghud \
osgimpostor \
osgintersection \
osgkeyboard \
osgkeyboardmouse \
osglauncher \
osglight \
osglightpoint \
osglogicop \
osglogo \
osgmotionblur \
osgmovie \
osgmultiplecameras \
osgmultitexture \
osgoccluder \
osgpagedlod \
osgparametric \
osgparticle \
osgparticleeffects \
osgpick \
osgplanets \
osgpoints \
osgpointsprite \
osgprecipitation \
osgprerender \
osgprerendercubemap \
osgreflect \
osgscalarbar \
osgscribe \
osgsequence \
osgshaders \
osgshaderterrain \
osgshadow \
osgshadowtexture \
osgshape \
osgsimple \
osgsimplifier \
osgslice \
osgspacewarp \
osgspheresegment \
osgspotlight \
osgstereoimage \
osgteapot \
osgtessellate \
osgtext \
osgtexture1D \
osgtexture2D \
osgtexture3D \
osgtexturerectangle \
osgunittests \
osgvertexprogram \
osgvolume \
osgwindows \
osgmanipulator \
2007-01-22 02:24:54 +08:00
ifeq ($(COMPILE_INTROSPECTION),yes)
EXAMPLE_DIRS += osgintrospection
endif
2007-01-22 02:24:54 +08:00
ifeq ($(GDAL_INSTALLED),yes)
EXAMPLE_DIRS += osgphotoalbum
EXAMPLE_DIRS += osgbluemarble
EXAMPLE_DIRS += osgsimulation
EXAMPLE_DIRS += osgfadetext
endif
ifeq ($(GLUT_INSTALLED),yes)
EXAMPLE_DIRS += osgGLUTsimple
EXAMPLE_DIRS += osgGLUTkeyboardmouse
EXAMPLE_DIRS += osgsimpleviewerGLUT
endif
2006-10-01 00:26:53 +08:00
ifeq ($(QT3_INSTALLED),yes)
EXAMPLE_DIRS += osgsimpleviewerQT3
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
ifeq ($(SDL_INSTALLED),yes)
EXAMPLE_DIRS += osgsimpleviewerSDL
2006-10-01 00:26:53 +08:00
endif
ifeq ($(FLTK_INSTALLED),yes)
EXAMPLE_DIRS += osgsimpleviewerFLTK
endif