]> git.mxchange.org Git - flightgear.git/commitdiff
Updated build system to remove DEFS += -DFOO type lines. This doesn't seem
authorcurt <curt>
Thu, 24 Jun 1999 20:38:31 +0000 (20:38 +0000)
committercurt <curt>
Thu, 24 Jun 1999 20:38:31 +0000 (20:38 +0000)
to be supported in recent versions of autoconf.

Thanks
acconfig.h
src/FDM/JSBSim/Makefile.am
src/FDM/Makefile.am
src/GUI/Makefile.am
src/Joystick/Makefile.am
src/Main/Makefile.am
src/Time/Makefile.am
tests/Makefile.am

diff --git a/Thanks b/Thanks
index fd2ea138a0fc4087ea6836913a256c6c653a87db..4c613d62bb6855f5832cd8a240d87d2d97bca461 100644 (file)
--- a/Thanks
+++ b/Thanks
@@ -120,8 +120,9 @@ Bruce Jackson of NASA <e.b.jackson@larc.nasa.gov>
   flight model.  Bruce has patiently answered my many, many questions.
 
 
-Oliver L. K. <delise@rp-plus.de>
+Oliver Delise <delise@rp-plus.de>
   FAQ Maintainer.
+  Working on adding some networking / multi-user support.
 
 
 Tom Knienieder <knienieder@ms.netwing.at>
index afce6c4a15cf38d1ad58c687c9c5fc77504287e6..71eec2842ede9dce9af03353a3c9c07a091c9dbc 100644 (file)
 /* Define if you have <dirent.h>.  */
 #undef DIRENT
 
+/* Define to enable audio support */
+#undef ENABLE_AUDIO_SUPPORT
+
+/* Define to enable GLUT joystick support (limited to 3 axes) */
+#undef ENABLE_GLUT_JOYSTICK
+   
+/* Define to enable plib joystick support (recommended) */
+#undef ENABLE_PLIB_JOYSTICK
+   
 /* Define to eliminate all trace of debugging messages such as for a 
    release build */
 #undef FG_NDEBUG
 /* Define to include Oliver's networking support */
 #undef FG_NETWORK_OLK
    
+/* Define if we are building FGFS (should always be defined) */
+#undef FGFS
+   
+/* Define to enable 3dfx/glide render in a window hack under unix.
+   This probably won't work under windows. */
+#undef XMESA
+#undef FX
+
 /* Define to the type of elements in the array set by `getgroups'.
    Usually this is either `int' or `gid_t'.  */
 #undef GETGROUPS_T
@@ -71,6 +88,9 @@
 /* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
 #undef HAVE_ALLOCA_H
 
+/* Define if you external variables daylight.  */
+#undef HAVE_DAYLIGHT
+
 /* Define if you don't have vprintf but do have _doprnt.  */
 #undef HAVE_DOPRNT
 
 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
 #undef HAVE_SYS_WAIT_H
 
+/* Define if you external variables timezone.  */
+#undef HAVE_TIMEZONE
+
 /* Define if your struct tm has tm_zone.  */
 #undef HAVE_TM_ZONE
 
index fce00898e53708c69a298d4037747c48df2f6463..0a1fcc80278bed425a47fa5191e7a2d54f721efc 100644 (file)
@@ -25,4 +25,4 @@ testJSBsim_LDADD = libJSBsim.a
 
 INCLUDES += -I$(top_builddir)
 
-DEFS += -DFGFS
+DEFS += -DFGFS
index c876188badf9a33f5b155b9d577211c832629be5..e44cd5bd812d22e4ca689903ee91e84c7826c283 100644 (file)
@@ -7,5 +7,3 @@ libFlight_a_SOURCES = flight.cxx flight.hxx \
        LaRCsim.cxx LaRCsim.hxx
 
 INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib -I$(top_builddir)/Simulator
-
-DEFS += -DFGFS
index b2b473bd5c3ac8a7af384edb5ef6d4413573727e..b0a375f338ecb4b5a69d24fe03f74af383e77617 100644 (file)
@@ -1,7 +1,3 @@
-if ENABLE_XMESA_FX                                                              
-DEFS += -DXMESA -DFX
-endif                                                                           
-                                                                                
 noinst_LIBRARIES = libGUI.a
 
 libGUI_a_SOURCES = gui.cxx gui.h
index f2b2f78c9162e7a5d5e3006606c7e5cc07d43f6d..d4efb29b94c7c7dd36e249625c9255a9fb65bcda 100644 (file)
@@ -1,9 +1,3 @@
-if ENABLE_PLIB_JOYSTICK
-DEFS += -DENABLE_PLIB_JOYSTICK
-else
-DEFS += -DENABLE_GLUT_JOYSTICK
-endif
-
 noinst_LIBRARIES = libJoystick.a
 
 libJoystick_a_SOURCES = joystick.cxx joystick.hxx
index b60fa20ea6f40b5fe6a80a798855e66289f1f8b7..604871337d76433704f89f28de5ee46051c79e60 100644 (file)
@@ -1,33 +1,10 @@
-if ENABLE_AUDIO_SUPPORT
-DEFS += -DENABLE_AUDIO_SUPPORT
-AUDIO_LIBS = -lsl -lsm
-endif
-
-if ENABLE_IRIX_AUDIO
-LIBS += -laudio
-endif
-
-if ENABLE_WIN32_AUDIO
-LIBS += -lwinmm
-endif
-
-if ENABLE_PLIB_JOYSTICK
-DEFS += -DENABLE_PLIB_JOYSTICK
-else
-DEFS += -DENABLE_GLUT_JOYSTICK
-endif
-
-if ENABLE_XMESA_FX
-DEFS += -DXMESA -DFX
-endif
-
 if ENABLE_UNIX_SERIAL
 SERIAL_LIBS = $(top_builddir)/Lib/Serial/libSerial.a
 else
 SERIAL_LIBS =
 endif
 
-DEFS += -DPKGLIBDIR=\"$(pkglibdir)\"
+CPPFLAGS += -DPKGLIBDIR=\"$(pkglibdir)\"
 
 EXTRA_DIST = 3dfx.sh runfgfs.in runfgfs.bat.in
 
@@ -63,7 +40,6 @@ fgfs_LDADD = \
        $(top_builddir)/Simulator/Time/libTime.a \
        $(top_builddir)/Simulator/Weather/libWeather.a \
        $(top_builddir)/Simulator/Joystick/libJoystick.a \
-       $(AUDIO_LIBS) \
        $(SERIAL_LIBS) \
        $(top_builddir)/Lib/Math/libMath.a \
        $(top_builddir)/Lib/Bucket/libBucket.a \
@@ -71,7 +47,9 @@ fgfs_LDADD = \
        -lpu -lfnt -lssg -lsg \
        $(top_builddir)/Lib/Misc/libMisc.a \
        $(top_builddir)/Lib/zlib/libz.a \
-       $(opengl_LIBS)
+       $(opengl_LIBS) \
+       $(audio_LIBS)
+
 
 INCLUDES += \
        -I$(top_builddir) \
index 657a74240d8cbd21fd7d34a7a895babbbcfd1e26..2566840eeced79fc4ca7c324ebf5ee92a995b635 100644 (file)
@@ -1,11 +1,3 @@
-if HAVE_DAYLIGHT
-DEFS += -DHAVE_DAYLIGHT
-endif
-
-if HAVE_TIMEZONE
-DEFS += -DHAVE_TIMEZONE
-endif
-
 noinst_LIBRARIES = libTime.a
 
 libTime_a_SOURCES = \
index 9bb0f91c645a91e5bd784795eec52a3367d9400b..8f773fc063e3e1d7cef027adff1b6f42525224d6 100644 (file)
@@ -1,11 +1,3 @@
-if HAVE_DAYLIGHT
-DEFS += -DHAVE_DAYLIGHT
-endif
-
-if HAVE_TIMEZONE
-DEFS += -DHAVE_TIMEZONE
-endif
-
 bin_PROGRAMS = est-epsilon gl-info test-mktime
 
 est_epsilon_SOURCES = est-epsilon.c