Typo fix.
[oweals/busybox.git] / Makefile
index 974048fb932aef41d99147fef2470138a7c7e3c3..7bf72f232bf9a7d759caeb3b70ee8ce48f77ece2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ vpath %/Config.in $(srctree)
 
 DIRS:=applets archival archival/libunarchive coreutils console-tools \
        debianutils editors findutils init miscutils modutils networking \
-       networking/libiproute procps loginutils shell \
+       networking/libiproute networking/udhcp procps loginutils shell \
        sysklogd util-linux e2fsprogs libpwdgrp coreutils/libcoreutils libbb
 
 SRC_DIRS:=$(patsubst %,$(top_srcdir)/%,$(DIRS))
@@ -132,6 +132,7 @@ help:
        @echo '  uninstall'
        @echo
        @echo 'Development:'
+       @echo '  bloatcheck             - show size difference between old and new versions'
        @echo '  check                  - run the test suite for all applets'
        @echo '  checkhelp              - check for missing help-entries in Config.in'
        @echo '  randconfig             - generate a random configuration'
@@ -358,6 +359,9 @@ checkhelp:
 .PHONY: sizes
 sizes: busybox_unstripped
        $(NM) --size-sort $(<)
+.PHONY: bloatcheck
+bloatcheck: busybox_old busybox_unstripped
+       @$(top_srcdir)/scripts/bloat-o-meter busybox_old busybox_unstripped
 
 .PHONY: objsizes
 objsizes: busybox_unstripped
@@ -445,9 +449,10 @@ clean:
            -o -name \*.os -o -name \*.osm -o -name \*.a | xargs rm -f
 
 distclean: clean
-       - rm -f scripts/bb_mkdep
-       - rm -r -f include/config $(DEP_INCLUDES)
-       - find . -name .depend'*' | xargs rm -f
+       rm -f scripts/bb_mkdep scripts/usage
+       rm -r -f include/config include/_usage.h include/config.h $(DEP_INCLUDES)
+       find . -name .depend'*' -print0 | xargs -0 rm -f
+       rm -f .hdepend
        rm -f .config .config.old .config.cmd
 
 release: distclean #doc