From a2206fb0a88bed573ef2a7ea379fce5b9c8b00be Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 11 Nov 2012 16:24:40 +0000 Subject: Partial change: Removing bash ARCHIVE loop git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5336 42af7a65-404d-4744-a932-0658087f49c3 --- apps/netutils/codecs/Makefile | 4 +--- apps/netutils/dhcpc/Makefile | 6 ++---- apps/netutils/dhcpd/Makefile | 6 ++---- apps/netutils/discover/Makefile | 4 +--- apps/netutils/ftpc/Makefile | 6 ++---- apps/netutils/ftpd/Makefile | 4 +--- apps/netutils/json/Makefile | 4 +--- apps/netutils/resolv/Makefile | 6 ++---- apps/netutils/smtp/Makefile | 6 ++---- apps/netutils/telnetd/Makefile | 4 +--- apps/netutils/tftpc/Makefile | 6 ++---- apps/netutils/thttpd/Makefile | 8 +++----- apps/netutils/uiplib/Makefile | 6 ++---- apps/netutils/webclient/Makefile | 6 ++---- apps/netutils/webserver/Makefile | 4 +--- apps/netutils/xmlrpc/Makefile | 4 +--- 16 files changed, 26 insertions(+), 58 deletions(-) (limited to 'apps/netutils') diff --git a/apps/netutils/codecs/Makefile b/apps/netutils/codecs/Makefile index d1b84d460..1b7a9aa5c 100644 --- a/apps/netutils/codecs/Makefile +++ b/apps/netutils/codecs/Makefile @@ -68,9 +68,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: diff --git a/apps/netutils/dhcpc/Makefile b/apps/netutils/dhcpc/Makefile index 29e5bd4f2..0207fff00 100644 --- a/apps/netutils/dhcpc/Makefile +++ b/apps/netutils/dhcpc/Makefile @@ -1,7 +1,7 @@ ############################################################################ # apps/netutils/dhcpc/Makefile # -# Copyright (C) 2011 Gregory Nutt. All rights reserved. +# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: diff --git a/apps/netutils/dhcpd/Makefile b/apps/netutils/dhcpd/Makefile index b05fe1c74..cf91c2390 100644 --- a/apps/netutils/dhcpd/Makefile +++ b/apps/netutils/dhcpd/Makefile @@ -1,7 +1,7 @@ ############################################################################ # apps/netutils/dhcpd/Makefile # -# Copyright (C) 2011 Gregory Nutt. All rights reserved. +# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: diff --git a/apps/netutils/discover/Makefile b/apps/netutils/discover/Makefile index 52099b439..609365f63 100644 --- a/apps/netutils/discover/Makefile +++ b/apps/netutils/discover/Makefile @@ -77,9 +77,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: diff --git a/apps/netutils/ftpc/Makefile b/apps/netutils/ftpc/Makefile index 723179131..0544ddb1a 100644 --- a/apps/netutils/ftpc/Makefile +++ b/apps/netutils/ftpc/Makefile @@ -1,7 +1,7 @@ ############################################################################ # apps/netutils/ftpc/Makefile # -# Copyright (C) 2011 Gregory Nutt. All rights reserved. +# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -90,9 +90,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: diff --git a/apps/netutils/ftpd/Makefile b/apps/netutils/ftpd/Makefile index 84e4f79a7..158159f54 100644 --- a/apps/netutils/ftpd/Makefile +++ b/apps/netutils/ftpd/Makefile @@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: diff --git a/apps/netutils/json/Makefile b/apps/netutils/json/Makefile index 1426a1a51..a0c99a471 100644 --- a/apps/netutils/json/Makefile +++ b/apps/netutils/json/Makefile @@ -68,9 +68,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: diff --git a/apps/netutils/resolv/Makefile b/apps/netutils/resolv/Makefile index 89744e323..423397f3f 100644 --- a/apps/netutils/resolv/Makefile +++ b/apps/netutils/resolv/Makefile @@ -1,7 +1,7 @@ ############################################################################ # apps/netutils/resolv/Makefile # -# Copyright (C) 2011 Gregory Nutt. All rights reserved. +# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: diff --git a/apps/netutils/smtp/Makefile b/apps/netutils/smtp/Makefile index 5a43d1c9d..01864da3b 100644 --- a/apps/netutils/smtp/Makefile +++ b/apps/netutils/smtp/Makefile @@ -1,7 +1,7 @@ ############################################################################ # apps/netutils/smtp/Makefile # -# Copyright (C) 2011 Gregory Nutt. All rights reserved. +# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: diff --git a/apps/netutils/telnetd/Makefile b/apps/netutils/telnetd/Makefile index fac6df571..a07a92b62 100644 --- a/apps/netutils/telnetd/Makefile +++ b/apps/netutils/telnetd/Makefile @@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: diff --git a/apps/netutils/tftpc/Makefile b/apps/netutils/tftpc/Makefile index 910046c11..d8fb88ad9 100644 --- a/apps/netutils/tftpc/Makefile +++ b/apps/netutils/tftpc/Makefile @@ -1,7 +1,7 @@ ############################################################################ # apps/netutils/tftpc/Makefile # -# Copyright (C) 2011 Gregory Nutt. All rights reserved. +# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: diff --git a/apps/netutils/thttpd/Makefile b/apps/netutils/thttpd/Makefile index f505125da..38f675043 100644 --- a/apps/netutils/thttpd/Makefile +++ b/apps/netutils/thttpd/Makefile @@ -1,7 +1,7 @@ ############################################################################# # apps/netutils/thttpd/Makefile # -# Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. +# Copyright (C) 2009, 2011-2012 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -106,11 +106,9 @@ cgi-bin/$(SUBDIR_BIN3): cgi-bin cgi-src/$(SUBDIR_BIN3) endif .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built - + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/uiplib/Makefile b/apps/netutils/uiplib/Makefile index c1b128c26..29e569b01 100644 --- a/apps/netutils/uiplib/Makefile +++ b/apps/netutils/uiplib/Makefile @@ -1,7 +1,7 @@ ############################################################################ # apps/netutils/uiplib/Makefile # -# Copyright (C) 2011 Gregory Nutt. All rights reserved. +# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -90,9 +90,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: diff --git a/apps/netutils/webclient/Makefile b/apps/netutils/webclient/Makefile index d999d47af..5fb6a2bb1 100644 --- a/apps/netutils/webclient/Makefile +++ b/apps/netutils/webclient/Makefile @@ -1,7 +1,7 @@ ############################################################################ # apps/netutils/webclient/Makefile # -# Copyright (C) 2011 Gregory Nutt. All rights reserved. +# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: diff --git a/apps/netutils/webserver/Makefile b/apps/netutils/webserver/Makefile index 4b1f2f9f3..965de73b2 100644 --- a/apps/netutils/webserver/Makefile +++ b/apps/netutils/webserver/Makefile @@ -81,9 +81,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: diff --git a/apps/netutils/xmlrpc/Makefile b/apps/netutils/xmlrpc/Makefile index 903506f46..3efdf0778 100644 --- a/apps/netutils/xmlrpc/Makefile +++ b/apps/netutils/xmlrpc/Makefile @@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $(BIN), $${obj}); \ - done ; ) + $(call ARCHIVE, $@, "$(OBJS)") @touch .built context: -- cgit v1.2.3