2022-01-03 05:41:29 +00:00
|
|
|
include libs/gamecode/test/Makemodule.am
|
|
|
|
|
2020-06-21 14:15:17 +00:00
|
|
|
gc_deps=libs/util/libQFutil.la
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES += libs/gamecode/libQFgamecode.la
|
|
|
|
|
|
|
|
libs_gamecode_libQFgamecode_la_LDFLAGS=
|
|
|
|
libs_gamecode_libQFgamecode_la_LIBADD= $(gc_deps)
|
|
|
|
libs_gamecode_libQFgamecode_la_DEPENDENCIES=$(gc_deps)
|
|
|
|
libs_gamecode_libQFgamecode_la_SOURCES= \
|
|
|
|
libs/gamecode/pr_builtins.c \
|
|
|
|
libs/gamecode/pr_edict.c \
|
|
|
|
libs/gamecode/pr_debug.c \
|
|
|
|
libs/gamecode/pr_exec.c \
|
|
|
|
libs/gamecode/pr_load.c \
|
2022-01-05 10:09:07 +00:00
|
|
|
libs/gamecode/pr_opcode.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
libs/gamecode/pr_parse.c \
|
|
|
|
libs/gamecode/pr_resolve.c \
|
|
|
|
libs/gamecode/pr_resource.c \
|
|
|
|
libs/gamecode/pr_strings.c \
|
2022-01-04 11:45:45 +00:00
|
|
|
libs/gamecode/pr_v6p_opcode.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
libs/gamecode/pr_zone.c
|
2022-01-05 10:09:07 +00:00
|
|
|
|
2022-08-18 05:48:53 +00:00
|
|
|
noinst_PYTHON += \
|
|
|
|
$(opcodes_py) \
|
|
|
|
$(convert_py) \
|
|
|
|
${extend_py} \
|
|
|
|
$(hops_py) \
|
|
|
|
$(swizzle_py)
|
2022-01-05 10:09:07 +00:00
|
|
|
|
|
|
|
opcodes_py = $(srcdir)/libs/gamecode/opcodes.py
|
|
|
|
pr_opcode_cinc = $(top_builddir)/libs/gamecode/pr_opcode.cinc
|
2022-01-08 16:04:51 +00:00
|
|
|
pr_opcode_hinc = $(top_builddir)/include/QF/progs/pr_opcode.hinc
|
2022-01-05 10:09:07 +00:00
|
|
|
pr_opcode_src = \
|
2022-01-08 16:04:51 +00:00
|
|
|
${pr_opcode_cinc} \
|
|
|
|
${pr_opcode_hinc}
|
2022-01-05 10:09:07 +00:00
|
|
|
libs/gamecode/pr_opcode.lo: libs/gamecode/pr_opcode.c ${pr_opcode_src}
|
|
|
|
|
2022-01-10 08:01:14 +00:00
|
|
|
convert_py = $(srcdir)/libs/gamecode/convert.py
|
|
|
|
pr_convert_cinc = $(top_builddir)/libs/gamecode/pr_convert.cinc
|
|
|
|
|
2022-08-18 05:48:53 +00:00
|
|
|
extend_py = $(srcdir)/libs/gamecode/extend.py
|
|
|
|
pr_extend_cinc = $(top_builddir)/libs/gamecode/pr_extend.cinc
|
|
|
|
|
2022-01-16 07:27:33 +00:00
|
|
|
hops_py = $(srcdir)/libs/gamecode/hops.py
|
|
|
|
pr_hops_cinc = $(top_builddir)/libs/gamecode/pr_hops.cinc
|
|
|
|
|
2022-03-30 17:25:33 +00:00
|
|
|
swizzle_py = $(srcdir)/libs/gamecode/swizzle.py
|
|
|
|
pr_swizzle32_cinc = $(top_builddir)/libs/gamecode/pr_swizzle32.cinc
|
|
|
|
pr_swizzle64_cinc = $(top_builddir)/libs/gamecode/pr_swizzle64.cinc
|
|
|
|
|
2022-01-16 07:27:33 +00:00
|
|
|
BUILT_SOURCES += \
|
|
|
|
$(pr_opcode_cinc) \
|
|
|
|
$(pr_opcode_hinc) \
|
|
|
|
$(pr_convert_cinc) \
|
2022-08-18 05:48:53 +00:00
|
|
|
$(pr_extend_cinc) \
|
2022-03-30 17:25:33 +00:00
|
|
|
$(pr_hops_cinc) \
|
|
|
|
$(pr_swizzle32_cinc) \
|
|
|
|
$(pr_swizzle64_cinc)
|
2022-01-08 16:04:51 +00:00
|
|
|
|
2022-03-01 01:12:50 +00:00
|
|
|
CLEANFILES += \
|
|
|
|
$(pr_opcode_cinc) \
|
|
|
|
$(pr_opcode_hinc) \
|
2022-03-31 17:14:05 +00:00
|
|
|
$(pr_convert_cinc) \
|
2022-08-18 05:48:53 +00:00
|
|
|
$(pr_extend_cinc) \
|
2022-03-01 01:12:50 +00:00
|
|
|
$(pr_hops_cinc) \
|
2022-03-31 17:14:05 +00:00
|
|
|
$(pr_swizzle32_cinc) \
|
|
|
|
$(pr_swizzle64_cinc)
|
2022-03-01 01:12:50 +00:00
|
|
|
|
2022-01-05 10:09:07 +00:00
|
|
|
$(pr_opcode_cinc): $(opcodes_py)
|
2022-01-08 16:04:51 +00:00
|
|
|
$(V_PY)$(PYTHON) $(opcodes_py) table > $(pr_opcode_cinc).t && \
|
2022-01-05 10:09:07 +00:00
|
|
|
$(am__mv) $(pr_opcode_cinc).t $(pr_opcode_cinc)
|
2022-01-08 16:04:51 +00:00
|
|
|
|
|
|
|
$(pr_opcode_hinc): $(opcodes_py)
|
|
|
|
$(V_PY) mkdir -p `dirname $(pr_opcode_hinc)` &&\
|
|
|
|
$(PYTHON) $(opcodes_py) enum > $(pr_opcode_hinc).t && \
|
|
|
|
$(am__mv) $(pr_opcode_hinc).t $(pr_opcode_hinc)
|
2022-01-10 08:01:14 +00:00
|
|
|
|
|
|
|
$(pr_convert_cinc): $(convert_py)
|
|
|
|
$(V_PY)$(PYTHON) $(convert_py) table > $(pr_convert_cinc).t && \
|
|
|
|
$(am__mv) $(pr_convert_cinc).t $(pr_convert_cinc)
|
2022-01-16 07:27:33 +00:00
|
|
|
|
2022-08-18 05:48:53 +00:00
|
|
|
$(pr_extend_cinc): $(extend_py)
|
|
|
|
$(V_PY)$(PYTHON) $(extend_py) table > $(pr_extend_cinc).t && \
|
|
|
|
$(am__mv) $(pr_extend_cinc).t $(pr_extend_cinc)
|
|
|
|
|
2022-01-16 07:27:33 +00:00
|
|
|
$(pr_hops_cinc): $(hops_py)
|
|
|
|
$(V_PY)$(PYTHON) $(hops_py) table > $(pr_hops_cinc).t && \
|
|
|
|
$(am__mv) $(pr_hops_cinc).t $(pr_hops_cinc)
|
2022-03-30 17:25:33 +00:00
|
|
|
|
|
|
|
$(pr_swizzle32_cinc): $(swizzle_py)
|
|
|
|
$(V_PY)$(PYTHON) $(swizzle_py) case int > $(pr_swizzle32_cinc).t && \
|
|
|
|
$(am__mv) $(pr_swizzle32_cinc).t $(pr_swizzle32_cinc)
|
|
|
|
|
|
|
|
$(pr_swizzle64_cinc): $(swizzle_py)
|
|
|
|
$(V_PY)$(PYTHON) $(swizzle_py) case long > $(pr_swizzle64_cinc).t && \
|
|
|
|
$(am__mv) $(pr_swizzle64_cinc).t $(pr_swizzle64_cinc)
|