Files
OpenSceneGraph/Make/makedirdefs
Don BURNS bdd04bef60 Added applications directory. Copied (not moved)
osgarchive
    osgconv
    osgdem
    osgversion
    osgviewer

into applications directory.  Leaving them in the examples directory
as well, for now.

Made examples optional via the make COMPILE_EXAMPLES=yes option

Added static lib and static plugin build support.
2005-03-13 01:47:46 +00:00

248 lines
3.6 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\
osgSim\
osgGL2\
osgFX\
osgProducer\
osgIntrospection\
ifeq ($(GDAL_INSTALLED),yes)
SRC_DIRS += osgTerrain
endif
SRC_DIRS += \
osgPlugins\
osgWrappers\
WRAPPER_DIRS = \
osg\
################################################################
# Directories traversed in the TOPDIR/src/osgPlugins directory
PLUGIN_DIRS = \
3dc\
ac3d\
bmp\
dds\
directx\
dw\
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 ($(LIBMPEG3_INSTALLED),yes)
PLUGIN_DIRS += mpeg
endif
ifeq ($(AVIFILE_INSTALLED),yes)
PLUGIN_DIRS += avi
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
APPLICATION_DIRS = \
osgarchive\
osgconv\
osgdem\
osgversion\
osgviewer\
EXAMPLE_DIRS = \
osganimate\
osgarchive\
osgautotransform\
osgbillboard\
osgblendequation\
osgcallback\
osgcameragroup\
osgclip\
osgcluster\
osgconv\
osgcopy\
osgcubemap\
osgdepthshadow\
osgdistortion\
osgforest\
osgfxbrowser\
osggeodemo\
osggeometry\
osghangglide\
osghud\
osgimpostor\
osgintrospection\
osgkeyboard\
osgkeyboardmouse\
osglauncher\
osglight\
osglightpoint\
osglogo\
osglogicop\
osgmovie\
osgmotionblur\
osgmultitexture\
osgoccluder\
osgpagedlod\
osgparticle\
osgpick\
osgplanets\
osgpoints\
osgpointsprite\
osgprerender\
osgprerendercubemap\
osgreflect\
osgscalarbar\
osgscribe\
osgsequence\
osgshaders\
osgshadowtexture\
osgshape\
osgsimple\
osgsimplepager\
osgsimplifier\
osgslice\
osgspacewarp\
osgspheresegment\
osgspotlight\
osgstereoimage\
osgteapot\
osgtesselate\
osgtext\
osgtexture1D\
osgtexture2D\
osgtexture3D\
osgtexturerectangle\
osgunittests\
osgversion\
osgvertexprogram\
osgviewer\
osgvolume\
osgwindows\
ifeq ($(GDAL_INSTALLED),yes)
EXAMPLE_DIRS += osgphotoalbum
EXAMPLE_DIRS += osgdem
EXAMPLE_DIRS += osgbluemarble
EXAMPLE_DIRS += osgsimulation
endif
ifeq ($(DEMETER_INSTALLED),yes)
EXAMPLE_DIRS += osgdemeter
endif