2001-11-12 16:23:41 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
2002-08-01 19:49:10 +00:00
|
|
|
AM_CFLAGS= @PREFER_PIC@
|
2003-12-22 20:51:08 +00:00
|
|
|
AM_CCASFLAGS= @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 \
|
2003-07-18 06:27:26 +00:00
|
|
|
fendian.c getopt.c getopt1.c hash.c idparse.c info.c link.c llist.c \
|
2003-12-07 04:50:46 +00:00
|
|
|
mathlib.c mdfour.c msg.c pakfile.c plugin.c qargs.c qendian.c \
|
2003-08-15 16:19:10 +00:00
|
|
|
qfplist.c quakefs.c quakeio.c riff.c sizebuf.c string.c sys.c \
|
2004-01-09 23:34:32 +00:00
|
|
|
va.c ver_check.c wad.c wadfile.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)
|