quakeforge/ruamoko/lib/Makefile.am

54 lines
1.5 KiB
Text
Raw Normal View History

AUTOMAKE_OPTIONS= foreign
pkglibdir=$(datarootdir)/qfcc/lib
QFCC=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
QCFLAGS=-qq -O -g -Wall -Wno-integer-divide -Werror --no-default-paths
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)
PAK=$(top_builddir)/tools/pak/pak$(EXEEXT)
RANLIB=touch
AM_CPPFLAGS= -I$(top_srcdir)/ruamoko/include -I$(top_srcdir)/include
noinst_HEADERS= \
Array+Private.h
2004-02-03 06:00:16 +00:00
ruamoko_libs=libr.a libqw.a libnq.a libcsqc.a
libs=$(ruamoko_libs)
pkglib_LIBRARIES= $(libs)
EXTRA_LIBRARIES= $(ruamoko_libs)
SUFFIXES= .o .r .qc
.r.o:
2002-08-21 22:57:43 +00:00
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
.qc.o:
2002-08-21 22:57:43 +00:00
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
libr_a_SOURCES=\
cbuf.r cmd.r cvar.r hash.r msgbuf.r plist.r qfile.r qfs.r script.r \
sound.r string.r math.r types.r \
Object.r Protocol.r \
AutoreleasePool.r Array.r Array+Private.r Entity.r PropertyList.r Set.r
libr_a_AR=$(PAK) -cf
2004-02-03 06:00:16 +00:00
libqw_a_SOURCES=\
crudefile.r debug.r entities.r infokey.r math.r message.r \
physics.r qw_message.r qw_physics.r qw_sys.r \
server.r sv_sound.r system.r
2004-02-03 06:00:16 +00:00
libqw_a_AR=$(PAK) -cf
libnq_a_SOURCES=\
crudefile.r debug.r entities.r infokey.r math.r message.r \
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
libcsqc_a_SOURCES= \
2012-11-09 10:11:30 +00:00
debug.r draw.r gib.r key.r system.r
libcsqc_a_AR= $(PAK) -cf
CLEANFILES= *.qfo *.o