1
0
Fork 0
This commit is contained in:
Torsten Dreyer 2011-04-14 17:38:56 +02:00
commit 6b7e8aafa9
3 changed files with 20 additions and 3 deletions

View file

@ -296,6 +296,14 @@ if test "x$have_rti13" = "xyes" ; then
AC_SUBST(HLA_LIBS, "-lsghla13 -lsghla $hla_libs") AC_SUBST(HLA_LIBS, "-lsghla13 -lsghla $hla_libs")
fi fi
dnl EXPERIMENTAL fgpanel application
# defaults to no
AC_ARG_WITH(fgpanel, [ --with-fgpanel Include fgpanel application (EXPERIMENTAL) [default=no]], [], [with_fgpanel=no])
if test "x$with_fgpanel" = "xyes"; then
AC_DEFINE([WITH_FGPANEL], 1, [Define to enable fgpanel application])
fi
AM_CONDITIONAL(WITH_FGPANEL, test "x$with_fgpanel" = "xyes")
dnl Used by JSBSim to conditionally compile in fgfs interface code dnl Used by JSBSim to conditionally compile in fgfs interface code
AC_DEFINE([FGFS], 1, [Define so that JSBSim compiles in 'library' mode]) AC_DEFINE([FGFS], 1, [Define so that JSBSim compiles in 'library' mode])
@ -940,7 +948,8 @@ AC_CONFIG_FILES([ \
utils/propmerge/Makefile \ utils/propmerge/Makefile \
utils/TerraSync/Makefile \ utils/TerraSync/Makefile \
utils/xmlgrep/Makefile \ utils/xmlgrep/Makefile \
utils/fgviewer/Makefile utils/fgviewer/Makefile \
utils/fgpanel/Makefile
]) ])
AC_OUTPUT AC_OUTPUT
@ -977,6 +986,12 @@ else
echo "Event input: no" echo "Event input: no"
fi fi
if test "x$with_fgpanel" = "xyes"; then
echo "fgpanel: yes"
else
echo "fgpanel: no"
fi
if test "x$enable_sp_fdms" != "xno"; then if test "x$enable_sp_fdms" != "xno"; then
echo "Include special purpose flight models: yes" echo "Include special purpose flight models: yes"
else else

View file

@ -1,4 +1,4 @@
DIST_SUBDIRS = GPSsmooth TerraSync Modeller js_server fgadmin xmlgrep propmerge fgviewer DIST_SUBDIRS = GPSsmooth TerraSync Modeller js_server fgadmin xmlgrep propmerge fgviewer
SUBDIRS = GPSsmooth TerraSync Modeller js_server propmerge fgviewer SUBDIRS = GPSsmooth TerraSync Modeller js_server propmerge fgviewer fgpanel

View file

@ -1,3 +1,4 @@
if WITH_FGPANEL
AM_CXXFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" AM_CXXFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\"
bin_PROGRAMS = fgpanel bin_PROGRAMS = fgpanel
@ -12,9 +13,10 @@ fgpanel_SOURCES = main.cxx \
panel.cxx panel.hxx \ panel.cxx panel.hxx \
panel_io.cxx panel_io.hxx panel_io.cxx panel_io.hxx
LIBS = #LIBS =
fgpanel_LDADD = \ fgpanel_LDADD = \
-lGLU -lglut -lsgmath -lsgprops -lsgio -lsgdebug -lsgmisc -lsgstructure -lsgxml -lsgtiming \ -lGLU -lglut -lsgmath -lsgprops -lsgio -lsgdebug -lsgmisc -lsgstructure -lsgxml -lsgtiming \
-lplibpu -lplibfnt -lplibul \ -lplibpu -lplibfnt -lplibul \
-lrt -lpng -lrt -lpng
endif