Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / bind / dist / lib / export / isccfg / Makefile.in
blobbf37941684f2469a6d57195a7494d761494cd15e
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
21 @BIND9_VERSION@
23 @LIBISCCFG_API@
25 @BIND9_MAKE_INCLUDES@
27 CINCLUDES = -I. ${DNS_INCLUDES} -I${export_srcdir}/isc/include \
28 ${ISC_INCLUDES} ${ISCCFG_INCLUDES}
30 CDEFINES =
31 CWARNINGS =
33 ISCLIBS = ../isc/libisc.@A@
34 DNSLIBS = ../dns/libdns.@A@
36 ISCDEPLIBS = ../../lib/isc/libisc.@A@
37 ISCCFGDEPLIBS = libisccfg.@A@
39 LIBS = @LIBS@
41 SUBDIRS = include
43 # Alphabetically
44 OBJS = dnsconf.@O@ log.@O@ parser.@O@ version.@O@
46 # Alphabetically
47 SRCS = dnsconf.c log.c parser.c version.c
49 TARGETS = timestamp
51 @BIND9_MAKE_RULES@
53 version.@O@: ${srcdir}/version.c
54 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
55 -DVERSION=\"${VERSION}\" \
56 -DLIBINTERFACE=${LIBINTERFACE} \
57 -DLIBREVISION=${LIBREVISION} \
58 -DLIBAGE=${LIBAGE} \
59 -c ${srcdir}/version.c
61 libisccfg.@SA@: ${OBJS}
62 ${AR} ${ARFLAGS} $@ ${OBJS}
63 ${RANLIB} $@
65 libisccfg.la: ${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@
73 touch timestamp
75 installdirs:
76 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${export_libdir}
78 install:: timestamp installdirs
79 ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libisccfg.@A@ \
80 ${DESTDIR}${export_libdir}
82 clean distclean::
83 rm -f libisccfg.@A@ timestamp