2009-06-04 04:30:51 +00:00
|
|
|
|
|
|
|
AM_CXXFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\"
|
|
|
|
|
2009-05-22 18:23:01 +00:00
|
|
|
bin_PROGRAMS = fgviewer
|
|
|
|
|
2009-09-17 18:42:15 +00:00
|
|
|
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
|
|
|
|
|
2009-05-22 18:23:01 +00:00
|
|
|
fgviewer_SOURCES = fgviewer.cxx
|
|
|
|
fgviewer_LDADD = \
|
2009-06-06 10:39:56 +00:00
|
|
|
-lsgtgdb -lsgmaterial -lsgmodel -lsgbvh -lsgutil -lsgio -lsgbucket \
|
2011-09-07 20:14:36 +00:00
|
|
|
-lsgmath -lsgprops -lsgdebug -lsgmisc -lsgxml -lsgstructure -lsgthreads \
|
2010-01-23 22:26:30 +00:00
|
|
|
$(fgviewer_PLIB_LIBS) $(OSG_LIBS) $(opengl_LIBS) $(thread_LIBS) -lz
|