2016-09-21 00:05:15 -07:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2016-09-21 03:57:24 -07:00
|
|
|
AM_CFLAGS = @VKD3D_CFLAGS@
|
2020-08-06 01:53:45 -07:00
|
|
|
AM_CPPFLAGS = -I$(srcdir)/include -I$(srcdir)/include/private -I$(builddir)/include/private
|
2019-01-31 02:29:30 -08:00
|
|
|
AM_LDFLAGS = -no-undefined
|
2016-09-21 03:57:24 -07:00
|
|
|
|
|
|
|
widl_headers = \
|
2017-12-15 06:16:21 -08:00
|
|
|
include/vkd3d_d3d12.h \
|
2019-08-01 09:10:58 -07:00
|
|
|
include/vkd3d_d3d12sdklayers.h \
|
2018-02-09 04:45:09 -08:00
|
|
|
include/vkd3d_d3dcommon.h \
|
2021-04-15 17:03:46 -07:00
|
|
|
include/vkd3d_d3dx9shader.h \
|
2017-12-15 06:16:21 -08:00
|
|
|
include/vkd3d_dxgi.h \
|
|
|
|
include/vkd3d_dxgi1_2.h \
|
|
|
|
include/vkd3d_dxgi1_3.h \
|
|
|
|
include/vkd3d_dxgi1_4.h \
|
|
|
|
include/vkd3d_dxgibase.h \
|
|
|
|
include/vkd3d_dxgiformat.h \
|
|
|
|
include/vkd3d_dxgitype.h
|
2016-09-21 03:57:24 -07:00
|
|
|
|
2016-09-21 03:57:24 -07:00
|
|
|
vkd3d_public_headers = \
|
2016-10-13 03:18:42 -07:00
|
|
|
include/vkd3d.h \
|
2017-12-15 06:16:21 -08:00
|
|
|
include/vkd3d_d3d12.h \
|
2019-08-01 09:10:58 -07:00
|
|
|
include/vkd3d_d3d12sdklayers.h \
|
2021-04-15 17:03:43 -07:00
|
|
|
include/vkd3d_d3d9types.h \
|
2018-02-09 04:45:09 -08:00
|
|
|
include/vkd3d_d3dcommon.h \
|
2020-09-23 09:07:48 -07:00
|
|
|
include/vkd3d_d3dcompiler.h \
|
2021-04-15 17:03:46 -07:00
|
|
|
include/vkd3d_d3dx9shader.h \
|
2017-12-15 06:16:21 -08:00
|
|
|
include/vkd3d_dxgibase.h \
|
|
|
|
include/vkd3d_dxgiformat.h \
|
2018-11-01 14:39:30 -07:00
|
|
|
include/vkd3d_shader.h \
|
2018-11-08 08:19:29 -08:00
|
|
|
include/vkd3d_types.h \
|
2016-10-07 04:26:39 -07:00
|
|
|
include/vkd3d_utils.h \
|
2016-09-21 03:57:24 -07:00
|
|
|
include/vkd3d_windows.h
|
|
|
|
|
2016-09-21 03:57:24 -07:00
|
|
|
vkd3d_tests = \
|
2018-12-11 06:48:02 -08:00
|
|
|
tests/vkd3d_api \
|
2019-06-17 06:43:31 -07:00
|
|
|
tests/vkd3d_common \
|
2018-12-11 06:48:02 -08:00
|
|
|
tests/vkd3d_shader_api
|
2018-01-11 08:03:48 -08:00
|
|
|
|
|
|
|
vkd3d_cross_tests = \
|
2018-12-04 06:56:01 -08:00
|
|
|
tests/d3d12 \
|
2020-11-23 22:29:59 -08:00
|
|
|
tests/d3d12_invalid_usage \
|
|
|
|
tests/hlsl_d3d12
|
2016-09-21 03:57:24 -07:00
|
|
|
|
2020-09-30 19:01:19 -07:00
|
|
|
vkd3d_shader_tests = \
|
2021-09-17 14:06:37 -07:00
|
|
|
tests/abs.shader_test \
|
2023-02-15 10:38:47 -08:00
|
|
|
tests/all.shader_test \
|
2023-04-13 10:50:11 -07:00
|
|
|
tests/any.shader_test \
|
2022-03-07 17:55:40 -08:00
|
|
|
tests/arithmetic-float.shader_test \
|
2022-10-14 06:45:04 -07:00
|
|
|
tests/arithmetic-float-uniform.shader_test \
|
2022-03-07 17:55:40 -08:00
|
|
|
tests/arithmetic-int.shader_test \
|
2022-07-01 02:23:34 -07:00
|
|
|
tests/arithmetic-int-uniform.shader_test \
|
2022-03-07 17:55:40 -08:00
|
|
|
tests/arithmetic-uint.shader_test \
|
2023-01-26 06:40:02 -08:00
|
|
|
tests/array-parameters.shader_test \
|
2023-04-29 19:02:09 -07:00
|
|
|
tests/asfloat.shader_test \
|
2023-03-09 08:56:00 -08:00
|
|
|
tests/asuint.shader_test \
|
2022-03-07 17:55:40 -08:00
|
|
|
tests/bitwise.shader_test \
|
2023-04-20 17:46:27 -07:00
|
|
|
tests/bool-semantics.shader_test \
|
2022-04-28 06:31:59 -07:00
|
|
|
tests/cast-broadcast.shader_test \
|
2022-10-12 13:01:26 -07:00
|
|
|
tests/cast-componentwise-compatible.shader_test \
|
2023-03-09 09:01:46 -08:00
|
|
|
tests/cast-componentwise-equal.shader_test \
|
2021-09-09 19:11:32 -07:00
|
|
|
tests/cast-to-float.shader_test \
|
2021-09-09 19:11:33 -07:00
|
|
|
tests/cast-to-half.shader_test \
|
2021-09-09 19:11:34 -07:00
|
|
|
tests/cast-to-int.shader_test \
|
2021-09-09 19:11:35 -07:00
|
|
|
tests/cast-to-uint.shader_test \
|
2022-10-31 14:13:26 -07:00
|
|
|
tests/cbuffer.shader_test \
|
2021-08-13 14:37:31 -07:00
|
|
|
tests/compute.shader_test \
|
2020-09-30 19:01:22 -07:00
|
|
|
tests/conditional.shader_test \
|
2023-04-26 07:29:14 -07:00
|
|
|
tests/ddxddy.shader_test \
|
2023-01-30 00:13:33 -08:00
|
|
|
tests/distance.shader_test \
|
2021-09-11 17:19:37 -07:00
|
|
|
tests/entry-point-semantics.shader_test \
|
2023-01-26 02:51:57 -08:00
|
|
|
tests/exp.shader_test \
|
2023-03-09 16:08:16 -08:00
|
|
|
tests/expr-indexing.shader_test \
|
2022-02-02 04:46:15 -08:00
|
|
|
tests/floor.shader_test \
|
2023-01-23 23:57:18 -08:00
|
|
|
tests/frac.shader_test \
|
2021-09-11 13:48:02 -07:00
|
|
|
tests/function-return.shader_test \
|
2020-10-01 21:09:47 -07:00
|
|
|
tests/hlsl-array-dimension.shader_test \
|
2023-04-25 06:04:29 -07:00
|
|
|
tests/hlsl-array-size-expr.shader_test \
|
2021-08-16 10:25:41 -07:00
|
|
|
tests/hlsl-attributes.shader_test \
|
2021-09-08 08:38:10 -07:00
|
|
|
tests/hlsl-bool-cast.shader_test \
|
2021-09-01 15:20:55 -07:00
|
|
|
tests/hlsl-clamp.shader_test \
|
2020-10-01 21:09:45 -07:00
|
|
|
tests/hlsl-comma.shader_test \
|
2021-11-19 09:33:53 -08:00
|
|
|
tests/hlsl-cross.shader_test \
|
2023-04-20 22:49:29 -07:00
|
|
|
tests/hlsl-d3dcolor-to-ubyte4.shader_test \
|
2023-04-20 19:29:26 -07:00
|
|
|
tests/hlsl-discard.shader_test \
|
2022-06-24 00:41:24 -07:00
|
|
|
tests/hlsl-dot.shader_test \
|
2021-06-23 21:57:31 -07:00
|
|
|
tests/hlsl-duplicate-modifiers.shader_test \
|
2021-09-15 07:00:16 -07:00
|
|
|
tests/hlsl-for.shader_test \
|
2022-02-24 06:06:13 -08:00
|
|
|
tests/hlsl-function.shader_test \
|
2022-02-24 06:06:14 -08:00
|
|
|
tests/hlsl-function-cast.shader_test \
|
2021-09-01 15:20:51 -07:00
|
|
|
tests/hlsl-function-overload.shader_test \
|
2022-01-26 06:35:33 -08:00
|
|
|
tests/hlsl-gather-offset.shader_test \
|
|
|
|
tests/hlsl-gather.shader_test \
|
2022-02-03 14:44:24 -08:00
|
|
|
tests/hlsl-initializer-flatten.shader_test \
|
2022-04-28 06:32:00 -07:00
|
|
|
tests/hlsl-initializer-implicit-array.shader_test \
|
2023-03-09 09:01:46 -08:00
|
|
|
tests/hlsl-initializer-invalid-arg-count.shader_test \
|
2022-02-02 04:46:17 -08:00
|
|
|
tests/hlsl-initializer-local-array.shader_test \
|
2023-03-09 09:01:46 -08:00
|
|
|
tests/hlsl-initializer-matrix.shader_test \
|
2022-02-03 14:44:21 -08:00
|
|
|
tests/hlsl-initializer-nested.shader_test \
|
2022-02-03 14:44:20 -08:00
|
|
|
tests/hlsl-initializer-numeric.shader_test \
|
2023-03-09 09:01:46 -08:00
|
|
|
tests/hlsl-initializer-objects.shader_test \
|
2022-02-02 04:46:17 -08:00
|
|
|
tests/hlsl-initializer-static-array.shader_test \
|
2022-02-03 14:44:18 -08:00
|
|
|
tests/hlsl-initializer-struct.shader_test \
|
2022-01-19 03:52:01 -08:00
|
|
|
tests/hlsl-intrinsic-override.shader_test \
|
2020-10-03 14:24:26 -07:00
|
|
|
tests/hlsl-invalid.shader_test \
|
2023-04-10 11:46:25 -07:00
|
|
|
tests/hlsl-is-front-face.shader_test \
|
2022-06-24 00:41:25 -07:00
|
|
|
tests/hlsl-ldexp.shader_test \
|
2022-10-04 14:31:42 -07:00
|
|
|
tests/hlsl-length.shader_test \
|
2022-06-24 00:41:26 -07:00
|
|
|
tests/hlsl-lerp.shader_test \
|
2020-10-01 21:09:48 -07:00
|
|
|
tests/hlsl-majority-pragma.shader_test \
|
|
|
|
tests/hlsl-majority-typedef.shader_test \
|
2022-04-14 03:52:41 -07:00
|
|
|
tests/hlsl-matrix-indexing.shader_test \
|
2022-02-11 12:04:04 -08:00
|
|
|
tests/hlsl-mul.shader_test \
|
2021-03-04 15:33:26 -08:00
|
|
|
tests/hlsl-nested-arrays.shader_test \
|
2022-09-28 04:59:49 -07:00
|
|
|
tests/hlsl-normalize.shader_test \
|
2022-02-03 14:44:22 -08:00
|
|
|
tests/hlsl-numeric-constructor-truncation.shader_test \
|
2021-11-16 10:55:01 -08:00
|
|
|
tests/hlsl-numeric-types.shader_test \
|
2021-08-16 10:25:41 -07:00
|
|
|
tests/hlsl-numthreads.shader_test \
|
2020-10-01 21:09:46 -07:00
|
|
|
tests/hlsl-return-implicit-conversion.shader_test \
|
2021-09-15 07:00:15 -07:00
|
|
|
tests/hlsl-shape.shader_test \
|
2022-02-03 14:44:23 -08:00
|
|
|
tests/hlsl-single-numeric-initializer.shader_test \
|
2022-11-03 16:54:48 -07:00
|
|
|
tests/hlsl-smoothstep.shader_test \
|
2021-09-27 18:51:42 -07:00
|
|
|
tests/hlsl-state-block-syntax.shader_test \
|
2020-10-03 14:24:25 -07:00
|
|
|
tests/hlsl-static-initializer.shader_test \
|
2021-05-10 21:36:06 -07:00
|
|
|
tests/hlsl-storage-qualifiers.shader_test \
|
2022-03-17 13:58:35 -07:00
|
|
|
tests/hlsl-struct-array.shader_test \
|
2020-10-03 14:24:23 -07:00
|
|
|
tests/hlsl-struct-assignment.shader_test \
|
2021-04-27 10:14:20 -07:00
|
|
|
tests/hlsl-struct-semantics.shader_test \
|
2023-04-03 14:15:00 -07:00
|
|
|
tests/hlsl-ternary.shader_test \
|
2022-03-28 08:55:14 -07:00
|
|
|
tests/hlsl-transpose.shader_test \
|
2023-04-14 14:00:57 -07:00
|
|
|
tests/hlsl-trunc.shader_test \
|
2023-02-18 16:44:20 -08:00
|
|
|
tests/hlsl-type-names.shader_test \
|
2020-09-30 19:01:22 -07:00
|
|
|
tests/hlsl-vector-indexing.shader_test \
|
|
|
|
tests/hlsl-vector-indexing-uniform.shader_test \
|
2023-02-12 09:02:31 -08:00
|
|
|
tests/lit.shader_test \
|
2023-02-21 14:13:24 -08:00
|
|
|
tests/log.shader_test \
|
2022-03-07 17:55:40 -08:00
|
|
|
tests/logic-operations.shader_test \
|
2022-03-29 14:50:33 -07:00
|
|
|
tests/majority-syntax.shader_test \
|
2020-09-30 19:01:20 -07:00
|
|
|
tests/math.shader_test \
|
2022-06-08 16:18:40 -07:00
|
|
|
tests/matrix-semantics.shader_test \
|
2022-11-07 11:32:44 -08:00
|
|
|
tests/max.shader_test \
|
2022-12-14 11:42:35 -08:00
|
|
|
tests/minimum-precision.shader_test \
|
2022-06-08 16:18:39 -07:00
|
|
|
tests/multiple-rt.shader_test \
|
2022-03-21 18:42:21 -07:00
|
|
|
tests/nointerpolation.shader_test \
|
2023-04-11 08:58:34 -07:00
|
|
|
tests/object-field-offsets.shader_test \
|
2022-10-14 06:09:21 -07:00
|
|
|
tests/object-references.shader_test \
|
2021-09-20 05:20:56 -07:00
|
|
|
tests/pow.shader_test \
|
2020-11-21 15:23:45 -08:00
|
|
|
tests/preproc-if.shader_test \
|
2020-11-21 15:23:46 -08:00
|
|
|
tests/preproc-ifdef.shader_test \
|
2020-11-23 22:29:55 -08:00
|
|
|
tests/preproc-if-expr.shader_test \
|
2020-11-23 22:29:57 -08:00
|
|
|
tests/preproc-invalid.shader_test \
|
2020-11-23 22:29:56 -08:00
|
|
|
tests/preproc-macro.shader_test \
|
2020-11-23 22:29:58 -08:00
|
|
|
tests/preproc-misc.shader_test \
|
2023-02-03 00:16:21 -08:00
|
|
|
tests/reflect.shader_test \
|
2023-02-09 12:43:49 -08:00
|
|
|
tests/register-reservations.shader_test \
|
2021-09-11 14:07:31 -07:00
|
|
|
tests/return.shader_test \
|
2021-11-19 06:38:41 -08:00
|
|
|
tests/round.shader_test \
|
2021-11-05 11:35:49 -07:00
|
|
|
tests/sampler.shader_test \
|
2022-01-26 06:35:31 -08:00
|
|
|
tests/sampler-offset.shader_test \
|
2021-09-16 11:55:56 -07:00
|
|
|
tests/saturate.shader_test \
|
2022-04-05 03:33:05 -07:00
|
|
|
tests/shader-interstage-interface.shader_test \
|
2023-03-23 11:47:55 -07:00
|
|
|
tests/side-effects.shader_test \
|
2023-04-21 13:14:46 -07:00
|
|
|
tests/sign.shader_test \
|
2023-01-13 12:14:31 -08:00
|
|
|
tests/sqrt.shader_test \
|
2023-01-13 12:37:12 -08:00
|
|
|
tests/step.shader_test \
|
2022-12-09 15:02:03 -08:00
|
|
|
tests/swizzle-constant-prop.shader_test \
|
2023-01-04 14:41:51 -08:00
|
|
|
tests/swizzles.shader_test \
|
2021-10-03 17:19:08 -07:00
|
|
|
tests/texture-load.shader_test \
|
2022-11-18 06:37:24 -08:00
|
|
|
tests/texture-load-offset.shader_test \
|
2021-10-03 17:19:09 -07:00
|
|
|
tests/texture-load-typed.shader_test \
|
2021-03-09 17:42:50 -08:00
|
|
|
tests/trigonometry.shader_test \
|
2022-06-08 16:18:38 -07:00
|
|
|
tests/uav.shader_test \
|
2021-08-13 14:51:10 -07:00
|
|
|
tests/uav-load.shader_test \
|
2021-09-09 19:10:14 -07:00
|
|
|
tests/uav-out-param.shader_test \
|
2021-03-09 17:42:50 -08:00
|
|
|
tests/writemask-assignop-0.shader_test \
|
|
|
|
tests/writemask-assignop-1.shader_test \
|
|
|
|
tests/writemask-assignop-2.shader_test \
|
|
|
|
tests/writemask-assignop-3.shader_test
|
2020-09-30 19:01:19 -07:00
|
|
|
|
2018-03-29 09:21:47 -07:00
|
|
|
vkd3d_test_headers = \
|
2019-02-21 03:32:46 -08:00
|
|
|
tests/d3d12_crosstest.h \
|
2022-01-26 17:40:27 -08:00
|
|
|
tests/d3d12_test_utils.h \
|
2022-01-26 17:40:28 -08:00
|
|
|
tests/shader_runner.h \
|
2022-06-22 07:09:03 -07:00
|
|
|
tests/utils.h \
|
|
|
|
tests/vulkan_procs.h
|
2018-03-29 09:21:47 -07:00
|
|
|
|
2016-10-13 04:50:36 -07:00
|
|
|
vkd3d_demos = \
|
2021-08-30 16:16:27 -07:00
|
|
|
demos/vkd3d-gears \
|
|
|
|
demos/vkd3d-triangle
|
2016-10-13 04:50:36 -07:00
|
|
|
|
|
|
|
vkd3d_demos_headers = \
|
|
|
|
demos/demo.h \
|
|
|
|
demos/demo_win32.h \
|
|
|
|
demos/demo_xcb.h
|
|
|
|
|
2020-08-06 01:53:45 -07:00
|
|
|
BUILT_SOURCES = $(widl_headers) \
|
|
|
|
include/private/vkd3d_version.h
|
2016-09-21 03:57:24 -07:00
|
|
|
|
2018-11-01 14:39:30 -07:00
|
|
|
noinst_LTLIBRARIES = libvkd3d-common.la
|
2016-10-07 04:26:39 -07:00
|
|
|
libvkd3d_common_la_SOURCES = \
|
2016-10-13 03:18:42 -07:00
|
|
|
include/private/vkd3d_debug.h \
|
2020-09-23 09:07:47 -07:00
|
|
|
libs/vkd3d-common/blob.c \
|
2017-06-19 09:05:53 -07:00
|
|
|
libs/vkd3d-common/debug.c \
|
2020-09-28 20:41:04 -07:00
|
|
|
libs/vkd3d-common/error.c \
|
2019-01-29 13:14:31 -08:00
|
|
|
libs/vkd3d-common/memory.c \
|
|
|
|
libs/vkd3d-common/utf8.c
|
2022-09-15 12:07:40 -07:00
|
|
|
libvkd3d_common_la_LIBADD = @PTHREAD_LIBS@
|
2016-10-07 04:26:39 -07:00
|
|
|
|
2018-11-01 14:39:30 -07:00
|
|
|
lib_LTLIBRARIES = libvkd3d-shader.la libvkd3d.la libvkd3d-utils.la
|
2017-06-16 13:38:21 -07:00
|
|
|
|
2020-12-07 10:56:30 -08:00
|
|
|
VKD3D_V_FLEX = $(vkd3d_v_flex_@AM_V@)
|
|
|
|
vkd3d_v_flex_ = $(vkd3d_v_flex_@AM_DEFAULT_V@)
|
|
|
|
vkd3d_v_flex_0 = @echo " FLEX " $@;
|
|
|
|
vkd3d_v_flex_1 =
|
|
|
|
|
|
|
|
VKD3D_V_BISON = $(vkd3d_v_bison_@AM_V@)
|
|
|
|
vkd3d_v_bison_ = $(vkd3d_v_bison_@AM_DEFAULT_V@)
|
|
|
|
vkd3d_v_bison_0 = @echo " BISON " $@;
|
|
|
|
vkd3d_v_bison_1 =
|
|
|
|
|
|
|
|
libs/vkd3d-shader/preproc.yy.c: libs/vkd3d-shader/preproc.l
|
2020-12-14 19:57:31 -08:00
|
|
|
@$(MKDIR_P) libs/vkd3d-shader
|
2020-12-07 10:56:30 -08:00
|
|
|
$(VKD3D_V_FLEX)$(FLEX) $(LFLAGS) -o $@ $<
|
|
|
|
|
|
|
|
libs/vkd3d-shader/preproc.tab.c libs/vkd3d-shader/preproc.tab.h &: libs/vkd3d-shader/preproc.y
|
2020-12-14 19:57:31 -08:00
|
|
|
@$(MKDIR_P) libs/vkd3d-shader
|
2020-12-07 10:56:30 -08:00
|
|
|
$(VKD3D_V_BISON)$(BISON) $(YFLAGS) -d -o libs/vkd3d-shader/preproc.tab.c $<
|
|
|
|
|
2021-01-27 08:29:44 -08:00
|
|
|
libs/vkd3d-shader/hlsl.yy.c: $(srcdir)/libs/vkd3d-shader/hlsl.l
|
|
|
|
@$(MKDIR_P) libs/vkd3d-shader
|
|
|
|
$(VKD3D_V_FLEX)$(FLEX) $(LFLAGS) -o $@ $<
|
|
|
|
|
|
|
|
libs/vkd3d-shader/hlsl.tab.c libs/vkd3d-shader/hlsl.tab.h &: libs/vkd3d-shader/hlsl.y
|
|
|
|
@$(MKDIR_P) libs/vkd3d-shader
|
|
|
|
$(VKD3D_V_BISON)$(BISON) $(YFLAGS) -d -o libs/vkd3d-shader/hlsl.tab.c $<
|
|
|
|
|
|
|
|
BUILT_SOURCES += \
|
|
|
|
libs/vkd3d-shader/hlsl.tab.h \
|
|
|
|
libs/vkd3d-shader/preproc.tab.h
|
2020-12-07 10:56:30 -08:00
|
|
|
|
|
|
|
vkd3d_shader_yyfiles = \
|
2021-01-27 08:29:44 -08:00
|
|
|
libs/vkd3d-shader/hlsl.tab.c \
|
|
|
|
libs/vkd3d-shader/hlsl.tab.h \
|
|
|
|
libs/vkd3d-shader/hlsl.yy.c \
|
2020-12-07 10:56:30 -08:00
|
|
|
libs/vkd3d-shader/preproc.tab.c \
|
|
|
|
libs/vkd3d-shader/preproc.tab.h \
|
|
|
|
libs/vkd3d-shader/preproc.yy.c
|
|
|
|
|
|
|
|
CLEANFILES = $(vkd3d_shader_yyfiles)
|
|
|
|
|
|
|
|
nodist_libvkd3d_shader_la_SOURCES = $(vkd3d_shader_yyfiles)
|
|
|
|
|
2017-06-16 13:38:21 -07:00
|
|
|
libvkd3d_shader_la_SOURCES = \
|
|
|
|
include/private/list.h \
|
|
|
|
include/private/rbtree.h \
|
|
|
|
include/private/vkd3d_common.h \
|
|
|
|
include/private/vkd3d_debug.h \
|
|
|
|
include/private/vkd3d_memory.h \
|
2019-02-21 03:32:46 -08:00
|
|
|
include/vkd3d_shader.h \
|
2018-12-17 12:21:15 -08:00
|
|
|
libs/vkd3d-shader/checksum.c \
|
2023-04-20 03:48:20 -07:00
|
|
|
libs/vkd3d-shader/d3d_asm.c \
|
2021-10-06 08:11:48 -07:00
|
|
|
libs/vkd3d-shader/d3dbc.c \
|
2017-06-16 13:38:21 -07:00
|
|
|
libs/vkd3d-shader/dxbc.c \
|
2021-08-19 07:48:13 -07:00
|
|
|
libs/vkd3d-shader/glsl.c \
|
2021-01-27 08:29:44 -08:00
|
|
|
libs/vkd3d-shader/hlsl.c \
|
2021-08-03 20:52:12 -07:00
|
|
|
libs/vkd3d-shader/hlsl.h \
|
2021-03-02 13:34:46 -08:00
|
|
|
libs/vkd3d-shader/hlsl_codegen.c \
|
2022-02-10 19:48:19 -08:00
|
|
|
libs/vkd3d-shader/hlsl_constant_ops.c \
|
2023-02-28 17:59:28 -08:00
|
|
|
libs/vkd3d-shader/ir.c \
|
2021-08-03 20:52:12 -07:00
|
|
|
libs/vkd3d-shader/preproc.h \
|
2017-06-19 09:05:53 -07:00
|
|
|
libs/vkd3d-shader/spirv.c \
|
2023-04-20 03:14:56 -07:00
|
|
|
libs/vkd3d-shader/tpf.c \
|
2018-01-16 05:02:26 -08:00
|
|
|
libs/vkd3d-shader/vkd3d_shader.map \
|
2017-06-16 13:38:21 -07:00
|
|
|
libs/vkd3d-shader/vkd3d_shader_main.c \
|
|
|
|
libs/vkd3d-shader/vkd3d_shader_private.h
|
2021-08-08 23:11:50 -07:00
|
|
|
libvkd3d_shader_la_CFLAGS = $(AM_CFLAGS) -DLIBVKD3D_SHADER_SOURCE -I$(srcdir)/libs/vkd3d-shader @SPIRV_TOOLS_CFLAGS@
|
2023-03-14 09:29:04 -07:00
|
|
|
libvkd3d_shader_la_LDFLAGS = $(AM_LDFLAGS) -version-info 6:0:5
|
2021-02-18 02:24:02 -08:00
|
|
|
libvkd3d_shader_la_LIBADD = libvkd3d-common.la @SPIRV_TOOLS_LIBS@ -lm
|
2018-01-15 04:49:01 -08:00
|
|
|
if HAVE_LD_VERSION_SCRIPT
|
2018-11-01 14:39:30 -07:00
|
|
|
libvkd3d_shader_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libs/vkd3d-shader/vkd3d_shader.map
|
2019-04-12 08:13:17 -07:00
|
|
|
EXTRA_libvkd3d_shader_la_DEPENDENCIES = $(srcdir)/libs/vkd3d-shader/vkd3d_shader.map
|
2018-01-15 04:49:01 -08:00
|
|
|
endif
|
2016-10-07 04:26:39 -07:00
|
|
|
|
2022-03-02 10:06:18 -08:00
|
|
|
EXTRA_DIST = \
|
|
|
|
libs/vkd3d-shader/hlsl.l \
|
|
|
|
libs/vkd3d-shader/hlsl.y \
|
|
|
|
libs/vkd3d-shader/preproc.l \
|
|
|
|
libs/vkd3d-shader/preproc.y
|
|
|
|
|
2016-09-21 03:57:24 -07:00
|
|
|
libvkd3d_la_SOURCES = \
|
2020-09-23 09:07:47 -07:00
|
|
|
include/private/vkd3d_blob.h \
|
2016-10-13 03:18:42 -07:00
|
|
|
include/private/vkd3d_common.h \
|
|
|
|
include/private/vkd3d_debug.h \
|
|
|
|
include/private/vkd3d_memory.h \
|
2019-01-29 13:14:31 -08:00
|
|
|
include/private/vkd3d_utf8.h \
|
2016-10-13 03:18:42 -07:00
|
|
|
include/private/vkd3d_test.h \
|
2018-01-16 05:02:26 -08:00
|
|
|
include/vkd3d_d3d12.idl \
|
2018-02-09 04:45:09 -08:00
|
|
|
include/vkd3d_d3dcommon.idl \
|
2018-01-16 05:02:26 -08:00
|
|
|
include/vkd3d_unknown.idl \
|
2016-09-21 05:41:31 -07:00
|
|
|
libs/vkd3d/command.c \
|
2016-09-21 03:57:24 -07:00
|
|
|
libs/vkd3d/device.c \
|
2016-09-26 02:13:30 -07:00
|
|
|
libs/vkd3d/resource.c \
|
2016-09-26 02:13:30 -07:00
|
|
|
libs/vkd3d/state.c \
|
2016-09-21 03:57:24 -07:00
|
|
|
libs/vkd3d/utils.c \
|
2018-01-16 05:02:26 -08:00
|
|
|
libs/vkd3d/vkd3d.map \
|
2016-10-13 03:18:42 -07:00
|
|
|
libs/vkd3d/vkd3d_main.c \
|
|
|
|
libs/vkd3d/vkd3d_private.h \
|
2019-11-25 06:05:37 -08:00
|
|
|
libs/vkd3d/vkd3d_shaders.h \
|
2020-08-06 01:53:45 -07:00
|
|
|
libs/vkd3d/vulkan_procs.h
|
2021-08-08 23:11:50 -07:00
|
|
|
libvkd3d_la_CFLAGS = $(AM_CFLAGS) -DLIBVKD3D_SOURCE
|
2023-03-14 09:29:04 -07:00
|
|
|
libvkd3d_la_LDFLAGS = $(AM_LDFLAGS) -version-info 8:0:7
|
2018-01-17 03:48:14 -08:00
|
|
|
libvkd3d_la_LIBADD = libvkd3d-common.la libvkd3d-shader.la @DL_LIBS@ @PTHREAD_LIBS@
|
2018-01-15 04:49:01 -08:00
|
|
|
if HAVE_LD_VERSION_SCRIPT
|
2018-04-19 00:23:14 -07:00
|
|
|
libvkd3d_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libs/vkd3d/vkd3d.map
|
2019-04-12 08:13:17 -07:00
|
|
|
EXTRA_libvkd3d_la_DEPENDENCIES = $(srcdir)/libs/vkd3d/vkd3d.map
|
2018-01-15 04:49:01 -08:00
|
|
|
endif
|
2016-09-21 03:57:24 -07:00
|
|
|
|
2016-10-07 04:26:39 -07:00
|
|
|
libvkd3d_utils_la_SOURCES = \
|
2018-01-16 05:02:26 -08:00
|
|
|
libs/vkd3d-utils/vkd3d_utils.map \
|
2016-10-13 03:18:42 -07:00
|
|
|
libs/vkd3d-utils/vkd3d_utils_main.c \
|
|
|
|
libs/vkd3d-utils/vkd3d_utils_private.h
|
2021-08-08 23:11:50 -07:00
|
|
|
libvkd3d_utils_la_CFLAGS = $(AM_CFLAGS) -DLIBVKD3D_UTILS_SOURCE
|
2023-03-14 09:29:04 -07:00
|
|
|
libvkd3d_utils_la_LDFLAGS = $(AM_LDFLAGS) -version-info 4:3:3
|
2020-09-29 14:14:51 -07:00
|
|
|
libvkd3d_utils_la_LIBADD = libvkd3d-common.la libvkd3d-shader.la libvkd3d.la @PTHREAD_LIBS@
|
2018-01-15 04:49:01 -08:00
|
|
|
if HAVE_LD_VERSION_SCRIPT
|
2018-04-19 00:23:14 -07:00
|
|
|
libvkd3d_utils_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libs/vkd3d-utils/vkd3d_utils.map
|
2019-04-12 08:13:17 -07:00
|
|
|
EXTRA_libvkd3d_utils_la_DEPENDENCIES = $(srcdir)/libs/vkd3d-utils/vkd3d_utils.map
|
2018-01-15 04:49:01 -08:00
|
|
|
endif
|
2016-10-07 04:26:39 -07:00
|
|
|
|
2022-03-02 10:06:18 -08:00
|
|
|
EXTRA_DIST += ANNOUNCE LICENSE
|
2017-06-19 09:33:39 -07:00
|
|
|
|
2016-09-21 03:57:24 -07:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkginclude_HEADERS = $(vkd3d_public_headers)
|
2018-11-01 14:39:30 -07:00
|
|
|
nodist_pkgconfig_DATA = libvkd3d.pc libvkd3d-shader.pc libvkd3d-utils.pc
|
2020-12-07 10:56:30 -08:00
|
|
|
CLEANFILES += libvkd3d.pc libvkd3d-shader.pc libvkd3d-utils.pc
|
2018-11-01 14:39:30 -07:00
|
|
|
EXTRA_DIST += \
|
|
|
|
libs/vkd3d/libvkd3d.pc.in \
|
|
|
|
libs/vkd3d-shader/libvkd3d-shader.pc.in \
|
|
|
|
libs/vkd3d-utils/libvkd3d-utils.pc.in
|
2016-09-21 03:57:24 -07:00
|
|
|
|
2020-09-21 15:35:46 -07:00
|
|
|
bin_PROGRAMS = vkd3d-compiler
|
2017-06-16 13:38:21 -07:00
|
|
|
vkd3d_compiler_SOURCES = programs/vkd3d-compiler/main.c
|
2020-09-28 06:30:17 -07:00
|
|
|
vkd3d_compiler_CFLAGS = $(AM_CFLAGS) @NCURSES_CFLAGS@
|
|
|
|
vkd3d_compiler_LDADD = libvkd3d-shader.la @NCURSES_LIBS@
|
2017-06-16 13:38:21 -07:00
|
|
|
|
2022-04-11 10:18:31 -07:00
|
|
|
LDADD = libvkd3d.la libvkd3d-shader.la libvkd3d-utils.la
|
2016-09-21 03:57:24 -07:00
|
|
|
AM_DEFAULT_SOURCE_EXT = .c
|
2020-09-30 19:01:18 -07:00
|
|
|
|
|
|
|
TEST_EXTENSIONS = .shader_test
|
|
|
|
|
2019-01-31 02:29:31 -08:00
|
|
|
if BUILD_TESTS
|
2022-01-26 17:40:27 -08:00
|
|
|
check_PROGRAMS = $(vkd3d_tests) $(vkd3d_cross_tests) tests/shader_runner
|
2020-09-30 19:01:19 -07:00
|
|
|
TESTS = $(vkd3d_tests) $(vkd3d_cross_tests) $(vkd3d_shader_tests)
|
2022-04-18 18:28:46 -07:00
|
|
|
tests_d3d12_LDADD = $(LDADD) @PTHREAD_LIBS@ @DL_LIBS@
|
|
|
|
tests_d3d12_invalid_usage_LDADD = $(LDADD) @DL_LIBS@
|
|
|
|
tests_hlsl_d3d12_LDADD = $(LDADD) @DL_LIBS@
|
|
|
|
tests_shader_runner_LDADD = $(LDADD) @DL_LIBS@
|
2022-01-26 17:40:27 -08:00
|
|
|
tests_shader_runner_SOURCES = \
|
|
|
|
tests/shader_runner.c \
|
2023-01-18 04:53:51 -08:00
|
|
|
tests/shader_runner_d3d9.c \
|
|
|
|
tests/shader_runner_d3d11.c \
|
2022-04-11 10:18:31 -07:00
|
|
|
tests/shader_runner_d3d12.c \
|
|
|
|
tests/shader_runner_vulkan.c
|
2022-04-18 18:28:44 -07:00
|
|
|
tests_vkd3d_api_LDADD = libvkd3d.la @DL_LIBS@
|
2018-12-11 06:48:02 -08:00
|
|
|
tests_vkd3d_shader_api_LDADD = libvkd3d-shader.la
|
2022-01-26 17:40:26 -08:00
|
|
|
SHADER_TEST_LOG_COMPILER = tests/shader_runner
|
2019-01-31 02:29:31 -08:00
|
|
|
endif
|
2016-09-21 03:57:24 -07:00
|
|
|
|
2022-03-02 10:06:19 -08:00
|
|
|
EXTRA_DIST += $(vkd3d_shader_tests)
|
|
|
|
|
2018-08-15 09:13:31 -07:00
|
|
|
if BUILD_DEMOS
|
2022-04-22 13:17:59 -07:00
|
|
|
DEMOS_LDADD = $(LDADD) libvkd3d-shader.la @DL_LIBS@ @DEMO_LIBS@
|
2022-02-23 08:27:30 -08:00
|
|
|
DEMOS_CFLAGS = $(AM_CFLAGS) @DEMO_CFLAGS@
|
2021-08-30 16:16:27 -07:00
|
|
|
bin_PROGRAMS += $(vkd3d_demos)
|
2016-11-02 06:56:13 -07:00
|
|
|
|
2022-12-06 02:58:24 -08:00
|
|
|
demos_vkd3d_gears_SOURCES = demos/gears.c demos/gears_hlsl.h
|
2021-08-30 16:16:27 -07:00
|
|
|
demos_vkd3d_gears_CFLAGS = $(DEMOS_CFLAGS)
|
|
|
|
demos_vkd3d_gears_LDADD = $(DEMOS_LDADD) -lm
|
2016-11-02 06:56:13 -07:00
|
|
|
|
2022-12-06 02:58:24 -08:00
|
|
|
demos_vkd3d_triangle_SOURCES = demos/triangle.c demos/triangle_hlsl.h
|
2021-08-30 16:16:27 -07:00
|
|
|
demos_vkd3d_triangle_CFLAGS = $(DEMOS_CFLAGS)
|
|
|
|
demos_vkd3d_triangle_LDADD = $(DEMOS_LDADD)
|
2018-08-15 09:13:31 -07:00
|
|
|
endif
|
|
|
|
|
2021-08-03 20:52:14 -07:00
|
|
|
noinst_HEADERS = $(vkd3d_test_headers) $(vkd3d_demos_headers)
|
2016-10-13 04:50:36 -07:00
|
|
|
|
2016-09-29 03:57:01 -07:00
|
|
|
VKD3D_V_WIDL = $(vkd3d_v_widl_@AM_V@)
|
|
|
|
vkd3d_v_widl_ = $(vkd3d_v_widl_@AM_DEFAULT_V@)
|
|
|
|
vkd3d_v_widl_0 = @echo " WIDL " $@;
|
|
|
|
vkd3d_v_widl_1 =
|
|
|
|
|
2020-08-06 10:18:58 -07:00
|
|
|
if HAVE_WIDL
|
|
|
|
CLEANFILES += $(widl_headers)
|
|
|
|
endif
|
2016-09-28 04:38:28 -07:00
|
|
|
EXTRA_DIST += $(widl_headers) $(widl_headers:.h=.idl)
|
2016-09-21 03:57:24 -07:00
|
|
|
$(widl_headers): %.h: %.idl
|
2018-04-13 03:37:43 -07:00
|
|
|
if HAVE_WIDL
|
2019-04-10 08:31:57 -07:00
|
|
|
$(VKD3D_V_WIDL)$(WIDL) -h -o $@ $<
|
2018-04-13 03:37:43 -07:00
|
|
|
else
|
2018-09-14 08:29:05 -07:00
|
|
|
@echo "widl is required to generate $@"
|
2018-04-13 03:37:43 -07:00
|
|
|
endif
|
2016-09-21 03:57:24 -07:00
|
|
|
|
2019-03-18 08:21:21 -07:00
|
|
|
libvkd3d-utils.pc: $(srcdir)/libs/vkd3d-utils/libvkd3d-utils.pc.in Makefile
|
2018-08-10 14:01:30 -07:00
|
|
|
$(AM_V_GEN)$(SED) -e 's![@]prefix[@]!$(prefix)!g' \
|
2018-11-01 14:39:30 -07:00
|
|
|
-e 's![@]exec_prefix[@]!$(exec_prefix)!g' \
|
|
|
|
-e 's![@]includedir[@]!$(includedir)!g' \
|
|
|
|
-e 's![@]libdir[@]!$(libdir)!g' \
|
|
|
|
-e 's![@]PACKAGE_VERSION[@]!$(PACKAGE_VERSION)!g' \
|
|
|
|
$< > $@
|
|
|
|
|
2019-03-18 08:21:21 -07:00
|
|
|
libvkd3d-shader.pc: $(srcdir)/libs/vkd3d-shader/libvkd3d-shader.pc.in Makefile
|
2018-11-01 14:39:30 -07:00
|
|
|
$(AM_V_GEN)$(SED) -e 's![@]prefix[@]!$(prefix)!g' \
|
2017-06-30 04:10:17 -07:00
|
|
|
-e 's![@]exec_prefix[@]!$(exec_prefix)!g' \
|
|
|
|
-e 's![@]includedir[@]!$(includedir)!g' \
|
|
|
|
-e 's![@]libdir[@]!$(libdir)!g' \
|
|
|
|
-e 's![@]PACKAGE_VERSION[@]!$(PACKAGE_VERSION)!g' \
|
|
|
|
$< > $@
|
|
|
|
|
2019-03-18 08:21:21 -07:00
|
|
|
libvkd3d.pc: $(srcdir)/libs/vkd3d/libvkd3d.pc.in Makefile
|
2018-08-10 14:01:30 -07:00
|
|
|
$(AM_V_GEN)$(SED) -e 's![@]prefix[@]!$(prefix)!g' \
|
2016-09-21 03:57:24 -07:00
|
|
|
-e 's![@]exec_prefix[@]!$(exec_prefix)!g' \
|
|
|
|
-e 's![@]includedir[@]!$(includedir)!g' \
|
|
|
|
-e 's![@]libdir[@]!$(libdir)!g' \
|
|
|
|
-e 's![@]PACKAGE_VERSION[@]!$(PACKAGE_VERSION)!g' \
|
|
|
|
$< > $@
|
2016-09-21 03:57:24 -07:00
|
|
|
|
2020-08-06 01:53:45 -07:00
|
|
|
include/private/vkd3d_version.h: dummy-vkd3d-version
|
|
|
|
@$(MKDIR_P) include/private
|
|
|
|
version=`(GIT_DIR=$(top_srcdir)/.git git rev-parse --short HEAD 2>/dev/null || echo '') \
|
|
|
|
| $(SED) -e 's!\(..*\)! (git \1)!' \
|
|
|
|
| $(SED) -n -e '$$s!\(.*\)!#define VKD3D_VCS_ID "\1"!p'` \
|
|
|
|
&& (echo $$version | cmp -s - $@) \
|
|
|
|
|| echo $$version >$@ || ($(RM) $@ && exit 1)
|
|
|
|
.SILENT: include/private/vkd3d_version.h
|
|
|
|
CLEANFILES += include/private/vkd3d_version.h
|
2018-06-27 06:19:25 -07:00
|
|
|
|
|
|
|
.PHONY: dummy-vkd3d-version
|
|
|
|
dummy-vkd3d-version:
|
|
|
|
|
2016-09-21 03:57:24 -07:00
|
|
|
## Cross-compile tests
|
|
|
|
cross_implibs = crosslibs/d3d12
|
|
|
|
CROSS_CPPFLAGS = -I$(srcdir)/include -I$(srcdir)/include/private -I$(builddir)/include
|
2023-01-18 05:31:07 -08:00
|
|
|
CROSS_CFLAGS = -g -O2 -Wall -municode ${CROSS_CPPFLAGS} -D__USE_MINGW_ANSI_STDIO=0 -DVKD3D_CROSSTEST=1
|
2016-10-22 11:18:42 -07:00
|
|
|
EXTRA_DIST += $(cross_implibs:=.cross32.def) $(cross_implibs:=.cross64.def)
|
2022-06-22 07:09:02 -07:00
|
|
|
EXTRA_DIST += tests/shader_runner_d3d11.c tests/shader_runner_d3d9.c
|
2016-09-21 03:57:24 -07:00
|
|
|
|
2022-01-26 17:40:27 -08:00
|
|
|
shader_runner_cross_sources = \
|
|
|
|
$(srcdir)/tests/shader_runner.c \
|
2022-04-07 16:58:17 -07:00
|
|
|
$(srcdir)/tests/shader_runner_d3d9.c \
|
2022-01-26 17:40:33 -08:00
|
|
|
$(srcdir)/tests/shader_runner_d3d11.c \
|
2022-01-26 17:40:27 -08:00
|
|
|
$(srcdir)/tests/shader_runner_d3d12.c
|
|
|
|
|
2018-04-13 03:37:43 -07:00
|
|
|
if HAVE_CROSSTARGET32
|
2016-09-21 03:57:24 -07:00
|
|
|
CROSS32_CC = @CROSSCC32@
|
|
|
|
CROSS32_DLLTOOL = @CROSSTARGET32@-dlltool
|
|
|
|
CROSS32_IMPLIBS = $(cross_implibs:=.cross32.a)
|
2022-04-01 14:01:13 -07:00
|
|
|
CROSS32_EXEFILES =
|
|
|
|
if BUILD_TESTS
|
|
|
|
CROSS32_EXEFILES += $(vkd3d_cross_tests:=.cross32.exe)
|
|
|
|
endif
|
2022-04-01 14:01:11 -07:00
|
|
|
if BUILD_DEMOS
|
|
|
|
CROSS32_EXEFILES += $(vkd3d_demos:demos/vkd3d-%=demos/%.cross32.exe)
|
|
|
|
endif
|
2022-04-01 14:01:13 -07:00
|
|
|
|
|
|
|
CROSS32_FILES = $(CROSS32_EXEFILES)
|
|
|
|
if BUILD_TESTS
|
|
|
|
CROSS32_FILES += tests/shader_runner.cross32.exe
|
|
|
|
endif
|
2016-09-21 03:57:24 -07:00
|
|
|
|
2022-04-01 14:01:12 -07:00
|
|
|
CLEANFILES += $(CROSS32_IMPLIBS) $(CROSS32_FILES)
|
2016-10-18 10:14:49 -07:00
|
|
|
crosstest32: $(CROSS32_FILES)
|
|
|
|
|
|
|
|
-include tests/$(DEPDIR)/*.cross32.Po
|
2016-10-13 04:50:36 -07:00
|
|
|
-include demos/$(DEPDIR)/*.cross32.Po
|
2016-09-21 03:57:24 -07:00
|
|
|
|
|
|
|
$(CROSS32_IMPLIBS): %.cross32.a: %.cross32.def
|
2016-09-29 03:57:01 -07:00
|
|
|
@${MKDIR_P} crosslibs
|
|
|
|
$(AM_V_GEN)$(CROSS32_DLLTOOL) -k -m i386 --as-flags=-32 -d $< -l $@
|
2016-09-21 03:57:24 -07:00
|
|
|
|
2016-10-18 10:14:49 -07:00
|
|
|
$(CROSS32_EXEFILES): %.cross32.exe: %.c $(CROSS32_IMPLIBS) $(widl_headers)
|
2019-04-10 08:31:57 -07:00
|
|
|
$(AM_V_CCLD)depbase=`echo $@ | $(SED) 's![^/]*$$!$(DEPDIR)/&!;s!\.exe$$!!'`; \
|
2020-09-30 19:01:18 -07:00
|
|
|
$(CROSS32_CC) $(CROSS_CFLAGS) -MT $@ -MD -MP -MF $$depbase.Tpo -o $@ $< $(CROSS32_IMPLIBS) -ldxgi -lgdi32 -ld3dcompiler_47 && \
|
2016-10-18 10:14:49 -07:00
|
|
|
$(am__mv) $$depbase.Tpo $$depbase.Po
|
2022-01-26 17:40:27 -08:00
|
|
|
|
|
|
|
tests/shader_runner.cross32.exe: $(shader_runner_cross_sources) $(CROSS32_IMPLIBS) $(widl_headers)
|
|
|
|
$(AM_V_CCLD)depbase=`echo $@ | sed 's![^/]*$$!$(DEPDIR)/&!;s!\.exe$$!!'`; \
|
|
|
|
$(CROSS32_CC) $(CROSS_CFLAGS) -MT $@ -MD -MP -MF $$depbase.Tpo -o $@ $(shader_runner_cross_sources) $(CROSS32_IMPLIBS) -ldxgi -lgdi32 -ld3dcompiler_47 && \
|
|
|
|
$(am__mv) $$depbase.Tpo $$depbase.Po
|
|
|
|
|
2016-09-21 03:57:24 -07:00
|
|
|
else
|
|
|
|
crosstest32:
|
|
|
|
endif
|
|
|
|
|
2018-04-13 03:37:43 -07:00
|
|
|
if HAVE_CROSSTARGET64
|
2016-09-21 03:57:24 -07:00
|
|
|
CROSS64_CC = @CROSSCC64@
|
|
|
|
CROSS64_DLLTOOL = @CROSSTARGET64@-dlltool
|
|
|
|
CROSS64_IMPLIBS = $(cross_implibs:=.cross64.a)
|
2022-04-01 14:01:13 -07:00
|
|
|
CROSS64_EXEFILES =
|
|
|
|
if BUILD_TESTS
|
|
|
|
CROSS64_EXEFILES += $(vkd3d_cross_tests:=.cross64.exe)
|
|
|
|
endif
|
2022-04-01 14:01:11 -07:00
|
|
|
if BUILD_DEMOS
|
|
|
|
CROSS64_EXEFILES += $(vkd3d_demos:demos/vkd3d-%=demos/%.cross64.exe)
|
|
|
|
endif
|
2022-04-01 14:01:13 -07:00
|
|
|
|
|
|
|
CROSS64_FILES = $(CROSS64_EXEFILES)
|
|
|
|
if BUILD_TESTS
|
|
|
|
CROSS64_FILES += tests/shader_runner.cross64.exe
|
|
|
|
endif
|
2016-09-21 03:57:24 -07:00
|
|
|
|
2022-04-01 14:01:12 -07:00
|
|
|
CLEANFILES += $(CROSS64_IMPLIBS) $(CROSS64_FILES)
|
2016-10-18 10:14:49 -07:00
|
|
|
crosstest64: $(CROSS64_FILES)
|
|
|
|
|
|
|
|
-include tests/$(DEPDIR)/*.cross64.Po
|
2016-10-13 04:50:36 -07:00
|
|
|
-include demos/$(DEPDIR)/*.cross64.Po
|
2016-09-21 03:57:24 -07:00
|
|
|
|
|
|
|
$(CROSS64_IMPLIBS): %.cross64.a: %.cross64.def
|
2016-09-29 03:57:01 -07:00
|
|
|
@${MKDIR_P} crosslibs
|
|
|
|
$(AM_V_GEN)$(CROSS64_DLLTOOL) -k -m i386:x86-64 --as-flags=-64 -d $< -l $@
|
2016-09-21 03:57:24 -07:00
|
|
|
|
2016-10-18 10:14:49 -07:00
|
|
|
$(CROSS64_EXEFILES): %.cross64.exe: %.c $(CROSS64_IMPLIBS) $(widl_headers)
|
|
|
|
$(AM_V_CCLD)depbase=`echo $@ | sed 's![^/]*$$!$(DEPDIR)/&!;s!\.exe$$!!'`; \
|
2020-09-30 19:01:18 -07:00
|
|
|
$(CROSS64_CC) $(CROSS_CFLAGS) -MT $@ -MD -MP -MF $$depbase.Tpo -o $@ $< $(CROSS64_IMPLIBS) -ldxgi -lgdi32 -ld3dcompiler_47 && \
|
2016-10-18 10:14:49 -07:00
|
|
|
$(am__mv) $$depbase.Tpo $$depbase.Po
|
2022-01-26 17:40:27 -08:00
|
|
|
|
|
|
|
tests/shader_runner.cross64.exe: $(shader_runner_cross_sources) $(CROSS64_IMPLIBS) $(widl_headers)
|
|
|
|
$(AM_V_CCLD)depbase=`echo $@ | sed 's![^/]*$$!$(DEPDIR)/&!;s!\.exe$$!!'`; \
|
|
|
|
$(CROSS64_CC) $(CROSS_CFLAGS) -MT $@ -MD -MP -MF $$depbase.Tpo -o $@ $(shader_runner_cross_sources) $(CROSS64_IMPLIBS) -ldxgi -lgdi32 -ld3dcompiler_47 && \
|
|
|
|
$(am__mv) $$depbase.Tpo $$depbase.Po
|
|
|
|
|
2016-09-21 03:57:24 -07:00
|
|
|
else
|
|
|
|
crosstest64:
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: crosstest crosstest32 crosstest64
|
|
|
|
crosstest: crosstest32 crosstest64
|
2020-09-01 08:32:29 -07:00
|
|
|
|
|
|
|
if BUILD_DOC
|
|
|
|
@DX_RULES@
|
|
|
|
all: doxygen-doc
|
|
|
|
CLEANFILES += $(DX_CLEANFILES)
|
|
|
|
endif
|