it is only built if it doesn't already exist on the user's platform. gdbm is a set of database routines that use extendible hashing and works similar to the standard UNIX dbm routines. This guarantees the availability of gdbm to any application that uses SimGear.
39 lines
455 B
Makefile
39 lines
455 B
Makefile
if ENABLE_UNIX_SERIAL
|
|
SERIAL_DIRS = serial
|
|
else
|
|
SERIAL_DIRS =
|
|
endif
|
|
|
|
if HAVE_GDBM
|
|
GDBM_DIRS =
|
|
else
|
|
GDBM_DIRS = gdbm
|
|
endif
|
|
|
|
if HAVE_ZLIB
|
|
ZLIB_DIRS =
|
|
else
|
|
ZLIB_DIRS = zlib
|
|
endif
|
|
|
|
METAR_DIRS =
|
|
# METAR_DIRS = metar
|
|
|
|
EXTRA_DIST = version.h.in
|
|
|
|
include_HEADERS = compiler.h constants.h fg_traits.hxx fg_zlib.h version.h
|
|
|
|
SUBDIRS = \
|
|
bucket \
|
|
debug \
|
|
$(GDBM_DIRS) \
|
|
magvar \
|
|
math \
|
|
$(METAR_DIRS) \
|
|
misc \
|
|
screen \
|
|
$(SERIAL_DIRS) \
|
|
xgl \
|
|
$(ZLIB_DIRS)
|
|
|