1
0
Fork 0

and the (hopefully) last one from Tat's Mac-can-run-make patch

This commit is contained in:
torsten 2009-09-17 18:42:15 +00:00 committed by Tim Moore
parent d14a17b5b8
commit 1dff3bf29a

View file

@ -3,8 +3,21 @@ AM_CXXFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\"
bin_PROGRAMS = fgviewer
if HAVE_FRAMEWORK_PLIB
fgviewer_LDFLAGS = $(plib_FRAMEWORK)
else
fgviewer_PLIB_LIBS = -lplibul
fgviewer_LDFLAGS =
endif
if HAVE_FRAMEWORK_OSG
fgviewer_LDFLAGS += $(osg_FRAMEWORKS) $(openthreads_FRAMEWORK)
else
fgviewer_LDFLAGS += $(osg_LIBS) $(openthreads_LIBS)
endif
fgviewer_SOURCES = fgviewer.cxx
fgviewer_LDADD = \
-lsgtgdb -lsgmaterial -lsgmodel -lsgbvh -lsgutil -lsgio -lsgbucket \
-lsgmath -lsgprops -lsgdebug -lsgmisc -lsgxml -lsgstructure \
-lplibul $(OSG_LIBS) $(opengl_LIBS) $(THREAD_LIBS) -lz
$(fgviewer_PLIB_LIBS) $(OSG_LIBS) $(opengl_LIBS) $(THREAD_LIBS) -lz