quakeforge/libs/util/Makefile.am
Bill Currie 36de3c147e move Sys_Quit and Sys_Error totally into libQFutil. They will call a list
of pre-registered (Sys_RegisterShutdown) function before actually exiting
the program. This should take care of the pain when an ncurses server
crashes.
2001-09-24 21:00:23 +00:00

33 lines
697 B
Makefile

INCLUDES= -I$(top_srcdir)/include
lib_LTLIBRARIES = libQFutil.la
if BUILD_FNMATCH
fnmatch_SRC = fnmatch.c dirent.c
else
fnmatch_SRC =
endif
if ASM_ARCH
ASM = libasm.la
else
ASM =
endif
noinst_LTLIBRARIES = $(ASM)
libasm_la_SOURCES = math.S
libQFutil_la_LDFLAGS = -version-info 1:0:0 $(Z_LIBS) $(DL_LIBS)
libQFutil_la_LIBADD = $(ASM)
libQFutil_la_SOURCES = \
checksum.c cmd.c console.c con_print.c crc.c cvar.c fendian.c hash.c \
info.c link.c \
mathlib.c \
mdfour.c msg.c pcx.c plugin.c qargs.c qendian.c qfplist.c quakefs.c \
quakeio.c sizebuf.c sys.c tga.c va.c ver_check.c wad.c \
zone.c $(fnmatch_SRC)
LIBLIST = libQFutil.la @LIBRARY_SEARCH_PATH@
EXTRA_DIST = fnmatch.c dirent.c