1999-01-10 00:18:32 +00:00
|
|
|
# Makefile for in place build of BIRD
|
2000-05-05 17:15:56 +00:00
|
|
|
# (c) 1999--2000 Martin Mares <mj@ucw.cz>
|
1999-01-10 00:18:32 +00:00
|
|
|
|
|
|
|
objdir=@objdir@
|
|
|
|
|
2015-03-23 16:40:13 +00:00
|
|
|
all depend tags install install-docs tests:
|
1999-01-10 00:18:32 +00:00
|
|
|
$(MAKE) -C $(objdir) $@
|
|
|
|
|
2000-05-31 11:36:21 +00:00
|
|
|
docs userdocs progdocs:
|
|
|
|
$(MAKE) -C doc $@
|
|
|
|
|
2015-03-23 16:40:13 +00:00
|
|
|
check: tests
|
2015-03-27 13:01:30 +00:00
|
|
|
tools/run_tests.sh "@objdir@" "@srcdir@"
|
2015-03-13 17:23:31 +00:00
|
|
|
|
2015-04-03 10:40:07 +00:00
|
|
|
clean: clean-tests
|
1999-01-10 00:18:32 +00:00
|
|
|
$(MAKE) -C $(objdir) clean
|
1999-05-31 17:39:44 +00:00
|
|
|
find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name depend -or -name ".#*" | xargs rm -f
|
1999-01-10 00:18:32 +00:00
|
|
|
|
|
|
|
distclean: clean
|
2000-06-09 06:31:43 +00:00
|
|
|
$(MAKE) -C doc distclean
|
2004-05-31 15:13:56 +00:00
|
|
|
rm -rf $(objdir) autom4te.cache
|
2000-05-08 14:19:47 +00:00
|
|
|
rm -f config.* configure sysdep/autoconf.h sysdep/paths.h Makefile
|
2004-05-31 15:13:56 +00:00
|
|
|
|
2015-04-03 10:40:07 +00:00
|
|
|
clean-tests:
|
2015-04-13 08:33:04 +00:00
|
|
|
find . -name '*_test' | xargs rm -f
|
|
|
|
rm -f $(objdir)/test/birdtest.o
|