Initial import from FreeBSD RELENG_4:
[games.git] / sbin / dhclient / Makefile
1 # Makefile for ISC DHCP client.
2 # $FreeBSD: src/sbin/dhclient/Makefile,v 1.6.2.7 2002/04/11 10:21:20 murray Exp $
3
4 SUBDIR= common dst minires omapip client
5
6
7 # Our directory structure confuses crunchgen, so we must explicitly
8 # list the requisite object files when building crunched binaries for
9 # release floppies.
10
11 .ifdef(RELEASE_CRUNCH)
12
13 # client
14 OBJS=  client/clparse.o client/dhclient.o
15
16 # common
17 OBJS+=  common/alloc.o common/bpf.o common/comapi.o common/conflex.o \
18         common/ctrace.o common/discover.o common/dispatch.o common/dlpi.o \
19         common/dns.o common/ethernet.o common/execute.o common/fddi.o \
20         common/icmp.o common/inet.o common/lpf.o common/memory.o \
21         common/nit.o common/options.o common/packet.o common/parse.o \
22         common/print.o common/raw.o common/resolv.o common/socket.o \
23         common/tables.o common/tr.o common/tree.o common/upf.o
24
25 # dst
26 OBJS+=  dst/base64.o dst/dst_api.o dst/dst_support.o dst/hmac_link.o \
27         dst/md5_dgst.o dst/prandom.o
28
29 # minires
30 OBJS+=  minires/ns_date.o minires/ns_name.o minires/ns_parse%FIXED.o \
31         minires/ns_samedomain.o minires/ns_sign.o minires/ns_verify.o \
32         minires/res_comp.o minires/res_findzonecut.o minires/res_init.o \
33         minires/res_mkquery.o minires/res_mkupdate.o minires/res_query%FIXED.o \
34         minires/res_send.o minires/res_sendsigned.o minires/res_update.o
35
36 # omapi
37 OBJS+=  omapip/alloc.o omapip/array.o omapip/auth.o omapip/buffer.o \
38         omapip/connection.o omapip/convert.o omapip/dispatch.o \
39         omapip/errwarn.o omapip/generic.o omapip/handle.o omapip/hash.o \
40         omapip/inet_addr.o omapip/listener.o omapip/message.o \
41         omapip/mrtrace.o omapip/protocol.o omapip/result.o \
42         omapip/support.o omapip/toisc.o omapip/trace.o
43
44 # src/release/Makefile (release.4) tries to invokes this makefile with
45 # the target set to the list of all objects defined above.  This
46 # top-level Makefile doesn't actually know how to build those objects
47 # though, so we must run ``make all'' instead when we are asked to
48 # generate an individual object file.
49
50 ${OBJS}: all
51
52 .endif
53
54 .include <bsd.subdir.mk>