
################################################################
# 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\
	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 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\
	osgcallback\
	osgcameragroup\
	osgclip\
	osgconv\
	osgcopy\
	osgcubemap\
	osggeodemo\
	osggeometry\
	osghangglide\
	osghud\
	osgfxbrowser\
	osgforest\
	osgimpostor\
	osgkeyboard\
	osglight\
	osglightpoint\
	osglogo\
	osgmultitexture\
	osgoccluder\
	osgparticle\
	osgpagedlod\
	osgpick\
	osgpoints\
	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
