mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 17:01:22 +00:00
f6966f89ec
Something is funny with Ubuntu such that -ldl needs to be specifically added even though QFutil's .la specifies it. I don't know if it's a libtool issue or not, but this does work. More will probably be necessary, but this was sufficient to get prover to the point where qfcc segged building qwaq (0.7.2).
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
QWAQ_LIBS=@QWAQ_LIBS@
|
|
QWAQ_DEPS=@QWAQ_DEPS@
|
|
QWAQ_INCS=@QWAQ_INCS@
|
|
|
|
INCLUDES= -I$(top_srcdir)/include $(QWAQ_INCS)
|
|
|
|
QFCC_DEP=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
|
|
QFCC=$(top_builddir)/tools/qfcc/source/qfcc
|
|
QCFLAGS=-qq -O -g -Werror --advanced --no-default-paths
|
|
|
|
noinst_PROGRAMS=qwaq @QWAQ_TARGETS@
|
|
noinst_DATA=qwaq.dat
|
|
|
|
qwaq_dat_src= \
|
|
defs.qc main.qc test.r types.r
|
|
|
|
qwaq_SOURCES= main.c builtins.c
|
|
qwaq_LDADD= $(QWAQ_LIBS)
|
|
qwaq_DEPENDENCIES= $(QWAQ_DEPS)
|
|
|
|
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) $(DL_LIBS)
|
|
qwaq_x11_LDFLAGS=
|
|
qwaq_x11_DEPENDENCIES= $(qwaq_x11_libs) $(QWAQ_DEPS)
|
|
|
|
qwaq.dat: progs.src $(qwaq_dat_src) $(QFCC_DEP) $(top_srcdir)/ruamoko/lib/Object.r
|
|
$(QFCC) $(QCFLAGS) -I$(top_srcdir)/ruamoko/include
|
|
|
|
EXTRA_PROGRAMS=qwaq-x11
|
|
EXTRA_DIST=$(qwaq_dat_src) qwaq.h
|
|
CLEANFILES= *.dat *.sym
|