Added guards around Geo plugin to prevent it from being built under

OSX, Solaris and IRIX as it breaks the OSX build and doesn't handle
Endian issues.
This commit is contained in:
Robert Osfield 2003-04-11 07:18:13 +00:00
parent 8350eda616
commit 086a322d26

View File

@ -29,7 +29,6 @@ PLUGIN_DIRS = \
dds\
dw\
flt\
geo\
iv\
lib3ds\
logo\
@ -50,14 +49,23 @@ PLUGIN_DIRS = \
# comment in if you have Performer installed.
# PLUGIN_DIRS += pfb
# comment in if you want Open DX support, currently not on by default
# since we havn't yet checked compilation on all platforms yet.
PLUGIN_DIRS += dx
# comment in if have freetype2.x installed, provides type type font support to osgText.
PLUGIN_DIRS += freetype
# 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
#### MacOS X specific definitions
ifeq ($(OS),Darwin)
@ -65,6 +73,12 @@ ifeq ($(OS),Darwin)
else
# 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.
PLUGIN_DIRS += dx
# comment in if you have libtiff installed.
PLUGIN_DIRS += tiff