1# Makefile for ISC DHCP client.
| 1# Makefile for ISC DHCP client.
|
2# $FreeBSD: head/sbin/dhclient/Makefile 112584 2003-03-25 03:16:53Z mdodd $
| 2# $FreeBSD: head/sbin/dhclient/Makefile 117036 2003-06-29 18:46:18Z gordon $
|
3 4SUBDIR= common dst minires omapip dhcpctl client omshell 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 13CFLAGS+=-I../../contrib/isc-dhcp/includes 14 15# client 16OBJS= client/clparse.o client/dhclient.o 17 18# common 19OBJS+= common/alloc.o common/bpf.o common/comapi.o common/conflex.o \ 20 common/ctrace.o common/discover.o common/dispatch.o common/dlpi.o \ 21 common/dns.o common/ethernet.o common/execute.o common/fddi.o \ 22 common/icmp.o common/inet.o common/lpf.o common/memory.o \ 23 common/nit.o common/options.o common/packet.o common/parse.o \ 24 common/print.o common/raw.o common/resolv.o common/socket.o \ 25 common/tables.o common/tr.o common/tree.o common/upf.o 26 27# dst 28OBJS+= dst/base64.o dst/dst_api.o dst/dst_support.o dst/hmac_link.o \ 29 dst/md5_dgst.o dst/prandom.o 30 31# minires 32OBJS+= minires/ns_date.o minires/ns_name.o minires/ns_parse%FIXED.o \ 33 minires/ns_samedomain.o minires/ns_sign.o minires/ns_verify.o \ 34 minires/res_comp.o minires/res_findzonecut.o minires/res_init.o \ 35 minires/res_mkquery.o minires/res_mkupdate.o minires/res_query%FIXED.o \ 36 minires/res_send.o minires/res_sendsigned.o minires/res_update.o 37 38# omapi 39OBJS+= omapip/alloc.o omapip/array.o omapip/auth.o omapip/buffer.o \ 40 omapip/connection.o omapip/convert.o omapip/dispatch.o \ 41 omapip/errwarn.o omapip/generic.o omapip/handle.o omapip/hash.o \ 42 omapip/inet_addr.o omapip/listener.o omapip/message.o \ 43 omapip/mrtrace.o omapip/protocol.o omapip/result.o \ 44 omapip/support.o omapip/toisc.o omapip/trace.o 45 46# dhcpctl 47OBJS+= dhcpctl/dhcpctl.o dhcpctl/callback.o dhcpctl/remote.o 48 49# src/release/Makefile (release.4) tries to invokes this makefile with 50# the target set to the list of all objects defined above. This 51# top-level Makefile doesn't actually know how to build those objects 52# though, so we must run ``make all'' instead when we are asked to 53# generate an individual object file. 54
| 3 4SUBDIR= common dst minires omapip dhcpctl client omshell 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 13CFLAGS+=-I../../contrib/isc-dhcp/includes 14 15# client 16OBJS= client/clparse.o client/dhclient.o 17 18# common 19OBJS+= common/alloc.o common/bpf.o common/comapi.o common/conflex.o \ 20 common/ctrace.o common/discover.o common/dispatch.o common/dlpi.o \ 21 common/dns.o common/ethernet.o common/execute.o common/fddi.o \ 22 common/icmp.o common/inet.o common/lpf.o common/memory.o \ 23 common/nit.o common/options.o common/packet.o common/parse.o \ 24 common/print.o common/raw.o common/resolv.o common/socket.o \ 25 common/tables.o common/tr.o common/tree.o common/upf.o 26 27# dst 28OBJS+= dst/base64.o dst/dst_api.o dst/dst_support.o dst/hmac_link.o \ 29 dst/md5_dgst.o dst/prandom.o 30 31# minires 32OBJS+= minires/ns_date.o minires/ns_name.o minires/ns_parse%FIXED.o \ 33 minires/ns_samedomain.o minires/ns_sign.o minires/ns_verify.o \ 34 minires/res_comp.o minires/res_findzonecut.o minires/res_init.o \ 35 minires/res_mkquery.o minires/res_mkupdate.o minires/res_query%FIXED.o \ 36 minires/res_send.o minires/res_sendsigned.o minires/res_update.o 37 38# omapi 39OBJS+= omapip/alloc.o omapip/array.o omapip/auth.o omapip/buffer.o \ 40 omapip/connection.o omapip/convert.o omapip/dispatch.o \ 41 omapip/errwarn.o omapip/generic.o omapip/handle.o omapip/hash.o \ 42 omapip/inet_addr.o omapip/listener.o omapip/message.o \ 43 omapip/mrtrace.o omapip/protocol.o omapip/result.o \ 44 omapip/support.o omapip/toisc.o omapip/trace.o 45 46# dhcpctl 47OBJS+= dhcpctl/dhcpctl.o dhcpctl/callback.o dhcpctl/remote.o 48 49# src/release/Makefile (release.4) tries to invokes this makefile with 50# the target set to the list of all objects defined above. This 51# top-level Makefile doesn't actually know how to build those objects 52# though, so we must run ``make all'' instead when we are asked to 53# generate an individual object file. 54
|
| 55# Note: Must have some commands here to override the default build action
|
55${OBJS}: all
| 56${OBJS}: all
|
56
| 57 @true
|
57.endif 58 59.include <bsd.subdir.mk>
| 58.endif 59 60.include <bsd.subdir.mk>
|