2002-08-15 19:08:44 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
2012-05-05 10:34:35 +00:00
|
|
|
pkglibdir=$(datarootdir)/qfcc/lib
|
2002-11-01 18:05:12 +00:00
|
|
|
|
2002-08-15 19:08:44 +00:00
|
|
|
QFCC=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
|
2012-12-01 02:20:06 +00:00
|
|
|
QCFLAGS=-qq -O -g -Wall -Wno-integer-divide -Werror --no-default-paths
|
2020-03-03 06:24:41 +00:00
|
|
|
QCPPFLAGS=--no-default-paths -I$(top_srcdir)/ruamoko/include -I$(top_srcdir)/include
|
|
|
|
QCLINKFLAGS=--no-default-paths -L$(top_builddir)/ruamoko/lib
|
|
|
|
QCOMPILE=$(QFCC) $(QCFLAGS) $(QCPPFLAGS)
|
|
|
|
QLINK=$(QFCC) $(QCFLAGS) $(QCLINKFLAGS)
|
2002-08-15 19:08:44 +00:00
|
|
|
PAK=$(top_builddir)/tools/pak/pak$(EXEEXT)
|
|
|
|
RANLIB=touch
|
|
|
|
|
2013-11-24 04:11:50 +00:00
|
|
|
AM_CPPFLAGS= -I$(top_srcdir)/ruamoko/include -I$(top_srcdir)/include
|
2002-08-15 19:08:44 +00:00
|
|
|
|
2010-12-12 01:25:09 +00:00
|
|
|
noinst_HEADERS= \
|
|
|
|
Array+Private.h
|
|
|
|
|
2004-02-03 06:00:16 +00:00
|
|
|
ruamoko_libs=libr.a libqw.a libnq.a libcsqc.a
|
2002-09-17 22:19:14 +00:00
|
|
|
libs=$(ruamoko_libs)
|
|
|
|
|
2004-02-18 06:28:37 +00:00
|
|
|
pkglib_LIBRARIES= $(libs)
|
2002-09-17 22:19:14 +00:00
|
|
|
EXTRA_LIBRARIES= $(ruamoko_libs)
|
2002-08-15 19:08:44 +00:00
|
|
|
|
2011-07-25 21:19:43 +00:00
|
|
|
SUFFIXES= .o .r .qc
|
|
|
|
.r.o:
|
2002-08-21 22:57:43 +00:00
|
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
2011-07-25 21:19:43 +00:00
|
|
|
.qc.o:
|
2002-08-21 22:57:43 +00:00
|
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
2002-08-15 19:08:44 +00:00
|
|
|
|
|
|
|
libr_a_SOURCES=\
|
2020-02-26 04:45:14 +00:00
|
|
|
cbuf.r cmd.r cvar.r hash.r msgbuf.r plist.r qfile.r qfs.r script.r \
|
2020-02-19 01:46:16 +00:00
|
|
|
sound.r string.r math.r types.r \
|
2011-06-14 17:28:51 +00:00
|
|
|
Object.r Protocol.r \
|
2012-12-16 04:48:36 +00:00
|
|
|
AutoreleasePool.r Array.r Array+Private.r Entity.r PropertyList.r Set.r
|
2002-08-15 19:08:44 +00:00
|
|
|
libr_a_AR=$(PAK) -cf
|
|
|
|
|
2004-02-03 06:00:16 +00:00
|
|
|
libqw_a_SOURCES=\
|
2004-02-25 02:38:15 +00:00
|
|
|
crudefile.r debug.r entities.r infokey.r math.r message.r \
|
|
|
|
physics.r qw_message.r qw_physics.r qw_sys.r \
|
2007-05-07 12:17:12 +00:00
|
|
|
server.r sv_sound.r system.r
|
2004-02-03 06:00:16 +00:00
|
|
|
libqw_a_AR=$(PAK) -cf
|
|
|
|
|
|
|
|
libnq_a_SOURCES=\
|
2004-02-25 02:38:15 +00:00
|
|
|
crudefile.r debug.r entities.r infokey.r math.r message.r \
|
2007-05-07 12:17:12 +00:00
|
|
|
nq_message.r physics.r server.r sv_sound.r system.r
|
2004-02-03 06:00:16 +00:00
|
|
|
libnq_a_AR=$(PAK) -cf
|
2002-08-15 21:00:51 +00:00
|
|
|
|
2002-08-17 05:27:34 +00:00
|
|
|
libcsqc_a_SOURCES= \
|
2012-11-09 10:11:30 +00:00
|
|
|
debug.r draw.r gib.r key.r system.r
|
2002-08-17 05:27:34 +00:00
|
|
|
libcsqc_a_AR= $(PAK) -cf
|
2002-08-16 20:15:10 +00:00
|
|
|
|
2002-09-17 22:19:14 +00:00
|
|
|
CLEANFILES= *.qfo *.o
|