From 70b4f38ebccbafea664ed2310eaf990bd2b9edd8 Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 1 Nov 2011 11:15:53 +0000 Subject: [PATCH 1/1] Goodbye automake. --- Makefile.am | 184 --- acinclude.m4 | 821 -------------- am2dsp.cfg | 72 -- autogen.sh | 35 - configure.ac | 1003 ----------------- man/Makefile.am | 3 - scripts/Makefile.am | 1 - scripts/debug/Makefile.am | 1 - scripts/example/Makefile.am | 1 - scripts/java/FGClient/Makefile.am | 3 - scripts/java/FGClient/docs/Makefile.am | 1 - .../java/FGClient/docs/javadoc/Makefile.am | 4 - scripts/java/FGClient/src/Makefile.am | 1 - scripts/perl/Makefile.am | 2 - scripts/perl/dafif/Makefile.am | 1 - scripts/perl/examples/Makefile.am | 9 - scripts/perl/scenery/Makefile.am | 1 - scripts/perl/traffic/Makefile.am | 3 - scripts/python/Makefile.am | 1 - src/AIModel/Makefile.am | 25 - src/ATC/Makefile.am | 9 - src/ATCDCL/Makefile.am | 12 - src/Aircraft/Makefile.am | 8 - src/Airports/Makefile.am | 24 - src/Autopilot/Makefile.am | 18 - src/Cockpit/Makefile.am | 9 - src/Cockpit/built_in/Makefile.am | 7 - src/Environment/Makefile.am | 23 - src/FDM/ExternalNet/Makefile.am | 11 - src/FDM/ExternalPipe/Makefile.am | 11 - src/FDM/JSBSim/Makefile.am | 9 - src/FDM/JSBSim/initialization/Makefile.am | 7 - src/FDM/JSBSim/input_output/Makefile.am | 7 - src/FDM/JSBSim/math/Makefile.am | 11 - src/FDM/JSBSim/models/Makefile.am | 18 - src/FDM/JSBSim/models/atmosphere/Makefile.am | 7 - .../JSBSim/models/flight_control/Makefile.am | 15 - src/FDM/JSBSim/models/propulsion/Makefile.am | 12 - src/FDM/LaRCsim/Makefile.am | 40 - src/FDM/Makefile.am | 21 - src/FDM/SP/Makefile.am | 11 - src/FDM/UIUCModel/Makefile.am | 85 -- src/FDM/YASim/Makefile.am | 62 - src/GUI/Makefile.am | 38 - src/Include/Makefile.am | 5 - src/Input/Makefile.am | 53 - src/Instrumentation/HUD/Makefile.am | 16 - src/Instrumentation/KLN89/Makefile.am | 22 - src/Instrumentation/Makefile.am | 41 - src/Main/Makefile.am | 137 --- src/Makefile.am | 25 - src/Model/Makefile.am | 9 - src/MultiPlayer/Makefile.am | 7 - src/Navaids/Makefile.am | 26 - src/Network/HLA/Makefile.am | 8 - src/Network/Makefile.am | 43 - src/Scenery/Makefile.am | 9 - src/Scripting/Makefile.am | 7 - src/Sound/Makefile.am | 13 - src/Systems/Makefile.am | 10 - src/Time/Makefile.am | 8 - src/Traffic/Makefile.am | 9 - tests/Makefile.am | 28 - utils/GPSsmooth/Makefile.am | 43 - utils/Makefile.am | 4 - utils/Modeller/Makefile.am | 15 - utils/TerraSync/Makefile.am | 9 - utils/fgadmin/Makefile.am | 1 - utils/fgadmin/src/Makefile.am | 14 - utils/fgpanel/Makefile.am | 22 - utils/fgviewer/Makefile.am | 23 - utils/gui/Makefile.am | 4 - utils/js_server/Makefile.am | 10 - utils/propmerge/Makefile.am | 4 - utils/xmlgrep/Makefile.am | 29 - 75 files changed, 3301 deletions(-) delete mode 100644 Makefile.am delete mode 100644 acinclude.m4 delete mode 100644 am2dsp.cfg delete mode 100755 autogen.sh delete mode 100644 configure.ac delete mode 100644 man/Makefile.am delete mode 100644 scripts/Makefile.am delete mode 100644 scripts/debug/Makefile.am delete mode 100644 scripts/example/Makefile.am delete mode 100644 scripts/java/FGClient/Makefile.am delete mode 100644 scripts/java/FGClient/docs/Makefile.am delete mode 100644 scripts/java/FGClient/docs/javadoc/Makefile.am delete mode 100644 scripts/java/FGClient/src/Makefile.am delete mode 100644 scripts/perl/Makefile.am delete mode 100644 scripts/perl/dafif/Makefile.am delete mode 100644 scripts/perl/examples/Makefile.am delete mode 100644 scripts/perl/scenery/Makefile.am delete mode 100644 scripts/perl/traffic/Makefile.am delete mode 100644 scripts/python/Makefile.am delete mode 100644 src/AIModel/Makefile.am delete mode 100644 src/ATC/Makefile.am delete mode 100644 src/ATCDCL/Makefile.am delete mode 100644 src/Aircraft/Makefile.am delete mode 100644 src/Airports/Makefile.am delete mode 100644 src/Autopilot/Makefile.am delete mode 100644 src/Cockpit/Makefile.am delete mode 100644 src/Cockpit/built_in/Makefile.am delete mode 100644 src/Environment/Makefile.am delete mode 100644 src/FDM/ExternalNet/Makefile.am delete mode 100644 src/FDM/ExternalPipe/Makefile.am delete mode 100644 src/FDM/JSBSim/Makefile.am delete mode 100644 src/FDM/JSBSim/initialization/Makefile.am delete mode 100644 src/FDM/JSBSim/input_output/Makefile.am delete mode 100644 src/FDM/JSBSim/math/Makefile.am delete mode 100644 src/FDM/JSBSim/models/Makefile.am delete mode 100644 src/FDM/JSBSim/models/atmosphere/Makefile.am delete mode 100644 src/FDM/JSBSim/models/flight_control/Makefile.am delete mode 100644 src/FDM/JSBSim/models/propulsion/Makefile.am delete mode 100644 src/FDM/LaRCsim/Makefile.am delete mode 100644 src/FDM/Makefile.am delete mode 100644 src/FDM/SP/Makefile.am delete mode 100644 src/FDM/UIUCModel/Makefile.am delete mode 100644 src/FDM/YASim/Makefile.am delete mode 100644 src/GUI/Makefile.am delete mode 100644 src/Include/Makefile.am delete mode 100644 src/Input/Makefile.am delete mode 100644 src/Instrumentation/HUD/Makefile.am delete mode 100644 src/Instrumentation/KLN89/Makefile.am delete mode 100644 src/Instrumentation/Makefile.am delete mode 100644 src/Main/Makefile.am delete mode 100644 src/Makefile.am delete mode 100644 src/Model/Makefile.am delete mode 100644 src/MultiPlayer/Makefile.am delete mode 100644 src/Navaids/Makefile.am delete mode 100644 src/Network/HLA/Makefile.am delete mode 100644 src/Network/Makefile.am delete mode 100644 src/Scenery/Makefile.am delete mode 100644 src/Scripting/Makefile.am delete mode 100644 src/Sound/Makefile.am delete mode 100644 src/Systems/Makefile.am delete mode 100644 src/Time/Makefile.am delete mode 100644 src/Traffic/Makefile.am delete mode 100644 tests/Makefile.am delete mode 100644 utils/GPSsmooth/Makefile.am delete mode 100644 utils/Makefile.am delete mode 100644 utils/Modeller/Makefile.am delete mode 100644 utils/TerraSync/Makefile.am delete mode 100644 utils/fgadmin/Makefile.am delete mode 100644 utils/fgadmin/src/Makefile.am delete mode 100644 utils/fgpanel/Makefile.am delete mode 100644 utils/fgviewer/Makefile.am delete mode 100644 utils/gui/Makefile.am delete mode 100644 utils/js_server/Makefile.am delete mode 100644 utils/propmerge/Makefile.am delete mode 100644 utils/xmlgrep/Makefile.am diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index c063b8987..000000000 --- a/Makefile.am +++ /dev/null @@ -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 " -########################################################################## - - -# 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 diff --git a/acinclude.m4 b/acinclude.m4 deleted file mode 100644 index 56618780a..000000000 --- a/acinclude.m4 +++ /dev/null @@ -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 is includable after -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 is compatible with ]) - selecth=yes - if test "$ac_cv_header_sys_time_h" = yes ; then - AC_TRY_COMPILE([#include - #include ],[ - 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 -#include -#include -#include - -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 ], [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 ], - [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 ], - [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 -# . -# -# 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 -# -# 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 - ]], [[ - #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 - ]], [[ - #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 . 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 . -# -# 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 .])], - [$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 diff --git a/am2dsp.cfg b/am2dsp.cfg deleted file mode 100644 index 7e6ba8f1c..000000000 --- a/am2dsp.cfg +++ /dev/null @@ -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\ - diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 6f1d9967d..000000000 --- a/autogen.sh +++ /dev/null @@ -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 "======================================" diff --git a/configure.ac b/configure.ac deleted file mode 100644 index 1dcd3d14b..000000000 --- a/configure.ac +++ /dev/null @@ -1,1003 +0,0 @@ -dnl Process this file with autogen.sh to produce a working configure -dnl script. - -AC_INIT(FlightGear, m4_esyscmd([cat ./version | tr -d '\n']), [http://www.flightgear.org]) - -dnl Ensure touching the version causes autoconf to re-run -AC_SUBST([CONFIGURE_DEPENDENCIES], ['$(top_srcdir)/version']) - -AC_CONFIG_SRCDIR([src/Airports/simple.cxx]) - -dnl Require at least automake 2.52 -AC_PREREQ(2.52) - -dnl Initialize the automake stuff -dnl set the $host variable based on local machine/os -AC_CANONICAL_TARGET -AM_INIT_AUTOMAKE([dist-bzip2]) - -# variables for version.h -AC_DEFINE([HAVE_VERSION_H], 1, [Set if version.h is generated]) - -# are we running under Hudson? (defines BUILD_ID, BUILD_NUMBER in the environment) -if test "x$BUILD_ID" != "x" ; then - AC_SUBST([HUDSON_BUILD_ID], $BUILD_ID) - AC_SUBST([HUDSON_BUILD_NUMBER], $BUILD_NUMBER) -else - AC_SUBST([HUDSON_BUILD_ID], [none]) - AC_SUBST([HUDSON_BUILD_NUMBER], 0) -fi - -AC_CHECK_PROG([HAVE_GIT], git, 1) -if test "x$HAVE_GIT" != "x" ; then - # git might be installed, but we might be building from a tarball - if git rev-parse ; then - AC_SUBST([REVISION], `git rev-parse HEAD`) - else - AC_SUBST([REVISION], [none]) - fi -else - AC_SUBST([REVISION], [none]) -fi - -dnl Checks for programs. -AC_PROG_MAKE_SET -AC_PROG_CC -AC_PROG_CPP -AC_PROG_CXX -AC_PROG_CXXCPP -AC_PROG_RANLIB -AC_PROG_INSTALL -AC_PROG_LN_S -AX_BOOST_BASE([1.37.0]) - -# Show all compiler warnings by default -CXXFLAGS="$CXXFLAGS -Wall" -CFLAGS="$CFLAGS -Wall" - -if test "x$BOOST_CPPFLAGS" != "x-I/usr/include" ; then - CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" -fi - -# specify the simgear location -AC_ARG_WITH(simgear, [ --with-simgear=PREFIX Specify the prefix path to SimGear]) - -if test "x$with_simgear" != "x" ; then - echo "SimGear prefix path is $with_simgear" - EXTRA_DIRS="${EXTRA_DIRS} $with_simgear" - CXXFLAGS="$CXXFLAGS -I$with_simgear" -fi - -# specify the plib location -AC_ARG_WITH(plib, [ --with-plib=PREFIX Specify the prefix path to plib]) - -if test "x$with_plib" != "x" ; then - echo "plib prefix is $with_plib" - EXTRA_DIRS="${EXTRA_DIRS} $with_plib" -fi - -# specify the osg location -AC_ARG_WITH(osg, [ --with-osg=PREFIX Specify the prefix path to osg]) - -if test "x$with_osg" != "x" ; then - echo "osg prefix is $with_osg" - EXTRA_DIRS="${EXTRA_DIRS} $with_osg" -fi - -# specify framework related locations for Mac OS X -case "${host}" in -*-apple-darwin*) - - dnl Thank you Christian Bauer from SheepSaver - dnl Modified by Tatsuhiro Nishioka for accepting a given framework path - dnl AC_CHECK_FRAMEWORK($1=NAME, $2=INCLUDES, $3=FRAMEWORK_PATH, $4=ACTION_IF_FOUND) ; - AC_DEFUN([AC_CHECK_FRAMEWORK], [ - AS_VAR_PUSHDEF([ac_Framework], [ac_cv_framework_$1])dnl - AC_CACHE_CHECK([whether compiler supports framework $1], - ac_Framework, [ - saved_LIBS="$LIBS" - FRAMEWORKS="$FRAMEWORKS -framework $1" - if test "$3" = ""; then - FRAMEWORKS="$FRAMEWORKS $ADD2LD" - elif test "`echo $FRAMEWORKS | grep -- -F$3`" = ""; then - FRAMEWORKS="$FRAMEWORKS -F$3" - CXXFLAGS="$CXXFLAGS -F$3" - CCFLAGS="$CCFLAGS -F$3" - CPPFLAGS="$CPPFLAGS -F$3" - dnl This is needed for AC_TRY_LINK when a framework path is specified - export DYLD_FRAMEWORK_PATH="${DYLD_FRAMEWORK_PATH}:$3" - fi - AC_TRY_LINK( - [$2], [], - [AS_VAR_SET(ac_Framework, yes)], [AS_VAR_SET(ac_Framework, no); LIBS="$saved_LIBS"] - ) - ]) - AS_IF([test AS_VAR_GET(ac_Framework) = yes], - [AC_DEFINE(AS_TR_CPP(HAVE_FRAMEWORK_$1), 1, [Define if framework $1 is available.])] - ) - AS_IF([test AS_VAR_GET(ac_Framework) = yes], $4) - AS_VAR_POPDEF([ac_Framework])dnl - ]) - - # Mac OS X specific configure options - AC_ARG_WITH(cocoa_framework, [ --with-cocoa-framework Use the Cocoa rather than Carbon]) - if test "x$with_cocoa_framework" != "x" ; then - macAPI=Cocoa - AC_MSG_NOTICE([Using Cocoa framework]) - else - macAPI=Carbon - AC_MSG_NOTICE([Using Carbon framework]) - fi - - AC_ARG_WITH(osg_framework, [ --with-osg-framework=PREFIX Specify the prefix path to osg frameworks [default=standard framework paths]]) - if test "x$with_osg_framework" != "x" ; then - echo "osg prefix is $with_osg_framework" - export DYLD_FRAMEWORK_PATH="$DYLD_FRAMEWORK_PATH:$with_osg_framework" - fi - - AC_ARG_WITH(plib_framework, [ --with-plib-framework=PREFIX Specify the prefix path to PLIB framework [default=standard framework paths]]) - if test "x$with_plib_framework" != "x" ; then - echo "plib prefix is $with_plib_framework" - export DYLD_FRAMEWORK_PATH="$DYLD_FRAMEWORK_PATH:$with_plib_framework" - fi - - AC_ARG_WITH(alut_framework, [ --with-alut-framework=PREFIX Specify the prefix path to ALUT.framework ]) - if test "x$with_alut_framework" != "x"; then - echo "ALUT framework prefix is $with_alut_framework" - fi - - ;; -esac - -dnl Determine an extra directories to add to include/lib search paths -case "${host}" in -*-apple-darwin* | *-*-mingw32*) - echo no EXTRA_DIRS for $host - ;; - -*-*-cygwin*) - if test -d /usr/local ; then - EXTRA_DIRS="${EXTRA_DIRS} /usr/local" - fi - ;; - -*) - if test -d /usr/X11R6 ; then - EXTRA_DIR1="/usr/X11R6" - fi - if test -d /opt/X11R6 ; then - EXTRA_DIR2="/opt/X11R6" - fi - EXTRA_DIRS="${EXTRA_DIRS} $EXTRA_DIR1 $EXTRA_DIR2 /usr/local" - ;; - -esac -wi_EXTRA_DIRS(no, ${EXTRA_DIRS}) - - -case "${host}" in -*-*-irix*) - if test "$CXX" = "CC"; then - AR="CC -ar" - ARFLAGS="-o" - CXXFLAGS="$CXXFLAGS -c99 -I$with_simgear/include/simgear/compatibility" - CFLAGS="$CFLAGS -c99" - else - AR="ar" - ARFLAGS="cru" - fi - ;; -*) - AR="ar" - ARFLAGS="cru" - ;; -esac -AC_SUBST(AR) -AC_SUBST(ARFLAGS) - -dnl set logging; default value of with_logging=yes -AC_ARG_WITH(logging, [ --with-logging Include logging output (default)]) -if test "x$with_logging" = "xno" ; then - AC_DEFINE([FG_NDEBUG], 1, [Define for no logging output]) -fi - -AC_ARG_ENABLE(sp_fdms, [ --enable-sp-fdms Include special purpose Flight Models], [enable_sp_fdms="$enableval"] ) -if test "x$enable_sp_fdms" != "xno"; then - AC_DEFINE([ENABLE_SP_FDM], 1, [Define to include special purpose FDMs]) -else - AC_DEFINE([ENABLE_SP_FDM], 0, [Define to include special purpose FDMs]) -fi -AM_CONDITIONAL(ENABLE_SP_FDM, test "x$enable_sp_fdms" != "xno") - -dnl EXPERIMENTAL generic event driven input device -# defaults to no -AC_ARG_WITH(eventinput, [ --with-eventinput Include event driven input (EXPERIMENTAL) [default=no]], [], [with_eventinput=no]) -if test "x$with_eventinput" = "xyes"; then - AC_DEFINE([WITH_EVENTINPUT], 1, [Define to enable generic event driven input device]) - case "${host}" in - dnl OS specific sources for event driven input - dnl Linux and Mac OS X are supported at this moment - *-apple-darwin*) - eventinput_EXTRA_OBJS="FGMacOSXEventInput.o" - eventinput_INCUDES="" - eventinput_LIBS="" - ;; - *linux*) - dnl - dnl FIXME: include paths for dbus are hard-coded at this moment. - dnl FIXME: these must be found in configure - dnl - eventinput_EXTRA_OBJS="FGLinuxEventInput.o" - eventinput_INCLUDES="-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/lib/dbus-1.0/include" - eventinput_LIBS="-ldbus-1 -lhal" - ;; - *) - echo "Event driven input is not supported on ${host}." - ;; - esac - AC_SUBST(eventinput_EXTRA_OBJS) - AC_SUBST(eventinput_INCLUDES) - AC_SUBST(eventinput_LIBS) -fi -AM_CONDITIONAL(WITH_EVENTINPUT, test "x$with_eventinput" = "xyes") - -dnl Thread related checks -# defaults to yes -AC_ARG_WITH(threads, [ --with-threads Include tile loading threads [default=yes]], [], [with_threads=yes]) -if test "x$with_threads" = "xyes"; then - AC_DEFINE([ENABLE_THREADS], 1, [Define to enable threaded tile paging]) - CXXFLAGS="$CXXFLAGS -D_REENTRANT" - CFLAGS="$CFLAGS -D_REENTRANT" -fi -AC_CHECK_HEADER(pthread.h) - -dnl Configure HLA support -AC_ARG_WITH(rti13, [ --with-rti13[[=PATH]] Enable the HLA/RTI 1.3 interface, set a path to the RTI13 RTI libraries (default=no)]) -if test "x$with_rti13" != "xno"; then - if test "x$with_rti13" != "xyes"; then - AC_SUBST(HLA_CPPFLAGS, "-I$with_rti13/include") - AC_SUBST(HLA_LDFLAGS, "-L$with_rti13/lib") - fi - - dnl Configure HLA support - AC_MSG_CHECKING([for simgear HLA/RTI support]) - AC_LANG_PUSH(C++) - AC_TRY_COMPILE([ - #include - ],[ - new simgear::HLAFederate; - ], simgear_hla=yes, simgear_hla=no) - AC_MSG_RESULT($simgear_hla) - if test "x$simgear_hla" = "xyes" ; then - AC_MSG_CHECKING([for hla libraries]) - saved_LIBS="$LIBS" - saved_LDFLAGS="$LDFLAGS" - have_rti13=no - for rti13libs in "-lRTI-NG -lFedTime" "-lRTI-NGd -lFedTimed" ; do - if test "x$hla_libs" = "x" ; then - LIBS="-lsghla -lsgrti13 -lsgrti -lsgxml -lsgstructure -lsgmath -lsgdebug -lsgtiming $rti13libs -lrt $saved_LIBS" - LDFLAGS="$HLA_LDFLAGS $saved_LDFLAGS" - AC_TRY_LINK([ - #include - ],[ - new simgear::HLAFederate; - ], [hla_libs="$rti13libs"; have_rti13=yes],) - fi - done - LIBS="$saved_LIBS" - LDFLAGS="$saved_LDFLAGS" - AC_MSG_RESULT($have_rti13) - fi - AC_LANG_POP() -fi -dnl Currently only the rti13 variant, but in the future also rti1516 -AM_CONDITIONAL(WITH_HLA, test "x$have_rti13" = "xyes") -if test "x$have_rti13" = "xyes" ; then - AC_DEFINE([FG_HAVE_HLA], 1, [Define if HLA/RTI is available.]) - AC_SUBST(HLA_LIBS, "-lsghla -lsgrti13 -lsgrti $hla_libs") -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 -AC_DEFINE([FGFS], 1, [Define so that JSBSim compiles in 'library' mode]) - -# Check for MS Windows environment -AC_CHECK_HEADER(windows.h) - -dnl Using AM_CONDITIONAL is a step out of the protected little -dnl automake fold so it is potentially dangerous. But, we are -dnl beginning to run into cases where the standard checks are not -dnl enough. AM_CONDITIONALS are then referenced to conditionally -dnl build a Makefile.in from a Makefile.am which lets us define custom -dnl includes, compile alternative source files, etc. - -dnl Check for external variables daylight and timezone. -AC_EXT_DAYLIGHT -if test "$have_daylight" = yes; then - AC_DEFINE([HAVE_DAYLIGHT], 1, [Define if system has daylight variable]) -fi - -AC_EXT_TIMEZONE -if test "$have_timezone" = yes; then - AC_DEFINE([HAVE_TIMEZONE], 1, [Define if system has timezone variable]) -fi - - -dnl add joystick support libraries -dnl search for FreeBSD library -AC_SEARCH_LIBS(hid_init, usbhid) -joystick_LIBS="$LIBS" -LIBS="" - - -dnl ENABLE_AUDIO_SUPPORT could be depricated at any time in favor of -dnl just assuming we have audio support on all platform. We can -dnl depend on plib to hide the details. -AC_DEFINE([ENABLE_AUDIO_SUPPORT], 1, [Define for audio support]) - -dnl X11 might be installed on Mac OS X or cygwin/mingwin, we don't want -dnl to use it if it is. -case "${host}" in -*-apple-darwin* | *-*-cygwin* | *-*-mingw32*) - echo no fancy X11 check - ;; - -*) - AC_PATH_XTRA - ;; - -esac - -dnl Checks for libraries. - -dnl Thread related checks -AC_SEARCH_LIBS(pthread_create, [pthread c_r]) -if test "x$ac_cv_header_pthread_h" = "xyes"; then - if test "x$ac_cv_search_pthread_exit" = "x-lc_r"; then - CXXFLAGS="-pthread $CXXFLAGS" - CFLAGS="-pthread $CFLAGS" - LIBS="-lsgthreads $LIBS" - fi -fi - -thread_LIBS="$LIBS" -LIBS="" - -dnl search for network related libraries -AC_SEARCH_LIBS(inet_addr, xnet) -AC_SEARCH_LIBS(socket, socket) -AC_SEARCH_LIBS(main, nsl) - -network_LIBS="$LIBS" -LIBS="" - -dnl check for some default libraries -AC_SEARCH_LIBS(sqrt, [am ffm fm fastm m]) -AC_SEARCH_LIBS(ceil, m) -AC_SEARCH_LIBS(dlclose, dl) -AC_SEARCH_LIBS(clock_gettime, rt) - -base_LIBS="$LIBS" - -dnl Check for SDL or glut if enabled. -AC_ARG_ENABLE(osgviewer, [ --enable-osgviewer Configure to use osgViewer (default)], [enable_osgviewer="$enableval"]) -AC_ARG_ENABLE(sdl, [ --enable-sdl Configure to use SDL], [enable_sdl="$enableval"]) -AC_ARG_ENABLE(glut, [ --enable-glut Configure to use GLUT], [enable_glut="$enableval"]) -AM_CONDITIONAL(USE_SDL, test "x$enable_sdl" = "xyes") -AM_CONDITIONAL(USE_GLUT, test "x$enable_glut" = "xyes") -if test "x$enable_sdl" != "xyes" -a "x$enable_glut" != "xyes" -a "x$enable_osgviewer" != "xno"; then - enable_osgviewer="yes" -fi -if test \( "x$enable_osgviewer" = "xyes" \ - -a \( "x$enable_sdl" = "xyes" -o "x$enable_glut" = "xyes" \) \) \ - -o \( "x$enable_sdl" = "xyes" -a "x$enable_glut" = "xyes" \); then - echo " Only one of --enable-osgviewer, --enable-sdl, or --enable -glut may" - echo " be supplied." - exit -fi -AC_DEFINE([PU_USE_NONE], 1, [Define to use application's pu callbacks]) - -AC_ARG_ENABLE(osgdebug, [ --enable-osgdebug Use OSG debug libraries], [enable_osgdebug="$enableval"]) - -dnl check for OpenGL related libraries -case "${host}" in -*-*-cygwin* | *-*-mingw32*) - dnl CygWin under Windoze. - - echo Win32 specific hacks... - AC_DEFINE([WIN32], 1, [Define for Win32 platforms]) - AC_DEFINE([NOMINMAX], 1, [Define for Win32 platforms]) - - if test "x$enable_sdl" = "xyes"; then - AC_SEARCH_LIBS(SDL_Init, SDL) - else - LIBS="$LIBS -lglut32" - fi - - LIBS="$LIBS -lglu32 -lopengl32 -luser32 -lgdi32" - joystick_LIBS="$joystick_LIBS -lwinmm" - - dnl add -lwsock32 for mingwin - case "${host}" in - *-*-mingw32*) - echo "********** BUILDING FOR MINGW32 *************" - network_LIBS="$network_LIBS -lws2_32" - ;; - esac - - echo "Will link apps with $LIBS" - ;; - - -*-apple-darwin*) - dnl Mac OS X - - LIBS="$LIBS -framework GLUT -framework OpenGL -framework AGL -framework $macAPI -lobjc" - LDFLAGS="$LDFLAGS -headerpad_max_install_names" - joystick_LIBS="$joystick_LIBS -framework IOKit -framework CoreFoundation" - ;; - -*) - dnl X-Windows based machines - - dnl Skip X11 library tests if requested. - if test "x$no_x" != "xyes"; then - AC_SEARCH_LIBS(XCreateWindow, X11) - AC_SEARCH_LIBS(XShmCreateImage, Xext) - AC_SEARCH_LIBS(XGetExtensionVersion, Xi) - AC_SEARCH_LIBS(IceOpenConnection, ICE) - AC_SEARCH_LIBS(SmcOpenConnection, SM) - AC_SEARCH_LIBS(XtMalloc, Xt) - AC_SEARCH_LIBS(XmuLookupStandardColormap, Xmu) - fi - - AC_SEARCH_LIBS(glNewList, [ GL GLcore MesaGL ]) - if test "x$ac_cv_search_glNewList" = "x-lGLcore"; then - dnl if GLcore found, then also check for GL - AC_SEARCH_LIBS(glXCreateContext, GL) - fi - - dnl if using mesa, check for xmesa.h - if test "x$ac_cv_search_glNewList" = "x-lMesaGL"; then - AC_CHECK_HEADER(GL/fxmesa.h) - if test "x$ac_cv_header_GL_fxmesa_h" = "xyes"; then - AC_DEFINE([XMESA], 1, [Define for fxmesa]) - AC_DEFINE([FX], 1, [Define for fxmesa]) - fi - fi - - AC_SEARCH_LIBS(gluLookAt, [ GLU MesaGLU ]) - AC_SEARCH_LIBS(glutGetModifiers, [ glut freeglut ]) - if test "x$enable_sdl" = "xyes"; then - AC_SEARCH_LIBS(SDL_Init, SDL) - fi - ;; - -esac - -opengl_LIBS="$LIBS" -LIBS="$base_LIBS $joystick_LIBS" - -dnl check for OpenAL libraries -OPENAL_OK="no" -ALUT_OK="no" -case "${host}" in -*-*-cygwin* | *-*-mingw32*) - dnl CygWin under Windoze. - INCLUDES="$INCLUDES -I/usr/local/include/" - LIBS="$LIBS -L/usr/local/lib" - AC_SEARCH_LIBS(alGenBuffers, [ openal32 openal 'openal -ldsound -lwinmm' ] ) - AC_SEARCH_LIBS(alutInit, [ openal32 ALut alut ] ) - LIBS="$LIBS -lwinmm -ldsound -ldxguid -lole32" - openal_LIBS="$LIBS" - OPENAL_OK="$ac_cv_search_alGenBuffers" - ALUT_OK="$ac_cv_search_alutInit" - ;; - -*-apple-darwin*) - dnl Mac OS X - - # Mac OS X has OpenAL.framework, but no ALUT, by default, so we - # require use of a non-Apple ALUT.framework which we provide - openal_LIBS="-framework IOKit -framework OpenAL" - - AC_CHECK_FRAMEWORK(OpenAL, [#include ], "", [OPENAL_OK="yes"]) - AC_CHECK_FRAMEWORK(ALUT, [#include ], $with_alut_framework, [ - ALUT_OK="yes" - openal_LIBS="$openal_LIBS -framework ALUT" - ]) - ;; - -*) - dnl default unix style machines - - save_LIBS=$LIBS - LIBS="$LIBS $thread_LIBS" - AC_SEARCH_LIBS(alGenBuffers, openal) - AC_SEARCH_LIBS(alutInit, [ alut openal ] ) - OPENAL_OK="$ac_cv_search_alGenBuffers" - ALUT_OK="$ac_cv_search_alutInit" - openal_LIBS="$LIBS" - LIBS=$save_LIBS - ;; - -esac - -if test "$OPENAL_OK" = "no"; then - echo - echo "You *must* have the openal library installed on your system to build" - echo "SimGear!" - echo - echo "Please see README.OpenAL for more details." - echo - echo "configure aborted." - exit -fi - -if test "$ALUT_OK" = "no"; then - echo - echo "You *must* have the alut library installed on your system to build" - echo "SimGear!" - echo - echo "Please see README.OpenAL for more details." - echo - echo "configure aborted." - exit -fi - - -LIBS="$base_LIBS" - -AC_SUBST(base_LIBS) -AC_SUBST(openal_LIBS) -AC_SUBST(opengl_LIBS) -AC_SUBST(thread_LIBS) -AC_SUBST(network_LIBS) -AC_SUBST(joystick_LIBS) - -# The following are C++ items that need to be tested for with the c++ -# compiler - -AC_LANG_PUSH(C++) - -dnl Check for the presence of SimGear -if test "x$with_simgear" != "x"; then -AC_CHECK_HEADER($with_simgear/include/simgear/version.h, [ac_cv_header_simgear_version_h=yes], [ac_cv_header_simgear_version_h=no]) -else -AC_CHECK_HEADER(simgear/version.h) -fi -if test "x$ac_cv_header_simgear_version_h" != "xyes"; then - echo - echo "You *must* have the SimGear support library installed on your system" - echo "to build the FGFS simulator!" - echo - echo "Please see README.SimGear for more details." - echo - echo "configure aborted." - exit -fi - -AC_MSG_CHECKING([for SimGear 2.5.0 or newer]) -AC_TRY_RUN([ -#include - -#include - -#define STRINGIFY(X) XSTRINGIFY(X) -#define XSTRINGIFY(X) #X - -#define MIN_MAJOR 2 -#define MIN_MINOR 3 -#define MIN_MICRO 0 - -int main() { - int major, minor, micro; - - /* printf("%d.%d.%d or greater, ", MIN_MAJOR, MIN_MINOR, MIN_MICRO); */ - printf("[found %s] ... ", STRINGIFY(SIMGEAR_VERSION)); - - sscanf( STRINGIFY(SIMGEAR_VERSION), "%d.%d.%d", &major, &minor, µ ); - - if ( (major < MIN_MAJOR) || - (major == MIN_MAJOR && minor < MIN_MINOR) || - (major == MIN_MAJOR && minor == MIN_MINOR && micro < MIN_MICRO) ) { - return -1; - } - - return 0; -} - -], - AC_MSG_RESULT(yes), - [AC_MSG_RESULT(wrong version); - AC_MSG_ERROR([Install latest SimGear first...])], - AC_MSG_RESULT(yes) -) - -LIBS="$saved_LIBS" - -dnl Check if SimGear was built with Norman's JPEG factory support -if test "x$with_simgear" != "x"; then -AC_CHECK_HEADER($with_simgear/include/simgear/screen/jpgfactory.hxx,[ac_cv_header_simgear_screen_jpgfactory_hxx=yes],[ac_cv_header_simgear_screen_jpgfactory_hxx=no]) -else -AC_CHECK_HEADER(simgear/screen/jpgfactory.hxx) -fi -if test "x$ac_cv_header_simgear_screen_jpgfactory_hxx" = "xyes"; then - AC_CHECK_LIB(jpeg, jpeg_start_compress) - if test "x$ac_cv_lib_jpeg_jpeg_start_compress" != "xyes" ; then - echo - echo "The JPEG factory code was built and installed with SimGear." - echo "However it appears the libjpeg is no longer installed." - echo "You need to install libjpeg or remove jpgfactory support from" - echo "SimGear" - echo - echo "libjpeg is available at :" - echo " ftp://ftp.uu.net in the directory graphics/jpeg" - exit 1 - fi - AC_DEFINE([FG_JPEG_SERVER], 1, - [Define to build with jpeg screen shot server]) -fi -AM_CONDITIONAL(ENABLE_JPEG_SERVER, test "x$ac_cv_header_simgear_screen_jpgfactory_hxx" = "xyes") - -# Check for "plib" without which we cannot go on -case "${host}" in -*-apple-darwin*) - if test "x$with_plib_framework" != "x"; then - AC_CHECK_FRAMEWORK(PLIB, [#include ], $with_plib_framework, no) - plib_FRAMEWORK="$FRAMEWORKS" - AC_SUBST(plib_FRAMEWORK) - FRAMEWORKS="" - fi - ;; -esac -AM_CONDITIONAL(HAVE_FRAMEWORK_PLIB, test "x$ac_cv_framework_PLIB" != "x") - -AC_CHECK_HEADER(plib/ul.h) -if test "x$ac_cv_header_plib_ul_h" != "xyes"; then - echo - echo "You *must* have the plib library installed on your system to build" - echo "the FGFS simulator!" - echo - echo "Please see README.plib for more details." - echo - echo "configure aborted." - exit -fi - -echo "$DYLD_FRAMEWORK_PATH" -AC_MSG_CHECKING([for plib 1.8.5 or newer]) -AC_TRY_RUN([ -#include - -#define MIN_PLIB_VERSION 185 - -int main() { - if ( PLIB_VERSION < MIN_PLIB_VERSION ) { - return -1; - } - - return 0; -} - -], - AC_MSG_RESULT(yes), - [AC_MSG_RESULT(wrong version); - AC_MSG_ERROR([Install plib 1.8.5 or later first...])], - AC_MSG_RESULT(yes) -) - -dnl If we get here then plib is available, so force use of plib -dnl joystick lib -AC_DEFINE([ENABLE_PLIB_JOYSTICK], 1, [Define to enable plib joystick support]) - -# Find the OSG libraries. Note special handling for OS X frameworks -if test "x$with_osg_framework" = "x"; then - if test "x$enable_osgdebug" = "xyes"; then - AC_CHECK_LIB(OpenThreadsd,OpenThreadsGetVersion, , [AC_MSG_ERROR(OpenThreads library not found.)],) - AC_CHECK_LIB(osgd,osgGetVersion, , [AC_MSG_ERROR(OpenSceneGraph library not found.)],) - AC_CHECK_LIB(osgUtild,osgUtilGetVersion, , [AC_MSG_ERROR(OpenSceneGraph utility library not found.)],) - AC_CHECK_LIB(osgDBd,osgDBGetVersion, , [AC_MSG_ERROR(OpenSceneGraph database library not found.)],) - AC_CHECK_LIB(osgTextd,osgTextGetVersion, , [AC_MSG_ERROR(OpenSceneGraph Text library not found.)],) - AC_CHECK_LIB(osgGAd,osgGAGetVersion, , [AC_MSG_ERROR(OpenSceneGraph GUI Abstraction library not found.)],) - AC_CHECK_LIB(osgViewerd,osgViewerGetVersion, , [AC_MSG_ERROR(OpenSceneGraph Viewer library not found.)],) - AC_CHECK_LIB(osgSimd,osgSimGetVersion, , [AC_MSG_ERROR(OpenSceneGraph simulation library not found.)],) - AC_CHECK_LIB(osgParticled,osgParticleGetVersion, , [AC_MSG_ERROR(OpenSceneGraph Particle library not found.)],) - AC_CHECK_LIB(osgFXd, osgFXGetVersion, , [AC_MSG_ERROR(OpenSceneGraph FX library not found.)],) - else - AC_CHECK_LIB(OpenThreads,OpenThreadsGetVersion, , [AC_MSG_ERROR(OpenThreads library not found.)],) - AC_CHECK_LIB(osg,osgGetVersion, , [AC_MSG_ERROR(OpenSceneGraph library not found.)],) - AC_CHECK_LIB(osgUtil,osgUtilGetVersion, , [AC_MSG_ERROR(OpenSceneGraph utility library not found.)],) - AC_CHECK_LIB(osgDB,osgDBGetVersion, , [AC_MSG_ERROR(OpenSceneGraph database library not found.)],) - AC_CHECK_LIB(osgText,osgTextGetVersion, , [AC_MSG_ERROR(OpenSceneGraph Text library not found.)],) - AC_CHECK_LIB(osgGA,osgGAGetVersion, , [AC_MSG_ERROR(OpenSceneGraph GUI Abstraction library not found.)],) - AC_CHECK_LIB(osgViewer,osgViewerGetVersion, , [AC_MSG_ERROR(OpenSceneGraph Viewer library not found.)],) - AC_CHECK_LIB(osgSim,osgSimGetVersion, , [AC_MSG_ERROR(OpenSceneGraph simulation library not found.)],) - AC_CHECK_LIB(osgParticle,osgParticleGetVersion, , [AC_MSG_ERROR(OpenSceneGraph Particle library not found.)],) - AC_CHECK_LIB(osgFX, osgFXGetVersion, , [AC_MSG_ERROR(OpenSceneGraph FX library not found.)],) - fi -else - # Checking osg frameworks. - AC_CHECK_FRAMEWORK(osgViewer, [#include ], $with_osg_framework) - AC_CHECK_FRAMEWORK(osgGA, [#include ], $with_osg_framework) - AC_CHECK_FRAMEWORK(osgText, [#include ], $with_osg_framework) - AC_CHECK_FRAMEWORK(osgFX, [#include ], $with_osg_framework) - AC_CHECK_FRAMEWORK(osgUtil, [#include ], $with_osg_framework) - AC_CHECK_FRAMEWORK(osgDB, [#include ], $with_osg_framework) - AC_CHECK_FRAMEWORK(osgSim, [#include ], $with_osg_framework) - AC_CHECK_FRAMEWORK(osgParticle, [#include ], $with_osg_framework) - AC_CHECK_FRAMEWORK(osg, [#include ], $with_osg_framework) - osg_FRAMEWORKS="$FRAMEWORKS" - FRAMEWORKS="" - AC_CHECK_FRAMEWORK(OpenThreads, [#include ], $with_osg_framework) - openthreads_FRAMEWORK="$FRAMEWORKS" - AC_SUBST(osg_FRAMEWORKS) - AC_SUBST(openthreads_FRAMEWORK) -fi -AM_CONDITIONAL(HAVE_FRAMEWORK_OSG, test "x$ac_cv_framework_osg" != "x") - -AC_CHECK_HEADER(osg/Version) -if test "x$ac_cv_header_osg_Version" != "xyes"; then - echo - echo "You *must* have the OpenSceneGraph support library installed on your system" - echo "to build the FGFS simulator!" - echo - echo "Please see README.OSG for more details." - echo - echo "configure aborted." - exit -fi - - -AC_MSG_CHECKING([checking for osg::CullSettings::CLEAR_MASK]) -AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([[#include ]], - [[osg::CullSettings::VariablesMask mask = osg::CullSettings::CLEAR_MASK;]])], - [AC_DEFINE([HAVE_CULLSETTINGS_CLEAR_MASK],1,[define if OSG has CullSettings::CLEAR_MASK]) - AC_MSG_RESULT([yes])], - [AC_MSG_RESULT([no])]) - -# Special handling for static version of OSG -if test -n "`echo "$CPPFLAGS" "$CXXFLAGS" "$CFLAGS" | grep "\-DOSG_LIBRARY_STATIC" 2>/dev/null`" ; then - saved_LIBS="$LIBS" - LIBS="" - #***** Check image support (needed for static build) ***** - AC_SEARCH_LIBS([jpeg_read_header], [jpeg], [CPPFLAGS="$CPPFLAGS -DOSG_JPEG_ENABLED"]) - AC_SEARCH_LIBS([png_read_image], [png 'png -lz'], [CPPFLAGS="$CPPFLAGS -DOSG_PNG_ENABLED"]) - AC_SEARCH_LIBS([TIFFOpen], [tiff], [CPPFLAGS="$CPPFLAGS -DOSG_TIFF_ENABLED"]) - img_LIBS="$LIBS" - LIBS="$saved_LIBS" - - if test "x$with_osg" != "x" ; then - osg_prefix="$with_osg" - else - osg_prefix="/usr" - fi - PKG_CHECK_EXISTS([openscenegraph], [osg_version="`$PKG_CONFIG --modversion openscenegraph 2>/dev/null`"]) - LIBS="-L$osg_prefix/lib/osgPlugins-$osg_version -losgdb_bmp -losgdb_dds -losgdb_hdr -losgdb_pic -losgdb_pnm -losgdb_rgb -losgdb_tga \ - -losgdb_3ds -losgdb_ac -losgdb_ive -losgdb_osg -losgdb_txf \ - -losgVolume -losgTerrain $LIBS -losgUtil" - - if test -n "`echo "$CPPFLAGS" "$CXXFLAGS" "$CFLAGS" | grep "\-DOSG_JPEG_ENABLED" 2>/dev/null`" ; then - LIBS="$LIBS -losgdb_jpeg" - fi - if test -n "`echo "$CPPFLAGS" "$CXXFLAGS" "$CFLAGS" | grep "\-DOSG_PNG_ENABLED" 2>/dev/null`" ; then - LIBS="$LIBS -losgdb_png" - fi - if test -n "`echo "$CPPFLAGS" "$CXXFLAGS" "$CFLAGS" | grep "\-DOSG_TIFF_ENABLED" 2>/dev/null`" ; then - LIBS="$LIBS -losgdb_tiff" - fi - - LIBS="$LIBS $img_LIBS" -fi - -AC_LANG_POP - -dnl Check for system installed zlib -AC_CHECK_HEADER(zlib.h) -if test "x$ac_cv_header_zlib_h" != "xyes"; then - echo - echo "zlib library not found." - echo - echo "If your OS does not provide an installable package for zlib" - echo "you will have to compile and install it first yourself. A copy" - echo "of zlib-1.1.4.tar.gz is included with SimGear. You will" - echo "have to untar this source code, and follow it's included instructions" - echo "to compile and install on your system." - echo - echo "configure aborted." - echo -fi - -dnl Check for Subversion library support -# libsvn support defaults to yes -save_LIBS=$LIBS -save_CPPFLAGS=$CPPFLAGS -AC_ARG_WITH(libsvn, [ --without-libsvn Do not use built-in subversion (libsvn) for terrasync/fgfs [default=no]], [], [with_libsvn=yes]) -if test "x$with_libsvn" = "xyes"; then - LIBS="`apr-1-config --link-ld`" - CPPFLAGS="-I/usr/include/subversion-1 `apr-1-config --includes --cppflags`" - AC_CHECK_HEADERS([svn_client.h]) - if test "x$ac_cv_header_svn_client_h" = "xyes"; then - echo "Using built-in subversion (libsvn) for scenery downloads." - AC_SEARCH_LIBS(svn_client_checkout, svn_client-1, - [AC_DEFINE([HAVE_LIBSVN_CLIENT_1], [1], [Define to 1 if you have libsvn_client-1])], - [AC_MSG_ERROR(svn_client-1 library not found.)],) - AC_SEARCH_LIBS(svn_cmdline_init, svn_subr-1, , [AC_MSG_ERROR(svn_subr-1 library not found.)],) - AC_SEARCH_LIBS(svn_ra_initialize, svn_ra-1, , [AC_MSG_ERROR(svn_ra-1 library not found.)],) - svn_LIBS=$LIBS - svn_CPPFLAGS=$CPPFLAGS - AC_SUBST(svn_LIBS) - AC_SUBST(svn_CPPFLAGS) - else - echo "Libsvn not found. Will use command line subversion for scenery downloads." - svn_LIBS="" - svn_CPPFLAGS="" - fi -else -echo "Libsvn explicitly disabled. Will use command line subversion for scenery downloads." - svn_LIBS="" - svn_CPPFLAGS="" -fi -LIBS=$save_LIBS -CPPFLAGS=$save_CPPFLAGS - -AC_MSG_CHECKING([for feenableexcept]) -AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE -#include ]], [[feenableexcept(FE_DIVBYZERO)]])], -[AC_DEFINE([HAVE_FEENABLEEXCEPT], 1, [define if system has fenableexcept])], -AC_MSG_RESULT([yes]), -AC_MSG_RESULT([no])) - -dnl Checks for header files. -AC_HEADER_STDC -AC_CHECK_HEADERS( \ - fcntl.h getopt.h malloc.h memory.h stdlib.h sys/param.h sys/stat.h \ - sys/time.h sys/timeb.h unistd.h windows.h values.h ) - -dnl Checks for typedefs, structures, and compiler characteristics. -AC_C_CONST -AC_TYPE_SIZE_T -AC_HEADER_TIME -AC_STRUCT_TM - -dnl Checks for library functions. -old_LIBS=$LIBS -LIBS="$base_LIBS $network_LIBS $opengl_LIBS" -AC_TYPE_SIGNAL -AC_FUNC_VPRINTF -AC_CHECK_FUNCS( [ \ - ftime gettimeofday timegm memcpy bcopy mktime strstr rand mkfifo \ - random drand48 setitimer getitimer signal GetLocalTime rint getrusage \ - truncf ] ) -LIBS=$old_LIBS - -AM_CONFIG_HEADER(src/Include/config.h) - -AC_CONFIG_FILES([ \ - Makefile \ - man/Makefile \ - man/est-epsilon.1 \ - man/fgfs.1 \ - man/fgjs.1 \ - man/gl-info.1 \ - man/js_demo.1 \ - man/pstest.1 \ - scripts/Makefile \ - scripts/debug/Makefile \ - scripts/perl/Makefile \ - scripts/perl/examples/Makefile \ - scripts/perl/traffic/Makefile \ - scripts/python/Makefile \ - src/Makefile \ - src/Include/Makefile \ - src/Include/version.h \ - src/Aircraft/Makefile \ - src/Airports/Makefile \ - src/ATC/Makefile \ - src/ATCDCL/Makefile \ - src/Autopilot/Makefile \ - src/Cockpit/Makefile \ - src/Cockpit/built_in/Makefile \ - src/Environment/Makefile \ - src/FDM/ExternalNet/Makefile \ - src/FDM/ExternalPipe/Makefile \ - src/FDM/JSBSim/Makefile \ - src/FDM/JSBSim/initialization/Makefile \ - src/FDM/JSBSim/input_output/Makefile \ - src/FDM/JSBSim/math/Makefile \ - src/FDM/JSBSim/models/Makefile \ - src/FDM/JSBSim/models/flight_control/Makefile \ - src/FDM/JSBSim/models/atmosphere/Makefile \ - src/FDM/JSBSim/models/propulsion/Makefile \ - src/FDM/LaRCsim/Makefile \ - src/FDM/SP/Makefile \ - src/FDM/UIUCModel/Makefile \ - src/FDM/YASim/Makefile \ - src/FDM/Makefile \ - src/GUI/Makefile \ - src/Input/Makefile \ - src/Instrumentation/Makefile \ - src/Instrumentation/KLN89/Makefile \ - src/Instrumentation/HUD/Makefile \ - src/Main/Makefile \ - src/Main/runfgfs \ - src/Main/runfgfs.bat \ - src/Model/Makefile \ - src/AIModel/Makefile \ - src/MultiPlayer/Makefile \ - src/Navaids/Makefile \ - src/Network/Makefile \ - src/Network/HLA/Makefile \ - src/Scenery/Makefile \ - src/Scripting/Makefile \ - src/Sound/Makefile \ - src/Systems/Makefile \ - src/Time/Makefile \ - src/Traffic/Makefile \ - tests/Makefile \ - utils/Makefile \ - utils/GPSsmooth/Makefile \ - utils/fgadmin/Makefile - utils/fgadmin/src/Makefile \ - utils/js_server/Makefile \ - utils/Modeller/Makefile \ - utils/propmerge/Makefile \ - utils/TerraSync/Makefile \ - utils/xmlgrep/Makefile \ - utils/fgviewer/Makefile \ - utils/fgpanel/Makefile -]) -AC_OUTPUT - -AC_OUTPUT_COMMANDS([chmod 755 src/Main/runfgfs]) - -echo "" -echo "Configure Summary" -echo "=================" - -echo "Prefix: $prefix" - -if test "x$with_logging" != "x"; then - echo "Log messages: $with_logging" -else - echo "Log messages: yes" -fi - -echo -n "Automake version: " -automake --version | head -n 1 - -if test "x$with_multiplayer" != "xno"; then - echo "Building with multiplayer support" -fi - -if test "x$with_threads" = "xyes"; then - echo "Threads: yes" -else - echo "Threads: no" -fi - -if test "x$with_eventinput" = "xyes"; then - echo "Event input: yes" -else - echo "Event input: no" -fi - -if test "x$with_fgpanel" = "xyes"; then - echo "fgpanel: yes" -else - echo "fgpanel: no" -fi - -if test "x$enable_sp_fdms" != "xno"; then - echo "Include special purpose flight models: yes" -else - echo "Include special purpose flight models: no" -fi diff --git a/man/Makefile.am b/man/Makefile.am deleted file mode 100644 index 0c12be470..000000000 --- a/man/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -MAINTAINERCLEANFILES = Makefile.in - -man_MANS = est-epsilon.1 fgfs.1 fgjs.1 gl-info.1 js_demo.1 pstest.1 diff --git a/scripts/Makefile.am b/scripts/Makefile.am deleted file mode 100644 index 458762cf0..000000000 --- a/scripts/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = debug perl python diff --git a/scripts/debug/Makefile.am b/scripts/debug/Makefile.am deleted file mode 100644 index 954f6e141..000000000 --- a/scripts/debug/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = debug-fgfs sample.fgfs.supp diff --git a/scripts/example/Makefile.am b/scripts/example/Makefile.am deleted file mode 100644 index 6f18c49ec..000000000 --- a/scripts/example/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = fgfsclient.c fgfsclient.cxx fgfsscript remote.html diff --git a/scripts/java/FGClient/Makefile.am b/scripts/java/FGClient/Makefile.am deleted file mode 100644 index f2e191ade..000000000 --- a/scripts/java/FGClient/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -SUBDIRS = src docs -EXTRA_DIST = build.xml fgfsclient.jar README main-class.txt - diff --git a/scripts/java/FGClient/docs/Makefile.am b/scripts/java/FGClient/docs/Makefile.am deleted file mode 100644 index faf393701..000000000 --- a/scripts/java/FGClient/docs/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = javadoc diff --git a/scripts/java/FGClient/docs/javadoc/Makefile.am b/scripts/java/FGClient/docs/javadoc/Makefile.am deleted file mode 100644 index 8e44a726e..000000000 --- a/scripts/java/FGClient/docs/javadoc/Makefile.am +++ /dev/null @@ -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 - diff --git a/scripts/java/FGClient/src/Makefile.am b/scripts/java/FGClient/src/Makefile.am deleted file mode 100644 index fdcf21df1..000000000 --- a/scripts/java/FGClient/src/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = FGFSDemo.java diff --git a/scripts/perl/Makefile.am b/scripts/perl/Makefile.am deleted file mode 100644 index 9538e129c..000000000 --- a/scripts/perl/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ -SUBDIRS = examples \ - traffic diff --git a/scripts/perl/dafif/Makefile.am b/scripts/perl/dafif/Makefile.am deleted file mode 100644 index 094100f4e..000000000 --- a/scripts/perl/dafif/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = build_ils.pl dafift2fix.pl dafift2ils.pl dafift2nav.pl diff --git a/scripts/perl/examples/Makefile.am b/scripts/perl/examples/Makefile.am deleted file mode 100644 index 883cfcde9..000000000 --- a/scripts/perl/examples/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -EXTRA_DIST = \ - aircraft.pl \ - autopilot.pl \ - environment.pl \ - flyplan.pl \ - logging.pl \ - position.pl \ - reset.pl \ - telnet.pl diff --git a/scripts/perl/scenery/Makefile.am b/scripts/perl/scenery/Makefile.am deleted file mode 100644 index ccad772f0..000000000 --- a/scripts/perl/scenery/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = calc-tile.pl diff --git a/scripts/perl/traffic/Makefile.am b/scripts/perl/traffic/Makefile.am deleted file mode 100644 index b14050c96..000000000 --- a/scripts/perl/traffic/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -EXTRA_DIST = \ - conf2xml.pl \ - xml2conf.pl diff --git a/scripts/python/Makefile.am b/scripts/python/Makefile.am deleted file mode 100644 index aa0d9abc6..000000000 --- a/scripts/python/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = FlightGear.py demo.py diff --git a/src/AIModel/Makefile.am b/src/AIModel/Makefile.am deleted file mode 100644 index 17b63583e..000000000 --- a/src/AIModel/Makefile.am +++ /dev/null @@ -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 diff --git a/src/ATC/Makefile.am b/src/ATC/Makefile.am deleted file mode 100644 index 522a82033..000000000 --- a/src/ATC/Makefile.am +++ /dev/null @@ -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 diff --git a/src/ATCDCL/Makefile.am b/src/ATCDCL/Makefile.am deleted file mode 100644 index 4d1410661..000000000 --- a/src/ATCDCL/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Aircraft/Makefile.am b/src/Aircraft/Makefile.am deleted file mode 100644 index c6ab897a2..000000000 --- a/src/Aircraft/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Airports/Makefile.am b/src/Airports/Makefile.am deleted file mode 100644 index fa982678f..000000000 --- a/src/Airports/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Autopilot/Makefile.am b/src/Autopilot/Makefile.am deleted file mode 100644 index 19187de1d..000000000 --- a/src/Autopilot/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Cockpit/Makefile.am b/src/Cockpit/Makefile.am deleted file mode 100644 index 68944b762..000000000 --- a/src/Cockpit/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Cockpit/built_in/Makefile.am b/src/Cockpit/built_in/Makefile.am deleted file mode 100644 index 1a596bcde..000000000 --- a/src/Cockpit/built_in/Makefile.am +++ /dev/null @@ -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 - diff --git a/src/Environment/Makefile.am b/src/Environment/Makefile.am deleted file mode 100644 index 904bc9669..000000000 --- a/src/Environment/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/ExternalNet/Makefile.am b/src/FDM/ExternalNet/Makefile.am deleted file mode 100644 index ca78dca0a..000000000 --- a/src/FDM/ExternalNet/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/ExternalPipe/Makefile.am b/src/FDM/ExternalPipe/Makefile.am deleted file mode 100644 index 3009308ea..000000000 --- a/src/FDM/ExternalPipe/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/JSBSim/Makefile.am b/src/FDM/JSBSim/Makefile.am deleted file mode 100644 index 2d3b6414a..000000000 --- a/src/FDM/JSBSim/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/JSBSim/initialization/Makefile.am b/src/FDM/JSBSim/initialization/Makefile.am deleted file mode 100644 index b88485a3e..000000000 --- a/src/FDM/JSBSim/initialization/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/JSBSim/input_output/Makefile.am b/src/FDM/JSBSim/input_output/Makefile.am deleted file mode 100644 index 1d2d38a41..000000000 --- a/src/FDM/JSBSim/input_output/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/JSBSim/math/Makefile.am b/src/FDM/JSBSim/math/Makefile.am deleted file mode 100644 index 5e1282ef0..000000000 --- a/src/FDM/JSBSim/math/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/JSBSim/models/Makefile.am b/src/FDM/JSBSim/models/Makefile.am deleted file mode 100644 index ade54931b..000000000 --- a/src/FDM/JSBSim/models/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/JSBSim/models/atmosphere/Makefile.am b/src/FDM/JSBSim/models/atmosphere/Makefile.am deleted file mode 100644 index 1cbe13238..000000000 --- a/src/FDM/JSBSim/models/atmosphere/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/JSBSim/models/flight_control/Makefile.am b/src/FDM/JSBSim/models/flight_control/Makefile.am deleted file mode 100644 index 63487bcb8..000000000 --- a/src/FDM/JSBSim/models/flight_control/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/JSBSim/models/propulsion/Makefile.am b/src/FDM/JSBSim/models/propulsion/Makefile.am deleted file mode 100644 index e5b9dcc0f..000000000 --- a/src/FDM/JSBSim/models/propulsion/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/LaRCsim/Makefile.am b/src/FDM/LaRCsim/Makefile.am deleted file mode 100644 index 4edec6a3f..000000000 --- a/src/FDM/LaRCsim/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/Makefile.am b/src/FDM/Makefile.am deleted file mode 100644 index 41bfe3f87..000000000 --- a/src/FDM/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/SP/Makefile.am b/src/FDM/SP/Makefile.am deleted file mode 100644 index 7271c3c69..000000000 --- a/src/FDM/SP/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/UIUCModel/Makefile.am b/src/FDM/UIUCModel/Makefile.am deleted file mode 100644 index 7ac5a00bb..000000000 --- a/src/FDM/UIUCModel/Makefile.am +++ /dev/null @@ -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 diff --git a/src/FDM/YASim/Makefile.am b/src/FDM/YASim/Makefile.am deleted file mode 100644 index f75029429..000000000 --- a/src/FDM/YASim/Makefile.am +++ /dev/null @@ -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 diff --git a/src/GUI/Makefile.am b/src/GUI/Makefile.am deleted file mode 100644 index 03792dcfc..000000000 --- a/src/GUI/Makefile.am +++ /dev/null @@ -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) diff --git a/src/Include/Makefile.am b/src/Include/Makefile.am deleted file mode 100644 index fed79be45..000000000 --- a/src/Include/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -EXTRA_DIST = \ - config.h.in \ - config.h-msvc90 \ - cmdargs.h \ - fg_typedefs.h diff --git a/src/Input/Makefile.am b/src/Input/Makefile.am deleted file mode 100644 index 4436e28b5..000000000 --- a/src/Input/Makefile.am +++ /dev/null @@ -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) diff --git a/src/Instrumentation/HUD/Makefile.am b/src/Instrumentation/HUD/Makefile.am deleted file mode 100644 index c9a059e3e..000000000 --- a/src/Instrumentation/HUD/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Instrumentation/KLN89/Makefile.am b/src/Instrumentation/KLN89/Makefile.am deleted file mode 100644 index 0f5529bea..000000000 --- a/src/Instrumentation/KLN89/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Instrumentation/Makefile.am b/src/Instrumentation/Makefile.am deleted file mode 100644 index 23292e17c..000000000 --- a/src/Instrumentation/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Main/Makefile.am b/src/Main/Makefile.am deleted file mode 100644 index 0c699f183..000000000 --- a/src/Main/Makefile.am +++ /dev/null @@ -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) diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index 178419eb0..000000000 --- a/src/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Model/Makefile.am b/src/Model/Makefile.am deleted file mode 100644 index d763d443e..000000000 --- a/src/Model/Makefile.am +++ /dev/null @@ -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 diff --git a/src/MultiPlayer/Makefile.am b/src/MultiPlayer/Makefile.am deleted file mode 100644 index 7f2f53f95..000000000 --- a/src/MultiPlayer/Makefile.am +++ /dev/null @@ -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 - - diff --git a/src/Navaids/Makefile.am b/src/Navaids/Makefile.am deleted file mode 100644 index a7f6f5335..000000000 --- a/src/Navaids/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Network/HLA/Makefile.am b/src/Network/HLA/Makefile.am deleted file mode 100644 index 792ae4418..000000000 --- a/src/Network/HLA/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Network/Makefile.am b/src/Network/Makefile.am deleted file mode 100644 index 6ec004124..000000000 --- a/src/Network/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Scenery/Makefile.am b/src/Scenery/Makefile.am deleted file mode 100644 index 041e5cdb5..000000000 --- a/src/Scenery/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Scripting/Makefile.am b/src/Scripting/Makefile.am deleted file mode 100644 index 36b04f3d0..000000000 --- a/src/Scripting/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Sound/Makefile.am b/src/Sound/Makefile.am deleted file mode 100644 index 871001743..000000000 --- a/src/Sound/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Systems/Makefile.am b/src/Systems/Makefile.am deleted file mode 100644 index 93ff9c946..000000000 --- a/src/Systems/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Time/Makefile.am b/src/Time/Makefile.am deleted file mode 100644 index 5db2d7b26..000000000 --- a/src/Time/Makefile.am +++ /dev/null @@ -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 diff --git a/src/Traffic/Makefile.am b/src/Traffic/Makefile.am deleted file mode 100644 index b625991b0..000000000 --- a/src/Traffic/Makefile.am +++ /dev/null @@ -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 diff --git a/tests/Makefile.am b/tests/Makefile.am deleted file mode 100644 index cade53233..000000000 --- a/tests/Makefile.am +++ /dev/null @@ -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 - diff --git a/utils/GPSsmooth/Makefile.am b/utils/GPSsmooth/Makefile.am deleted file mode 100644 index ccd7451ee..000000000 --- a/utils/GPSsmooth/Makefile.am +++ /dev/null @@ -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 diff --git a/utils/Makefile.am b/utils/Makefile.am deleted file mode 100644 index e2c312661..000000000 --- a/utils/Makefile.am +++ /dev/null @@ -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 - diff --git a/utils/Modeller/Makefile.am b/utils/Modeller/Makefile.am deleted file mode 100644 index 877fe39e9..000000000 --- a/utils/Modeller/Makefile.am +++ /dev/null @@ -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 diff --git a/utils/TerraSync/Makefile.am b/utils/TerraSync/Makefile.am deleted file mode 100644 index ea3d29f51..000000000 --- a/utils/TerraSync/Makefile.am +++ /dev/null @@ -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) diff --git a/utils/fgadmin/Makefile.am b/utils/fgadmin/Makefile.am deleted file mode 100644 index af437a64d..000000000 --- a/utils/fgadmin/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = src diff --git a/utils/fgadmin/src/Makefile.am b/utils/fgadmin/src/Makefile.am deleted file mode 100644 index e646719c0..000000000 --- a/utils/fgadmin/src/Makefile.am +++ /dev/null @@ -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 diff --git a/utils/fgpanel/Makefile.am b/utils/fgpanel/Makefile.am deleted file mode 100644 index 2057622cc..000000000 --- a/utils/fgpanel/Makefile.am +++ /dev/null @@ -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 diff --git a/utils/fgviewer/Makefile.am b/utils/fgviewer/Makefile.am deleted file mode 100644 index 56a367971..000000000 --- a/utils/fgviewer/Makefile.am +++ /dev/null @@ -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 diff --git a/utils/gui/Makefile.am b/utils/gui/Makefile.am deleted file mode 100644 index a53ffec50..000000000 --- a/utils/gui/Makefile.am +++ /dev/null @@ -1,4 +0,0 @@ -noinst_PROGRAMS = genfonts - -genfonts_SOURCES = genfonts.c -genfonts_LDADD = $(base_LIBS) -lXext diff --git a/utils/js_server/Makefile.am b/utils/js_server/Makefile.am deleted file mode 100644 index a21dc380e..000000000 --- a/utils/js_server/Makefile.am +++ /dev/null @@ -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) diff --git a/utils/propmerge/Makefile.am b/utils/propmerge/Makefile.am deleted file mode 100644 index e68c2abe6..000000000 --- a/utils/propmerge/Makefile.am +++ /dev/null @@ -1,4 +0,0 @@ -noinst_PROGRAMS = propmerge - -propmerge_SOURCES = propmerge.cxx -propmerge_LDADD = -lsgprops -lsgxml -lsgio -lsgmisc -lsgdebug -lsgstructure diff --git a/utils/xmlgrep/Makefile.am b/utils/xmlgrep/Makefile.am deleted file mode 100644 index 827bd29bf..000000000 --- a/utils/xmlgrep/Makefile.am +++ /dev/null @@ -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 -- 2.39.5