mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
26 lines
676 B
Plaintext
26 lines
676 B
Plaintext
# Makefile for in place build of BIRD
|
|
# (c) 1999--2000 Martin Mares <mj@ucw.cz>
|
|
|
|
objdir=@objdir@
|
|
|
|
all depend tags install install-docs tests:
|
|
$(MAKE) -C $(objdir) $@
|
|
|
|
docs userdocs progdocs:
|
|
$(MAKE) -C doc $@
|
|
|
|
check: tests
|
|
tools/run_tests.sh "@objdir@" "@srcdir@"
|
|
|
|
clean: clean-tests
|
|
$(MAKE) -C $(objdir) clean
|
|
find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name depend -or -name ".#*" | xargs rm -f
|
|
|
|
distclean: clean
|
|
$(MAKE) -C doc distclean
|
|
rm -rf $(objdir) autom4te.cache
|
|
rm -f config.* configure sysdep/autoconf.h sysdep/paths.h Makefile
|
|
|
|
clean-tests:
|
|
find . -name '*_test' | xargs rm -f
|
|
rm -f $(objdir)/test/birdtest.o |