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 \
|
|
|
|
-lsgmath -lsgprops -lsgdebug -lsgmisc -lsgxml -lsgstructure \
|
2009-09-17 18:42:15 +00:00
|
|
|
$(fgviewer_PLIB_LIBS) $(OSG_LIBS) $(opengl_LIBS) $(THREAD_LIBS) -lz
|