From 24833430bc2dbea733c3b0b9ea6c6b976f95474a Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Tue, 10 Jun 2003 17:22:49 +0000 Subject: Vodz, last_patch_88 --- networking/udhcp/Makefile.in | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'networking/udhcp/Makefile.in') diff --git a/networking/udhcp/Makefile.in b/networking/udhcp/Makefile.in index 369308e8d..5d6176bab 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 $@ -- cgit v1.2.3