blob: d1d35670fb5253046f65aef8d806314b78ae8764 [file] [log] [blame]
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00001# Makefile for busybox
2#
3# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
4#
5# Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
6#
7
8lib-y:=
Denys Vlasenko4662de02009-12-11 02:21:10 +01009lib-$(CONFIG_UDHCPC) += common.o options.o packet.o \
Denis Vlasenko50664732007-02-27 21:15:08 +000010 signalpipe.o socket.o
Denys Vlasenko4662de02009-12-11 02:21:10 +010011lib-$(CONFIG_UDHCPD) += common.o options.o packet.o \
Denis Vlasenko50664732007-02-27 21:15:08 +000012 signalpipe.o socket.o
Denis Vlasenko223bc972007-11-22 00:58:49 +000013
Denys Vlasenko4662de02009-12-11 02:21:10 +010014lib-$(CONFIG_UDHCPC) += dhcpc.o clientpacket.o clientsocket.o \
Denis Vlasenko50664732007-02-27 21:15:08 +000015 script.o
Denis Vlasenko223bc972007-11-22 00:58:49 +000016
17UDHCPC_NEEDS_ARPING-$(CONFIG_FEATURE_UDHCPC_ARPING) = y
Denis Vlasenkob5591052007-11-22 20:09:41 +000018lib-$(UDHCPC_NEEDS_ARPING-y) += arpping.o
Denis Vlasenko223bc972007-11-22 00:58:49 +000019
Denys Vlasenko4662de02009-12-11 02:21:10 +010020lib-$(CONFIG_UDHCPD) += dhcpd.o arpping.o files.o leases.o \
Denis Vlasenko50664732007-02-27 21:15:08 +000021 serverpacket.o static_leases.o
Denis Vlasenko223bc972007-11-22 00:58:49 +000022
Denys Vlasenko4662de02009-12-11 02:21:10 +010023lib-$(CONFIG_DUMPLEASES) += dumpleases.o
24lib-$(CONFIG_DHCPRELAY) += dhcprelay.o
Denis Vlasenko35a064b2008-11-06 00:49:59 +000025lib-$(CONFIG_FEATURE_UDHCP_RFC3397) += domain_codec.o