diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-01 15:18:02 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-01 15:18:02 +0000 |
commit | bd032945c6126523c1f4ea6eb8d6f74f8b5d9274 (patch) | |
tree | 94c370a496bb4ff8f97cb81c1fe19f81e22f9875 /apps/netutils | |
parent | 37701ac70a3047f8f161628e6f59dfacc185233f (diff) | |
download | nuttx-bd032945c6126523c1f4ea6eb8d6f74f8b5d9274.tar.gz nuttx-bd032945c6126523c1f4ea6eb8d6f74f8b5d9274.tar.bz2 nuttx-bd032945c6126523c1f4ea6eb8d6f74f8b5d9274.zip |
Update apps/ Makefiles to fix environmental bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3450 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/netutils')
-rw-r--r-- | apps/netutils/dhcpc/Makefile | 7 | ||||
-rw-r--r-- | apps/netutils/dhcpd/Makefile | 7 | ||||
-rw-r--r-- | apps/netutils/resolv/Makefile | 7 | ||||
-rw-r--r-- | apps/netutils/smtp/Makefile | 7 | ||||
-rw-r--r-- | apps/netutils/telnetd/Makefile | 7 | ||||
-rw-r--r-- | apps/netutils/tftpc/Makefile | 7 | ||||
-rw-r--r-- | apps/netutils/thttpd/Makefile | 2 | ||||
-rw-r--r-- | apps/netutils/uiplib/Makefile | 7 | ||||
-rw-r--r-- | apps/netutils/webclient/Makefile | 7 | ||||
-rw-r--r-- | apps/netutils/webserver/Makefile | 7 |
10 files changed, 28 insertions, 37 deletions
diff --git a/apps/netutils/dhcpc/Makefile b/apps/netutils/dhcpc/Makefile index 6374933bf..da390acb3 100644 --- a/apps/netutils/dhcpc/Makefile +++ b/apps/netutils/dhcpc/Makefile @@ -61,6 +61,7 @@ ROOTDEPPATH = --dep-path . VPATH = all: .built +.PHONY: context depend clean distclean $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -68,13 +69,11 @@ $(AOBJS): %$(OBJEXT): %.S $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) -$(BIN): $(OBJS) +.built: $(OBJS) @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $@, $${obj}); \ + $(call ARCHIVE, $(BIN), $${obj}); \ done ; ) @touch .built - -.built: $(BIN) context: diff --git a/apps/netutils/dhcpd/Makefile b/apps/netutils/dhcpd/Makefile index 96857c6de..a03b24005 100644 --- a/apps/netutils/dhcpd/Makefile +++ b/apps/netutils/dhcpd/Makefile @@ -61,6 +61,7 @@ ROOTDEPPATH = --dep-path . VPATH = all: .built +.PHONY: context depend clean distclean $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -68,13 +69,11 @@ $(AOBJS): %$(OBJEXT): %.S $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) -$(BIN): $(OBJS) +.built: $(OBJS) @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $@, $${obj}); \ + $(call ARCHIVE, $(BIN), $${obj}); \ done ; ) @touch .built - -.built: $(BIN) context: diff --git a/apps/netutils/resolv/Makefile b/apps/netutils/resolv/Makefile index 1a9fa8e6f..84857e430 100644 --- a/apps/netutils/resolv/Makefile +++ b/apps/netutils/resolv/Makefile @@ -61,6 +61,7 @@ ROOTDEPPATH = --dep-path . VPATH = all: .built +.PHONY: context depend clean distclean $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -68,13 +69,11 @@ $(AOBJS): %$(OBJEXT): %.S $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) -$(BIN): $(OBJS) +.built: $(OBJS) @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $@, $${obj}); \ + $(call ARCHIVE, $(BIN), $${obj}); \ done ; ) @touch .built - -.built: $(BIN) context: diff --git a/apps/netutils/smtp/Makefile b/apps/netutils/smtp/Makefile index 245188e9d..682b3311d 100644 --- a/apps/netutils/smtp/Makefile +++ b/apps/netutils/smtp/Makefile @@ -61,6 +61,7 @@ ROOTDEPPATH = --dep-path . VPATH = all: .built +.PHONY: context depend clean distclean $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -68,13 +69,11 @@ $(AOBJS): %$(OBJEXT): %.S $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) -$(BIN): $(OBJS) +.built: $(OBJS) @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $@, $${obj}); \ + $(call ARCHIVE, $(BIN), $${obj}); \ done ; ) @touch .built - -.built: $(BIN) context: diff --git a/apps/netutils/telnetd/Makefile b/apps/netutils/telnetd/Makefile index 736f1e130..7fb0ffa47 100644 --- a/apps/netutils/telnetd/Makefile +++ b/apps/netutils/telnetd/Makefile @@ -61,6 +61,7 @@ ROOTDEPPATH = --dep-path . VPATH = all: .built +.PHONY: context depend clean distclean $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -68,13 +69,11 @@ $(AOBJS): %$(OBJEXT): %.S $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) -$(BIN): $(OBJS) +.built: $(OBJS) @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $@, $${obj}); \ + $(call ARCHIVE, $(BIN), $${obj}); \ done ; ) @touch .built - -.built: $(BIN) context: diff --git a/apps/netutils/tftpc/Makefile b/apps/netutils/tftpc/Makefile index b4b8e80b3..d6a724e79 100644 --- a/apps/netutils/tftpc/Makefile +++ b/apps/netutils/tftpc/Makefile @@ -63,6 +63,7 @@ ROOTDEPPATH = --dep-path . VPATH = all: .built +.PHONY: context depend clean distclean $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -70,13 +71,11 @@ $(AOBJS): %$(OBJEXT): %.S $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) -$(BIN): $(OBJS) +.built: $(OBJS) @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $@, $${obj}); \ + $(call ARCHIVE, $(BIN), $${obj}); \ done ; ) @touch .built - -.built: $(BIN) context: diff --git a/apps/netutils/thttpd/Makefile b/apps/netutils/thttpd/Makefile index 375484379..ec0df4ba6 100644 --- a/apps/netutils/thttpd/Makefile +++ b/apps/netutils/thttpd/Makefile @@ -95,7 +95,7 @@ cgi-bin/$(SUBDIR_BIN3): cgi-bin cgi-src/$(SUBDIR_BIN3) @cp -a cgi-src/$(SUBDIR_BIN3) $@ endif -$(BIN): $(OBJS) +.built: $(OBJS) @( for obj in $(OBJS) ; do \ $(call ARCHIVE, $@, $${obj}); \ done ; ) diff --git a/apps/netutils/uiplib/Makefile b/apps/netutils/uiplib/Makefile index ef41adda3..aed228bde 100644 --- a/apps/netutils/uiplib/Makefile +++ b/apps/netutils/uiplib/Makefile @@ -70,6 +70,7 @@ ROOTDEPPATH = --dep-path . VPATH = all: .built +.PHONY: context depend clean distclean $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -77,13 +78,11 @@ $(AOBJS): %$(OBJEXT): %.S $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) -$(BIN): $(OBJS) +.built: $(OBJS) @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $@, $${obj}); \ + $(call ARCHIVE, $(BIN), $${obj}); \ done ; ) @touch .built - -.built: $(BIN) context: diff --git a/apps/netutils/webclient/Makefile b/apps/netutils/webclient/Makefile index f0fb805bd..3174e0ce2 100644 --- a/apps/netutils/webclient/Makefile +++ b/apps/netutils/webclient/Makefile @@ -61,6 +61,7 @@ ROOTDEPPATH = --dep-path . VPATH = all: .built +.PHONY: context depend clean distclean $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -68,13 +69,11 @@ $(AOBJS): %$(OBJEXT): %.S $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) -$(BIN): $(OBJS) +.built: $(OBJS) @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $@, $${obj}); \ + $(call ARCHIVE, $(BIN), $${obj}); \ done ; ) @touch .built - -.built: $(BIN) context: diff --git a/apps/netutils/webserver/Makefile b/apps/netutils/webserver/Makefile index a836f48ac..545079550 100644 --- a/apps/netutils/webserver/Makefile +++ b/apps/netutils/webserver/Makefile @@ -61,6 +61,7 @@ ROOTDEPPATH = --dep-path . VPATH = all: .built +.PHONY: context depend clean distclean $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -68,13 +69,11 @@ $(AOBJS): %$(OBJEXT): %.S $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) -$(BIN): $(OBJS) +.built: $(OBJS) @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $@, $${obj}); \ + $(call ARCHIVE, $(BIN), $${obj}); \ done ; ) @touch .built - -.built: $(BIN) context: |