blob: c4fb0e9119d2995db895ec9c079797859781e366 [file] [log] [blame]
Erik Andersen029011b2000-03-04 21:19:32 +00001# busybox/tests/Makefile - Run through all defined tests.
2# ------------------------
3# Copyright (C) 2000 Karl M. Hegbloom <karlheg@debian.org> GPL
Erik Andersenfac10d72000-02-07 05:29:42 +00004
Erik Andersen029011b2000-03-04 21:19:32 +00005all:: message_header
Erik Andersenfac10d72000-02-07 05:29:42 +00006
7message_header:
8 @echo
Erik Andersen029011b2000-03-04 21:19:32 +00009 @echo BusyBox Test Suite.
Erik Andersenfac10d72000-02-07 05:29:42 +000010 @echo
11
Erik Andersen029011b2000-03-04 21:19:32 +000012clean::
13
14distclean: clean
15
16.PHONY: all clean distclean message_header
17
18include $(wildcard *_tests.mk)
Erik Andersenfac10d72000-02-07 05:29:42 +000019
20BBL := $(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 Andersen029011b2000-03-04 21:19:32 +000029${BBL}: ../busybox
Erik Andersenfac10d72000-02-07 05:29:42 +000030 rm -f $@
31 ln ../busybox $@