Files
OpenSceneGraph/Make/makedirdefs
Robert Osfield 83bf813e58 Moved the responsibility for finding file to load on to the ReaderWriter plugins,
instead of osgDB::Registry where it original lay.  This has been done to allow
fileName strings to be encode data rather than just file names, such as one
requires when using PagedLOD along with plugins for doing dynamic tesselation.
2003-12-08 11:24:43 +00:00

194 lines
3.2 KiB
Plaintext

################################################################
# 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\
md2\
obj\
osgParticle\
osgText\
osgSim\
osgFX\
osg\
osgtgz\
pic\
pnm\
rgb\
tga\
tgz\
txp\
zip\
3dc\
ive\
# comment in if you have gdal installed
PLUGIN_DIRS += gdal
# comment in if you have japser (JPEG2000 library) installed.
# PLUGIN_DIRS += jp2
# comment in if you have Performer installed.
# PLUGIN_DIRS += pfb
# comment in if have freetype2.x installed, provides type type font support to osgText.
PLUGIN_DIRS += freetype
# comment in of your have Inventor or coin installed
ifneq ("$(USE_COIN)","")
PLUGIN_DIRS += Inventor
else
ifneq ("$(USE_INVENTOR)","")
PLUGIN_DIRS += Inventor
else
PLUGIN_DIRS += iv
endif
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
# comment in if you want Open DX support, currently not on by default
# since we havn't yet checked compilation on all platforms yet.
# note, moved to non Darwin build since it currently breaks the Drawin build.
# commented out while the DX plugin is converted across to use Geometry rather than GeoSet.
# PLUGIN_DIRS += dx
#### MacOS X specific definitions
ifeq ($(OS),Darwin)
PLUGIN_DIRS += quicktime
else
# comment in if you have libtiff installed.
PLUGIN_DIRS += tiff
# comment in if you have libjpeg installed.
PLUGIN_DIRS += jpeg
# comment in if you have libpng installed.
PLUGIN_DIRS += png
# comment in if you have libungif installed.
PLUGIN_DIRS += gif
endif
################################################################
# Directories traversed in the TOPDIR/examples directory
EXAMPLE_DIRS = \
osganimate\
osgautotransform\
osgbillboard\
osgbluemarble\
osgdem\
osgcallback\
osgcameragroup\
osgclip\
osgconv\
osgcopy\
osgcubemap\
osggeodemo\
osggeometry\
osghangglide\
osghud\
osgfxbrowser\
osgforest\
osgimpostor\
osgkeyboard\
osglight\
osglightpoint\
osglogo\
osgmultitexture\
osgoccluder\
osgparticle\
osgpagedlod\
osgpick\
osgpoints\
# osgphotoalbum\
osgprerender\
osgprerendercubemap\
osgreflect\
osgscribe\
osgsequence\
osgscalarbar\
osgspheresegment\
osgsimulation\
osgshaders\
osgshadowtexture\
osgshape\
osgstereoimage\
osgteapot\
osgtext\
osgtexture1D\
osgtexture2D\
osgtexture3D\
osgtexturerectangle\
osgunittests\
osgversion\
osgvertexprogram\
osgviewer\
osgwindows\
# osgpagedlod\
# osgdemeter\
# osgjigsaw\
ifneq ($(OS),SunOS)
# Solaris requires an installation of libxml2
EXAMPLE_DIRS += slideshow3D
endif
# comment in you want to compile the cluster demo.
EXAMPLE_DIRS += osgcluster