Erik Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 1 | # busybox/tests/Makefile - Run through all defined tests. |
| 2 | # ------------------------ |
| 3 | # Copyright (C) 2000 Karl M. Hegbloom <karlheg@debian.org> GPL |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 4 | |
Erik Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 5 | all:: message_header |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 6 | |
| 7 | message_header: |
| 8 | @echo |
Erik Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 9 | @echo BusyBox Test Suite. |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 10 | @echo |
| 11 | |
Erik Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 12 | clean:: |
| 13 | |
| 14 | distclean: clean |
| 15 | |
| 16 | .PHONY: all clean distclean message_header |
| 17 | |
| 18 | include $(wildcard *_tests.mk) |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 19 | |
| 20 | BBL := $(shell pushd .. >/dev/null && \ |
| 21 | ${MAKE} busybox.links >/dev/null && \ |
| 22 | popd >/dev/null && \ |
| 23 | cat ../busybox.links | \ |
| 24 | sed -e 's,.*/\(.*\)$$,\1,') |
| 25 | |
| 26 | ../busybox: |
| 27 | cd .. && ${MAKE} busybox |
| 28 | |
Erik Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 29 | ${BBL}: ../busybox |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 30 | rm -f $@ |
| 31 | ln ../busybox $@ |