2002-02-19 12:57:18 +00:00
|
|
|
# Makefile for ISC DHCP client.
|
1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1999-02-10 20:51:22 +00:00
|
|
|
|
2003-03-25 03:16:53 +00:00
|
|
|
SUBDIR= common dst minires omapip dhcpctl client omshell
|
1999-02-18 09:38:18 +00:00
|
|
|
|
2002-02-26 15:12:54 +00:00
|
|
|
|
|
|
|
# Our directory structure confuses crunchgen, so we must explicitly
|
|
|
|
# list the requisite object files when building crunched binaries for
|
|
|
|
# release floppies.
|
|
|
|
|
|
|
|
.ifdef(RELEASE_CRUNCH)
|
|
|
|
|
2003-03-25 03:13:57 +00:00
|
|
|
CFLAGS+=-I../../contrib/isc-dhcp/includes
|
|
|
|
|
2002-02-26 15:12:54 +00:00
|
|
|
# client
|
|
|
|
OBJS= client/clparse.o client/dhclient.o
|
|
|
|
|
|
|
|
# common
|
2002-02-28 00:02:33 +00:00
|
|
|
OBJS+= common/alloc.o common/bpf.o common/comapi.o common/conflex.o \
|
|
|
|
common/ctrace.o common/discover.o common/dispatch.o common/dlpi.o \
|
|
|
|
common/dns.o common/ethernet.o common/execute.o common/fddi.o \
|
|
|
|
common/icmp.o common/inet.o common/lpf.o common/memory.o \
|
|
|
|
common/nit.o common/options.o common/packet.o common/parse.o \
|
|
|
|
common/print.o common/raw.o common/resolv.o common/socket.o \
|
|
|
|
common/tables.o common/tr.o common/tree.o common/upf.o
|
2002-02-26 15:12:54 +00:00
|
|
|
|
|
|
|
# dst
|
|
|
|
OBJS+= dst/base64.o dst/dst_api.o dst/dst_support.o dst/hmac_link.o \
|
|
|
|
dst/md5_dgst.o dst/prandom.o
|
|
|
|
|
|
|
|
# minires
|
|
|
|
OBJS+= minires/ns_date.o minires/ns_name.o minires/ns_parse%FIXED.o \
|
|
|
|
minires/ns_samedomain.o minires/ns_sign.o minires/ns_verify.o \
|
|
|
|
minires/res_comp.o minires/res_findzonecut.o minires/res_init.o \
|
2002-02-28 16:17:18 +00:00
|
|
|
minires/res_mkquery.o minires/res_mkupdate.o minires/res_query%FIXED.o \
|
2002-02-26 15:12:54 +00:00
|
|
|
minires/res_send.o minires/res_sendsigned.o minires/res_update.o
|
|
|
|
|
|
|
|
# omapi
|
|
|
|
OBJS+= omapip/alloc.o omapip/array.o omapip/auth.o omapip/buffer.o \
|
|
|
|
omapip/connection.o omapip/convert.o omapip/dispatch.o \
|
|
|
|
omapip/errwarn.o omapip/generic.o omapip/handle.o omapip/hash.o \
|
|
|
|
omapip/inet_addr.o omapip/listener.o omapip/message.o \
|
|
|
|
omapip/mrtrace.o omapip/protocol.o omapip/result.o \
|
|
|
|
omapip/support.o omapip/toisc.o omapip/trace.o
|
|
|
|
|
2003-03-25 03:16:53 +00:00
|
|
|
# dhcpctl
|
|
|
|
OBJS+= dhcpctl/dhcpctl.o dhcpctl/callback.o dhcpctl/remote.o
|
|
|
|
|
2002-02-26 15:12:54 +00:00
|
|
|
# src/release/Makefile (release.4) tries to invokes this makefile with
|
|
|
|
# the target set to the list of all objects defined above. This
|
|
|
|
# top-level Makefile doesn't actually know how to build those objects
|
|
|
|
# though, so we must run ``make all'' instead when we are asked to
|
|
|
|
# generate an individual object file.
|
|
|
|
|
2003-06-29 18:46:18 +00:00
|
|
|
# Note: Must have some commands here to override the default build action
|
2002-02-26 15:12:54 +00:00
|
|
|
${OBJS}: all
|
2003-06-29 18:46:18 +00:00
|
|
|
@true
|
2002-02-26 15:12:54 +00:00
|
|
|
.endif
|
|
|
|
|
2002-02-19 12:57:18 +00:00
|
|
|
.include <bsd.subdir.mk>
|