1 # SPDX-License-Identifier: GPL-2.0
4 CFLAGS += -D_GNU_SOURCE
6 TEST_PROGS := binfmt_script non-regular
7 TEST_GEN_PROGS := execveat
8 TEST_GEN_FILES := execveat.symlink execveat.denatured script subdir pipe
9 # Makefile is a run-time dependency, since it's accessed by the execveat test
10 TEST_FILES := Makefile
12 TEST_GEN_PROGS += recursion-depth
14 EXTRA_CLEAN := $(OUTPUT)/subdir.moved $(OUTPUT)/execveat.moved $(OUTPUT)/xxxxx* \
25 $(OUTPUT)/execveat.symlink: $(OUTPUT)/execveat
26 cd $(OUTPUT) && ln -s -f $(shell basename $<) $(shell basename $@)
27 $(OUTPUT)/execveat.denatured: $(OUTPUT)/execveat