1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
include ../Include.make
ALL_FILES = tomoyo_accept_test tomoyo_argv0_test tomoyo_bprm_test \
tomoyo_cond_test tomoyo_env_test tomoyo_filesystem_test \
tomoyo_file_test tomoyo_network_test tomoyo_new_file_test \
tomoyo_new_network_test tomoyo_new_test tomoyo_policy_io_test \
tomoyo_policy_memory_test tomoyo_rewrite_test tomoyo_transition_test \
newns
all: $(ALL_FILES)
chmod 755 testall.sh
$(ALL_FILES): include.h
#
# Tools for kernel testing.
#
BINDIR = '"'$(shell readlink -f /bin)'"'
.c:
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -DBINDIR=$(BINDIR) -o $@ $<
#
# Delete all test programs.
#
clean:
rm -f $(ALL_FILES)
|