to be supported in recent versions of autoconf.
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>
/* 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
/* 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
INCLUDES += -I$(top_builddir)
-DEFS += -DFGFS
+# DEFS += -DFGFS
LaRCsim.cxx LaRCsim.hxx
INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib -I$(top_builddir)/Simulator
-
-DEFS += -DFGFS
-if ENABLE_XMESA_FX
-DEFS += -DXMESA -DFX
-endif
-
noinst_LIBRARIES = libGUI.a
libGUI_a_SOURCES = gui.cxx gui.h
-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
-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
$(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 \
-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) \
-if HAVE_DAYLIGHT
-DEFS += -DHAVE_DAYLIGHT
-endif
-
-if HAVE_TIMEZONE
-DEFS += -DHAVE_TIMEZONE
-endif
-
noinst_LIBRARIES = libTime.a
libTime_a_SOURCES = \
-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