dont use the -i option of xargs
[oweals/busybox.git] / Makefile
index a112e57810a0b504170b326dd5c5e1da1d98bbe7..d61d945a694f068050391c905453825162ff58b4 100644 (file)
--- a/Makefile
+++ b/Makefile
 TOPDIR:= $(shell /bin/pwd)/
 include $(TOPDIR).config
 include $(TOPDIR)Rules.mak
-SUBDIRS:=applets archival archival/libunarchive console-tools \
+SUBDIRS:=applets archival archival/libunarchive console-tools debianutils \
        editors fileutils findutils init miscutils modutils networking \
-       procps loginutils shell shellutils sysklogd \
-       textutils util-linux libbb libpwdgrp
+       networking/libiproute networking/udhcp procps loginutils shell \
+       shellutils sysklogd textutils util-linux libbb libpwdgrp
 
 all:    do-it-all
 
@@ -47,7 +47,7 @@ endif
 
 
 busybox: depend $(libraries-y)
-       $(CC) $(LDFLAGS) $(libraries-y) $(LIBRARIES) -o $@
+       $(CC) $(LDFLAGS) -o $@ $(libraries-y) $(LIBRARIES)
        $(STRIPCMD) $@
 
 busybox.links: applets/busybox.mkll
@@ -216,15 +216,15 @@ clean:
        - rm -f docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \
            docs/busybox.net/BusyBox.html
        - rm -f docs/busybox.txt docs/busybox.dvi docs/busybox.ps \
-           docs/busybox.pdf docs/busybox.net/busybox.html \
+           docs/busybox.pdf docs/busybox.pod docs/busybox.net/busybox.html \
            docs/busybox _install pod2htm* *.gdb *.elf *~ core
        - rm -f busybox busybox.links libbb/loop.h .config.old .hdepend
        - rm -f scripts/split-include scripts/mkdep .*config.log
        - rm -rf include/config include/config.h
-       - find -name .\*.flags -exec rm -f {} \;   
-       - find -name .depend -exec rm -f {} \;
-       - find -name \*.o -exec rm -f {} \;
-       - find -name \*.a -exec rm -f {} \;
+       - find -name .\*.flags -exec rm -f {} \;   
+       - find -name .depend -exec rm -f {} \;
+       - find -name \*.o -exec rm -f {} \;
+       - find -name \*.a -exec rm -f {} \;
 
 distclean: clean
        - rm -f busybox