1.1 --- a/tests/Makefile Sun Jun 05 18:50:47 2022 +0200
1.2 +++ b/tests/Makefile Sun Jun 05 21:30:59 2022 +0200
1.3 @@ -14,7 +14,8 @@
1.4 dstest_pipe_client \
1.5 dstest_test_client \
1.6 dstest_map_test \
1.7 - dstest_exec
1.8 + dstest_exec \
1.9 + dstest_file_mapping
1.10
1.11 MODE = static
1.12
1.13 @@ -36,10 +37,14 @@
1.14
1.15 # Individual interfaces.
1.16
1.17 +CLIENT_INTERFACES_CC = dataspace mapped_file
1.18 +
1.19 SERVER_INTERFACES_CC = $(call common_interfaces,$(COMP_INTERFACES_CC))
1.20
1.21 # Generated and plain source files.
1.22
1.23 +CLIENT_INTERFACES_SRC_CC = $(call interfaces_to_client_cc,$(CLIENT_INTERFACES_CC))
1.24 +
1.25 SERVER_INTERFACES_SRC_CC = $(call interfaces_to_server_cc,$(SERVER_INTERFACES_CC) $(COMP_INTERFACES_CC))
1.26
1.27 # Normal source files.
1.28 @@ -71,10 +76,15 @@
1.29 PLAIN_SRC_CC_dstest_exec = dstest_exec.cc
1.30 SRC_CC_dstest_exec = $(PLAIN_SRC_CC_dstest_exec) $(SERVER_INTERFACES_SRC_CC)
1.31
1.32 +PLAIN_SRC_CC_dstest_file_mapping = dstest_file_mapping.cc
1.33 +SRC_CC_dstest_file_mapping = $(PLAIN_SRC_CC_dstest_file_mapping) $(CLIENT_INTERFACES_SRC_CC)
1.34 +
1.35 REQUIRES_LIBS = l4re_c-util libexec libfsclient libmem libipc libstdc++ libsystypes libe2access_blockserver
1.36 PRIVATE_INCDIR = $(IDL_BUILD_DIR) $(IDL_EXPORT_DIR)
1.37
1.38 include $(L4DIR)/mk/prog.mk
1.39 include $(IDL_MK_DIR)/interface_rules.mk
1.40
1.41 +$(PLAIN_SRC_CC_dstest_file_mapping): $(CLIENT_INTERFACES_SRC_CC)
1.42 +
1.43 $(PLAIN_SRC_CC_dstest_exec): $(SERVER_INTERFACES_SRC_CC)