aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-11 22:45:33 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-11 22:45:33 +0000
commit1f1c3f94853c4402bdf6b1996da8f920efc96779 (patch)
tree1f42c6c29a8b0f01b17e8697db6e8ad77a782555
parent54fde9ea5c114b57a059dc55c7cf7e7118fadb92 (diff)
downloadbusybox-w32-1f1c3f94853c4402bdf6b1996da8f920efc96779.tar.gz
busybox-w32-1f1c3f94853c4402bdf6b1996da8f920efc96779.tar.bz2
busybox-w32-1f1c3f94853c4402bdf6b1996da8f920efc96779.zip
Makefile rework coordinate with Russ so udhcp will behave
-Erik
-rw-r--r--networking/udhcp/Makefile.in24
1 files changed, 9 insertions, 15 deletions
diff --git a/networking/udhcp/Makefile.in b/networking/udhcp/Makefile.in
index 2cba96219..b595e5802 100644
--- a/networking/udhcp/Makefile.in
+++ b/networking/udhcp/Makefile.in
@@ -34,22 +34,16 @@ endif
34endif 34endif
35 35
36UDHCP-y:= 36UDHCP-y:=
37UDHCP-$(CONFIG_UDHCP_SHARED) += options.o socket.o packet.o pidfile.o 37UDHCP-$(CONFIG_UDHCP_SHARED) += options.c socket.c packet.c pidfile.c
38UDHCP-$(CONFIG_UDHCPC) += dhcpc.o clientpacket.o script.o 38UDHCP-$(CONFIG_UDHCPC) += dhcpc.c clientpacket.c script.c
39UDHCP-$(CONFIG_UDHCPD) += dhcpd.o arpping.o files.o leases.o serverpacket.o 39UDHCP-$(CONFIG_UDHCPD) += dhcpd.c arpping.c files.c leases.c serverpacket.c
40UDHCP-$(CONFIG_DUMPLEASES) += dumpleases.o 40UDHCP-$(CONFIG_DUMPLEASES) += dumpleases.c
41UDHCP_OBJS=$(patsubst %.c,$(UDHCP_DIR)%.o, $(UDHCP-y))
41 42
42libraries-y+=$(UDHCP_DIR)$(UDHCP_AR) 43libraries-y+=$(UDHCP_DIR)$(UDHCP_AR)
43 44
44$(UDHCP_DIR)$(UDHCP_AR): $(patsubst %,$(UDHCP_DIR)%, $(UDHCP-y)) 45$(UDHCP_DIR)$(UDHCP_AR): $(UDHCP_OBJS)
45 $(AR) -ro $@ $(patsubst %,$(UDHCP_DIR)%, $(UDHCP-y)) 46 $(AR) -ro $@ $(UDHCP_OBJS)
46
47$(UDHCP_DIR)dhcpc.o: $(UDHCP_DIR)dhcpc.c
48 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DCOMBINED_BINARY -c $< -o $@
49
50$(UDHCP_DIR)dhcpd.o: $(UDHCP_DIR)dhcpd.c
51 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DCOMBINED_BINARY -c $< -o $@
52
53$(UDHCP_DIR)dumpleases.o: $(UDHCP_DIR)dumpleases.c
54 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DCOMBINED_BINARY -c $< -o $@
55 47
48$(UDHCP_OBJS): $(patsubst %,$(UDHCP_DIR)%, $(UDHCP-y))
49 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DIN_BUSYBOX -c $< -o $@