2001-11-12 16:23:41 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
2011-06-12 07:34:15 +00:00
|
|
|
|
|
|
|
SUBDIRS= . test
|
|
|
|
|
2011-05-10 03:44:44 +00:00
|
|
|
AM_CFLAGS= @PREFER_PIC@
|
2007-03-10 12:00:59 +00:00
|
|
|
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
|
|
|
|
2012-02-07 07:04:19 +00:00
|
|
|
lib_ldflags=-version-info $(QUAKE_LIBRARY_VERSION_INFO) \
|
|
|
|
-rpath $(libdir) -no-undefined
|
|
|
|
|
2001-09-28 10:31:20 +00:00
|
|
|
if ASM_ARCH
|
2004-04-04 05:34:20 +00:00
|
|
|
asm= libasm.la
|
2001-05-08 20:53:25 +00:00
|
|
|
else
|
2004-04-04 05:34:20 +00:00
|
|
|
asm=
|
2001-05-08 20:53:25 +00:00
|
|
|
endif
|
2001-10-03 17:50:36 +00:00
|
|
|
|
2005-07-16 03:46:11 +00:00
|
|
|
noinst_LTLIBRARIES= $(asm)
|
|
|
|
#EXTRA_LTLIBRARIES= libasm.la
|
2001-10-03 17:50:36 +00:00
|
|
|
|
2004-04-04 05:34:20 +00:00
|
|
|
libasm_la_SOURCES= math.S sys_ia32.S
|
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
|
2004-01-19 07:47:41 +00:00
|
|
|
getopt_src= getopt.c getopt1.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
|
|
|
|
|
2004-01-19 07:47:41 +00:00
|
|
|
if BUILD_GETOPT
|
|
|
|
getopt= $(getopt_src)
|
|
|
|
else
|
|
|
|
getopt=
|
|
|
|
endif
|
|
|
|
|
2012-02-07 07:04:19 +00:00
|
|
|
libQFutil_la_LDFLAGS= $(lib_ldflags)
|
2004-04-04 05:34:20 +00:00
|
|
|
libQFutil_la_LIBADD= $(asm) $(Z_LIBS) $(DL_LIBS) $(WIN32_LIBS)
|
|
|
|
libQFutil_la_DEPENDENCIES= $(asm)
|
2001-09-28 10:31:20 +00:00
|
|
|
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 \
|
2004-01-19 07:47:41 +00:00
|
|
|
fendian.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 \
|
2004-11-02 05:05:00 +00:00
|
|
|
qfplist.c quakefs.c quakeio.c riff.c script.c sizebuf.c string.c sys.c \
|
2012-01-06 00:52:14 +00:00
|
|
|
va.c ver_check.c vrect.c wad.c wadfile.c zone.c $(fnmatch) $(getopt)
|
2001-05-08 20:53:25 +00:00
|
|
|
|
2004-04-04 05:34:20 +00:00
|
|
|
EXTRA_DIST= $(fnmatch_src) $(getopt_src)
|