3 # Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
4 # Copyright (c) 1996-2003 by Internet Software Consortium
6 # Permission to use, copy, modify, and distribute this software for any
7 # purpose with or without fee is hereby granted, provided that the above
8 # copyright notice and this permission notice appear in all copies.
10 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
16 # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 # Internet Systems Consortium, Inc.
20 # Redwood City, CA 94063
24 CATMANPAGES = dhcpctl.cat3
25 SEDMANPAGES = dhcpctl.man3
27 SRC = res_mkupdate.c res_init.c res_update.c res_send.c res_comp.c \
28 res_sendsigned.c res_findzonecut.c res_query.c res_mkquery.c \
29 ns_date.c ns_parse.c ns_sign.c ns_name.c ns_samedomain.c ns_verify.c
30 OBJ = res_mkupdate.o res_init.o res_update.o res_send.o res_comp.o \
31 res_sendsigned.o res_findzonecut.o res_query.o res_mkquery.o \
32 ns_date.o ns_parse.o ns_sign.o ns_name.o ns_samedomain.o ns_verify.o
34 INCLUDES = $(BINDINC) -I$(TOP)/includes
35 CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) -DHMAC_MD5 -DMINIRES_LIB
43 ar cruv libres.a $(OBJ)
47 $(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRC)
50 -rm -f $(OBJ) libres.a
53 -rm -f *~ $(CATMANPAGES) $(SEDMANPAGES)
59 @for foo in $(SRC) $(MAN) $(HDRS); do \
60 if [ ! -b $$foo ]; then \
63 ln -s $(TOP)/minires/$$foo $$foo; \
66 dhcpctl.cat3: dhcpctl.man3
67 nroff -man dhcpctl.man3 >dhcpctl.cat3
69 dhcpctl.man3: dhcpctl.3
70 sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
71 -e "s#RUNDIR#$(VARRUN)#g" < dhcpctl.3 >dhcpctl.man3
73 # Dependencies (semi-automatically-generated)