2002-05-31 19:24:56 +00:00
|
|
|
QWAQ_LIBS=@QWAQ_LIBS@
|
|
|
|
QWAQ_DEPS=@QWAQ_DEPS@
|
|
|
|
QWAQ_INCS=@QWAQ_INCS@
|
|
|
|
|
|
|
|
INCLUDES= -I$(top_srcdir)/include $(QWAQ_INCS)
|
|
|
|
|
2003-08-06 18:20:48 +00:00
|
|
|
QFCC_DEP=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
|
2002-05-31 06:55:35 +00:00
|
|
|
QFCC=$(top_builddir)/tools/qfcc/source/qfcc
|
2012-01-04 04:17:57 +00:00
|
|
|
QCFLAGS=-qq -g -Werror --advanced --no-default-paths
|
2002-05-31 06:55:35 +00:00
|
|
|
|
2012-07-14 00:06:04 +00:00
|
|
|
noinst_PROGRAMS=qwaq @QWAQ_TARGETS@
|
2012-02-09 17:50:42 +00:00
|
|
|
noinst_DATA=qwaq.dat
|
2002-05-31 06:55:35 +00:00
|
|
|
|
|
|
|
qwaq_dat_src= \
|
2002-05-31 19:24:56 +00:00
|
|
|
defs.qc main.qc test.r
|
2002-05-31 06:55:35 +00:00
|
|
|
|
|
|
|
qwaq_SOURCES= main.c builtins.c
|
2002-05-31 19:24:56 +00:00
|
|
|
qwaq_LDADD= $(QWAQ_LIBS)
|
|
|
|
qwaq_DEPENDENCIES= $(QWAQ_DEPS)
|
2002-05-31 06:55:35 +00:00
|
|
|
|
2012-07-14 00:06:04 +00:00
|
|
|
cl_plugin_libs= \
|
|
|
|
@client_static_plugin_libs@
|
|
|
|
|
|
|
|
client_libs= \
|
|
|
|
$(top_builddir)/libs/console/libQFconsole.la \
|
|
|
|
$(top_builddir)/libs/video/targets/libQFjs.la \
|
|
|
|
$(top_builddir)/libs/audio/libQFcd.la \
|
|
|
|
$(top_builddir)/libs/audio/libQFsound.la \
|
|
|
|
$(top_builddir)/libs/image/libQFimage.la
|
|
|
|
|
|
|
|
qwaq_x11_libs= \
|
|
|
|
$(cl_plugin_libs) \
|
|
|
|
$(top_builddir)/libs/video/renderer/libQFrenderer.la \
|
|
|
|
$(top_builddir)/libs/models/libQFmodels.la \
|
|
|
|
$(top_builddir)/libs/video/targets/libQFx11.la \
|
|
|
|
$(client_libs) \
|
|
|
|
$(top_builddir)/libs/gib/libQFgib.la
|
|
|
|
qwaq_x11_SOURCES=qwaq.c qwaq-bi.c
|
|
|
|
qwaq_x11_LDADD= $(qwaq_x11_libs) $(QWAQ_LIBS) \
|
|
|
|
$(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 \
|
|
|
|
$(X_EXTRA_LIBS) $(X_SHM_LIB)
|
|
|
|
qwaq_x11_LDFLAGS=
|
|
|
|
qwaq_x11_DEPENDENCIES= $(qwaq_x11_libs) $(QWAQ_DEPS)
|
|
|
|
|
2003-08-06 18:20:48 +00:00
|
|
|
qwaq.dat: progs.src $(qwaq_dat_src) $(QFCC_DEP) $(top_srcdir)/ruamoko/lib/Object.r
|
2002-08-15 18:51:58 +00:00
|
|
|
$(QFCC) $(QCFLAGS) -I$(top_srcdir)/ruamoko/include
|
2002-05-31 06:55:35 +00:00
|
|
|
|
2012-07-14 00:06:04 +00:00
|
|
|
EXTRA_PROGRAMS=qwaq-x11
|
2003-01-08 16:07:45 +00:00
|
|
|
EXTRA_DIST=$(qwaq_dat_src) qwaq.h
|
2002-05-31 06:55:35 +00:00
|
|
|
CLEANFILES= *.dat *.sym
|