1 # Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 2001-2003 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.21 2009/12/05 23:31:41 each Exp
20 top_srcdir
= @top_srcdir@
28 CINCLUDES
= -I.
${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCFG_INCLUDES}
33 ISCLIBS
= ..
/..
/lib
/isc
/libisc.@A@
34 ISCCCLIBS
= ..
/..
/lib
/isccc
/libisccc.@A@
35 DNSLIBS
= ..
/..
/lib
/dns
/libdns.@A@
36 ISCCFGLIBS
= ..
/..
/lib
/cfg
/libisccfg.@A@
38 ISCDEPLIBS
= ..
/..
/lib
/isc
/libisc.@A@
39 ISCCFGDEPLIBS
= libisccfg.@A@
46 OBJS
= aclconf.@O@ log.@O@ namedconf.@O@ parser.@O@ version.@O@
49 SRCS
= aclconf.c log.c namedconf.c parser.c version.c
55 version.@O@
: version.c
56 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
57 -DVERSION
=\"${VERSION}\" \
58 -DLIBINTERFACE
=${LIBINTERFACE} \
59 -DLIBREVISION
=${LIBREVISION} \
61 -c
${srcdir}/version.c
63 libisccfg.@SA@
: ${OBJS}
64 ${AR} ${ARFLAGS} $@
${OBJS}
68 ${LIBTOOL_MODE_LINK} \
69 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisccfg.la
-rpath
${libdir} \
70 -version-info
${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
71 ${OBJS} ${LIBS} ${DNSLIBS} ${ISCCCLIBS} ${ISCLIBS}
73 timestamp
: libisccfg.@A@
77 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${libdir}
79 install:: timestamp
installdirs
80 ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libisccfg.@A@
${DESTDIR}${libdir}
83 rm -f libisccfg.@A@ timestamp