Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / bsd / bind / dist / lib / bind9 / Makefile.in
blob3dc75e9d094eebf00c7fd76079543e868b9857b8
1 # Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 2001 Internet Software Consortium.
4 # Permission to use, copy, modify, and/or 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.
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.
16 # Id: Makefile.in,v 1.14 2009/12/05 23:31:40 each Exp
18 srcdir = @srcdir@
19 VPATH = @srcdir@
20 top_srcdir = @top_srcdir@
22 @BIND9_VERSION@
24 @LIBBIND9_API@
26 @BIND9_MAKE_INCLUDES@
28 CINCLUDES = -I. ${BIND9_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES} \
29 ${ISCCFG_INCLUDES}
31 CDEFINES =
32 CWARNINGS =
34 ISCLIBS = ../../lib/isc/libisc.@A@
35 ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
36 DNSLIBS = ../../lib/dns/libdns.@A@
38 ISCDEPLIBS = ../../lib/isc/libisc.@A@
39 ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
40 DNSDEPLIBS = ../../lib/dns/libdns.@A@
42 LIBS = @LIBS@
44 SUBDIRS = include
46 # Alphabetically
47 OBJS = check.@O@ getaddresses.@O@ version.@O@
49 # Alphabetically
50 SRCS = check.c getaddresses.c version.c
52 TARGETS = timestamp
54 @BIND9_MAKE_RULES@
56 version.@O@: version.c
57 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
58 -DVERSION=\"${VERSION}\" \
59 -DLIBINTERFACE=${LIBINTERFACE} \
60 -DLIBREVISION=${LIBREVISION} \
61 -DLIBAGE=${LIBAGE} \
62 -c ${srcdir}/version.c
64 libbind9.@SA@: ${OBJS}
65 ${AR} ${ARFLAGS} $@ ${OBJS}
66 ${RANLIB} $@
68 libbind9.la: ${OBJS} ${ISCCFGDEPLIBS} ${ISCDEPLIBS} ${DNSDEPLIBS}
69 ${LIBTOOL_MODE_LINK} \
70 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libbind9.la -rpath ${libdir} \
71 -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
72 ${OBJS} ${DNSLIBS} ${ISCCFGLIBS} ${ISCLIBS} ${LIBS}
74 timestamp: libbind9.@A@
75 touch timestamp
77 installdirs:
78 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
80 install:: timestamp installdirs
81 ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libbind9.@A@ ${DESTDIR}${libdir}
83 clean distclean::
84 rm -f libbind9.@A@ timestamp