OpenSceneGraph/Make/makedirdefs
Robert Osfield a865ea7773 Removed osgdemeter example from distribution because it no longer compiles,
and Demeter itself nolonger compiles, osgdemeter has now been moved to the community
section of openscenegraph.org.
2005-12-06 12:07:34 +00:00

283 lines
4.1 KiB
Plaintext

################################################################
# 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\
osgParticle\
osgText\
osgFX\
osgSim
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\
osgParticle\
osgSim\
osgUtil\
osgDB\
osgFX\
osgText\
osgGA
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\
dds\
directx\
dw\
dxf\
flt\
hdr\
ive\
lib3ds\
logo\
lwo\
lws\
md2\
net\
obj\
osg\
osga\
osgFX\
osgParticle\
osgSim\
osgText\
osgtgz\
pic\
pnm\
rgb\
rot\
scale\
stl\
tga\
tgz\
trans\
txp\
zip\
ifeq ($(GDAL_INSTALLED),yes)
PLUGIN_DIRS += gdal
endif
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 ($(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
ifeq ($(PRODUCER_INSTALLED),yes)
APPLICATION_DIRS += osgarchive\
osgconv\
osgviewer\
ifeq ($(GDAL_INSTALLED),yes)
APPLICATION_DIRS += osgdem
endif
endif
EXAMPLE_DIRS =
ifeq ($(PRODUCER_INSTALLED),yes)
EXAMPLE_DIRS += osganimate\
osgautotransform\
osgbillboard\
osgblendequation\
osgcallback\
osgcatch\
osgcamera\
osgcameragroup\
osgclip\
osgcluster\
osgcopy\
osgcubemap\
osgdelaunay\
osgdepthshadow\
osgdepthpartition\
osgdistortion\
osgfbo\
osgforest\
osgfxbrowser\
osggeodemo\
osggeometry\
osghangglide\
osghud\
osgimpostor\
osgkeyboard\
osgkeyboardmouse\
osglauncher\
osglight\
osglightpoint\
osglogicop\
osglogo\
osgmotionblur\
osgmovie\
osgmultitexture\
osgmultiplecameras\
osgoccluder\
osgpagedlod\
osgparametric\
osgparticle\
osgparticleeffects\
osgpbuffer\
osgpick\
osgplanets\
osgpoints\
osgpointsprite\
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\
ifeq ($(COMPILE_INTROSPECTION),yes)
EXAMPLE_DIRS += osgintrospection
endif
ifeq ($(GDAL_INSTALLED),yes)
EXAMPLE_DIRS += osgphotoalbum
EXAMPLE_DIRS += osgbluemarble
EXAMPLE_DIRS += osgsimulation
endif
endif
ifeq ($(GLUT_INSTALLED),yes)
EXAMPLE_DIRS += osgGLUTsimple
EXAMPLE_DIRS += osgGLUTkeyboardmouse
endif