diff options
author | Glenn L McGrath | 2003-06-10 17:22:49 +0000 |
---|---|---|
committer | Glenn L McGrath | 2003-06-10 17:22:49 +0000 |
commit | 24833430bc2dbea733c3b0b9ea6c6b976f95474a (patch) | |
tree | 805a4197b8a0d36eaa6880dfc23d8c2539359fe9 /networking/udhcp/Makefile.in | |
parent | 6c43f743a3f607f91ee22a53db880fce2df645f0 (diff) | |
download | busybox-24833430bc2dbea733c3b0b9ea6c6b976f95474a.zip busybox-24833430bc2dbea733c3b0b9ea6c6b976f95474a.tar.gz |
Vodz, last_patch_88
Diffstat (limited to 'networking/udhcp/Makefile.in')
-rw-r--r-- | networking/udhcp/Makefile.in | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/networking/udhcp/Makefile.in b/networking/udhcp/Makefile.in index 369308e..5d6176b 100644 --- a/networking/udhcp/Makefile.in +++ b/networking/udhcp/Makefile.in @@ -33,11 +33,22 @@ CONFIG_UDHCP_SHARED=n endif endif +ifeq ($(CONFIG_UDHCPD), y) +CONFIG_UDHCP_LEASES_FILE=y +else +ifeq ($(CONFIG_UDHCPD), y) +CONFIG_UDHCP_LEASES_FILE=y +else +CONFIG_UDHCP_LEASES_FILE=n +endif +endif + UDHCP-y:= -UDHCP-$(CONFIG_UDHCP_SHARED) += options.c socket.c packet.c pidfile.c +UDHCP-$(CONFIG_UDHCP_SHARED) += options.c socket.c packet.c common.c UDHCP-$(CONFIG_UDHCPC) += dhcpc.c clientpacket.c script.c UDHCP-$(CONFIG_UDHCPD) += dhcpd.c arpping.c files.c leases.c serverpacket.c UDHCP-$(CONFIG_DUMPLEASES) += dumpleases.c +UDHCP-$(CONFIG_UDHCP_LEASES_FILE) += leases_file.c UDHCP_OBJS=$(patsubst %.c,$(UDHCP_DIR)%.o, $(UDHCP-y)) libraries-y+=$(UDHCP_DIR)$(UDHCP_AR) @@ -46,5 +57,5 @@ $(UDHCP_DIR)$(UDHCP_AR): $(UDHCP_OBJS) $(AR) -ro $@ $(UDHCP_OBJS) $(UDHCP_OBJS): %.o : %.c - $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DIN_BUSYBOX -c $< -o $@ + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c $< -o $@ |