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 19 MODE = static 20 21 # Locations for interface input and generated output. 22 23 IDL_DIR = $(PKGDIR)/../libsystypes/idl 24 IDL_MK_DIR = $(L4DIR)/idl4re/mk 25 IDL_BUILD_DIR = . 26 IDL_EXPORT_DIR = . 27 28 include $(IDL_MK_DIR)/idl.mk 29 30 # Individual interfaces. 31 32 CLIENT_INTERFACES_CC = system_pager 33 34 SERVER_INTERFACES_CC = system_pager 35 36 # Generated and plain source files. 37 38 CLIENT_INTERFACES_SRC_CC = $(call interfaces_to_client_cc,$(CLIENT_INTERFACES_CC)) 39 40 SERVER_INTERFACES_SRC_CC = $(call interfaces_to_server_cc,$(SERVER_INTERFACES_CC)) 41 42 # Normal source files. 43 44 SRC_CC_dstest_block_client = dstest_block_client.cc 45 46 SRC_CC_dstest_block_client_simple = dstest_block_client_simple.cc 47 48 SRC_CC_dstest_ext2fs_client = dstest_ext2fs_client.cc 49 50 SRC_CC_dstest_file_access = dstest_file_access.cc 51 52 SRC_CC_dstest_file_client = dstest_file_client.cc 53 54 SRC_CC_dstest_file_monitor = dstest_file_monitor.cc 55 56 SRC_CC_dstest_file_readdir = dstest_file_readdir.cc 57 58 SRC_CC_dstest_file_readdir_concurrent = dstest_file_readdir_concurrent.cc 59 60 SRC_CC_dstest_file_rename = dstest_file_rename.cc 61 62 SRC_CC_dstest_host_client = dstest_host_client.cc 63 64 SRC_CC_dstest_pipe_client = dstest_pipe_client.cc 65 66 SRC_CC_dstest_test_client = dstest_test_client.cc 67 68 PLAIN_SRC_CC_dstest_exec = dstest_exec.cc 69 SRC_CC_dstest_exec = $(PLAIN_SRC_CC_dstest_exec) $(SERVER_INTERFACES_SRC_CC) \ 70 $(CLIENT_INTERFACES_SRC_CC) 71 72 REQUIRES_LIBS = l4re_c-util libfsclient libmem libipc libstdc++ libsystypes libe2access_blockserver 73 PRIVATE_INCDIR = $(IDL_BUILD_DIR) $(IDL_EXPORT_DIR) 74 75 include $(L4DIR)/mk/prog.mk 76 include $(IDL_MK_DIR)/interface_rules.mk 77 78 $(PLAIN_SRC_CC_dstest_exec): $(SERVER_INTERFACES_SRC_CC) $(CLIENT_INTERFACES_SRC_CC)