quakeforge/ruamoko/lib/Makefile.am

45 lines
977 B
Text
Raw Normal View History

AUTOMAKE_OPTIONS= foreign
libdir=$(prefix)/lib/ruamoko
QFCC=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
QCFLAGS=-qq -g -Werror
QCPPFLAGS=$(INCLUDES)
PAK=$(top_builddir)/tools/pak/pak$(EXEEXT)
RANLIB=touch
INCLUDES= -I$(top_srcdir)/ruamoko/include -I$(top_srcdir)/include
ruamoko_libs=libr.a libgui.a libcsqc.a
if BUILD_RUAMOKO
libs=$(ruamoko_libs)
else
libs=
endif
lib_LIBRARIES= $(libs)
EXTRA_LIBRARIES= $(ruamoko_libs)
%.qfo: %.r
2002-08-21 22:57:43 +00:00
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
%.o: %.r
2002-08-21 22:57:43 +00:00
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
libr_a_SOURCES=\
2003-04-07 16:38:34 +00:00
crudefile.r debug.r hash.r entities.r infokey.r math.r message.r \
2003-04-07 20:02:06 +00:00
nq_message.r physics.r plist.r qfile.r qw_message.r qw_physics.r qw_sys.r \
sound.r \
2003-04-07 16:38:34 +00:00
string.r system.r Object.r Array.r Entity.r Point.r Size.r Rect.r
libr_a_AR=$(PAK) -cf
libgui_a_SOURCES=\
2002-08-17 06:47:03 +00:00
draw.r InputLine.r key.r
libgui_a_AR=$(PAK) -cf
libcsqc_a_SOURCES= \
cbuf.r cmd.r cvar.r file.r gib.r
libcsqc_a_AR= $(PAK) -cf
CLEANFILES= *.qfo *.o