mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-07 21:50:05 +00:00
9c3c1b9ac1
This allows mixed types (eg, objects and Rects). To be passed around. This sorts out the changes needed for the conversion of Rect from object to struct.
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
pkgdatadir=@sharepath@/QF
|
|
|
|
QFCC_DEP=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
|
|
QFCC=$(QFCC_DEP)
|
|
QCFLAGS=-qq -g -Werror
|
|
QCPPFLAGS=-I. -I$(srcdir) -I$(top_builddir)/ruamoko/include -I$(top_srcdir)/ruamoko/include -I$(top_builddir)/include -I$(top_srcdir)/include
|
|
GZIP=if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
|
|
if HAVE_ZLIB
|
|
GZ=.gz
|
|
else
|
|
GZ=
|
|
endif
|
|
STRIP=$(shell echo `echo -n $(srcdir)/ | sed -e 's/[^/]//g' | wc -c`)
|
|
|
|
menu_data=menu.dat$(GZ) menu.plist
|
|
|
|
if BUILD_RUAMOKO
|
|
data=$(menu_data)
|
|
else
|
|
data=
|
|
endif
|
|
|
|
pkgdata_DATA= $(data)
|
|
EXTRA_DATA= $(menu_data)
|
|
|
|
menu_src= \
|
|
client_menu.qc controls_o.qc options.qc options_util.qc servlist.qc \
|
|
Frame.r menu.r HUD.r ../lib/debug.r
|
|
|
|
%.qfo: %.r
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
|
|
|
%.qfo: %.qc
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
|
|
|
menu_obj=$(addsuffix .qfo,$(basename $(menu_src)))
|
|
|
|
menu.dat$(GZ): $(menu_obj) $(QFCC_DEP) ../lib/libcsqc.a ../lib/libr.a ../gui/libgui.a
|
|
$(QFCC) $(QCFLAGS) -p $(STRIP) -o menu.dat $(menu_obj) ../gui/libgui.a ../lib/libcsqc.a ../lib/libr.a
|
|
$(GZIP)
|
|
|
|
EXTRA_DIST= $(menu_src) \
|
|
Frame.h HUD.h \
|
|
client_menu.h controls_o.h \
|
|
menu.h options.h \
|
|
options_util.h servlist.h \
|
|
menu.plist
|
|
CLEANFILES= *.dat *.sym *.gz *.qfo
|