2001-02-20 03:10:06 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2010-08-07 07:22:31 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2020-06-21 14:15:17 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
ChangeLog configure.ac bootstrap \
|
2012-12-21 09:43:03 +00:00
|
|
|
$(top_srcdir)/.version \
|
2013-01-10 13:30:47 +00:00
|
|
|
config.d/git-version-gen \
|
2012-11-29 02:34:34 +00:00
|
|
|
tools/cross/droid/cross-configure.sh \
|
|
|
|
tools/cross/droid/cross-make.sh \
|
|
|
|
tools/cross/mingw/cross-configure.sh \
|
|
|
|
tools/cross/mingw/cross-make.sh \
|
2013-01-23 02:44:01 +00:00
|
|
|
tools/cross/mingw64/cross-configure.sh \
|
|
|
|
tools/cross/mingw64/cross-make.sh \
|
2012-11-29 02:34:34 +00:00
|
|
|
tools/cross/mipsel-linux/cross-configure.sh \
|
|
|
|
tools/cross/mipsel-linux/cross-make.sh \
|
|
|
|
tools/cross/ps3-elf/cross-configure.sh \
|
|
|
|
tools/cross/ps3-elf/cross-make.sh \
|
2001-02-20 03:10:06 +00:00
|
|
|
tools/gas2masm/Makefile tools/gas2masm/gas2masm.c \
|
|
|
|
tools/gas2masm/gas2masm.dsp tools/gas2masm/gas2masm.dsw \
|
2004-02-02 06:15:22 +00:00
|
|
|
tools/gas2masm/gas2masm.mak tools/gas2masm/gas2masm.mdp
|
2001-02-20 03:10:06 +00:00
|
|
|
|
2020-06-21 14:15:17 +00:00
|
|
|
NOCONV_DIST= \
|
|
|
|
$(distdir)/include/win32/resources/icon1Vista.ico \
|
2010-12-23 23:32:17 +00:00
|
|
|
$(distdir)/include/win32/resources/icon1XP.ico
|
2001-04-18 07:18:54 +00:00
|
|
|
|
2020-06-21 14:15:17 +00:00
|
|
|
BUILT_SOURCES = $(top_srcdir)/.version
|
|
|
|
#AM_CFLAGS= @PREFER_NON_PIC@
|
|
|
|
AM_CPPFLAGS= -I$(top_srcdir)/include $(PTHREAD_CFLAGS)
|
|
|
|
|
|
|
|
common_ldflags= -export-dynamic @PTHREAD_LDFLAGS@
|
|
|
|
|
|
|
|
TESTS =
|
|
|
|
XFAIL_TESTS =
|
|
|
|
bin_PROGRAMS =
|
|
|
|
bin_SCRIPTS =
|
|
|
|
check_PROGRAMS =
|
|
|
|
lib_LTLIBRARIES =
|
|
|
|
man_MANS =
|
|
|
|
noinst_LTLIBRARIES =
|
|
|
|
noinst_LIBRARIES =
|
|
|
|
noinst_PROGRAMS =
|
|
|
|
noinst_HEADERS =
|
|
|
|
plugin_LTLIBRARIES =
|
|
|
|
|
|
|
|
RANLIB=touch
|
2020-06-28 14:32:38 +00:00
|
|
|
ARFLAGS=cr
|
2020-06-21 14:15:17 +00:00
|
|
|
|
|
|
|
EXTRA_HEADERS =
|
|
|
|
EXTRA_LTLIBRARIES =
|
|
|
|
EXTRA_PROGRAMS =
|
|
|
|
EXTRA_LIBRARIES =
|
|
|
|
|
|
|
|
CLEANFILES =
|
|
|
|
DISTCLEANFILES =
|
|
|
|
|
|
|
|
YFLAGS = -v -d -Wno-yacc -Werror
|
|
|
|
PTHREAD_LDFLAGS=@PTHREAD_LDFLAGS@
|
|
|
|
PTHREAD_CFLAGS=@PTHREAD_CFLAGS@
|
|
|
|
|
|
|
|
lib_ldflags=-version-info $(QUAKE_LIBRARY_VERSION_INFO) \
|
|
|
|
-rpath $(libdir) -no-undefined
|
|
|
|
plugin_ldflags= @plugin_ldflags@ -avoid-version -module -rpath $(plugindir)
|
|
|
|
plugin_libadd= @plugin_libadd@
|
|
|
|
|
|
|
|
SDL_LIBS= @SDL_LIBS@
|
|
|
|
XMMS_LIBS= @XMMS_LIBS@
|
|
|
|
|
|
|
|
PAK=$(top_builddir)/pak$(EXEEXT)
|
|
|
|
QFCC_DEP=qfcc$(EXEEXT)
|
|
|
|
QFCC=$(top_builddir)/$(QFCC_DEP)
|
|
|
|
GZ=@progs_gz@
|
|
|
|
|
2020-06-26 01:52:06 +00:00
|
|
|
V_QFCC = $(V_QFCC_@AM_V@)
|
|
|
|
V_QFCC_ = $(V_QFCC_@AM_DEFAULT_V@)
|
|
|
|
V_QFCC_0 = @echo " QFCC " $@;
|
|
|
|
V_QFCC_1 =
|
|
|
|
|
|
|
|
V_QFCCLD = $(V_QFCCLD_@AM_V@)
|
|
|
|
V_QFCCLD_ = $(V_QFCCLD_@AM_DEFAULT_V@)
|
|
|
|
V_QFCCLD_0 = @echo " QFCCLD " $@;
|
|
|
|
V_QFCCLD_1 =
|
|
|
|
|
2020-06-21 14:15:17 +00:00
|
|
|
QCSYSTEM=--no-default-paths -I$(top_srcdir) -I$(top_srcdir)/ruamoko/include -I$(top_srcdir)/include
|
|
|
|
QCFLAGS=-qq -O -g -Werror -Wall -Wno-integer-divide
|
|
|
|
QCPPFLAGS=$(QCSYSTEM)
|
|
|
|
QCLINKFLAGS=--no-default-paths -Lruamoko/lib
|
|
|
|
QCOMPILE=$(QFCC) $(QCFLAGS) $(QCPPFLAGS)
|
|
|
|
QLINK=$(QFCC) $(QCFLAGS) $(QCLINKFLAGS)
|
|
|
|
MKDIR_P = @MKDIR_P@
|
|
|
|
|
|
|
|
am__mv = mv -f
|
|
|
|
|
|
|
|
SUFFIXES=.o .r .pas
|
|
|
|
.r.o:
|
2020-06-26 01:52:06 +00:00
|
|
|
$(V_QFCC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
|
2020-06-21 14:15:17 +00:00
|
|
|
$(QCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tqo -c -o $@ $< &&\
|
|
|
|
sed -i -e '1s@:@: $(QFCC_DEP)@' $$depbase.Tqo &&\
|
|
|
|
$(am__mv) $$depbase.Tqo $$depbase.Qo
|
|
|
|
.pas.o:
|
2020-06-26 01:52:06 +00:00
|
|
|
$(V_QFCC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
|
2020-06-21 14:15:17 +00:00
|
|
|
$(QCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tqo -c -o $@ $< &&\
|
|
|
|
sed -i -e '1s@:@: $(QFCC_DEP)@' $$depbase.Tqo &&\
|
|
|
|
$(am__mv) $$depbase.Tqo $$depbase.Qo
|
|
|
|
|
|
|
|
qcautodep = $(join $(addsuffix $(DEPDIR)/,$(dir $(basename $(1)))),$(addsuffix .Qo,$(notdir $(basename $(basename $(1))))))
|
|
|
|
r_depfiles_remade=
|
|
|
|
pas_depfiles_remade=
|
|
|
|
|
2020-12-23 05:32:29 +00:00
|
|
|
V_GLSLANG = $(V_GLSLANG_@AM_V@)
|
|
|
|
V_GLSLANG_ = $(V_GLSLANG_@AM_DEFAULT_V@)
|
|
|
|
V_GLSLANG_0 = @echo " GLSLANG " $@;
|
|
|
|
V_GLSLANG_1 =
|
|
|
|
|
|
|
|
V_XXD = $(V_XXD_@AM_V@)
|
|
|
|
V_XXD_ = $(V_XXD_@AM_DEFAULT_V@)
|
|
|
|
V_XXD_0 = @echo " XXD " $@;
|
|
|
|
V_XXD_1 =
|
|
|
|
|
|
|
|
%.spv: %
|
|
|
|
@$(mkdir_p) $(builddir)/`dirname $@`
|
2021-01-09 02:36:19 +00:00
|
|
|
$(V_GLSLANG)(((($(GLSLANGVALIDATOR) -V $< -o $@; echo $$? >&3) | sed -e '1d' 1>&2) 3>&1) | (read xs; exit $$xs))
|
2020-12-23 05:32:29 +00:00
|
|
|
|
|
|
|
%.spvc: %
|
|
|
|
@$(mkdir_p) $(builddir)/`dirname $@`
|
2021-01-09 02:36:19 +00:00
|
|
|
$(V_GLSLANG)(((($(GLSLANGVALIDATOR) --vn `basename $< | tr . _` -V $< -o $@; echo $$? >&3) | sed -e '1d' 1>&2) 3>&1) | (read xs; exit $$xs))
|
2020-12-23 05:32:29 +00:00
|
|
|
|
|
|
|
shaderdir = @shaderdir@
|
|
|
|
shader_DATA =
|
|
|
|
|
2020-06-21 14:15:17 +00:00
|
|
|
include doc/Makemodule.am
|
|
|
|
include RPM/Makemodule.am
|
|
|
|
include debian/Makemodule.am
|
|
|
|
include desktop/Makemodule.am
|
|
|
|
include pkg-config/Makemodule.am
|
|
|
|
include include/Makemodule.am
|
|
|
|
include libs/Makemodule.am
|
|
|
|
include hw/Makemodule.am
|
|
|
|
include nq/Makemodule.am
|
|
|
|
include qtv/Makemodule.am
|
|
|
|
include qw/Makemodule.am
|
|
|
|
include tools/Makemodule.am
|
|
|
|
include ruamoko/Makemodule.am
|
|
|
|
|
|
|
|
DISTCLEANFILES += $(r_depfiles_remade) $(pas_depfiles_remade)
|
2020-12-23 05:32:29 +00:00
|
|
|
CLEANFILES += $(shader_DATA)
|
2020-06-21 14:15:17 +00:00
|
|
|
|
|
|
|
$(r_depfiles_remade):
|
|
|
|
$(MKDIR_P) $(@D)
|
|
|
|
echo '$@' | sed -e 's@\$(DEPDIR)/@@' -e 's@\(.*\)\.Qo$$@\1.o: $(top_srcdir)/\1.r qfcc@' >$@-t && $(am__mv) $@-t $@
|
|
|
|
|
|
|
|
$(pas_depfiles_remade):
|
|
|
|
$(MKDIR_P) $(@D)
|
|
|
|
echo '$@' | sed -e 's@\$(DEPDIR)/@@' -e 's@\(.*\)\.Qo$$@\1.o: $(top_srcdir)/\1.pas qfcc@' >$@-t && $(am__mv) $@-t $@
|
|
|
|
|
|
|
|
am--depfiles: $(am__depfiles_remade) $(r_depfiles_remade) $(pas_depfiles_remade)
|
|
|
|
echo findme $(ruamoko_gui_libgui_a_dep)
|
|
|
|
|
2010-08-23 07:21:30 +00:00
|
|
|
changelog: ChangeLog
|
|
|
|
ChangeLog: FORCE
|
2010-08-23 07:43:05 +00:00
|
|
|
@if test -d "$(top_srcdir)/.git"; then \
|
2010-08-23 07:21:30 +00:00
|
|
|
echo "creating ChangeLog" && \
|
|
|
|
( cd "$(top_srcdir)" && \
|
|
|
|
echo 'This file is generated by Makefile; do not edit.'; \
|
|
|
|
echo; \
|
2010-08-23 07:43:05 +00:00
|
|
|
./missing --run git log --abbrev-commit --stat --no-merges \
|
2010-08-23 07:21:30 +00:00
|
|
|
) > $(top_builddir)/ChangeLog; \
|
|
|
|
else \
|
|
|
|
echo 'A git clone is required to generate ChangeLog' >&2; \
|
|
|
|
fi
|
|
|
|
|
2001-04-18 07:18:54 +00:00
|
|
|
dist-zip: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
|
|
|
ZIP="-r9q" zip $(distdir).zip $(NOCONV_DIST)
|
2010-12-23 23:32:17 +00:00
|
|
|
-rm -f $(NOCONV_DIST)
|
|
|
|
ZIP="-r9ql" zip $(distdir).zip $(distdir)
|
2001-04-18 07:18:54 +00:00
|
|
|
-rm -rf $(distdir)
|
|
|
|
|
|
|
|
dist-bz2: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
2002-09-30 20:34:16 +00:00
|
|
|
$(AMTAR) -cho $(distdir) | bzip2 -9 > $(distdir).tar.bz2
|
2001-04-18 07:18:54 +00:00
|
|
|
-rm -rf $(distdir)
|
|
|
|
|
|
|
|
dist-all-local: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
2002-09-30 20:34:16 +00:00
|
|
|
GZIP=$(GZIP_ENV) $(AMTAR) chozf $(distdir).tar.gz $(distdir)
|
|
|
|
$(AMTAR) -cho $(distdir) | bzip2 -9 > $(distdir).tar.bz2
|
2001-04-18 07:18:54 +00:00
|
|
|
ZIP="-r9q" zip $(distdir).zip $(NOCONV_DIST)
|
2010-12-23 23:32:17 +00:00
|
|
|
-rm -f $(NOCONV_DIST)
|
|
|
|
ZIP="-r9ql" zip $(distdir).zip $(distdir)
|
2001-04-18 07:18:54 +00:00
|
|
|
-rm -rf $(distdir)
|
2010-08-23 07:21:30 +00:00
|
|
|
|
2012-12-21 09:43:03 +00:00
|
|
|
$(top_srcdir)/.version:
|
|
|
|
echo $(VERSION) > $@-t && mv $@-t $@
|
|
|
|
dist-hook:
|
|
|
|
echo $(VERSION) > $(distdir)/.tarball-version
|
|
|
|
|
2010-08-23 07:21:30 +00:00
|
|
|
FORCE:
|