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