Lines Matching +full:test +full:- +full:rules
1 # This mimics the top-level Makefile. We do it explicitly here so that this
17 # The following are built by lib.mk common compile rules.
20 # TEST_PROGS are for test shell scripts.
36 # Invoke headers install with --no-builtin-rules to avoid circular
38 # make inherits builtin-rules which will use the rule generate
40 # "Circular Makefile.o <- prepare dependency dropped."
41 # and headers_install fails and test compile fails.
43 # invokes them as sub-makes and --no-builtin-rules is not necessary,
47 # when test Makefile is run directly with "make -C".
55 $(MAKE) --no-builtin-rules ARCH=$(ARCH) -C $(top_srcdir) headers_install
57 $(MAKE) --no-builtin-rules INSTALL_HDR_PATH=$$OUTPUT/usr \
58 ARCH=$(ARCH) -C $(top_srcdir) headers_install
79 rsync -aq $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) $(OUTPUT); \
92 $(if $(INSTALL_LIST),@mkdir -p $(INSTALL_PATH))
93 $(if $(INSTALL_LIST),rsync -a $(INSTALL_LIST) $(INSTALL_PATH)/)
114 for TEST in $(TEST_GEN_PROGS) $(TEST_CUSTOM_PROGS) $(TEST_PROGS); do \
115 BASENAME_TEST=`basename $$TEST`; \
121 RM := rm -f
125 $(RM) -r $(TEST_GEN_PROGS) $(TEST_GEN_PROGS_EXTENDED) $(TEST_GEN_FILES) $(EXTRA_CLEAN)
132 # make USERCFLAGS=-Werror USERLDFLAGS=-static
141 COMPILE.S = $(CC) $(ASFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
150 $(LINK.c) $(filter-out $(LOCAL_HDRS),$^) $(LDLIBS) -o $@
153 $(COMPILE.S) $^ -o $@
156 $(LINK.S) $^ $(LDLIBS) -o $@