mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 00:40:55 +00:00
03a24be4de
utility
36 lines
891 B
Makefile
36 lines
891 B
Makefile
AUTOMAKE_OPTIONS= foreign
|
|
AM_CFLAGS= @PREFER_PIC@
|
|
AM_CCASFLAGS= @PREFER_PIC@
|
|
INCLUDES= -I$(top_srcdir)/include
|
|
|
|
lib_LTLIBRARIES= libQFutil.la
|
|
|
|
if ASM_ARCH
|
|
noinst_LTLIBRARIES= libasm.la
|
|
else
|
|
noinst_LTLIBRARIES=
|
|
endif
|
|
|
|
asm_src= math.S sys_ia32.S
|
|
|
|
libasm_la_SOURCES= $(asm_src)
|
|
|
|
|
|
fnmatch_src= fnmatch.c dirent.c
|
|
if BUILD_FNMATCH
|
|
fnmatch= $(fnmatch_src)
|
|
else
|
|
fnmatch=
|
|
endif
|
|
|
|
libQFutil_la_LDFLAGS= -version-info 1:0:0
|
|
libQFutil_la_LIBADD= libasm.la $(Z_LIBS) $(DL_LIBS)
|
|
libQFutil_la_DEPENDENCIES= libasm.la
|
|
libQFutil_la_SOURCES= \
|
|
bspfile.c buildnum.c cbuf.c checksum.c cmd.c crc.c cvar.c dstring.c \
|
|
fendian.c getopt.c getopt1.c hash.c idparse.c info.c link.c llist.c \
|
|
mathlib.c mdfour.c msg.c pakfile.c plugin.c qargs.c qendian.c \
|
|
qfplist.c quakefs.c quakeio.c riff.c sizebuf.c string.c sys.c \
|
|
va.c ver_check.c wad.c wadfile.c zone.c $(fnmatch)
|
|
|
|
EXTRA_DIST= $(asm_src) $(fnmatch_src)
|