OSG modules depend upon, these can be set as installed or not. The makedirdefs now uses this to configure which modules to compile.
201 lines
3.0 KiB
Plaintext
201 lines
3.0 KiB
Plaintext
include $(TOPDIR)/Make/dependancies
|
|
|
|
|
|
################################################################
|
|
# Directories traversed from the top level
|
|
TOP_LEVEL_DIRS = src
|
|
|
|
|
|
################################################################
|
|
# Directories traversed in the TOPDIR/src directory
|
|
SRC_DIRS = \
|
|
osg\
|
|
osgUtil\
|
|
osgDB\
|
|
osgGA\
|
|
osgParticle\
|
|
osgText\
|
|
osgSim\
|
|
osgGL2\
|
|
osgFX\
|
|
osgTerrain\
|
|
osgProducer\
|
|
osgPlugins\
|
|
../examples
|
|
|
|
|
|
################################################################
|
|
# Directories traversed in the TOPDIR/src/osgPlugins directory
|
|
|
|
PLUGIN_DIRS = \
|
|
ac3d\
|
|
bmp\
|
|
directx\
|
|
dds\
|
|
dw\
|
|
flt\
|
|
lib3ds\
|
|
logo\
|
|
lwo\
|
|
lws\
|
|
md2\
|
|
obj\
|
|
osgParticle\
|
|
osgText\
|
|
osgSim\
|
|
osgFX\
|
|
osg\
|
|
osgtgz\
|
|
pic\
|
|
pnm\
|
|
rgb\
|
|
tga\
|
|
tgz\
|
|
txp\
|
|
zip\
|
|
3dc\
|
|
ive\
|
|
|
|
ifeq ($(GDAL_INSTALLED),yes)
|
|
PLUGIN_DIRS += gdal
|
|
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 += tiff
|
|
endif
|
|
|
|
ifeq ($(LIBUNGIF_INSTALLED),yes)
|
|
PLUGIN_DIRS += jpeg
|
|
endif
|
|
|
|
ifeq ($(LIBTIFF_INSTALLED),yes)
|
|
PLUGIN_DIRS += png
|
|
endif
|
|
|
|
ifeq ($(LIBMPEG3_INSTALLED),yes)
|
|
PLUGIN_DIRS += gif
|
|
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
|
|
|
|
# commented out while the DX plugin is converted across to use Geometry rather than GeoSet.
|
|
# PLUGIN_DIRS += dx
|
|
|
|
|
|
################################################################
|
|
# Directories traversed in the TOPDIR/examples directory
|
|
|
|
EXAMPLE_DIRS = \
|
|
osganimate\
|
|
osgautotransform\
|
|
osgbillboard\
|
|
osgcallback\
|
|
osgcameragroup\
|
|
osgclip\
|
|
osgcluster\
|
|
osgconv\
|
|
osgcopy\
|
|
osgcubemap\
|
|
osgdepthshadow\
|
|
osgdistortion\
|
|
osgforest\
|
|
osgfxbrowser\
|
|
osggeodemo\
|
|
osggeometry\
|
|
osghangglide\
|
|
osghud\
|
|
osgimpostor\
|
|
osgkeyboard\
|
|
osgkeyboardmouse\
|
|
osglight\
|
|
osglightpoint\
|
|
osglogo\
|
|
osgmultitexture\
|
|
osgoccluder\
|
|
osgpagedlod\
|
|
osgpagedlod\
|
|
osgparticle\
|
|
osgpick\
|
|
osgpoints\
|
|
osgprerender\
|
|
osgprerendercubemap\
|
|
osgreflect\
|
|
osgscalarbar\
|
|
osgscribe\
|
|
osgsequence\
|
|
osgshaders\
|
|
osgshadowtexture\
|
|
osgshape\
|
|
osgsimple\
|
|
osgsimplepager\
|
|
osgsimulation\
|
|
osgspacewarp\
|
|
osgspheresegment\
|
|
osgstereoimage\
|
|
osgteapot\
|
|
osgtext\
|
|
osgtexture1D\
|
|
osgtexture2D\
|
|
osgtexture3D\
|
|
osgtexturerectangle\
|
|
osgunittests\
|
|
osgversion\
|
|
osgvertexprogram\
|
|
osgviewer\
|
|
osgwindows\
|
|
|
|
ifeq ($(GDAL_INSTALLED),yes)
|
|
EXAMPLE_DIRS += osgphotoalbum
|
|
EXAMPLE_DIRS += osgdem
|
|
EXAMPLE_DIRS += osgbluemarble
|
|
endif
|
|
|
|
ifeq ($(LIBMPEG3_INSTALLED),yes)
|
|
EXAMPLE_DIRS += osgmovie
|
|
endif
|
|
|
|
ifeq ($(LIBXML2_INSTALLED),yes)
|
|
EXAMPLE_DIRS += slideshow3D
|
|
endif
|
|
|
|
ifeq ($(DEMETER_INSTALLED),yes)
|
|
EXAMPLE_DIRS += osgdemeter
|
|
endif
|