PageRenderTime 17ms CodeModel.GetById 8ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/bind9/lib/export/isccfg/Makefile.in

https://bitbucket.org/freebsd/freebsd-head/
Autoconf | 83 lines | 45 code | 22 blank | 16 comment | 0 complexity | a8e90e74f04a0f308f3fa6041a084567 MD5 | raw file
 1# Copyright (C) 2009, 2011, 2012  Internet Systems Consortium, Inc. ("ISC")
 2#
 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.
 6#
 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.
14
15# $Id$
16
17top_srcdir =	@top_srcdir@
18srcdir =	@top_srcdir@/lib/isccfg
19export_srcdir =	@top_srcdir@/lib/export
20
21@BIND9_VERSION@
22
23@LIBISCCFG_API@
24
25@BIND9_MAKE_INCLUDES@
26
27CINCLUDES =	-I. ${DNS_INCLUDES} -I${export_srcdir}/isc/include \
28		${ISC_INCLUDES} ${ISCCFG_INCLUDES}
29
30CDEFINES =
31CWARNINGS =
32
33ISCLIBS =	../isc/libisc.@A@
34DNSLIBS =	../dns/libdns.@A@
35
36ISCDEPLIBS =	../../lib/isc/libisc.@A@
37ISCCFGDEPLIBS =	libisccfg.@A@
38
39LIBS =		@LIBS@
40
41SUBDIRS =	include
42
43# Alphabetically
44OBJS =		dnsconf.@O@ log.@O@ parser.@O@ version.@O@
45
46# Alphabetically
47SRCS =		dnsconf.c log.c parser.c version.c
48
49TARGETS = 	timestamp
50
51@BIND9_MAKE_RULES@
52
53version.@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
60
61libisccfg.@SA@: ${OBJS}
62	${AR} ${ARFLAGS} $@ ${OBJS}
63	${RANLIB} $@
64
65libisccfg.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}
71
72timestamp: libisccfg.@A@
73	touch timestamp
74
75installdirs:
76	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${export_libdir}
77
78install:: timestamp installdirs
79	${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libisccfg.@A@ \
80	${DESTDIR}${export_libdir}/
81
82clean distclean::
83	rm -f libisccfg.@A@ timestamp