quakeforge/ruamoko/cl_menu/Makefile.am

53 lines
1.4 KiB
Text
Raw Normal View History

## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS= foreign
2003-02-07 20:18:59 +00:00
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)
if BUILD_RUAMOKO
data=$(menu_data)
else
data=
endif
pkgdata_DATA= $(data)
EXTRA_DATA= $(menu_data)
menu_src= \
client_menu.qc controls_o.qc \
Frame.r inputline_util.qc menu.r HUD.r \
hud_interface.qc options.qc \
options_util.qc servlist.qc
%.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/libgui.a ../lib/libcsqc.a ../lib/libr.a
$(QFCC) $(QCFLAGS) -p $(STRIP) -o menu.dat $(menu_obj) ../lib/libgui.a ../lib/libcsqc.a ../lib/libr.a
$(GZIP)
EXTRA_DIST= $(menu_src) \
2003-06-04 20:32:10 +00:00
Frame.h HUD.h \
client_menu.h controls_o.h \
menu.h options.h \
2003-05-12 15:04:04 +00:00
options_util.h servlist.h
CLEANFILES= *.dat *.sym *.gz *.qfo