]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - contrib/bind9/lib/bind/Makefile.in
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / contrib / bind9 / lib / bind / Makefile.in
1 # Copyright (C) 2004-2006  Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 2001-2003  Internet Software Consortium.
3 #
4 # Permission to use, copy, modify, and distribute this software for any
5 # purpose with or without fee is hereby granted, provided that the above
6 # copyright notice and this permission notice appear in all copies.
7 #
8 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 # AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 # PERFORMANCE OF THIS SOFTWARE.
15
16 # $Id: Makefile.in,v 1.22.18.7 2006/06/24 00:25:39 marka Exp $
17
18 srcdir =        @srcdir@
19 VPATH =         @srcdir@
20 top_srcdir =    @top_srcdir@
21
22
23 @LIBBIND_API@
24
25 LIBS =          @LIBS@
26
27 DAEMON_OBJS=bsd/daemon.@O@
28 STRSEP_OBJS=bsd/strsep.@O@
29
30 BSDOBJS= @DAEMON_OBJS@ @STRSEP_OBJS@ bsd/ftruncate.@O@ bsd/gettimeofday.@O@ \
31         bsd/mktemp.@O@ bsd/putenv.@O@ bsd/readv.@O@ bsd/setenv.@O@ \
32         bsd/setitimer.@O@ bsd/strcasecmp.@O@ bsd/strdup.@O@ \
33         bsd/strerror.@O@ bsd/strpbrk.@O@ bsd/strtoul.@O@ bsd/utimes.@O@ \
34         bsd/writev.@O@
35
36 DSTOBJS= dst/dst_api.@O@ dst/hmac_link.@O@ dst/md5_dgst.@O@ dst/support.@O@
37
38 INETOBJS= inet/inet_addr.@O@ inet/inet_cidr_ntop.@O@ inet/inet_cidr_pton.@O@ \
39         inet/inet_data.@O@ inet/inet_lnaof.@O@ inet/inet_makeaddr.@O@ \
40         inet/inet_net_ntop.@O@ inet/inet_net_pton.@O@ inet/inet_neta.@O@ \
41         inet/inet_netof.@O@ inet/inet_network.@O@ inet/inet_ntoa.@O@ \
42         inet/inet_ntop.@O@ inet/inet_pton.@O@ inet/nsap_addr.@O@
43
44 WANT_IRS_THREADS_OBJS=  irs/gethostent_r.@O@ irs/getnetent_r.@O@ \
45         irs/getnetgrent_r.@O@ irs/getprotoent_r.@O@ irs/getservent_r.@O@
46
47 WANT_IRS_NISGR_OBJS= irs/nis_gr.@O@ 
48 WANT_IRS_GR_OBJS= irs/dns_gr.@O@ irs/irp_gr.@O@ irs/lcl_gr.@O@ irs/gen_gr.@O@ \
49         irs/getgrent.@O@ @WANT_IRS_NISGR_OBJS@ @WANT_IRS_THREADSGR_OBJS@
50
51 WANT_IRS_THREADSPW_OBJS=irs/getpwent_r.@O@
52 WANT_IRS_NISPW_OBJS= irs/nis_pw.@O@
53 WANT_IRS_DBPW_OBJS=irs/irp_pw.@O@ irs/lcl_pw.@O@
54 WANT_IRS_PW_OBJS= irs/dns_pw.@O@ irs/gen_pw.@O@ irs/getpwent.@O@ \
55         @WANT_IRS_DBPW_OBJS@ @WANT_IRS_NISPW_OBJS@ @WANT_IRS_THREADSPW_OBJS@
56
57 WANT_IRS_NIS_OBJS= irs/nis_ho.@O@ irs/nis_ng.@O@ irs/nis_nw.@O@ \
58         irs/nis_pr.@O@ irs/nis_sv.@O@
59
60 IRSOBJS= @WANT_IRS_GR_OBJS@ @WANT_IRS_NIS_OBJS@ @WANT_IRS_THREADS_OBJS@ \
61         @WANT_IRS_PW_OBJS@ \
62         irs/dns.@O@ irs/dns_ho.@O@ irs/dns_nw.@O@ irs/dns_pr.@O@ \
63         irs/dns_sv.@O@ irs/gai_strerror.@O@ irs/gen.@O@ irs/gen_ho.@O@ \
64         irs/gen_ng.@O@ irs/gen_nw.@O@ irs/gen_pr.@O@ irs/gen_sv.@O@ \
65         irs/getaddrinfo.@O@ irs/gethostent.@O@  irs/getnameinfo.@O@ \
66         irs/getnetent.@O@ irs/getnetgrent.@O@ \
67         irs/getprotoent.@O@ irs/getservent.@O@ irs/hesiod.@O@ \
68         irs/irp.@O@ irs/irp_ho.@O@ irs/irp_ng.@O@ irs/irp_nw.@O@ \
69         irs/irp_pr.@O@ irs/irp_sv.@O@ irs/irpmarshall.@O@ irs/irs_data.@O@ \
70         irs/lcl.@O@ irs/lcl_ho.@O@ irs/lcl_ng.@O@ irs/lcl_nw.@O@ \
71         irs/lcl_pr.@O@ irs/lcl_sv.@O@ irs/nis.@O@ irs/nul_ng.@O@ irs/util.@O@
72
73 WANT_IRS_THREADSGR_OBJS=irs/getgrent_r.@O@
74
75 ISCOBJS= isc/assertions.@O@ isc/base64.@O@ isc/bitncmp.@O@ isc/ctl_clnt.@O@ \
76         isc/ctl_p.@O@ isc/ctl_srvr.@O@ isc/ev_connects.@O@ isc/ev_files.@O@ \
77         isc/ev_streams.@O@ isc/ev_timers.@O@ isc/ev_waits.@O@ \
78         isc/eventlib.@O@ isc/heap.@O@ isc/hex.@O@ isc/logging.@O@ \
79         isc/memcluster.@O@ isc/movefile.@O@ isc/tree.@O@
80
81 NAMESEROBJS= nameser/ns_date.@O@ nameser/ns_name.@O@ nameser/ns_netint.@O@ \
82         nameser/ns_parse.@O@ nameser/ns_print.@O@  nameser/ns_samedomain.@O@ \
83         nameser/ns_sign.@O@ nameser/ns_ttl.@O@ nameser/ns_verify.@O@
84
85 RESOLVOBJS= resolv/herror.@O@ resolv/mtctxres.@O@ resolv/res_comp.@O@ \
86         resolv/res_data.@O@ resolv/res_debug.@O@ resolv/res_findzonecut.@O@ \
87         resolv/res_init.@O@ resolv/res_mkquery.@O@ resolv/res_mkupdate.@O@ \
88         resolv/res_query.@O@ resolv/res_send.@O@ resolv/res_sendsigned.@O@ \
89         resolv/res_update.@O@
90
91 SUBDIRS = bsd dst include inet irs isc nameser resolv @PORT_INCLUDE@
92
93 TARGETS= timestamp
94 OBJS=   ${BSDOBJS} ${DSTOBJS} ${INETOBJS} ${IRSOBJS} ${ISCOBJS} \
95         ${NAMESEROBJS} ${RESOLVOBJS}
96
97 @BIND9_MAKE_RULES@
98
99 # Attempt to disable parallel processing.
100 .NOTPARALLEL:
101 .NO_PARALLEL:
102
103 libbind.@SA@: ${OBJS}
104         ${AR} ${ARFLAGS} $@ ${OBJS}
105         ${RANLIB} $@
106
107 libbind.la: ${OBJS}
108         ${LIBTOOL_MODE_LINK} \
109         ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libbind.la -rpath ${libdir} \
110                 -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
111                 ${OBJS} ${LIBS}
112
113 timestamp: libbind.@A@
114         touch timestamp
115
116 installdirs:
117         $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
118
119 install:: timestamp installdirs
120         ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libbind.@A@ ${DESTDIR}${libdir}
121
122 clean distclean::
123         rm -f libbind.@SA@ libbind.la
124
125 distclean::
126         rm -f make/rules make/includes make/mkdep
127
128 distclean::
129         rm -f config.cache config.h config.log config.status libtool
130         rm -f port_before.h port_after.h configure.lineno
131         rm -f port/Makefile @PORT_DIR@/Makefile
132
133 man: