Goodbye automake.
This commit is contained in:
parent
e3037b638f
commit
70b4f38ebc
75 changed files with 0 additions and 3301 deletions
184
Makefile.am
184
Makefile.am
|
@ -1,184 +0,0 @@
|
||||||
SUBDIRS = \
|
|
||||||
tests \
|
|
||||||
man \
|
|
||||||
scripts \
|
|
||||||
src \
|
|
||||||
utils
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
acinclude.m4 \
|
|
||||||
autogen.sh \
|
|
||||||
projects \
|
|
||||||
README \
|
|
||||||
README.OpenAL \
|
|
||||||
README.plib \
|
|
||||||
README.OSG \
|
|
||||||
README.SimGear \
|
|
||||||
Thanks
|
|
||||||
|
|
||||||
dist-hook:
|
|
||||||
(cd $(top_srcdir); tar --exclude docs-mini/CVS --exclude hints/CVS \
|
|
||||||
-cf - docs-mini ) | (cd $(distdir); tar xvf -)
|
|
||||||
rm -rf `find $(distdir)/projects -name CVS`
|
|
||||||
|
|
||||||
|
|
||||||
##########################################################################
|
|
||||||
# extra targets to do various things ...
|
|
||||||
#
|
|
||||||
# Use "make <target>"
|
|
||||||
##########################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# make the base distribution with textures, sounds and a bit of
|
|
||||||
# scenery, and all the other associated files
|
|
||||||
|
|
||||||
# note, fedora core tar does case insensitive wildcard matching for
|
|
||||||
# directories, but apparently not files ... some stupid reason. :-(
|
|
||||||
|
|
||||||
data-tar:
|
|
||||||
(cd ..; \
|
|
||||||
tar \
|
|
||||||
--exclude=CVS \
|
|
||||||
--exclude='*~' \
|
|
||||||
--exclude='*.bak' \
|
|
||||||
--exclude='*.tex' \
|
|
||||||
--exclude='*.xcf' \
|
|
||||||
--exclude='*/c172/Instruments.high' \
|
|
||||||
--exclude='*/Textures/Unused' \
|
|
||||||
--exclude='*/Textures/*.orig' \
|
|
||||||
--exclude='*/Textures.high/*.new' \
|
|
||||||
--exclude='*/Textures.high/*.orig' \
|
|
||||||
--exclude='*/Textures.high/*.save' \
|
|
||||||
--exclude='*/data/Data' \
|
|
||||||
--exclude='*/Docs/source' \
|
|
||||||
--exclude='*/Models/MNUAV' \
|
|
||||||
--exclude='*/Models/Airspace' \
|
|
||||||
-cjvf FlightGear-data-$(VERSION).tar.bz2 \
|
|
||||||
data/AI \
|
|
||||||
data/Aircraft/Generic \
|
|
||||||
data/Aircraft/Instruments \
|
|
||||||
data/Aircraft/Instruments-3d \
|
|
||||||
data/Aircraft/UIUC \
|
|
||||||
data/Aircraft/777-200 \
|
|
||||||
data/Aircraft/A6M2 \
|
|
||||||
data/Aircraft/ASK13 \
|
|
||||||
data/Aircraft/b1900d \
|
|
||||||
data/Aircraft/bo105 \
|
|
||||||
data/Aircraft/c172p \
|
|
||||||
data/Aircraft/CitationX \
|
|
||||||
data/Aircraft/Dragonfly \
|
|
||||||
data/Aircraft/dhc2 \
|
|
||||||
data/Aircraft/f-14b \
|
|
||||||
data/Aircraft/Cub \
|
|
||||||
data/Aircraft/SenecaII \
|
|
||||||
data/Aircraft/sopwithCamel \
|
|
||||||
data/Aircraft/ufo \
|
|
||||||
data/Aircraft/ZLT-NT \
|
|
||||||
data/Airports \
|
|
||||||
data/Astro \
|
|
||||||
data/ATC \
|
|
||||||
data/AUTHORS \
|
|
||||||
data/ChangeLog \
|
|
||||||
data/COPYING \
|
|
||||||
data/D* \
|
|
||||||
data/Effects \
|
|
||||||
data/Environment \
|
|
||||||
data/Fonts \
|
|
||||||
data/gui \
|
|
||||||
data/HLA \
|
|
||||||
data/Huds \
|
|
||||||
data/Input \
|
|
||||||
data/joysticks.xml \
|
|
||||||
data/keyboard.xml \
|
|
||||||
data/Lighting \
|
|
||||||
data/materials.dtd \
|
|
||||||
data/materials.xml \
|
|
||||||
data/mice.xml \
|
|
||||||
data/Models \
|
|
||||||
data/MP \
|
|
||||||
data/N* \
|
|
||||||
data/options.xml \
|
|
||||||
data/preferences.xml \
|
|
||||||
data/Protocol \
|
|
||||||
data/README \
|
|
||||||
data/Scenery/Airports \
|
|
||||||
data/Scenery/Objects \
|
|
||||||
data/Scenery/Terrain \
|
|
||||||
data/Shaders \
|
|
||||||
data/Sounds \
|
|
||||||
data/T* \
|
|
||||||
data/version \
|
|
||||||
)
|
|
||||||
|
|
||||||
fgfs-textures-high:
|
|
||||||
(cd $(HOME); \
|
|
||||||
tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
|
|
||||||
FlightGear/Textures.high)
|
|
||||||
|
|
||||||
# make the mini JSBsim data distribution
|
|
||||||
jsbsim-data:
|
|
||||||
(cd $(HOME); \
|
|
||||||
tar czvf jsbsim-data-$(VERSION).tar.gz \
|
|
||||||
FlightGear/Aircraft \
|
|
||||||
FlightGear/Engine)
|
|
||||||
|
|
||||||
# make the documentation distribution
|
|
||||||
|
|
||||||
fgfs-docs: fgfs-docs-tar fgfs-manual-zip
|
|
||||||
|
|
||||||
fgfs-docs-tar:
|
|
||||||
( cd $(HOME); \
|
|
||||||
tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
|
|
||||||
|
|
||||||
# fgfs-docs-zip:
|
|
||||||
# ( cd $(HOME)/Projects ; \
|
|
||||||
# zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
|
|
||||||
|
|
||||||
fgfs-manual-zip:
|
|
||||||
( cd $(HOME) ; \
|
|
||||||
zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
|
|
||||||
|
|
||||||
# make the win32-bin distribution
|
|
||||||
|
|
||||||
fgfs-win32-bin:
|
|
||||||
(cd $(HOME); \
|
|
||||||
zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/runfgfs.bat \
|
|
||||||
FlightGear/bin/Win32 )
|
|
||||||
|
|
||||||
# make the win32-libs distribution (depricated)
|
|
||||||
win32-libs:
|
|
||||||
( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
|
|
||||||
Win32/README.glut Win32/cygwinb1.dll Win32/def \
|
|
||||||
Win32/*.exp Win32/gen-def-from-errors.pl \
|
|
||||||
Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
|
|
||||||
Win32/impdef.exe Win32/include \
|
|
||||||
Win32/install.exe \
|
|
||||||
Win32/lib Win32/zlib.lib )
|
|
||||||
|
|
||||||
# make the MacOS (MWCWP3) devel support archive
|
|
||||||
macos-devel:
|
|
||||||
( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
|
|
||||||
|
|
||||||
# clean up dependencies
|
|
||||||
clean-deps:
|
|
||||||
rm -rf .deps \
|
|
||||||
src/.deps tests/.deps \
|
|
||||||
src/*/.deps \
|
|
||||||
src/*/*/.deps \
|
|
||||||
tests/.deps
|
|
||||||
|
|
||||||
# clean up after libtool
|
|
||||||
clean-libs:
|
|
||||||
rm -rf .libs src/.libs \
|
|
||||||
src/*/.libs \
|
|
||||||
src/*/*/.libs
|
|
||||||
rm -f src/*/so_locations \
|
|
||||||
src/*/*/so_locations
|
|
||||||
|
|
||||||
# clean up after winbloze spews random case for file names :-(
|
|
||||||
clean-winbloze: clean-deps clean-libs
|
|
||||||
rm -f makefile src/Include/makefile src/makefile \
|
|
||||||
src/*/makefile \
|
|
||||||
src/*/*/makefile \
|
|
||||||
tests/makefile
|
|
||||||
rm -f src/Main/fg.exe
|
|
821
acinclude.m4
821
acinclude.m4
|
@ -1,821 +0,0 @@
|
||||||
dnl
|
|
||||||
dnl originally from ncftp 2.3.0
|
|
||||||
dnl added wi_EXTRA_PDIR and wi_ANSI_C
|
|
||||||
dnl $Id$
|
|
||||||
dnl
|
|
||||||
AC_DEFUN([wi_EXTRA_IDIR], [
|
|
||||||
incdir="$1"
|
|
||||||
if test -r $incdir ; then
|
|
||||||
case "$CPPFLAGS" in
|
|
||||||
*-I${incdir}*)
|
|
||||||
# echo " + already had $incdir" 1>&6
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
if test "$CPPFLAGS" = "" ; then
|
|
||||||
CPPFLAGS="-I$incdir"
|
|
||||||
else
|
|
||||||
CPPFLAGS="$CPPFLAGS -I$incdir"
|
|
||||||
fi
|
|
||||||
echo " + found $incdir" 1>&6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
AC_DEFUN([wi_EXTRA_LDIR], [
|
|
||||||
mylibdir="$1"
|
|
||||||
if test -r $mylibdir ; then
|
|
||||||
case "$LDFLAGS" in
|
|
||||||
*-L${mylibdir}*)
|
|
||||||
# echo " + already had $mylibdir" 1>&6
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
if test "$LDFLAGS" = "" ; then
|
|
||||||
LDFLAGS="-L$mylibdir"
|
|
||||||
else
|
|
||||||
LDFLAGS="$LDFLAGS -L$mylibdir"
|
|
||||||
fi
|
|
||||||
echo " + found $mylibdir" 1>&6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
dnl
|
|
||||||
dnl __FP__
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
AC_DEFUN([wi_EXTRA_PDIR], [
|
|
||||||
progdir="$1"
|
|
||||||
if test -r $progdir ; then
|
|
||||||
case "$PATH" in
|
|
||||||
*:${progdir}*)
|
|
||||||
# echo " + already had $progdir" 1>&6
|
|
||||||
;;
|
|
||||||
*${progdir}:*)
|
|
||||||
# echo " + already had $progdir" 1>&6
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
if test "$PATH" = "" ; then
|
|
||||||
PATH="$progdir"
|
|
||||||
else
|
|
||||||
PATH="$PATH:$progdir"
|
|
||||||
fi
|
|
||||||
echo " + found $progdir" 1>&6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl If you want to also look for include and lib subdirectories in the
|
|
||||||
dnl $HOME tree, you supply "yes" as the first argument to this macro.
|
|
||||||
dnl
|
|
||||||
dnl If you want to look for subdirectories in include/lib directories,
|
|
||||||
dnl you pass the names in argument 3, otherwise pass a dash.
|
|
||||||
dnl
|
|
||||||
AC_DEFUN([wi_EXTRA_DIRS], [echo "checking for extra include and lib directories..." 1>&6
|
|
||||||
ifelse([$1], yes, [dnl
|
|
||||||
b1=`cd .. ; pwd`
|
|
||||||
b2=`cd ../.. ; pwd`
|
|
||||||
exdirs="$HOME $j $b1 $b2 $prefix $2"
|
|
||||||
],[dnl
|
|
||||||
exdirs="$prefix $2"
|
|
||||||
])
|
|
||||||
subexdirs="$3"
|
|
||||||
if test "$subexdirs" = "" ; then
|
|
||||||
subexdirs="-"
|
|
||||||
fi
|
|
||||||
for subexdir in $subexdirs ; do
|
|
||||||
if test "$subexdir" = "-" ; then
|
|
||||||
subexdir=""
|
|
||||||
else
|
|
||||||
subexdir="/$subexdir"
|
|
||||||
fi
|
|
||||||
for exdir in $exdirs ; do
|
|
||||||
if test "$exdir" != "/usr" || test "$subexdir" != ""; then
|
|
||||||
incdir="${exdir}/include${subexdir}"
|
|
||||||
wi_EXTRA_IDIR($incdir)
|
|
||||||
|
|
||||||
mylibdir="${exdir}/lib${subexdir}"
|
|
||||||
wi_EXTRA_LDIR($mylibdir)
|
|
||||||
|
|
||||||
progdir="${exdir}/bin${subexdir}"
|
|
||||||
wi_EXTRA_PDIR($progdir)
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
])
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
AC_DEFUN([wi_HPUX_CFLAGS],
|
|
||||||
[AC_MSG_CHECKING(if HP-UX ansi C compiler flags are needed)
|
|
||||||
AC_REQUIRE([AC_PROG_CC])
|
|
||||||
os=`uname -s | tr '[A-Z]' '[a-z]'`
|
|
||||||
ac_cv_hpux_flags=no
|
|
||||||
if test "$os" = hp-ux ; then
|
|
||||||
if test "$ac_cv_prog_gcc" = yes ; then
|
|
||||||
if test "$CFLAGS" != "" ; then
|
|
||||||
# Shouldn't be in there.
|
|
||||||
CFLAGS=`echo "$CFLAGS" | sed 's/-Aa//g'`
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# If you're not using gcc, then you better have a cc/c89
|
|
||||||
# that is usable. If you have the barebones compiler, it
|
|
||||||
# won't work. The good compiler uses -Aa for the ANSI
|
|
||||||
# compatible stuff.
|
|
||||||
x=`echo $CFLAGS | grep 'Aa' 2>/dev/null`
|
|
||||||
if test "$x" = "" ; then
|
|
||||||
CFLAGS="$CFLAGS -Aa"
|
|
||||||
fi
|
|
||||||
ac_cv_hpux_flags=yes
|
|
||||||
fi
|
|
||||||
# Also add _HPUX_SOURCE to get the extended namespace.
|
|
||||||
x=`echo $CFLAGS | grep '_HPUX_SOURCE' 2>/dev/null`
|
|
||||||
if test "$x" = "" ; then
|
|
||||||
CFLAGS="$CFLAGS -D_HPUX_SOURCE"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
AC_MSG_RESULT($ac_cv_hpux_flags)
|
|
||||||
])
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
AC_DEFUN([wi_CFLAGS], [AC_REQUIRE([AC_PROG_CC])
|
|
||||||
wi_HPUX_CFLAGS
|
|
||||||
if test "$CFLAGS" = "" ; then
|
|
||||||
CFLAGS="-O"
|
|
||||||
elif test "$ac_cv_prog_gcc" = "yes" ; then
|
|
||||||
case "$CFLAGS" in
|
|
||||||
*"-g -O"*)
|
|
||||||
#echo "using -g as default gcc CFLAGS" 1>&6
|
|
||||||
CFLAGS=`echo $CFLAGS | sed 's/-g\ -O/-O/'`
|
|
||||||
;;
|
|
||||||
*"-O -g"*)
|
|
||||||
# Leave the -g, but remove all -O options.
|
|
||||||
#echo "using -g as default gcc CFLAGS" 1>&6
|
|
||||||
CFLAGS=`echo $CFLAGS | sed 's/-O\ -g/-O/'`
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
AC_DEFUN([wi_PROTOTYPES], [
|
|
||||||
AC_MSG_CHECKING(if the compiler supports function prototypes)
|
|
||||||
AC_TRY_COMPILE(,[extern void exit(int status);],[wi_cv_prototypes=yes
|
|
||||||
AC_DEFINE(PROTOTYPES)],wi_cv_prototypes=no)
|
|
||||||
AC_MSG_RESULT($wi_cv_prototypes)
|
|
||||||
])
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
AC_DEFUN([wi_ANSI_C], [
|
|
||||||
AC_MSG_CHECKING(ANSI-style function definitions)
|
|
||||||
AC_TRY_COMPILE(,[int blubb(int x) { return 0; }],[wi_cv_ansi_funcs=yes
|
|
||||||
AC_DEFINE(ANSI_FUNCS)],wi_cv_ansi_funcs=no)
|
|
||||||
AC_MSG_RESULT($wi_cv_ansi_funcs)
|
|
||||||
])
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
AC_DEFUN([wi_HEADER_SYS_SELECT_H], [
|
|
||||||
# See if <sys/select.h> is includable after <sys/time.h>
|
|
||||||
if test "$ac_cv_header_sys_time_h" = no ; then
|
|
||||||
AC_CHECK_HEADERS(sys/time.h sys/select.h)
|
|
||||||
else
|
|
||||||
AC_CHECK_HEADERS(sys/select.h)
|
|
||||||
fi
|
|
||||||
if test "$ac_cv_header_sys_select_h" = yes ; then
|
|
||||||
AC_MSG_CHECKING([if <sys/select.h> is compatible with <sys/time.h>])
|
|
||||||
selecth=yes
|
|
||||||
if test "$ac_cv_header_sys_time_h" = yes ; then
|
|
||||||
AC_TRY_COMPILE([#include <sys/time.h>
|
|
||||||
#include <sys/select.h>],[
|
|
||||||
fd_set a;
|
|
||||||
struct timeval tmval;
|
|
||||||
|
|
||||||
tmval.tv_sec = 0;],selecth=yes,selecth=no)
|
|
||||||
|
|
||||||
if test "$selecth" = yes ; then
|
|
||||||
AC_DEFINE(CAN_USE_SYS_SELECT_H)
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
AC_MSG_RESULT($selecth)
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
AC_DEFUN([wi_LIB_RESOLV], [
|
|
||||||
# See if we could access two well-known sites without help of any special
|
|
||||||
# libraries, like resolv.
|
|
||||||
|
|
||||||
AC_TRY_RUN([
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <netdb.h>
|
|
||||||
|
|
||||||
main()
|
|
||||||
{
|
|
||||||
struct hostent *hp1, *hp2;
|
|
||||||
int result;
|
|
||||||
|
|
||||||
hp1 = gethostbyname("gatekeeper.dec.com");
|
|
||||||
hp2 = gethostbyname("ftp.ncsa.uiuc.edu");
|
|
||||||
result = ((hp1 != (struct hostent *) 0) && (hp2 != (struct hostent *) 0));
|
|
||||||
exit(! result);
|
|
||||||
}],look_for_resolv=no,look_for_resolv=yes,look_for_resolv=yes)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([if we need to look for -lresolv])
|
|
||||||
AC_MSG_RESULT($look_for_resolv)
|
|
||||||
if test "$look_for_resolv" = yes ; then
|
|
||||||
AC_CHECK_LIB(resolv,main)
|
|
||||||
else
|
|
||||||
ac_cv_lib_resolv=no
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
|
|
||||||
AC_DEFUN([wi_LIB_NSL], [
|
|
||||||
AC_MSG_CHECKING(if we can use -lnsl)
|
|
||||||
ac_save_LIBS="$LIBS";
|
|
||||||
LIBS="$LIBS -lnsl";
|
|
||||||
AC_CACHE_VAL(r_cv_use_libnsl, [
|
|
||||||
AC_TRY_RUN(
|
|
||||||
main() { if (getpwuid(getuid())) exit(0); exit(-1); },
|
|
||||||
nc_cv_use_libnsl=yes, nc_cv_use_libnsl=no, nc_cv_use_libnsl=no)
|
|
||||||
])
|
|
||||||
if test "$nc_cv_use_libnsl" = "no"; then LIBS="$ac_save_LIBS"; fi
|
|
||||||
AC_MSG_RESULT($nc_cv_use_libnsl)
|
|
||||||
])dnl
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
|
|
||||||
AC_DEFUN([nc_PATH_PROG_ZCAT], [
|
|
||||||
AC_PATH_PROG(GZCAT,gzcat)
|
|
||||||
AC_PATH_PROG(ZCAT,zcat)
|
|
||||||
if test "x$GZCAT" = x ; then
|
|
||||||
if test "x$ZCAT" != x ; then
|
|
||||||
# See if zcat is really gzcat. gzcat has a --version option, regular
|
|
||||||
# zcat does not.
|
|
||||||
AC_MSG_CHECKING(if zcat is really gzcat in disguise)
|
|
||||||
if $ZCAT --version 2> /dev/null ; then
|
|
||||||
AC_DEFINE_UNQUOTED(GZCAT, "$ZCAT")
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
AC_DEFINE_UNQUOTED(GZCAT, "$GZCAT")
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "x$ZCAT" != x ; then
|
|
||||||
AC_DEFINE_UNQUOTED(ZCAT, "$ZCAT")
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
AC_DEFUN([wi_SYSV_EXTRA_DIRS], [
|
|
||||||
# Use System V because their curses extensions are required. This must
|
|
||||||
# be done early so we use the -I and -L in the library checks also.
|
|
||||||
# This is mostly a Solaris/SunOS hack. Note that doing this will also
|
|
||||||
# use all of the other System V libraries and headers.
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for alternative System V libraries)
|
|
||||||
if test -f /usr/5include/curses.h ; then
|
|
||||||
CPPFLAGS="$CPPFLAGS -I/usr/5include"
|
|
||||||
LDFLAGS="$LDFLAGS -L/usr/5lib"
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
AC_DEFUN([wi_DEFINE_UNAME], [
|
|
||||||
# Get first 127 chars of all uname information. Some folks have
|
|
||||||
# way too much stuff there, so grab only the first 127.
|
|
||||||
unam=`uname -a 2>/dev/null | cut -c1-127`
|
|
||||||
if test "$unam" != "" ; then
|
|
||||||
AC_DEFINE_UNQUOTED(UNAME, "$unam")
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
AC_DEFUN([wi_READLINE_WITH_NCURSES], [
|
|
||||||
# Readline and Ncurses could both define "backspace".
|
|
||||||
# Warn about this if we have both things in our definitions list.
|
|
||||||
|
|
||||||
if test "$ac_cv_lib_readline" = yes && test "$ac_cv_lib_ncurses" = yes ; then
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(if readline and ncurses will link together)
|
|
||||||
j="$LIBS"
|
|
||||||
LIBS="-lreadline -lncurses"
|
|
||||||
AC_TRY_LINK(,[
|
|
||||||
readline("prompt");
|
|
||||||
endwin();
|
|
||||||
],k=yes,k=no)
|
|
||||||
if test "$k" = no ; then
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
# Remove '-lreadline' from LIBS.
|
|
||||||
LIBS=`echo $j | sed s/-lreadline//g`
|
|
||||||
ac_cv_lib_readline=no
|
|
||||||
AC_WARN([The versions of GNU readline and ncurses you have installed on this system
|
|
||||||
can't be used together, because they use the same symbol, backspace. If
|
|
||||||
possible, recompile one of the libraries with -Dbackspace=back_space, then
|
|
||||||
re-run configure.])
|
|
||||||
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
LIBS="$j"
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
|
|
||||||
dnl AC_EXT_DAYLIGHT
|
|
||||||
dnl Check for an external variable daylight. Stolen from w3c-libwww.
|
|
||||||
AC_DEFUN([AC_EXT_DAYLIGHT],
|
|
||||||
[ AC_MSG_CHECKING(int daylight variable)
|
|
||||||
AC_TRY_COMPILE([#include <time.h>], [return daylight;],
|
|
||||||
have_daylight=yes,
|
|
||||||
have_daylight=no)
|
|
||||||
AC_MSG_RESULT($have_daylight)
|
|
||||||
])dnl
|
|
||||||
|
|
||||||
dnl AC_EXT_TIMEZONE
|
|
||||||
dnl Check for an external variable timezone. Stolen from tcl-8.0.
|
|
||||||
AC_DEFUN([AC_EXT_TIMEZONE],
|
|
||||||
[
|
|
||||||
#
|
|
||||||
# Its important to include time.h in this check, as some systems (like convex)
|
|
||||||
# have timezone functions, etc.
|
|
||||||
#
|
|
||||||
have_timezone=no
|
|
||||||
AC_MSG_CHECKING([long timezone variable])
|
|
||||||
AC_TRY_COMPILE([#include <time.h>],
|
|
||||||
[extern long timezone;
|
|
||||||
timezone += 1;
|
|
||||||
exit (0);],
|
|
||||||
[have_timezone=yes
|
|
||||||
AC_MSG_RESULT(yes)],
|
|
||||||
AC_MSG_RESULT(no))
|
|
||||||
|
|
||||||
#
|
|
||||||
# On some systems (eg IRIX 6.2), timezone is a time_t and not a long.
|
|
||||||
#
|
|
||||||
if test "$have_timezone" = no; then
|
|
||||||
AC_MSG_CHECKING([time_t timezone variable])
|
|
||||||
AC_TRY_COMPILE([#include <time.h>],
|
|
||||||
[extern time_t timezone;
|
|
||||||
timezone += 1;
|
|
||||||
exit (0);],
|
|
||||||
[have_timezone=yes
|
|
||||||
AC_MSG_RESULT(yes)],
|
|
||||||
AC_MSG_RESULT(no))
|
|
||||||
fi
|
|
||||||
])dnl
|
|
||||||
|
|
||||||
pushdef([AC_PROG_INSTALL],
|
|
||||||
[
|
|
||||||
dnl our own version, testing for a -p flag
|
|
||||||
popdef([AC_PROG_INSTALL])
|
|
||||||
dnl as AC_PROG_INSTALL works as it works we first have
|
|
||||||
dnl to save if the user didn't specify INSTALL, as the
|
|
||||||
dnl autoconf one overwrites INSTALL and we have no chance to find
|
|
||||||
dnl out afterwards
|
|
||||||
AC_PROG_INSTALL
|
|
||||||
|
|
||||||
# OK, user hasn't given any INSTALL, autoconf found one for us
|
|
||||||
# now we test, if it supports the -p flag
|
|
||||||
AC_MSG_CHECKING(for -p flag to install)
|
|
||||||
rm -f confinst.$$.* > /dev/null 2>&1
|
|
||||||
echo "Testtest" > confinst.$$.orig
|
|
||||||
ac_res=no
|
|
||||||
if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
|
|
||||||
if test -f confinst.$$.new ; then
|
|
||||||
# OK, -p seems to do no harm to install
|
|
||||||
INSTALL="${INSTALL} -p"
|
|
||||||
ac_res=yes
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
rm -f confinst.$$.*
|
|
||||||
AC_MSG_RESULT($ac_res)
|
|
||||||
dnl the following tries to resolve some signs and wonders coming up
|
|
||||||
dnl with different autoconf/automake versions
|
|
||||||
dnl e.g.:
|
|
||||||
dnl *automake 1.4 install-strip sets A_M_INSTALL_PROGRAM_FLAGS to -s
|
|
||||||
dnl and has INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(A_M_INSTALL_PROGRAM_FLAGS)
|
|
||||||
dnl it header-vars.am, so there the actual INSTALL_PROGRAM gets the -s
|
|
||||||
dnl *automake 1.4a (and above) use INSTALL_STRIP_FLAG and only has
|
|
||||||
dnl INSTALL_PROGRAM = @INSTALL_PROGRAM@ there, but changes the
|
|
||||||
dnl install-@DIR@PROGRAMS targets to explicitly use that flag
|
|
||||||
dnl *autoconf 2.13 is dumb, and thinks it can use INSTALL_PROGRAM as
|
|
||||||
dnl INSTALL_SCRIPT, which breaks with automake <= 1.4
|
|
||||||
dnl *autoconf >2.13 (since 10.Apr 1999) has not that failure
|
|
||||||
dnl to clean up that mess we:
|
|
||||||
dnl +set INSTALL_PROGRAM to use INSTALL_STRIP_FLAG
|
|
||||||
dnl which cleans KDE's program with automake > 1.4;
|
|
||||||
dnl +set INSTALL_SCRIPT to only use INSTALL, to clean up autoconf's problems
|
|
||||||
dnl with automake<=1.4
|
|
||||||
dnl note that dues to this sometimes two '-s' flags are used
|
|
||||||
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
|
|
||||||
INSTALL_SCRIPT='${INSTALL}'
|
|
||||||
])dnl
|
|
||||||
|
|
||||||
# ===========================================================================
|
|
||||||
# http://autoconf-archive.cryp.to/ax_boost_base.html
|
|
||||||
# ===========================================================================
|
|
||||||
#
|
|
||||||
# SYNOPSIS
|
|
||||||
#
|
|
||||||
# AX_BOOST_BASE([MINIMUM-VERSION])
|
|
||||||
#
|
|
||||||
# DESCRIPTION
|
|
||||||
#
|
|
||||||
# Test for the Boost C++ libraries of a particular version (or newer)
|
|
||||||
#
|
|
||||||
# If no path to the installed boost library is given the macro searchs
|
|
||||||
# under /usr, /usr/local, /opt and /opt/local and evaluates the
|
|
||||||
# $BOOST_ROOT environment variable. Further documentation is available at
|
|
||||||
# <http://randspringer.de/boost/index.html>.
|
|
||||||
#
|
|
||||||
# This macro calls:
|
|
||||||
#
|
|
||||||
# AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS)
|
|
||||||
#
|
|
||||||
# And sets:
|
|
||||||
#
|
|
||||||
# HAVE_BOOST
|
|
||||||
#
|
|
||||||
# LAST MODIFICATION
|
|
||||||
#
|
|
||||||
# 2008-04-12
|
|
||||||
#
|
|
||||||
# COPYLEFT
|
|
||||||
#
|
|
||||||
# Copyright (c) 2008 Thomas Porschberg <thomas@randspringer.de>
|
|
||||||
#
|
|
||||||
# Copying and distribution of this file, with or without modification, are
|
|
||||||
# permitted in any medium without royalty provided the copyright notice
|
|
||||||
# and this notice are preserved.
|
|
||||||
|
|
||||||
AC_DEFUN([AX_BOOST_BASE],
|
|
||||||
[
|
|
||||||
AC_ARG_WITH([boost],
|
|
||||||
AS_HELP_STRING([--with-boost@<:@=DIR@:>@], [use boost (default is yes) - it is possible to specify the root directory for boost (optional)]),
|
|
||||||
[
|
|
||||||
if test "$withval" = "no"; then
|
|
||||||
want_boost="no"
|
|
||||||
elif test "$withval" = "yes"; then
|
|
||||||
want_boost="yes"
|
|
||||||
ac_boost_path=""
|
|
||||||
else
|
|
||||||
want_boost="yes"
|
|
||||||
ac_boost_path="$withval"
|
|
||||||
fi
|
|
||||||
],
|
|
||||||
[want_boost="yes"])
|
|
||||||
|
|
||||||
|
|
||||||
AC_ARG_WITH([boost-libdir],
|
|
||||||
AS_HELP_STRING([--with-boost-libdir=LIB_DIR],
|
|
||||||
[Force given directory for boost libraries. Note that this will overwrite library path detection, so use this parameter only if default library detection fails and you know exactly where your boost libraries are located.]),
|
|
||||||
[
|
|
||||||
if test -d $withval
|
|
||||||
then
|
|
||||||
ac_boost_lib_path="$withval"
|
|
||||||
else
|
|
||||||
AC_MSG_ERROR(--with-boost-libdir expected directory name)
|
|
||||||
fi
|
|
||||||
],
|
|
||||||
[ac_boost_lib_path=""]
|
|
||||||
)
|
|
||||||
|
|
||||||
if test "x$want_boost" = "xyes"; then
|
|
||||||
boost_lib_version_req=ifelse([$1], ,1.20.0,$1)
|
|
||||||
boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([[0-9]]*\.[[0-9]]*\)'`
|
|
||||||
boost_lib_version_req_major=`expr $boost_lib_version_req : '\([[0-9]]*\)'`
|
|
||||||
boost_lib_version_req_minor=`expr $boost_lib_version_req : '[[0-9]]*\.\([[0-9]]*\)'`
|
|
||||||
boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'`
|
|
||||||
if test "x$boost_lib_version_req_sub_minor" = "x" ; then
|
|
||||||
boost_lib_version_req_sub_minor="0"
|
|
||||||
fi
|
|
||||||
WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
|
|
||||||
AC_MSG_CHECKING(for boostlib >= $boost_lib_version_req)
|
|
||||||
succeeded=no
|
|
||||||
|
|
||||||
dnl first we check the system location for boost libraries
|
|
||||||
dnl this location ist chosen if boost libraries are installed with the --layout=system option
|
|
||||||
dnl or if you install boost with RPM
|
|
||||||
if test "$ac_boost_path" != ""; then
|
|
||||||
BOOST_LDFLAGS="-L$ac_boost_path/lib"
|
|
||||||
BOOST_CPPFLAGS="-I$ac_boost_path/include"
|
|
||||||
else
|
|
||||||
for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
|
|
||||||
if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
|
|
||||||
BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib"
|
|
||||||
BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
|
|
||||||
break;
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl overwrite ld flags if we have required special directory with
|
|
||||||
dnl --with-boost-libdir parameter
|
|
||||||
if test "$ac_boost_lib_path" != ""; then
|
|
||||||
BOOST_LDFLAGS="-L$ac_boost_lib_path"
|
|
||||||
fi
|
|
||||||
|
|
||||||
CPPFLAGS_SAVED="$CPPFLAGS"
|
|
||||||
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
|
||||||
export CPPFLAGS
|
|
||||||
|
|
||||||
LDFLAGS_SAVED="$LDFLAGS"
|
|
||||||
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
|
|
||||||
export LDFLAGS
|
|
||||||
|
|
||||||
AC_LANG_PUSH(C++)
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
||||||
@%:@include <boost/version.hpp>
|
|
||||||
]], [[
|
|
||||||
#if BOOST_VERSION >= $WANT_BOOST_VERSION
|
|
||||||
// Everything is okay
|
|
||||||
#else
|
|
||||||
# error Boost version is too old
|
|
||||||
#endif
|
|
||||||
]])],[
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
succeeded=yes
|
|
||||||
found_system=yes
|
|
||||||
],[
|
|
||||||
])
|
|
||||||
AC_LANG_POP([C++])
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dnl if we found no boost with system layout we search for boost libraries
|
|
||||||
dnl built and installed without the --layout=system option or for a staged(not installed) version
|
|
||||||
if test "x$succeeded" != "xyes"; then
|
|
||||||
_version=0
|
|
||||||
if test "$ac_boost_path" != ""; then
|
|
||||||
if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
|
|
||||||
for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
|
|
||||||
_version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
|
|
||||||
V_CHECK=`expr $_version_tmp \> $_version`
|
|
||||||
if test "$V_CHECK" = "1" ; then
|
|
||||||
_version=$_version_tmp
|
|
||||||
fi
|
|
||||||
VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
|
|
||||||
BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
for ac_boost_path in /usr /usr/local /opt /opt/local ; do
|
|
||||||
if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
|
|
||||||
for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
|
|
||||||
_version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
|
|
||||||
V_CHECK=`expr $_version_tmp \> $_version`
|
|
||||||
if test "$V_CHECK" = "1" ; then
|
|
||||||
_version=$_version_tmp
|
|
||||||
best_path=$ac_boost_path
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
|
|
||||||
BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
|
|
||||||
if test "$ac_boost_lib_path" = ""
|
|
||||||
then
|
|
||||||
BOOST_LDFLAGS="-L$best_path/lib"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "x$BOOST_ROOT" != "x"; then
|
|
||||||
if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/lib" && test -r "$BOOST_ROOT/stage/lib"; then
|
|
||||||
version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
|
|
||||||
stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
|
|
||||||
stage_version_shorten=`expr $stage_version : '\([[0-9]]*\.[[0-9]]*\)'`
|
|
||||||
V_CHECK=`expr $stage_version_shorten \>\= $_version`
|
|
||||||
if test "$V_CHECK" = "1" -a "$ac_boost_lib_path" = "" ; then
|
|
||||||
AC_MSG_NOTICE(We will use a staged boost library from $BOOST_ROOT)
|
|
||||||
BOOST_CPPFLAGS="-I$BOOST_ROOT"
|
|
||||||
BOOST_LDFLAGS="-L$BOOST_ROOT/stage/lib"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
|
||||||
export CPPFLAGS
|
|
||||||
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
|
|
||||||
export LDFLAGS
|
|
||||||
|
|
||||||
AC_LANG_PUSH(C++)
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
||||||
@%:@include <boost/version.hpp>
|
|
||||||
]], [[
|
|
||||||
#if BOOST_VERSION >= $WANT_BOOST_VERSION
|
|
||||||
// Everything is okay
|
|
||||||
#else
|
|
||||||
# error Boost version is too old
|
|
||||||
#endif
|
|
||||||
]])],[
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
succeeded=yes
|
|
||||||
found_system=yes
|
|
||||||
],[
|
|
||||||
])
|
|
||||||
AC_LANG_POP([C++])
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$succeeded" != "yes" ; then
|
|
||||||
if test "$_version" = "0" ; then
|
|
||||||
AC_MSG_ERROR([[We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.]])
|
|
||||||
else
|
|
||||||
AC_MSG_ERROR([Your boost libraries seems to old (version $_version).])
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
AC_SUBST(BOOST_CPPFLAGS)
|
|
||||||
AC_SUBST(BOOST_LDFLAGS)
|
|
||||||
AC_DEFINE(HAVE_BOOST,,[define if the Boost library is available])
|
|
||||||
fi
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS_SAVED"
|
|
||||||
LDFLAGS="$LDFLAGS_SAVED"
|
|
||||||
fi
|
|
||||||
|
|
||||||
])
|
|
||||||
|
|
||||||
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
|
|
||||||
#
|
|
||||||
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
|
|
||||||
#
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful, but
|
|
||||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
# General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with this program; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
#
|
|
||||||
# As a special exception to the GNU General Public License, if you
|
|
||||||
# distribute this file as part of a program that contains a
|
|
||||||
# configuration script generated by Autoconf, you may include it under
|
|
||||||
# the same distribution terms that you use for the rest of that program.
|
|
||||||
|
|
||||||
# PKG_PROG_PKG_CONFIG([MIN-VERSION])
|
|
||||||
# ----------------------------------
|
|
||||||
AC_DEFUN([PKG_PROG_PKG_CONFIG],
|
|
||||||
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
|
|
||||||
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
|
|
||||||
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
|
|
||||||
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
|
|
||||||
AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
|
|
||||||
fi
|
|
||||||
if test -n "$PKG_CONFIG"; then
|
|
||||||
_pkg_min_version=m4_default([$1], [0.9.0])
|
|
||||||
AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
|
|
||||||
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
|
|
||||||
AC_MSG_RESULT([yes])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT([no])
|
|
||||||
PKG_CONFIG=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi[]dnl
|
|
||||||
])# PKG_PROG_PKG_CONFIG
|
|
||||||
|
|
||||||
# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
|
|
||||||
#
|
|
||||||
# Check to see whether a particular set of modules exists. Similar
|
|
||||||
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Similar to PKG_CHECK_MODULES, make sure that the first instance of
|
|
||||||
# this or PKG_CHECK_MODULES is called, or make sure to call
|
|
||||||
# PKG_CHECK_EXISTS manually
|
|
||||||
# --------------------------------------------------------------
|
|
||||||
AC_DEFUN([PKG_CHECK_EXISTS],
|
|
||||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
|
|
||||||
if test -n "$PKG_CONFIG" && \
|
|
||||||
AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
|
|
||||||
m4_ifval([$2], [$2], [:])
|
|
||||||
m4_ifvaln([$3], [else
|
|
||||||
$3])dnl
|
|
||||||
fi])
|
|
||||||
|
|
||||||
|
|
||||||
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
|
|
||||||
# ---------------------------------------------
|
|
||||||
m4_define([_PKG_CONFIG],
|
|
||||||
[if test -n "$$1"; then
|
|
||||||
pkg_cv_[]$1="$$1"
|
|
||||||
elif test -n "$PKG_CONFIG"; then
|
|
||||||
PKG_CHECK_EXISTS([$3],
|
|
||||||
[pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
|
|
||||||
[pkg_failed=yes])
|
|
||||||
else
|
|
||||||
pkg_failed=untried
|
|
||||||
fi[]dnl
|
|
||||||
])# _PKG_CONFIG
|
|
||||||
|
|
||||||
# _PKG_SHORT_ERRORS_SUPPORTED
|
|
||||||
# -----------------------------
|
|
||||||
AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
|
|
||||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
|
|
||||||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
|
||||||
_pkg_short_errors_supported=yes
|
|
||||||
else
|
|
||||||
_pkg_short_errors_supported=no
|
|
||||||
fi[]dnl
|
|
||||||
])# _PKG_SHORT_ERRORS_SUPPORTED
|
|
||||||
|
|
||||||
|
|
||||||
# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
|
|
||||||
# [ACTION-IF-NOT-FOUND])
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Note that if there is a possibility the first call to
|
|
||||||
# PKG_CHECK_MODULES might not happen, you should be sure to include an
|
|
||||||
# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# --------------------------------------------------------------
|
|
||||||
AC_DEFUN([PKG_CHECK_MODULES],
|
|
||||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
|
|
||||||
AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
|
|
||||||
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
|
|
||||||
|
|
||||||
pkg_failed=no
|
|
||||||
AC_MSG_CHECKING([for $1])
|
|
||||||
|
|
||||||
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
|
|
||||||
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
|
|
||||||
|
|
||||||
m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
|
|
||||||
and $1[]_LIBS to avoid the need to call pkg-config.
|
|
||||||
See the pkg-config man page for more details.])
|
|
||||||
|
|
||||||
if test $pkg_failed = yes; then
|
|
||||||
_PKG_SHORT_ERRORS_SUPPORTED
|
|
||||||
if test $_pkg_short_errors_supported = yes; then
|
|
||||||
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
|
|
||||||
else
|
|
||||||
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
|
|
||||||
fi
|
|
||||||
# Put the nasty error message in config.log where it belongs
|
|
||||||
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
|
|
||||||
|
|
||||||
ifelse([$4], , [AC_MSG_ERROR(dnl
|
|
||||||
[Package requirements ($2) were not met:
|
|
||||||
|
|
||||||
$$1_PKG_ERRORS
|
|
||||||
|
|
||||||
Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
|
||||||
installed software in a non-standard prefix.
|
|
||||||
|
|
||||||
_PKG_TEXT
|
|
||||||
])],
|
|
||||||
[AC_MSG_RESULT([no])
|
|
||||||
$4])
|
|
||||||
elif test $pkg_failed = untried; then
|
|
||||||
ifelse([$4], , [AC_MSG_FAILURE(dnl
|
|
||||||
[The pkg-config script could not be found or is too old. Make sure it
|
|
||||||
is in your PATH or set the PKG_CONFIG environment variable to the full
|
|
||||||
path to pkg-config.
|
|
||||||
|
|
||||||
_PKG_TEXT
|
|
||||||
|
|
||||||
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
|
|
||||||
[$4])
|
|
||||||
else
|
|
||||||
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
|
|
||||||
$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
|
|
||||||
AC_MSG_RESULT([yes])
|
|
||||||
ifelse([$3], , :, [$3])
|
|
||||||
fi[]dnl
|
|
||||||
])# PKG_CHECK_MODULES
|
|
72
am2dsp.cfg
72
am2dsp.cfg
|
@ -1,72 +0,0 @@
|
||||||
type = ConsoleApplication,Multithreaded,Debug
|
|
||||||
|
|
||||||
exclude_dir = NetworkOLK
|
|
||||||
exclude_dir = Weather
|
|
||||||
|
|
||||||
exclude_file = src\GUI\net_dlg.cxx
|
|
||||||
exclude_file = src\GUI\net_dlg.hxx
|
|
||||||
|
|
||||||
include_path = ..
|
|
||||||
include_path = src
|
|
||||||
include_path = src\include
|
|
||||||
include_path = src\FDM\JSBsim
|
|
||||||
include_path = ..\SimGear
|
|
||||||
include_path = ..\zlib-1.2.3
|
|
||||||
include_path = ..\freeglut-2.4.0\include
|
|
||||||
include_path = "..\OpenAL 1.0 Software Development Kit\include"
|
|
||||||
include_path = ..\Pre-built.2\include
|
|
||||||
|
|
||||||
define = _USE_MATH_DEFINES
|
|
||||||
define = _CRT_SECURE_NO_DEPRECATE
|
|
||||||
define = HAVE_CONFIG_H
|
|
||||||
define = FGFS
|
|
||||||
#define = FG_NDEBUG
|
|
||||||
#define = FG_NETWORK_OLK
|
|
||||||
#define = FG_JPEG_SERVER
|
|
||||||
define = FG_NEW_ENVIRONMENT
|
|
||||||
#define = FG_NEW_MOUSE
|
|
||||||
define = ENABLE_AUDIO_SUPPORT
|
|
||||||
define = ENABLE_PLIB_JOYSTICK
|
|
||||||
|
|
||||||
#add_lib = glut32.lib
|
|
||||||
|
|
||||||
#lib_path = ..\plib
|
|
||||||
#add_lib = ssg
|
|
||||||
#add_lib = sg
|
|
||||||
#add_lib = pui
|
|
||||||
#add_lib = fnt
|
|
||||||
#add_lib = sl
|
|
||||||
#add_lib = ul
|
|
||||||
#add_lib = ssgaux
|
|
||||||
#add_lib = net
|
|
||||||
|
|
||||||
#lib_path = ..\SimGear
|
|
||||||
#add_lib = SimGear
|
|
||||||
|
|
||||||
#add_project = ..\SimGear\SimGear.dsp
|
|
||||||
|
|
||||||
# Rule to create config.h
|
|
||||||
add_source_file = SOURCE = .\src\Include\config.h-msvc6\
|
|
||||||
\
|
|
||||||
!IF "$(CFG)" == "FlightGear - Win32 Release"\
|
|
||||||
\
|
|
||||||
# Begin Custom Build - Creating config.h\
|
|
||||||
InputPath=.\src\Include\config.h-msvc6\
|
|
||||||
\
|
|
||||||
".\src\Include\config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\
|
|
||||||
copy .\src\Include\config.h-msvc6 .\src\Include\config.h\
|
|
||||||
\
|
|
||||||
# End Custom Build\
|
|
||||||
\
|
|
||||||
!ELSEIF "$(CFG)" == "FlightGear - Win32 Debug"\
|
|
||||||
\
|
|
||||||
# Begin Custom Build - Creating config.h\
|
|
||||||
InputPath=.\src\Include\config.h-msvc6\
|
|
||||||
\
|
|
||||||
".\src\Include\config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\
|
|
||||||
copy .\src\Include\config.h-msvc6 .\src\Include\config.h\
|
|
||||||
\
|
|
||||||
# End Custom Build\
|
|
||||||
\
|
|
||||||
!ENDIF\
|
|
||||||
|
|
35
autogen.sh
35
autogen.sh
|
@ -1,35 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
echo "Running aclocal"
|
|
||||||
aclocal
|
|
||||||
|
|
||||||
echo "Running autoheader"
|
|
||||||
autoheader
|
|
||||||
if [ ! -e src/Include/config.h.in ]; then
|
|
||||||
echo "ERROR: autoheader didn't create simgear/simgear_config.h.in!"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Running automake --add-missing"
|
|
||||||
automake --add-missing
|
|
||||||
|
|
||||||
echo "Running autoconf"
|
|
||||||
autoconf
|
|
||||||
|
|
||||||
if [ ! -e configure ]; then
|
|
||||||
echo "ERROR: configure was not created!"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "======================================"
|
|
||||||
|
|
||||||
if [ -f config.cache ]; then
|
|
||||||
echo "config.cache exists. Removing the config.cache file will force"
|
|
||||||
echo "the ./configure script to rerun all it's tests rather than using"
|
|
||||||
echo "the previously cached values."
|
|
||||||
echo ""
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Now you are ready to run './configure'"
|
|
||||||
echo "======================================"
|
|
1003
configure.ac
1003
configure.ac
File diff suppressed because it is too large
Load diff
|
@ -1,3 +0,0 @@
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
|
||||||
|
|
||||||
man_MANS = est-epsilon.1 fgfs.1 fgjs.1 gl-info.1 js_demo.1 pstest.1
|
|
|
@ -1 +0,0 @@
|
||||||
SUBDIRS = debug perl python
|
|
|
@ -1 +0,0 @@
|
||||||
EXTRA_DIST = debug-fgfs sample.fgfs.supp
|
|
|
@ -1 +0,0 @@
|
||||||
EXTRA_DIST = fgfsclient.c fgfsclient.cxx fgfsscript remote.html
|
|
|
@ -1,3 +0,0 @@
|
||||||
SUBDIRS = src docs
|
|
||||||
EXTRA_DIST = build.xml fgfsclient.jar README main-class.txt
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
SUBDIRS = javadoc
|
|
|
@ -1,4 +0,0 @@
|
||||||
EXTRA_DIST = index-all.html llclasses-frame.html index.html \
|
|
||||||
deprecated-list.html serialized-form.html help-doc.html \
|
|
||||||
overview-tree.html stylesheet.css package-list
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
EXTRA_DIST = FGFSDemo.java
|
|
|
@ -1,2 +0,0 @@
|
||||||
SUBDIRS = examples \
|
|
||||||
traffic
|
|
|
@ -1 +0,0 @@
|
||||||
EXTRA_DIST = build_ils.pl dafift2fix.pl dafift2ils.pl dafift2nav.pl
|
|
|
@ -1,9 +0,0 @@
|
||||||
EXTRA_DIST = \
|
|
||||||
aircraft.pl \
|
|
||||||
autopilot.pl \
|
|
||||||
environment.pl \
|
|
||||||
flyplan.pl \
|
|
||||||
logging.pl \
|
|
||||||
position.pl \
|
|
||||||
reset.pl \
|
|
||||||
telnet.pl
|
|
|
@ -1 +0,0 @@
|
||||||
EXTRA_DIST = calc-tile.pl
|
|
|
@ -1,3 +0,0 @@
|
||||||
EXTRA_DIST = \
|
|
||||||
conf2xml.pl \
|
|
||||||
xml2conf.pl
|
|
|
@ -1 +0,0 @@
|
||||||
EXTRA_DIST = FlightGear.py demo.py
|
|
|
@ -1,25 +0,0 @@
|
||||||
noinst_LIBRARIES = libAIModel.a
|
|
||||||
|
|
||||||
libAIModel_a_SOURCES = submodel.cxx submodel.hxx \
|
|
||||||
AIManager.hxx AIManager.cxx \
|
|
||||||
AIBase.hxx AIBase.cxx \
|
|
||||||
AIAircraft.hxx AIAircraft.cxx \
|
|
||||||
AIMultiplayer.hxx AIMultiplayer.cxx \
|
|
||||||
AIShip.hxx AIShip.cxx \
|
|
||||||
AIBallistic.hxx AIBallistic.cxx \
|
|
||||||
AIStorm.hxx AIStorm.cxx \
|
|
||||||
AIThermal.hxx AIThermal.cxx \
|
|
||||||
AIFlightPlan.hxx AIFlightPlan.cxx \
|
|
||||||
AIFlightPlanCreate.cxx \
|
|
||||||
AIFlightPlanCreatePushBack.cxx \
|
|
||||||
AIFlightPlanCreateCruise.cxx \
|
|
||||||
AICarrier.hxx AICarrier.cxx \
|
|
||||||
AIStatic.hxx AIStatic.cxx \
|
|
||||||
AITanker.cxx AITanker.hxx \
|
|
||||||
AIWingman.cxx AIWingman.hxx\
|
|
||||||
AIGroundVehicle.cxx AIGroundVehicle.hxx \
|
|
||||||
AIEscort.cxx AIEscort.hxx \
|
|
||||||
performancedata.cxx performancedata.hxx \
|
|
||||||
performancedb.cxx performancedb.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,9 +0,0 @@
|
||||||
noinst_LIBRARIES = libATC.a
|
|
||||||
|
|
||||||
libATC_a_SOURCES = \
|
|
||||||
atcdialog.cxx atcdialog.hxx \
|
|
||||||
atc_mgr.cxx atc_mgr.hxx \
|
|
||||||
CommStation.cxx CommStation.hxx \
|
|
||||||
trafficcontrol.cxx trafficcontrol.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,12 +0,0 @@
|
||||||
noinst_LIBRARIES = libATCDCL.a
|
|
||||||
|
|
||||||
libATCDCL_a_SOURCES = \
|
|
||||||
ATC.hxx ATC.cxx \
|
|
||||||
atis.hxx atis.cxx atis_lexicon.hxx atis_remap.hxx \
|
|
||||||
ATCDialogOld.hxx ATCDialogOld.cxx \
|
|
||||||
ATCVoice.hxx ATCVoice.cxx \
|
|
||||||
ATCmgr.hxx ATCmgr.cxx \
|
|
||||||
ATCutils.hxx ATCutils.cxx \
|
|
||||||
ATCProjection.hxx ATCProjection.cxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,8 +0,0 @@
|
||||||
noinst_LIBRARIES = libAircraft.a
|
|
||||||
|
|
||||||
libAircraft_a_SOURCES = \
|
|
||||||
controls.cxx controls.hxx \
|
|
||||||
replay.cxx replay.hxx \
|
|
||||||
flightrecorder.cxx flightrecorder.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,24 +0,0 @@
|
||||||
noinst_LIBRARIES = libAirports.a
|
|
||||||
|
|
||||||
noinst_PROGRAMS = calc_loc
|
|
||||||
|
|
||||||
libAirports_a_SOURCES = \
|
|
||||||
apt_loader.cxx apt_loader.hxx \
|
|
||||||
runways.cxx runways.hxx \
|
|
||||||
simple.cxx simple.hxx \
|
|
||||||
runwayprefs.cxx runwayprefs.hxx \
|
|
||||||
parking.cxx parking.hxx \
|
|
||||||
gnnode.cxx gnnode.hxx \
|
|
||||||
groundnetwork.cxx groundnetwork.hxx \
|
|
||||||
dynamics.cxx dynamics.hxx \
|
|
||||||
dynamicloader.cxx dynamicloader.hxx \
|
|
||||||
sidstar.cxx sidstar.hxx \
|
|
||||||
runwayprefloader.cxx runwayprefloader.hxx \
|
|
||||||
xmlloader.cxx xmlloader.hxx \
|
|
||||||
runwaybase.cxx runwaybase.hxx \
|
|
||||||
pavement.cxx pavement.hxx
|
|
||||||
|
|
||||||
calc_loc_SOURCES = calc_loc.cxx
|
|
||||||
calc_loc_LDADD = -lsgmath -lsgdebug -lsgmisc -lsgstructure -lz $(base_LIBS)
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,18 +0,0 @@
|
||||||
noinst_LIBRARIES = libAutopilot.a
|
|
||||||
|
|
||||||
libAutopilot_a_SOURCES = \
|
|
||||||
route_mgr.cxx route_mgr.hxx \
|
|
||||||
autopilotgroup.cxx autopilotgroup.hxx \
|
|
||||||
autopilot.cxx autopilot.hxx functor.hxx \
|
|
||||||
inputvalue.cxx inputvalue.hxx \
|
|
||||||
component.cxx component.hxx \
|
|
||||||
analogcomponent.cxx analogcomponent.hxx \
|
|
||||||
pidcontroller.cxx pidcontroller.hxx \
|
|
||||||
pisimplecontroller.cxx pisimplecontroller.hxx \
|
|
||||||
predictor.cxx predictor.hxx \
|
|
||||||
digitalfilter.cxx digitalfilter.hxx \
|
|
||||||
digitalcomponent.cxx digitalcomponent.hxx \
|
|
||||||
logic.cxx logic.hxx \
|
|
||||||
flipflop.cxx flipflop.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,9 +0,0 @@
|
||||||
noinst_LIBRARIES = libCockpit.a
|
|
||||||
|
|
||||||
libCockpit_a_SOURCES = \
|
|
||||||
panel.cxx panel.hxx \
|
|
||||||
panel_io.cxx panel_io.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
||||||
|
|
||||||
SUBDIRS = built_in
|
|
|
@ -1,7 +0,0 @@
|
||||||
noinst_LIBRARIES = libBuilt_in.a
|
|
||||||
|
|
||||||
libBuilt_in_a_SOURCES = \
|
|
||||||
FGMagRibbon.cxx FGMagRibbon.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
# libdir = ${exec_prefix}/lib
|
|
||||||
# lib_LTLIBRARIES = libEnvironment.la
|
|
||||||
# libEnvironment_la_SOURCES = environment.c environment.h
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libEnvironment.a
|
|
||||||
|
|
||||||
libEnvironment_a_SOURCES = \
|
|
||||||
environment.cxx environment.hxx \
|
|
||||||
environment_mgr.cxx environment_mgr.hxx \
|
|
||||||
environment_ctrl.cxx environment_ctrl.hxx \
|
|
||||||
fgmetar.cxx fgmetar.hxx fgclouds.cxx fgclouds.hxx \
|
|
||||||
realwx_ctrl.cxx realwx_ctrl.hxx \
|
|
||||||
metarproperties.cxx metarproperties.hxx \
|
|
||||||
metarairportfilter.cxx metarairportfilter.hxx \
|
|
||||||
atmosphere.cxx atmosphere.hxx \
|
|
||||||
precipitation_mgr.cxx precipitation_mgr.hxx \
|
|
||||||
ridge_lift.cxx ridge_lift.hxx \
|
|
||||||
ephemeris.cxx ephemeris.hxx \
|
|
||||||
terrainsampler.cxx terrainsampler.hxx \
|
|
||||||
presets.cxx presets.hxx \
|
|
||||||
gravity.cxx gravity.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,11 +0,0 @@
|
||||||
noinst_LIBRARIES = libExternalNet.a
|
|
||||||
|
|
||||||
# noinst_PROGRAMS = demo_fdm
|
|
||||||
|
|
||||||
libExternalNet_a_SOURCES = \
|
|
||||||
ExternalNet.cxx ExternalNet.hxx
|
|
||||||
|
|
||||||
# demo_fdm_SOURCES = demo_fdm.cxx demo_httpd.cxx demo_httpd.hxx
|
|
||||||
# demo_LDADD =
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,11 +0,0 @@
|
||||||
noinst_LIBRARIES = libExternalPipe.a
|
|
||||||
|
|
||||||
# noinst_PROGRAMS = demo_fdm
|
|
||||||
|
|
||||||
libExternalPipe_a_SOURCES = \
|
|
||||||
ExternalPipe.cxx ExternalPipe.hxx
|
|
||||||
|
|
||||||
# demo_fdm_SOURCES = demo_fdm.cxx demo_httpd.cxx demo_httpd.hxx
|
|
||||||
# demo_LDADD =
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,9 +0,0 @@
|
||||||
SUBDIRS = initialization models input_output math
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libJSBSim.a
|
|
||||||
|
|
||||||
libJSBSim_a_SOURCES = FGFDMExec.cpp FGJSBBase.cpp JSBSim.cxx
|
|
||||||
|
|
||||||
noinst_HEADERS = FGFDMExec.h FGJSBBase.h JSBSim.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/FDM/JSBSim
|
|
|
@ -1,7 +0,0 @@
|
||||||
noinst_LIBRARIES = libInit.a
|
|
||||||
|
|
||||||
libInit_a_SOURCES = FGInitialCondition.cpp FGTrim.cpp FGTrimAxis.cpp
|
|
||||||
|
|
||||||
noinst_HEADERS = FGInitialCondition.h FGTrim.h FGTrimAxis.h
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src/FDM/JSBSim
|
|
|
@ -1,7 +0,0 @@
|
||||||
noinst_LIBRARIES = libInputOutput.a
|
|
||||||
|
|
||||||
libInputOutput_a_SOURCES = FGGroundCallback.cpp FGPropertyManager.cpp FGScript.cpp FGXMLElement.cpp FGXMLParse.cpp FGfdmSocket.cpp
|
|
||||||
|
|
||||||
noinst_HEADERS = FGGroundCallback.h FGPropertyManager.h FGScript.h FGXMLElement.h FGXMLParse.h FGfdmSocket.h FGXMLFileRead.h net_fdm.hxx string_utilities.h
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src/FDM/JSBSim
|
|
|
@ -1,11 +0,0 @@
|
||||||
noinst_LIBRARIES = libMath.a
|
|
||||||
|
|
||||||
libMath_a_SOURCES = FGColumnVector3.cpp FGFunction.cpp FGLocation.cpp FGMatrix33.cpp \
|
|
||||||
FGPropertyValue.cpp FGQuaternion.cpp FGRealValue.cpp FGTable.cpp \
|
|
||||||
FGCondition.cpp FGRungeKutta.cpp FGModelFunctions.cpp
|
|
||||||
|
|
||||||
noinst_HEADERS = FGColumnVector3.h FGFunction.h FGLocation.h FGMatrix33.h \
|
|
||||||
FGParameter.h FGPropertyValue.h FGQuaternion.h FGRealValue.h FGTable.h \
|
|
||||||
FGCondition.h FGRungeKutta.h FGModelFunctions.h LagrangeMultiplier.h
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src/FDM/JSBSim
|
|
|
@ -1,18 +0,0 @@
|
||||||
SUBDIRS = atmosphere propulsion flight_control
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libModels.a
|
|
||||||
|
|
||||||
libModels_a_SOURCES = FGAerodynamics.cpp FGAircraft.cpp FGAtmosphere.cpp \
|
|
||||||
FGAuxiliary.cpp FGFCS.cpp FGGroundReactions.cpp \
|
|
||||||
FGInertial.cpp FGBuoyantForces.cpp FGExternalForce.cpp \
|
|
||||||
FGLGear.cpp FGMassBalance.cpp FGModel.cpp FGOutput.cpp \
|
|
||||||
FGPropagate.cpp FGPropulsion.cpp FGInput.cpp \
|
|
||||||
FGExternalReactions.cpp FGGasCell.cpp FGAccelerations.cpp
|
|
||||||
|
|
||||||
noinst_HEADERS = FGAerodynamics.h FGAircraft.h FGAtmosphere.h FGAuxiliary.h \
|
|
||||||
FGFCS.h FGGroundReactions.h FGInertial.h FGLGear.h \
|
|
||||||
FGMassBalance.h FGBuoyantForces.h FGExternalForce.h \
|
|
||||||
FGModel.h FGOutput.h FGPropagate.h FGPropulsion.h FGInput.h \
|
|
||||||
FGExternalReactions.h FGGasCell.h FGAccelerations.h
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src/FDM/JSBSim
|
|
|
@ -1,7 +0,0 @@
|
||||||
noinst_LIBRARIES = libAtmosphere.a
|
|
||||||
|
|
||||||
libAtmosphere_a_SOURCES = FGMSIS.cpp FGMSISData.cpp FGMars.cpp FGStandardAtmosphere.cpp FGWinds.cpp
|
|
||||||
|
|
||||||
noinst_HEADERS = FGMSIS.h FGMars.h FGStandardAtmosphere.h FGWinds.h
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src/FDM/JSBSim
|
|
|
@ -1,15 +0,0 @@
|
||||||
noinst_LIBRARIES = libFlightControl.a
|
|
||||||
|
|
||||||
libFlightControl_a_SOURCES = \
|
|
||||||
FGPID.cpp FGDeadBand.cpp FGFCSComponent.cpp \
|
|
||||||
FGFilter.cpp FGGain.cpp FGKinemat.cpp \
|
|
||||||
FGSummer.cpp FGSwitch.cpp FGFCSFunction.cpp FGSensor.cpp \
|
|
||||||
FGActuator.cpp FGAccelerometer.cpp FGGyro.cpp FGMagnetometer.cpp
|
|
||||||
|
|
||||||
noinst_HEADERS = \
|
|
||||||
FGPID.h FGDeadBand.h FGFCSComponent.h FGFilter.h \
|
|
||||||
FGGain.h FGKinemat.h FGSummer.h FGSwitch.h FGFCSFunction.h\
|
|
||||||
FGSensor.h FGActuator.h FGAccelerometer.h FGGyro.h FGMagnetometer.h \
|
|
||||||
FGSensorOrientation.h
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src/FDM/JSBSim
|
|
|
@ -1,12 +0,0 @@
|
||||||
noinst_LIBRARIES = libPropulsion.a
|
|
||||||
|
|
||||||
libPropulsion_a_SOURCES = \
|
|
||||||
FGElectric.cpp FGEngine.cpp FGForce.cpp FGNozzle.cpp \
|
|
||||||
FGPiston.cpp FGPropeller.cpp FGRocket.cpp FGRotor.cpp \
|
|
||||||
FGTank.cpp FGThruster.cpp FGTurbine.cpp FGTurboProp.cpp
|
|
||||||
|
|
||||||
noinst_HEADERS = FGElectric.h FGEngine.h FGForce.h FGNozzle.h FGPiston.h \
|
|
||||||
FGPropeller.h FGRocket.h FGRotor.h FGTank.h FGThruster.h \
|
|
||||||
FGTurbine.h FGTurboProp.h
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src/FDM/JSBSim
|
|
|
@ -1,40 +0,0 @@
|
||||||
EXTRA_DIST = \
|
|
||||||
c172_aero.c c172_aero.h \
|
|
||||||
c172_engine.c \
|
|
||||||
c172_gear.c \
|
|
||||||
c172_init.c \
|
|
||||||
ls_trim.c \
|
|
||||||
navion_init.h \
|
|
||||||
basic_init.c basic_init.h basic_aero.c basic_aero.h basic_engine.c basic_gear.c \
|
|
||||||
uiuc_aero.c
|
|
||||||
|
|
||||||
AIRCRAFT_MODEL = c172_aero.c c172_engine.c c172_gear.c c172_init.c \
|
|
||||||
basic_init.c basic_init.h basic_aero.c basic_aero.h basic_engine.c basic_gear.c \
|
|
||||||
navion_init.h navion_aero.c navion_engine.c \
|
|
||||||
navion_gear.c navion_init.c uiuc_aero.c \
|
|
||||||
cherokee_aero.c cherokee_engine.c cherokee_gear.c \
|
|
||||||
cherokee_init.c
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libLaRCsim.a
|
|
||||||
|
|
||||||
libLaRCsim_a_SOURCES = \
|
|
||||||
LaRCsim.cxx LaRCsim.hxx \
|
|
||||||
LaRCsimIC.cxx LaRCsimIC.hxx \
|
|
||||||
IO360.cxx IO360.hxx \
|
|
||||||
atmos_62.c atmos_62.h \
|
|
||||||
default_model_routines.c default_model_routines.h \
|
|
||||||
ls_accel.c ls_accel.h \
|
|
||||||
ls_aux.c ls_aux.h \
|
|
||||||
ls_cockpit.h ls_constants.h ls_generic.h \
|
|
||||||
ls_geodesy.c ls_geodesy.h \
|
|
||||||
ls_gravity.c ls_gravity.h \
|
|
||||||
ls_init.c ls_init.h \
|
|
||||||
ls_matrix.c ls_matrix.h \
|
|
||||||
ls_model.c ls_model.h \
|
|
||||||
ls_sim_control.h \
|
|
||||||
ls_step.c ls_step.h \
|
|
||||||
ls_sym.h ls_types.h \
|
|
||||||
$(AIRCRAFT_MODEL) \
|
|
||||||
ls_interface.c ls_interface.h
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,21 +0,0 @@
|
||||||
if ENABLE_SP_FDM
|
|
||||||
SP_DIR = SP
|
|
||||||
else
|
|
||||||
SP_DIR =
|
|
||||||
endif
|
|
||||||
|
|
||||||
SUBDIRS = JSBSim LaRCsim UIUCModel YASim \
|
|
||||||
$(SP_DIR) ExternalNet ExternalPipe
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libFlight.a
|
|
||||||
|
|
||||||
libFlight_a_SOURCES = \
|
|
||||||
flight.cxx flight.hxx \
|
|
||||||
fdm_shell.cxx fdm_shell.hxx \
|
|
||||||
flightProperties.cxx flightProperties.hxx \
|
|
||||||
TankProperties.cxx TankProperties.hxx \
|
|
||||||
groundcache.cxx groundcache.hxx \
|
|
||||||
UFO.cxx UFO.hxx \
|
|
||||||
NullFDM.cxx NullFDM.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/FDM/JSBSim
|
|
|
@ -1,11 +0,0 @@
|
||||||
|
|
||||||
noinst_LIBRARIES = libSPFDM.a
|
|
||||||
|
|
||||||
libSPFDM_a_SOURCES = \
|
|
||||||
ADA.cxx ADA.hxx \
|
|
||||||
ACMS.cxx ACMS.hxx \
|
|
||||||
Balloon.cxx Balloon.h \
|
|
||||||
BalloonSim.cpp BalloonSim.h \
|
|
||||||
MagicCarpet.cxx MagicCarpet.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,85 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libUIUCModel.a
|
|
||||||
|
|
||||||
libUIUCModel_a_SOURCES = \
|
|
||||||
uiuc_1DdataFileReader.cpp uiuc_1DdataFileReader.h \
|
|
||||||
uiuc_1Dinterpolation.cpp uiuc_1Dinterpolation.h \
|
|
||||||
uiuc_2DdataFileReader.cpp uiuc_2DdataFileReader.h \
|
|
||||||
uiuc_2Dinterpolation.cpp uiuc_2Dinterpolation.h \
|
|
||||||
uiuc_3Dinterpolation.cpp uiuc_3Dinterpolation.h \
|
|
||||||
uiuc_aerodeflections.cpp uiuc_aerodeflections.h \
|
|
||||||
uiuc_aircraft.h \
|
|
||||||
uiuc_alh_ap.cpp uiuc_alh_ap.h \
|
|
||||||
uiuc_auto_pilot.cpp uiuc_auto_pilot.h \
|
|
||||||
uiuc_betaprobe.cpp uiuc_betaprobe.h \
|
|
||||||
uiuc_coef_drag.cpp uiuc_coef_drag.h \
|
|
||||||
uiuc_coef_lift.cpp uiuc_coef_lift.h \
|
|
||||||
uiuc_coef_pitch.cpp uiuc_coef_pitch.h \
|
|
||||||
uiuc_coef_roll.cpp uiuc_coef_roll.h \
|
|
||||||
uiuc_coef_sideforce.cpp uiuc_coef_sideforce.h \
|
|
||||||
uiuc_coef_yaw.cpp uiuc_coef_yaw.h \
|
|
||||||
uiuc_coefficients.cpp uiuc_coefficients.h \
|
|
||||||
uiuc_controlInput.cpp uiuc_controlInput.h \
|
|
||||||
uiuc_convert.cpp uiuc_convert.h \
|
|
||||||
uiuc_engine.cpp uiuc_engine.h \
|
|
||||||
uiuc_flapdata.cpp uiuc_flapdata.h \
|
|
||||||
uiuc_find_position.cpp uiuc_find_position.h \
|
|
||||||
uiuc_fog.cpp uiuc_fog.h \
|
|
||||||
uiuc_gear.cpp uiuc_gear.h\
|
|
||||||
uiuc_get_flapper.cpp uiuc_get_flapper.h \
|
|
||||||
uiuc_getwind.cpp uiuc_getwind.h \
|
|
||||||
uiuc_hh_ap.cpp uiuc_hh_ap.h \
|
|
||||||
uiuc_ice.cpp uiuc_ice.h \
|
|
||||||
uiuc_iceboot.cpp uiuc_iceboot.h \
|
|
||||||
uiuc_iced_nonlin.cpp uiuc_iced_nonlin.h \
|
|
||||||
uiuc_icing_demo.cpp uiuc_icing_demo.h \
|
|
||||||
uiuc_initializemaps.cpp uiuc_initializemaps.h \
|
|
||||||
uiuc_map_CD.cpp uiuc_map_CD.h \
|
|
||||||
uiuc_map_CL.cpp uiuc_map_CL.h \
|
|
||||||
uiuc_map_CY.cpp uiuc_map_CY.h \
|
|
||||||
uiuc_map_Cm.cpp uiuc_map_Cm.h \
|
|
||||||
uiuc_map_Cn.cpp uiuc_map_Cn.h \
|
|
||||||
uiuc_map_Croll.cpp uiuc_map_Croll.h \
|
|
||||||
uiuc_map_controlSurface.cpp uiuc_map_controlSurface.h \
|
|
||||||
uiuc_map_engine.cpp uiuc_map_engine.h \
|
|
||||||
uiuc_map_fog.cpp uiuc_map_fog.h \
|
|
||||||
uiuc_map_geometry.cpp uiuc_map_geometry.h \
|
|
||||||
uiuc_map_ice.cpp uiuc_map_ice.h \
|
|
||||||
uiuc_map_gear.cpp uiuc_map_gear.h \
|
|
||||||
uiuc_map_init.cpp uiuc_map_init.h \
|
|
||||||
uiuc_map_keyword.cpp uiuc_map_keyword.h \
|
|
||||||
uiuc_map_mass.cpp uiuc_map_mass.h \
|
|
||||||
uiuc_map_misc.cpp uiuc_map_misc.h \
|
|
||||||
uiuc_map_record1.cpp uiuc_map_record1.h \
|
|
||||||
uiuc_map_record2.cpp uiuc_map_record2.h \
|
|
||||||
uiuc_map_record3.cpp uiuc_map_record3.h \
|
|
||||||
uiuc_map_record4.cpp uiuc_map_record4.h \
|
|
||||||
uiuc_map_record5.cpp uiuc_map_record5.h \
|
|
||||||
uiuc_map_record6.cpp uiuc_map_record6.h \
|
|
||||||
uiuc_menu.cpp uiuc_menu.h \
|
|
||||||
uiuc_menu_init.cpp uiuc_menu_init.h \
|
|
||||||
uiuc_menu_geometry.cpp uiuc_menu_geometry.h \
|
|
||||||
uiuc_menu_controlSurface.cpp uiuc_menu_controlSurface.h \
|
|
||||||
uiuc_menu_mass.cpp uiuc_menu_mass.h \
|
|
||||||
uiuc_menu_engine.cpp uiuc_menu_engine.h \
|
|
||||||
uiuc_menu_CD.cpp uiuc_menu_CD.h \
|
|
||||||
uiuc_menu_CL.cpp uiuc_menu_CL.h \
|
|
||||||
uiuc_menu_Cm.cpp uiuc_menu_Cm.h \
|
|
||||||
uiuc_menu_CY.cpp uiuc_menu_CY.h \
|
|
||||||
uiuc_menu_Croll.cpp uiuc_menu_Croll.h \
|
|
||||||
uiuc_menu_Cn.cpp uiuc_menu_Cn.h \
|
|
||||||
uiuc_menu_gear.cpp uiuc_menu_gear.h \
|
|
||||||
uiuc_menu_ice.cpp uiuc_menu_ice.h \
|
|
||||||
uiuc_menu_fog.cpp uiuc_menu_fog.h \
|
|
||||||
uiuc_menu_record.cpp uiuc_menu_record.h \
|
|
||||||
uiuc_menu_misc.cpp uiuc_menu_misc.h \
|
|
||||||
uiuc_menu_functions.cpp uiuc_menu_functions.h \
|
|
||||||
uiuc_pah_ap.cpp uiuc_pah_ap.h \
|
|
||||||
uiuc_parsefile.cpp uiuc_parsefile.h \
|
|
||||||
uiuc_rah_ap.cpp uiuc_rah_ap.h \
|
|
||||||
uiuc_recorder.cpp uiuc_recorder.h \
|
|
||||||
uiuc_warnings_errors.cpp uiuc_warnings_errors.h \
|
|
||||||
uiuc_wrapper.cpp uiuc_wrapper.h
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,62 +0,0 @@
|
||||||
# Link the yasim executable against the individual object files rather
|
|
||||||
# than libYASim. The library references other stuff in FlightGear,
|
|
||||||
# and some linkers (Irix) do dependency checks per-library instead of
|
|
||||||
# per-object.
|
|
||||||
#
|
|
||||||
# I think that it's permissible to list the same source files more
|
|
||||||
# than once in a Makefile.am. Hopefully this doesn't break anything.
|
|
||||||
|
|
||||||
SHARED_SOURCE_FILES = \
|
|
||||||
Airplane.cpp Airplane.hpp \
|
|
||||||
Atmosphere.cpp Atmosphere.hpp \
|
|
||||||
BodyEnvironment.hpp \
|
|
||||||
ControlMap.cpp ControlMap.hpp \
|
|
||||||
FGFDM.cpp FGFDM.hpp \
|
|
||||||
Gear.cpp Gear.hpp \
|
|
||||||
Glue.cpp Glue.hpp \
|
|
||||||
Ground.cpp Ground.hpp \
|
|
||||||
Hitch.cpp Hitch.hpp \
|
|
||||||
Hook.cpp Hook.hpp \
|
|
||||||
Launchbar.cpp Launchbar.hpp \
|
|
||||||
Integrator.cpp Integrator.hpp \
|
|
||||||
Jet.cpp Jet.hpp \
|
|
||||||
Math.cpp Math.hpp \
|
|
||||||
Model.cpp Model.hpp \
|
|
||||||
PropEngine.cpp PropEngine.hpp \
|
|
||||||
Propeller.cpp Propeller.hpp \
|
|
||||||
Engine.hpp \
|
|
||||||
PistonEngine.cpp PistonEngine.hpp \
|
|
||||||
TurbineEngine.cpp TurbineEngine.hpp \
|
|
||||||
RigidBody.cpp RigidBody.hpp \
|
|
||||||
Rotor.cpp Rotor.hpp \
|
|
||||||
Rotorpart.cpp Rotorpart.hpp \
|
|
||||||
SimpleJet.cpp SimpleJet.hpp \
|
|
||||||
Surface.cpp Surface.hpp \
|
|
||||||
Thruster.cpp Thruster.hpp \
|
|
||||||
Vector.hpp \
|
|
||||||
Wing.cpp Wing.hpp \
|
|
||||||
Turbulence.cpp Turbulence.hpp
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libYASim.a
|
|
||||||
|
|
||||||
libYASim_a_SOURCES = YASim.cxx YASim.hxx FGGround.cpp FGGround.hpp $(SHARED_SOURCE_FILES)
|
|
||||||
|
|
||||||
bin_PROGRAMS = yasim
|
|
||||||
noinst_PROGRAMS = proptest
|
|
||||||
|
|
||||||
yasim_SOURCES = yasim-test.cpp $(SHARED_SOURCE_FILES)
|
|
||||||
|
|
||||||
yasim_LDADD = -lsgxml -lsgprops -lsgdebug -lsgmisc -lsgstructure -lsgtiming $(base_LIBS)
|
|
||||||
|
|
||||||
proptest_SOURCES = proptest.cpp $(SHARED_SOURCE_FILES)
|
|
||||||
proptest_LDADD = -lsgxml -lsgprops -lsgdebug -lsgmisc -lsgstructure -lsgtiming $(base_LIBS)
|
|
||||||
|
|
||||||
if HAVE_FRAMEWORK_OSG
|
|
||||||
yasim_LDFLAGS = $(openthreads_FRAMEWORKS)
|
|
||||||
proptest_LDFLAGS = $(openthreads_FRAMEWORKS)
|
|
||||||
else
|
|
||||||
yasim_LDFLAGS = $(openthreads_LIBS)
|
|
||||||
proptest_LDFLAGS = $(openthreads_LIBS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,38 +0,0 @@
|
||||||
noinst_LIBRARIES = libGUI.a
|
|
||||||
noinst_PROGRAMS = layout-test
|
|
||||||
|
|
||||||
if HAVE_FRAMEWORK_PLIB
|
|
||||||
layout_test_PLIB_FW = $(plib_FRAMEWORK)
|
|
||||||
else
|
|
||||||
layout_test_PLIB_LIBS = -lplibpw -lplibpu -lplibfnt -lplibul
|
|
||||||
endif
|
|
||||||
|
|
||||||
if HAVE_FRAMEWORK_OSG
|
|
||||||
layout_test_OSG_LIBS = $(openthreads_FRAMEWORK)
|
|
||||||
else
|
|
||||||
layout_test_OSG_LIBS = $(openthreads_LIBS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
libGUI_a_SOURCES = \
|
|
||||||
new_gui.cxx new_gui.hxx \
|
|
||||||
dialog.cxx dialog.hxx \
|
|
||||||
menubar.cxx menubar.hxx \
|
|
||||||
gui.cxx gui.h gui_funcs.cxx \
|
|
||||||
fonts.cxx \
|
|
||||||
AirportList.cxx AirportList.hxx \
|
|
||||||
property_list.cxx property_list.hxx \
|
|
||||||
layout.cxx layout-props.cxx layout.hxx \
|
|
||||||
SafeTexFont.cxx SafeTexFont.hxx \
|
|
||||||
WaypointList.cxx WaypointList.hxx \
|
|
||||||
MapWidget.cxx MapWidget.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
||||||
|
|
||||||
layout_test_SOURCES = layout-test.cxx
|
|
||||||
|
|
||||||
layout_test_LDADD = libGUI.a \
|
|
||||||
-lsgprops -lsgdebug -lsgstructure -lsgmisc -lsgxml -lsgtiming \
|
|
||||||
$(layout_test_PLIB_LIBS) $(opengl_LIBS)
|
|
||||||
|
|
||||||
# mainly for Macs
|
|
||||||
layout_test_LDFLAGS = $(layout_test_PLIB_FW) $(layout_test_OSG_LIBS)
|
|
|
@ -1,5 +0,0 @@
|
||||||
EXTRA_DIST = \
|
|
||||||
config.h.in \
|
|
||||||
config.h-msvc90 \
|
|
||||||
cmdargs.h \
|
|
||||||
fg_typedefs.h
|
|
|
@ -1,53 +0,0 @@
|
||||||
AM_CXXFLAGS = -DPKGLIBDIR=\"$(pkgdatadir)\"
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libInput.a
|
|
||||||
|
|
||||||
if WITH_EVENTINPUT
|
|
||||||
EXTRA_libInput_a_SOURCES = FGLinuxEventInput.cxx FGLinuxEventInput.hxx \
|
|
||||||
FGMacOSXEventInput.cxx FGMacOSXEventInput.hxx
|
|
||||||
libInput_Event_SOURCES = FGEventInput.cxx FGEventInput.hxx
|
|
||||||
libInput_Event_INCLUDES = $(eventinput_INCLUDES)
|
|
||||||
libInput_a_LIBADD = $(eventinput_EXTRA_OBJS)
|
|
||||||
libInput_a_DEPENDENCIES = $(eventinput_EXTRA_OBJS)
|
|
||||||
else
|
|
||||||
libInput_Event_SOURCES =
|
|
||||||
libInput_Event_INCLUDES =
|
|
||||||
endif
|
|
||||||
|
|
||||||
if HAVE_FRAMEWORK_PLIB
|
|
||||||
js_demo_LDFLAGS = $(plib_FRAMEWORK)
|
|
||||||
fgjs_LDFLAGS = $(plib_FRAMEWORK)
|
|
||||||
else
|
|
||||||
js_demo_PLIB_LIBS = -lplibjs -lplibul
|
|
||||||
fgjs_PLIB_LIBS = -lplibjs -lplibul
|
|
||||||
js_demo_LDFLAGS =
|
|
||||||
fgjs_LDFLAGS=
|
|
||||||
endif
|
|
||||||
|
|
||||||
if HAVE_FRAMEWORK_OSG
|
|
||||||
fgjs_LDFLAGS = $(openthreads_FRAMEWORK)
|
|
||||||
else
|
|
||||||
fgjs_LDFLAGS = $(openthreads_LIBS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
libInput_a_SOURCES = input.cxx input.hxx FGCommonInput.cxx FGCommonInput.hxx \
|
|
||||||
FGDeviceConfigurationMap.cxx FGDeviceConfigurationMap.hxx \
|
|
||||||
FGButton.cxx FGButton.hxx \
|
|
||||||
FGMouseInput.cxx FGMouseInput.hxx \
|
|
||||||
FGKeyboardInput.cxx FGKeyboardInput.hxx \
|
|
||||||
FGJoystickInput.cxx FGJoystickInput.hxx \
|
|
||||||
$(libInput_Event_SOURCES)
|
|
||||||
|
|
||||||
bin_PROGRAMS = js_demo fgjs
|
|
||||||
|
|
||||||
js_demo_SOURCES = js_demo.cxx
|
|
||||||
|
|
||||||
js_demo_LDADD = $(js_demo_PLIB_LIBS) $(base_LIBS) $(joystick_LIBS)
|
|
||||||
|
|
||||||
fgjs_SOURCES = fgjs.cxx jsinput.cxx jsinput.h jssuper.cxx jssuper.h
|
|
||||||
|
|
||||||
fgjs_LDADD = $(js_demo_PLIB_LIBS) $(base_LIBS) $(joystick_LIBS) \
|
|
||||||
-lsgprops -lsgmisc -lsgio -lsgdebug -lsgstructure -lsgxml -lz $(network_LIBS)
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/Main \
|
|
||||||
$(libInput_Event_INCLUDES)
|
|
|
@ -1,16 +0,0 @@
|
||||||
noinst_LIBRARIES = libHUD.a
|
|
||||||
|
|
||||||
libHUD_a_SOURCES = \
|
|
||||||
HUD.cxx HUD.hxx \
|
|
||||||
HUD_tape.cxx \
|
|
||||||
HUD_dial.cxx \
|
|
||||||
HUD_gauge.cxx \
|
|
||||||
HUD_instrument.cxx \
|
|
||||||
HUD_label.cxx \
|
|
||||||
HUD_ladder.cxx \
|
|
||||||
HUD_misc.cxx \
|
|
||||||
HUD_runway.cxx \
|
|
||||||
HUD_scale.cxx \
|
|
||||||
HUD_tbi.cxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,22 +0,0 @@
|
||||||
noinst_LIBRARIES = libKLN89.a
|
|
||||||
|
|
||||||
libKLN89_a_SOURCES = \
|
|
||||||
kln89.cxx kln89.hxx \
|
|
||||||
kln89_page.cxx kln89_page.hxx \
|
|
||||||
kln89_page_act.cxx kln89_page_act.hxx \
|
|
||||||
kln89_page_alt.cxx kln89_page_alt.hxx \
|
|
||||||
kln89_page_apt.cxx kln89_page_apt.hxx \
|
|
||||||
kln89_page_cal.cxx kln89_page_cal.hxx \
|
|
||||||
kln89_page_dir.cxx kln89_page_dir.hxx \
|
|
||||||
kln89_page_fpl.cxx kln89_page_fpl.hxx \
|
|
||||||
kln89_page_int.cxx kln89_page_int.hxx \
|
|
||||||
kln89_page_nav.cxx kln89_page_nav.hxx \
|
|
||||||
kln89_page_ndb.cxx kln89_page_ndb.hxx \
|
|
||||||
kln89_page_nrst.cxx kln89_page_nrst.hxx \
|
|
||||||
kln89_page_oth.cxx kln89_page_oth.hxx \
|
|
||||||
kln89_page_set.cxx kln89_page_set.hxx \
|
|
||||||
kln89_page_usr.cxx kln89_page_usr.hxx \
|
|
||||||
kln89_page_vor.cxx kln89_page_vor.hxx \
|
|
||||||
kln89_symbols.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,41 +0,0 @@
|
||||||
SUBDIRS = KLN89 HUD
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libInstrumentation.a
|
|
||||||
|
|
||||||
libInstrumentation_a_SOURCES = \
|
|
||||||
instrument_mgr.cxx instrument_mgr.hxx \
|
|
||||||
adf.cxx adf.hxx \
|
|
||||||
airspeed_indicator.cxx airspeed_indicator.hxx \
|
|
||||||
altimeter.cxx altimeter.hxx \
|
|
||||||
attitude_indicator.cxx attitude_indicator.hxx \
|
|
||||||
clock.cxx clock.hxx \
|
|
||||||
dme.cxx dme.hxx \
|
|
||||||
gps.cxx gps.hxx \
|
|
||||||
gsdi.cxx gsdi.hxx \
|
|
||||||
gyro.cxx gyro.hxx \
|
|
||||||
heading_indicator.cxx heading_indicator.hxx \
|
|
||||||
heading_indicator_fg.cxx heading_indicator_fg.hxx \
|
|
||||||
heading_indicator_dg.cxx heading_indicator_dg.hxx \
|
|
||||||
kr_87.hxx kr_87.cxx \
|
|
||||||
kt_70.cxx kt_70.hxx \
|
|
||||||
mag_compass.cxx mag_compass.hxx \
|
|
||||||
marker_beacon.cxx marker_beacon.hxx \
|
|
||||||
mrg.cxx mrg.hxx\
|
|
||||||
navradio.cxx navradio.hxx \
|
|
||||||
newnavradio.cxx newnavradio.hxx \
|
|
||||||
slip_skid_ball.cxx slip_skid_ball.hxx \
|
|
||||||
transponder.cxx transponder.hxx \
|
|
||||||
turn_indicator.cxx turn_indicator.hxx \
|
|
||||||
vertical_speed_indicator.cxx vertical_speed_indicator.hxx \
|
|
||||||
inst_vertical_speed_indicator.cxx inst_vertical_speed_indicator.hxx \
|
|
||||||
od_gauge.hxx od_gauge.cxx wxradar.hxx wxradar.cxx \
|
|
||||||
tacan.cxx tacan.hxx mk_viii.cxx mk_viii.hxx \
|
|
||||||
dclgps.cxx dclgps.hxx \
|
|
||||||
render_area_2d.cxx render_area_2d.hxx \
|
|
||||||
groundradar.cxx groundradar.hxx \
|
|
||||||
agradar.cxx agradar.hxx rad_alt.cxx rad_alt.hxx \
|
|
||||||
rnav_waypt_controller.cxx rnav_waypt_controller.hxx \
|
|
||||||
tcas.cxx tcas.hxx \
|
|
||||||
NavDisplay.cxx NavDisplay.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_builddir)/src
|
|
|
@ -1,137 +0,0 @@
|
||||||
EXTRA_DIST = 3dfx.sh runfgfs.in runfgfs.bat.in \
|
|
||||||
fg_os_osgviewer.cxx fg_os.hxx
|
|
||||||
|
|
||||||
MPLAYER_LIBS = $(top_builddir)/src/MultiPlayer/libMultiPlayer.a
|
|
||||||
|
|
||||||
if ENABLE_SP_FDM
|
|
||||||
SP_FDM_LIBS = $(top_builddir)/src/FDM/SP/libSPFDM.a
|
|
||||||
else
|
|
||||||
SP_FDM_LIBS =
|
|
||||||
endif
|
|
||||||
|
|
||||||
if WITH_EVENTINPUT
|
|
||||||
EVENT_LIBS = $(eventinput_LIBS)
|
|
||||||
else
|
|
||||||
EVENT_LIBS =
|
|
||||||
endif
|
|
||||||
|
|
||||||
if HAVE_FRAMEWORK_PLIB
|
|
||||||
fgfs_PLIB_FW = $(plib_FRAMEWORK)
|
|
||||||
else
|
|
||||||
fgfs_PLIB_LIBS = -lplibpuaux -lplibpu -lplibfnt -lplibjs \
|
|
||||||
-lplibsg -lplibul
|
|
||||||
endif
|
|
||||||
|
|
||||||
if HAVE_FRAMEWORK_OSG
|
|
||||||
fgfs_OSG_FW = $(osg_FRAMEWORKS) $(openthreads_FRAMEWORK)
|
|
||||||
endif
|
|
||||||
|
|
||||||
if WITH_HLA
|
|
||||||
HLA_LDADD=$(HLA_LDFLAGS) $(top_builddir)/src/Network/HLA/libFGHLA.a $(HLA_LIBS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
GFX_CODE = fg_os_osgviewer.cxx fg_os_common.cxx fg_os.hxx
|
|
||||||
|
|
||||||
JSBSIM_LIBS = \
|
|
||||||
$(top_builddir)/src/FDM/JSBSim/libJSBSim.a \
|
|
||||||
$(top_builddir)/src/FDM/JSBSim/initialization/libInit.a \
|
|
||||||
$(top_builddir)/src/FDM/JSBSim/models/atmosphere/libAtmosphere.a \
|
|
||||||
$(top_builddir)/src/FDM/JSBSim/models/libModels.a \
|
|
||||||
$(top_builddir)/src/FDM/JSBSim/models/flight_control/libFlightControl.a\
|
|
||||||
$(top_builddir)/src/FDM/JSBSim/models/propulsion/libPropulsion.a \
|
|
||||||
$(top_builddir)/src/FDM/JSBSim/input_output/libInputOutput.a \
|
|
||||||
$(top_builddir)/src/FDM/JSBSim/math/libMath.a
|
|
||||||
|
|
||||||
AM_CXXFLAGS = -DPKGLIBDIR=\"$(pkgdatadir)\"
|
|
||||||
|
|
||||||
bin_PROGRAMS = fgfs metar
|
|
||||||
|
|
||||||
noinst_SCRIPTS = runfgfs.bat runfgfs
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libMain.a
|
|
||||||
|
|
||||||
# bin_SCRIPTS = runfgfs
|
|
||||||
|
|
||||||
libMain_a_SOURCES = \
|
|
||||||
main.cxx main.hxx \
|
|
||||||
renderer.cxx renderer.hxx \
|
|
||||||
fgviewer.cxx fgviewer.hxx \
|
|
||||||
fg_commands.cxx fg_commands.hxx \
|
|
||||||
fg_init.cxx fg_init.hxx \
|
|
||||||
fg_io.cxx fg_io.hxx \
|
|
||||||
fg_props.cxx fg_props.hxx \
|
|
||||||
globals.cxx globals.hxx \
|
|
||||||
logger.cxx logger.hxx \
|
|
||||||
options.cxx options.hxx \
|
|
||||||
splash.cxx splash.hxx \
|
|
||||||
util.cxx util.hxx \
|
|
||||||
viewer.cxx viewer.hxx \
|
|
||||||
viewmgr.cxx viewmgr.hxx \
|
|
||||||
CameraGroup.cxx CameraGroup.hxx \
|
|
||||||
FGEventHandler.cxx FGEventHandler.hxx \
|
|
||||||
WindowSystemAdapter.hxx WindowSystemAdapter.cxx \
|
|
||||||
WindowBuilder.hxx WindowBuilder.cxx \
|
|
||||||
$(GFX_CODE)
|
|
||||||
|
|
||||||
fgfs_SOURCES = bootstrap.cxx
|
|
||||||
|
|
||||||
fgfs_LDADD = \
|
|
||||||
libMain.a \
|
|
||||||
$(top_builddir)/src/Aircraft/libAircraft.a \
|
|
||||||
$(top_builddir)/src/ATCDCL/libATCDCL.a \
|
|
||||||
$(top_builddir)/src/Cockpit/libCockpit.a \
|
|
||||||
$(top_builddir)/src/Cockpit/built_in/libBuilt_in.a \
|
|
||||||
$(top_builddir)/src/Network/libNetwork.a \
|
|
||||||
$(top_builddir)/src/FDM/libFlight.a \
|
|
||||||
$(top_builddir)/src/FDM/ExternalNet/libExternalNet.a \
|
|
||||||
$(top_builddir)/src/FDM/ExternalPipe/libExternalPipe.a \
|
|
||||||
$(JSBSIM_LIBS) \
|
|
||||||
$(top_builddir)/src/FDM/YASim/libYASim.a \
|
|
||||||
$(top_builddir)/src/FDM/LaRCsim/libLaRCsim.a \
|
|
||||||
$(top_builddir)/src/FDM/UIUCModel/libUIUCModel.a \
|
|
||||||
$(SP_FDM_LIBS) \
|
|
||||||
$(top_builddir)/src/GUI/libGUI.a \
|
|
||||||
$(top_builddir)/src/Autopilot/libAutopilot.a \
|
|
||||||
$(top_builddir)/src/Input/libInput.a \
|
|
||||||
$(top_builddir)/src/Instrumentation/KLN89/libKLN89.a \
|
|
||||||
$(top_builddir)/src/Instrumentation/libInstrumentation.a \
|
|
||||||
$(top_builddir)/src/Instrumentation/HUD/libHUD.a \
|
|
||||||
$(top_builddir)/src/Model/libModel.a \
|
|
||||||
$(top_builddir)/src/Navaids/libNavaids.a \
|
|
||||||
$(top_builddir)/src/Scenery/libScenery.a \
|
|
||||||
$(top_builddir)/src/Scripting/libScripting.a \
|
|
||||||
$(top_builddir)/src/Sound/libSound.a \
|
|
||||||
$(top_builddir)/src/Airports/libAirports.a \
|
|
||||||
$(MPLAYER_LIBS) \
|
|
||||||
$(top_builddir)/src/AIModel/libAIModel.a \
|
|
||||||
$(top_builddir)/src/ATC/libATC.a \
|
|
||||||
$(top_builddir)/src/Systems/libSystems.a \
|
|
||||||
$(top_builddir)/src/Time/libTime.a \
|
|
||||||
$(top_builddir)/src/Traffic/libTraffic.a \
|
|
||||||
$(top_builddir)/src/Environment/libEnvironment.a \
|
|
||||||
$(HLA_LDADD) \
|
|
||||||
-lsgroute -lsgsky -lsgsound -lsgephem -lsgtgdb -lsgmodel -lsgbvh \
|
|
||||||
-lsgmaterial -lsgutil -lsgtiming -lsgio -lsgscreen -lsgmath -lsgbucket \
|
|
||||||
-lsgprops -lsgdebug -lsgmagvar -lsgmisc -lsgnasal -lsgxml -lsgsound \
|
|
||||||
-lsgserial -lsgstructure -lsgenvironment -lsgtsync -lsgthreads \
|
|
||||||
$(fgfs_PLIB_LIBS) \
|
|
||||||
$(OSG_LIBS) \
|
|
||||||
$(thread_LIBS) \
|
|
||||||
$(network_LIBS) \
|
|
||||||
-lz \
|
|
||||||
$(opengl_LIBS) \
|
|
||||||
$(openal_LIBS) \
|
|
||||||
$(EVENT_LIBS) \
|
|
||||||
$(svn_LIBS)
|
|
||||||
|
|
||||||
fgfs_LDFLAGS = $(fgfs_PLIB_FW) $(fgfs_OSG_FW) $(LDFLAGS)
|
|
||||||
|
|
||||||
metar_SOURCES = metar_main.cxx
|
|
||||||
|
|
||||||
metar_LDADD = \
|
|
||||||
-lsgenvironment -lsgio -lsgtiming -lsgthreads -lsgbucket -lsgmisc -lsgstructure \
|
|
||||||
-lsgdebug $(network_LIBS) $(thread_LIBS) \
|
|
||||||
-lz $(base_LIBS)
|
|
||||||
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_builddir)/src $(HLA_CPPFLAGS)
|
|
|
@ -1,25 +0,0 @@
|
||||||
SUBDIRS = \
|
|
||||||
Include \
|
|
||||||
Aircraft \
|
|
||||||
Airports \
|
|
||||||
ATC \
|
|
||||||
ATCDCL \
|
|
||||||
Autopilot \
|
|
||||||
Cockpit \
|
|
||||||
Environment \
|
|
||||||
FDM \
|
|
||||||
GUI \
|
|
||||||
Input \
|
|
||||||
Instrumentation \
|
|
||||||
Model \
|
|
||||||
AIModel \
|
|
||||||
Navaids \
|
|
||||||
Network \
|
|
||||||
MultiPlayer \
|
|
||||||
Scenery \
|
|
||||||
Scripting \
|
|
||||||
Sound \
|
|
||||||
Systems \
|
|
||||||
Time \
|
|
||||||
Traffic \
|
|
||||||
Main
|
|
|
@ -1,9 +0,0 @@
|
||||||
noinst_LIBRARIES = libModel.a
|
|
||||||
|
|
||||||
libModel_a_SOURCES = \
|
|
||||||
acmodel.cxx acmodel.hxx \
|
|
||||||
model_panel.cxx model_panel.hxx \
|
|
||||||
modelmgr.cxx modelmgr.hxx \
|
|
||||||
panelnode.cxx panelnode.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,7 +0,0 @@
|
||||||
noinst_LIBRARIES = libMultiPlayer.a
|
|
||||||
|
|
||||||
libMultiPlayer_a_SOURCES = multiplaymgr.cxx multiplaymgr.hxx mpmessages.hxx tiny_xdr.cxx tiny_xdr.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
||||||
|
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
noinst_LIBRARIES = libNavaids.a
|
|
||||||
|
|
||||||
# noinst_PROGRAMS = testnavs
|
|
||||||
|
|
||||||
libNavaids_a_SOURCES = \
|
|
||||||
navdb.hxx navdb.cxx \
|
|
||||||
fix.hxx fixlist.hxx fixlist.cxx \
|
|
||||||
navrecord.hxx navrecord.cxx \
|
|
||||||
navlist.hxx navlist.cxx \
|
|
||||||
positioned.hxx positioned.cxx \
|
|
||||||
markerbeacon.hxx markerbeacon.cxx \
|
|
||||||
routePath.hxx routePath.cxx \
|
|
||||||
airways.hxx airways.cxx \
|
|
||||||
route.hxx route.cxx \
|
|
||||||
waypoint.hxx waypoint.cxx \
|
|
||||||
procedure.hxx procedure.cxx \
|
|
||||||
PositionedBinding.hxx PositionedBinding.cxx
|
|
||||||
|
|
||||||
#
|
|
||||||
# testnavs_SOURCES = testnavs.cxx
|
|
||||||
# testnavs_LDADD = \
|
|
||||||
# libNavaids.a \
|
|
||||||
# -lsgtiming -lsgmath -lsgmisc -lsgdebug -lsgmagvar -lsgxml \
|
|
||||||
# -lsgstructure $(base_LIBS) -lz
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,8 +0,0 @@
|
||||||
noinst_LIBRARIES = libFGHLA.a
|
|
||||||
|
|
||||||
libFGHLA_a_SOURCES = \
|
|
||||||
hla.cxx hla.hxx
|
|
||||||
|
|
||||||
libFGHLA_a_CPPFLAGS = $(HLA_CPPFLAGS)
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,43 +0,0 @@
|
||||||
EXTRA_DIST = jpg-httpd.cxx jpg-httpd.hxx
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libNetwork.a
|
|
||||||
|
|
||||||
if ENABLE_JPEG_SERVER
|
|
||||||
JPEG_SERVER = jpg-httpd.cxx jpg-httpd.hxx
|
|
||||||
else
|
|
||||||
JPEG_SERVER =
|
|
||||||
endif
|
|
||||||
|
|
||||||
libNetwork_a_SOURCES = \
|
|
||||||
protocol.cxx protocol.hxx \
|
|
||||||
ATC-Main.cxx ATC-Main.hxx \
|
|
||||||
ATC-Inputs.cxx ATC-Inputs.hxx \
|
|
||||||
ATC-Outputs.cxx ATC-Outputs.hxx \
|
|
||||||
atlas.cxx atlas.hxx \
|
|
||||||
AV400.cxx AV400.hxx \
|
|
||||||
AV400Sim.cxx AV400Sim.hxx \
|
|
||||||
AV400WSim.cxx AV400WSim.hxx \
|
|
||||||
garmin.cxx garmin.hxx \
|
|
||||||
lfsglass.cxx lfsglass.hxx lfsglass_data.hxx \
|
|
||||||
httpd.cxx httpd.hxx \
|
|
||||||
$(JPEG_SERVER) \
|
|
||||||
joyclient.cxx joyclient.hxx \
|
|
||||||
jsclient.cxx jsclient.hxx \
|
|
||||||
native.cxx native.hxx \
|
|
||||||
native_ctrls.cxx native_ctrls.hxx \
|
|
||||||
native_fdm.cxx native_fdm.hxx \
|
|
||||||
native_gui.cxx native_gui.hxx \
|
|
||||||
net_ctrls.hxx net_fdm.hxx net_fdm_mini.hxx net_gui.hxx \
|
|
||||||
nmea.cxx nmea.hxx \
|
|
||||||
opengc.cxx opengc.hxx opengc_data.hxx \
|
|
||||||
props.cxx props.hxx \
|
|
||||||
pve.cxx pve.hxx \
|
|
||||||
ray.cxx ray.hxx \
|
|
||||||
rul.cxx rul.hxx \
|
|
||||||
generic.hxx generic.cxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
||||||
|
|
||||||
if WITH_HLA
|
|
||||||
SUBDIRS = HLA
|
|
||||||
endif
|
|
|
@ -1,9 +0,0 @@
|
||||||
noinst_LIBRARIES = libScenery.a
|
|
||||||
|
|
||||||
libScenery_a_SOURCES = \
|
|
||||||
redout.cxx redout.hxx \
|
|
||||||
scenery.cxx scenery.hxx \
|
|
||||||
SceneryPager.cxx SceneryPager.hxx \
|
|
||||||
tilemgr.cxx tilemgr.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,7 +0,0 @@
|
||||||
noinst_LIBRARIES = libScripting.a
|
|
||||||
|
|
||||||
libScripting_a_SOURCES = \
|
|
||||||
NasalSys.cxx NasalSys.hxx \
|
|
||||||
nasal-props.cxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,13 +0,0 @@
|
||||||
noinst_LIBRARIES = libSound.a
|
|
||||||
|
|
||||||
libSound_a_SOURCES = \
|
|
||||||
audioident.cxx audioident.hxx \
|
|
||||||
soundgenerator.cxx soundgenerator.hxx \
|
|
||||||
beacon.cxx beacon.hxx \
|
|
||||||
fg_fx.cxx fg_fx.hxx \
|
|
||||||
morse.cxx morse.hxx \
|
|
||||||
voice.cxx voice.hxx \
|
|
||||||
sample_queue.cxx sample_queue.hxx \
|
|
||||||
voiceplayer.cxx voiceplayer.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src
|
|
|
@ -1,10 +0,0 @@
|
||||||
noinst_LIBRARIES = libSystems.a
|
|
||||||
|
|
||||||
libSystems_a_SOURCES = \
|
|
||||||
system_mgr.cxx system_mgr.hxx \
|
|
||||||
electrical.cxx electrical.hxx \
|
|
||||||
pitot.cxx pitot.hxx \
|
|
||||||
static.cxx static.hxx \
|
|
||||||
vacuum.cxx vacuum.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,8 +0,0 @@
|
||||||
noinst_LIBRARIES = libTime.a
|
|
||||||
|
|
||||||
libTime_a_SOURCES = \
|
|
||||||
light.cxx light.hxx \
|
|
||||||
sunsolver.cxx sunsolver.hxx \
|
|
||||||
TimeManager.cxx TimeManager.hxx
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,9 +0,0 @@
|
||||||
noinst_LIBRARIES = libTraffic.a
|
|
||||||
|
|
||||||
libTraffic_a_SOURCES = \
|
|
||||||
SchedFlight.cxx SchedFlight.hxx \
|
|
||||||
Schedule.cxx Schedule.hxx \
|
|
||||||
TrafficMgr.cxx TrafficMgr.hxx
|
|
||||||
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
|
@ -1,28 +0,0 @@
|
||||||
bin_PROGRAMS = est-epsilon gl-info alcinfo
|
|
||||||
|
|
||||||
noinst_PROGRAMS = test-gethostname test-mktime test-text test-env-map
|
|
||||||
|
|
||||||
if HAVE_FRAMEWORK_PLIB
|
|
||||||
test_up_LDFLAGS = $(plib_FRAMEWORK)
|
|
||||||
else
|
|
||||||
test_up_PLIB_LIBS = -lplibsg -lplibul
|
|
||||||
endif
|
|
||||||
|
|
||||||
est_epsilon_SOURCES = est-epsilon.cxx
|
|
||||||
est_epsilon_LDADD = $(opengl_LIBS)
|
|
||||||
|
|
||||||
gl_info_SOURCES = gl-info.cxx
|
|
||||||
gl_info_LDADD = $(opengl_LIBS)
|
|
||||||
|
|
||||||
alcinfo_SOURCES = alcinfo.cxx
|
|
||||||
alcinfo_LDADD = $(openal_LIBS)
|
|
||||||
|
|
||||||
test_env_map_SOURCES = test-env-map.cxx
|
|
||||||
test_env_map_LDADD = $(opengl_LIBS)
|
|
||||||
|
|
||||||
test_gethostname_SOURCES = test-gethostname.cxx
|
|
||||||
|
|
||||||
test_mktime_SOURCES = test-mktime.cxx
|
|
||||||
|
|
||||||
test_text_SOURCES = test-text.cxx
|
|
||||||
|
|
|
@ -1,43 +0,0 @@
|
||||||
noinst_PROGRAMS = GPSsmooth MIDGsmooth UGsmooth
|
|
||||||
|
|
||||||
if HAVE_FRAMEWORK_PLIB
|
|
||||||
GPSsmooth_LDFLAGS = $(plib_FRAMEWORK)
|
|
||||||
MIDGsmooth_LDFLAGS = $(plib_FRAMEWORK)
|
|
||||||
UGsmooth_LDFLAGS = $(plib_FRAMEWORK)
|
|
||||||
else
|
|
||||||
GPSsmooth_PLIB_LIBS = -lplibnet -lplibul
|
|
||||||
MIDGsmooth_PLIB_LIBS = -lplibnet -lplibul
|
|
||||||
UGsmooth_PLIB_LIBS = -lplibnet -lplibul
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
GPSsmooth_SOURCES = \
|
|
||||||
gps.cxx gps.hxx \
|
|
||||||
gps_main.cxx
|
|
||||||
|
|
||||||
GPSsmooth_LDADD = \
|
|
||||||
$(GPSsmooth_PLIB_LIBS) -lsgio -lsgtiming -lsgmisc -lsgdebug -lsgstructure -lsgthreads \
|
|
||||||
$(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz
|
|
||||||
|
|
||||||
MIDGsmooth_SOURCES = \
|
|
||||||
MIDG-II.cxx MIDG-II.hxx \
|
|
||||||
MIDG_main.cxx
|
|
||||||
|
|
||||||
MIDGsmooth_LDADD = \
|
|
||||||
$(MIDGsmooth_PLIB_LIBS) -lsgio -lsgserial -lsgtiming \
|
|
||||||
-lsgmath -lsgbucket -lsgmisc -lsgdebug -lsgstructure -lsgthreads \
|
|
||||||
$(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz
|
|
||||||
|
|
||||||
UGsmooth_SOURCES = \
|
|
||||||
UGear.cxx UGear.hxx \
|
|
||||||
UGear_command.cxx UGear_command.hxx \
|
|
||||||
UGear_main.cxx \
|
|
||||||
UGear_opengc.hxx \
|
|
||||||
UGear_telnet.cxx UGear_telnet.hxx
|
|
||||||
|
|
||||||
UGsmooth_LDADD = \
|
|
||||||
$(UGsmooth_PLIB_LIBS) -lsgio -lsgserial -lsgtiming \
|
|
||||||
-lsgmath -lsgbucket -lsgmisc -lsgdebug -lsgstructure -lsgthreads \
|
|
||||||
$(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src
|
|
|
@ -1,4 +0,0 @@
|
||||||
DIST_SUBDIRS = GPSsmooth TerraSync Modeller js_server fgadmin xmlgrep propmerge fgviewer fgpanel
|
|
||||||
|
|
||||||
SUBDIRS = GPSsmooth TerraSync Modeller js_server propmerge fgviewer fgpanel
|
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
noinst_PROGRAMS = animassist normalmap photomodel
|
|
||||||
|
|
||||||
# threedconvert_SOURCES = 3dconvert.cxx
|
|
||||||
# threedconvert_LDADD = -lplibssg -lplibsg -lplibul \
|
|
||||||
# $(opengl_LIBS) $(joystick_LIBS)
|
|
||||||
|
|
||||||
animassist_SOURCES = animassist.c
|
|
||||||
animassist_LDADD = $(base_LIBS)
|
|
||||||
|
|
||||||
normalmap_SOURCES = normalmap.cxx texture.cxx texture.hxx colours.h
|
|
||||||
normalmap_LDADD = -lsgscreen $(opengl_LIBS) $(base_LIBS) -lz
|
|
||||||
|
|
||||||
photomodel_SOURCES = photomodel.cxx
|
|
||||||
photomodel_LDADD = $(base_LIBS) -lsgbucket -lsgmath -lsgmisc -lsgdebug \
|
|
||||||
-lsgstructure
|
|
|
@ -1,9 +0,0 @@
|
||||||
EXTRA_DIST = README.txt
|
|
||||||
|
|
||||||
bin_PROGRAMS = terrasync
|
|
||||||
|
|
||||||
terrasync_SOURCES = terrasync.cxx
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(svn_CPPFLAGS)
|
|
||||||
|
|
||||||
terrasync_LDADD = -lsgio -lsgstructure -lsgmisc -lsgdebug -lsgthreads $(network_LIBS) $(svn_LIBS)
|
|
|
@ -1 +0,0 @@
|
||||||
SUBDIRS = src
|
|
|
@ -1,14 +0,0 @@
|
||||||
EXTRA_DIST = fgadmin.fl
|
|
||||||
|
|
||||||
bin_PROGRAMS = fgadmin
|
|
||||||
|
|
||||||
fgadmin_SOURCES = \
|
|
||||||
fgadmin.cxx fgadmin.h \
|
|
||||||
fgadmin_funcs.cxx \
|
|
||||||
main.cxx \
|
|
||||||
untarka.c untarka.h
|
|
||||||
|
|
||||||
fgadmin_LDADD = -lsgmisc -lsgdebug -lplibul -lz
|
|
||||||
|
|
||||||
fgadmin.cxx fgadmin.h: fgadmin.fl
|
|
||||||
fluid -c fgadmin.fl
|
|
|
@ -1,22 +0,0 @@
|
||||||
if WITH_FGPANEL
|
|
||||||
AM_CXXFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\"
|
|
||||||
|
|
||||||
bin_PROGRAMS = fgpanel
|
|
||||||
|
|
||||||
fgpanel_SOURCES = main.cxx \
|
|
||||||
FGGLApplication.cxx FGGLApplication.hxx \
|
|
||||||
FGPanelApplication.cxx FGPanelApplication.hxx \
|
|
||||||
FGPNGTextureLoader.cxx FGPNGTextureLoader.hxx FGTextureLoaderInterface.hxx \
|
|
||||||
FGRGBTextureLoader.cxx FGRGBTextureLoader.hxx \
|
|
||||||
FGPanelProtocol.cxx \
|
|
||||||
FGFontCache.cxx \
|
|
||||||
panel.cxx panel.hxx \
|
|
||||||
panel_io.cxx panel_io.hxx
|
|
||||||
|
|
||||||
#LIBS =
|
|
||||||
|
|
||||||
fgpanel_LDADD = \
|
|
||||||
-lGLU -lGL -lglut -lsgmath -lsgprops -lsgio -lsgdebug -lsgmisc -lsgstructure -lsgxml -lsgtiming \
|
|
||||||
-lplibpu -lplibfnt -lplibul -lsgthreads \
|
|
||||||
-lz -lrt -lpng
|
|
||||||
endif
|
|
|
@ -1,23 +0,0 @@
|
||||||
|
|
||||||
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 -lsgthreads \
|
|
||||||
$(fgviewer_PLIB_LIBS) $(OSG_LIBS) $(opengl_LIBS) $(thread_LIBS) -lz
|
|
|
@ -1,4 +0,0 @@
|
||||||
noinst_PROGRAMS = genfonts
|
|
||||||
|
|
||||||
genfonts_SOURCES = genfonts.c
|
|
||||||
genfonts_LDADD = $(base_LIBS) -lXext
|
|
|
@ -1,10 +0,0 @@
|
||||||
noinst_PROGRAMS = js_server
|
|
||||||
|
|
||||||
if HAVE_FRAMEWORK_PLIB
|
|
||||||
js_server_LDFLAGS = $(plib_FRAMEWORK)
|
|
||||||
else
|
|
||||||
js_server_PLIB_LIBS = -lplibjs -lplibnet -lplibul
|
|
||||||
endif
|
|
||||||
|
|
||||||
js_server_SOURCES = js_server.cxx
|
|
||||||
js_server_LDADD = $(js_server_PLIB_LIBS) $(base_LIBS) $(joystick_LIBS) $(network_LIBS)
|
|
|
@ -1,4 +0,0 @@
|
||||||
noinst_PROGRAMS = propmerge
|
|
||||||
|
|
||||||
propmerge_SOURCES = propmerge.cxx
|
|
||||||
propmerge_LDADD = -lsgprops -lsgxml -lsgio -lsgmisc -lsgdebug -lsgstructure
|
|
|
@ -1,29 +0,0 @@
|
||||||
noinst_HEADERS = xml_cache.h xml.h
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libxmlconf.a
|
|
||||||
|
|
||||||
libxmlconf_a_SOURCES = xml_cache.c xml.c
|
|
||||||
|
|
||||||
noinst_PROGRAMS = \
|
|
||||||
testxml \
|
|
||||||
printxml \
|
|
||||||
xmlgrep \
|
|
||||||
printtree \
|
|
||||||
generic_protocol_analyse
|
|
||||||
|
|
||||||
testxml_SOURCES = testxml.c
|
|
||||||
testxml_LDADD = libxmlconf.a
|
|
||||||
|
|
||||||
printxml_SOURCES = printxml.c
|
|
||||||
printxml_LDADD = libxmlconf.a
|
|
||||||
|
|
||||||
printtree_SOURCES = printtree.c
|
|
||||||
printtree_LDADD = libxmlconf.a
|
|
||||||
|
|
||||||
xmlgrep_SOURCES = xmlgrep.c
|
|
||||||
xmlgrep_LDADD = libxmlconf.a
|
|
||||||
|
|
||||||
generic_protocol_analyse_SOURCES = generic-protocol-analyse.c
|
|
||||||
generic_protocol_analyse_LDADD = libxmlconf.a
|
|
||||||
|
|
||||||
INCLUDES = -DSRC_DIR=\"$(top_srcdir)/utils/xmlgrep\" -DXML_USE_NODECACHE
|
|
Loading…
Reference in a new issue