2001-11-12 16:23:41 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
2002-08-01 19:49:10 +00:00
|
|
|
AM_CFLAGS= @PREFER_PIC@
|
2001-04-11 03:09:24 +00:00
|
|
|
INCLUDES= -I$(top_srcdir)/include
|
|
|
|
|
2001-09-28 10:31:20 +00:00
|
|
|
lib_LTLIBRARIES= libQFutil.la
|
2001-02-21 19:35:06 +00:00
|
|
|
|
2001-09-28 10:31:20 +00:00
|
|
|
if ASM_ARCH
|
2001-10-03 17:50:36 +00:00
|
|
|
noinst_LTLIBRARIES= libasm.la
|
2001-05-08 20:53:25 +00:00
|
|
|
else
|
2001-10-03 17:50:36 +00:00
|
|
|
noinst_LTLIBRARIES=
|
2001-05-08 20:53:25 +00:00
|
|
|
endif
|
2001-10-03 17:50:36 +00:00
|
|
|
|
2002-06-01 03:00:13 +00:00
|
|
|
asm_src= math.S sys_ia32.S
|
2001-10-03 17:50:36 +00:00
|
|
|
|
|
|
|
libasm_la_SOURCES= $(asm_src)
|
2001-05-08 20:53:25 +00:00
|
|
|
|
2001-09-25 22:12:55 +00:00
|
|
|
|
2001-10-03 17:50:36 +00:00
|
|
|
fnmatch_src= fnmatch.c dirent.c
|
2001-09-28 10:31:20 +00:00
|
|
|
if BUILD_FNMATCH
|
2001-10-03 17:50:36 +00:00
|
|
|
fnmatch= $(fnmatch_src)
|
2001-06-14 19:52:38 +00:00
|
|
|
else
|
2001-10-03 17:50:36 +00:00
|
|
|
fnmatch=
|
2001-06-14 19:52:38 +00:00
|
|
|
endif
|
|
|
|
|
2001-09-28 10:31:20 +00:00
|
|
|
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= \
|
2002-08-25 23:10:57 +00:00
|
|
|
bspfile.c buildnum.c cbuf.c checksum.c cmd.c crc.c cvar.c dstring.c \
|
2002-11-09 07:13:52 +00:00
|
|
|
fendian.c getopt.c getopt1.c hash.c idparse.c info.c link.c mathlib.c \
|
|
|
|
mdfour.c msg.c pakfile.c pcx.c plugin.c qargs.c qendian.c qfplist.c \
|
2003-04-10 16:52:39 +00:00
|
|
|
quakefs.c quakeio.c riff.c sizebuf.c string.c sys.c tga.c va.c \
|
|
|
|
ver_check.c \
|
2002-11-09 07:13:52 +00:00
|
|
|
wad.c zone.c $(fnmatch)
|
2001-05-08 20:53:25 +00:00
|
|
|
|
2001-10-03 17:50:36 +00:00
|
|
|
EXTRA_DIST= $(asm_src) $(fnmatch_src)
|