1 PKGDIR ?= . 2 L4DIR ?= $(PKGDIR)/../../.. 3 4 TARGET = \ 5 dstest_block_client dstest_block_client_simple \ 6 dstest_ext2fs_client \ 7 dstest_file_access \ 8 dstest_file_client \ 9 dstest_file_monitor \ 10 dstest_file_readdir \ 11 dstest_file_readdir_concurrent \ 12 dstest_file_rename \ 13 dstest_host_client \ 14 dstest_pipe_client \ 15 dstest_test_client \ 16 dstest_map_test \ 17 dstest_exec \ 18 dstest_file_mapping 19 20 MODE = static 21 22 # Locations for interface input and generated output. 23 24 IDL_DIR = $(PKGDIR)/../libsystypes/idl 25 IDL_MK_DIR = $(L4DIR)/idl4re/mk 26 IDL_BUILD_DIR = . 27 IDL_EXPORT_DIR = . 28 29 include $(IDL_MK_DIR)/idl.mk 30 31 # Individual interfaces. 32 33 CLIENT_INTERFACES_CC = dataspace mapped_file 34 35 # Generated and plain source files. 36 37 CLIENT_INTERFACES_SRC_CC = $(call interfaces_to_client_cc,$(CLIENT_INTERFACES_CC)) 38 39 # Normal source files. 40 41 SRC_CC_dstest_block_client = dstest_block_client.cc 42 43 SRC_CC_dstest_block_client_simple = dstest_block_client_simple.cc 44 45 SRC_CC_dstest_ext2fs_client = dstest_ext2fs_client.cc 46 47 SRC_CC_dstest_file_access = dstest_file_access.cc 48 49 SRC_CC_dstest_file_client = dstest_file_client.cc 50 51 SRC_CC_dstest_file_monitor = dstest_file_monitor.cc 52 53 SRC_CC_dstest_file_readdir = dstest_file_readdir.cc 54 55 SRC_CC_dstest_file_readdir_concurrent = dstest_file_readdir_concurrent.cc 56 57 SRC_CC_dstest_file_rename = dstest_file_rename.cc 58 59 SRC_CC_dstest_host_client = dstest_host_client.cc 60 61 SRC_CC_dstest_pipe_client = dstest_pipe_client.cc 62 63 SRC_CC_dstest_test_client = dstest_test_client.cc 64 65 SRC_CC_dstest_exec = dstest_exec.cc 66 67 PLAIN_SRC_CC_dstest_file_mapping = dstest_file_mapping.cc 68 SRC_CC_dstest_file_mapping = $(PLAIN_SRC_CC_dstest_file_mapping) $(CLIENT_INTERFACES_SRC_CC) 69 70 REQUIRES_LIBS = l4re_c-util libexec libfsclient libmem libipc libstdc++ libsystypes libe2access_blockserver 71 PRIVATE_INCDIR = $(IDL_BUILD_DIR) $(IDL_EXPORT_DIR) 72 73 include $(L4DIR)/mk/prog.mk 74 include $(IDL_MK_DIR)/interface_rules.mk 75 76 $(PLAIN_SRC_CC_dstest_file_mapping): $(CLIENT_INTERFACES_SRC_CC)