1 # Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
3 # Permission to use, copy, modify, and/or distribute this software for any
4 # purpose with or without fee is hereby granted, provided that the above
5 # copyright notice and this permission notice appear in all copies.
7 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
8 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
10 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
12 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13 # PERFORMANCE OF THIS SOFTWARE.
15 # Id: Makefile.in,v 1.4 2009/12/05 23:31:41 each Exp
17 top_srcdir
= @top_srcdir@
18 srcdir = @top_srcdir@
/lib
/isccfg
19 export_srcdir
= @top_srcdir@
/lib
/export
27 CINCLUDES
= -I.
${DNS_INCLUDES} -I
${export_srcdir}/isc
/include \
28 ${ISC_INCLUDES} ${ISCCFG_INCLUDES}
33 ISCLIBS
= ..
/isc
/libisc.@A@
34 DNSLIBS
= ..
/dns
/libdns.@A@
36 ISCDEPLIBS
= ..
/..
/lib
/isc
/libisc.@A@
37 ISCCFGDEPLIBS
= libisccfg.@A@
44 OBJS
= dnsconf.@O@ log.@O@ parser.@O@ version.@O@
47 SRCS
= dnsconf.c log.c parser.c version.c
53 version.@O@
: ${srcdir}/version.c
54 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
55 -DVERSION
=\"${VERSION}\" \
56 -DLIBINTERFACE
=${LIBINTERFACE} \
57 -DLIBREVISION
=${LIBREVISION} \
59 -c
${srcdir}/version.c
61 libisccfg.@SA@
: ${OBJS}
62 ${AR} ${ARFLAGS} $@
${OBJS}
66 ${LIBTOOL_MODE_LINK} \
67 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisccfg.la \
68 -rpath
${export_libdir} \
69 -version-info
${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
70 ${OBJS} ${LIBS} ${DNSLIBS} ${ISCLIBS}
72 timestamp
: libisccfg.@A@
76 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${export_libdir}
78 install:: timestamp
installdirs
79 ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libisccfg.@A@ \
80 ${DESTDIR}${export_libdir}
83 rm -f libisccfg.@A@ timestamp