Integrated the changes to osgPlugin/Makefile's for MacOSX port.

This commit is contained in:
Robert Osfield 2002-01-16 12:05:22 +00:00
parent d69c38f0ed
commit 92785c864e
16 changed files with 85 additions and 48 deletions

View File

@ -6,13 +6,15 @@ C++FILES = \
TARGET_BASENAME = osgdb_bmp
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(DL_EXT)
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LIB=
LODABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB
MACOSXLIBS = -L$(OSGOME)/lib -losg -losgDB -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib

View File

@ -5,13 +5,15 @@ C++FILES = ReaderWriterDW.cpp
TARGET_BASENAME = osgdb_dw
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(DL_EXT)
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LIB=
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB
MACOSXLIBS = -L$(OSGHOME)/lib -losg -losgDB -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib

View File

@ -45,16 +45,17 @@ C++FILES = \
TARGET_BASENAME = osgdb_flt
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(DL_EXT)
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LIB =
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB
MACOSXLIBS = -L$(OSGHOME)/lib -losg -losgDB -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib
include $(OSGHOME)/Make/makerules

View File

@ -4,11 +4,17 @@ include $(OSGHOME)/Make/makedefs
C++FILES = \
ReaderWriterGIF.cpp\
LIB = $(OSGHOME)/lib/osgPlugins/osgdb_gif.$(SO_EXT)
TARGET_BASENAME = osgdb_gif
TARGET_LOADER_FILES = osgPlugins/osgdb_gif.$(SO_EXT)
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(DL_EXT)
LIBS = -lungif
LIB=
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB -lungif
MACOSXLIBS = -L$(OSGHOME)/lib -losg -losgDB -lungif -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include -I/usr/freeware/include
LDFLAGS += -L$(OSGHOME)/lib $(FREEBSD_LOCALLIBS) -L/usr/freeware/lib32

View File

@ -27,11 +27,13 @@ TARGET_BASENAME = osgdb_3ds
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIB=
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB
MACOSXLIBS = -L$(OSGHOME)/lib -losg -losgUtil -losgDB -ldl -lm -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib

View File

@ -5,13 +5,15 @@ C++FILES = ReaderWriterLWO.cpp lw.cpp
TARGET_BASENAME = osgdb_lwo
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(DL_EXT)
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIB=
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB -losgUtil
MACOSXLIBS = -L$(OSGHOME)/lib -losg -losgDB -losgUtil -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib

View File

@ -5,13 +5,15 @@ C++FILES = ReaderWriterOBJ.cpp glm.cpp
TARGET_BASENAME = osgdb_obj
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(DL_EXT)
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIB=
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB
MACOSXLIBS = -L$(OSGHOME)/lib -losg -losgDB -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib

View File

@ -43,13 +43,16 @@ C++FILES = \
TARGET_BASENAME = osgdb_osg
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(DL_EXT)
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIB=
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB
MACOSXLIBS = -L../../../lib -losg -losgUtil -losgDB -ldl -lm -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib

View File

@ -7,13 +7,15 @@ C++FILES = \
TARGET_BASENAME = osgdb_osgtgz
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(DL_EXT)
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LIB=
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB
MACOSXLIBS = -L$(OSGHOME)/lib -losg -losgDB -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib

View File

@ -9,11 +9,13 @@ TARGET_BASENAME = osgdb_pic
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LIB=
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LIBS = $(GL_LIBS) -losg -losgDB
MACOSXLIBS = -L$(OSGHOME)/lib -losg -losgDB -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib

View File

@ -8,13 +8,16 @@ C++FILES = \
TARGET_BASENAME = osgdb_png
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(DL_EXT)
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LIB=
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB -lpng
MACOSXLIBS = -L$(OSGHOME)/lib -losg -losgDB -lpng -lstdc++
LIBS = $(GL_LIBS) -losg -losgDB -lpng
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib

View File

@ -6,11 +6,13 @@ C++FILES = \
TARGET_BASENAME = osgdb_rgb
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIB=
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB
MACOSXLIBS = -L../../../lib -losg -losgUtil -losgDB -ldl -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib

View File

@ -7,13 +7,15 @@ C++FILES = \
TARGET_BASENAME = osgdb_tga
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(DL_EXT)
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LIB=
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB
MACOSXLIBS = -L$(OSGHOME)/lib -losg -losgDB -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib

View File

@ -6,13 +6,15 @@ C++FILES = \
TARGET_BASENAME = osgdb_tgz
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(DL_EXT)
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LIB =
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB
MACOSXLIBS = -L$(OSGHOME)/lib -losg -losgDB -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib

View File

@ -7,13 +7,15 @@ C++FILES = \
TARGET_BASENAME = osgdb_tiff
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(DL_EXT)
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LIB=
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB -ltiff
LIBS = $(GL_LIBS) -losg -losgDB -ltiff
MACOSXLIBS = -L$(OSGHOME)/lib -losg -losgDB -ltiff -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib

View File

@ -6,13 +6,15 @@ C++FILES = \
TARGET_BASENAME = osgdb_zip
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(DL_EXT)
LIB = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
LIB=
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(SO_EXT)
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
LIBS = $(GL_LIBS) -losg -losgDB
MACOSXLIBS = -L$(OSGHOME)/lib -losg -losgDB -lstdc++
C++FLAGS += -I. -I$(OSGHOME)/include
LDFLAGS += -L$(OSGHOME)/lib