L4Re/departure

Annotated tests/Makefile

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