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-07-31 05:19:03 +00:00
|
|
|
buildnum.c cbuf.c checksum.c cmd.c crc.c cvar.c dstring.c exp.c fendian.c \
|
2002-08-03 06:04:00 +00:00
|
|
|
getopt.c getopt1.c gib_buffer.c gib_builtin.c gib_function.c gib_parse.c \
|
2002-08-08 09:20:00 +00:00
|
|
|
gib_process.c gib_vars.c hash.c idparse.c info.c link.c mathlib.c mdfour.c \
|
|
|
|
msg.c ops.c pakfile.c pcx.c plugin.c qargs.c qendian.c qfplist.c quakefs.c \
|
|
|
|
quakeio.c sizebuf.c string.c sys.c tga.c va.c ver_check.c 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)
|