PageRenderTime 23ms CodeModel.GetById 13ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

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

https://bitbucket.org/freebsd/freebsd-head/
Autoconf | 83 lines | 44 code | 22 blank | 17 comment | 0 complexity | bdb6ee8df42042db61a8864cd014587a MD5 | raw file
 1# Copyright (C) 2004, 2005, 2007, 2009, 2011, 2012  Internet Systems Consortium, Inc. ("ISC")
 2# Copyright (C) 2001-2003  Internet Software Consortium.
 3#
 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.
 7#
 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.
15
16# $Id$
17
18srcdir =	@srcdir@
19VPATH =		@srcdir@
20top_srcdir =	@top_srcdir@
21
22@BIND9_VERSION@
23
24@LIBISCCFG_API@
25
26@BIND9_MAKE_INCLUDES@
27
28CINCLUDES =	-I. ${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCFG_INCLUDES}
29
30CDEFINES =
31CWARNINGS =
32
33ISCLIBS =	../../lib/isc/libisc.@A@
34ISCCCLIBS =	../../lib/isccc/libisccc.@A@
35DNSLIBS =	../../lib/dns/libdns.@A@
36ISCCFGLIBS =	../../lib/cfg/libisccfg.@A@
37
38ISCDEPLIBS =	../../lib/isc/libisc.@A@
39ISCCFGDEPLIBS =	libisccfg.@A@
40
41LIBS =		@LIBS@
42
43SUBDIRS =	include
44
45# Alphabetically
46OBJS =		aclconf.@O@ log.@O@ namedconf.@O@ parser.@O@ version.@O@
47
48# Alphabetically
49SRCS =		aclconf.c log.c namedconf.c parser.c version.c
50
51TARGETS = 	timestamp
52
53@BIND9_MAKE_RULES@
54
55version.@O@: version.c
56	${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
57		-DVERSION=\"${VERSION}\" \
58		-DLIBINTERFACE=${LIBINTERFACE} \
59		-DLIBREVISION=${LIBREVISION} \
60		-DLIBAGE=${LIBAGE} \
61		-c ${srcdir}/version.c
62
63libisccfg.@SA@: ${OBJS}
64	${AR} ${ARFLAGS} $@ ${OBJS}
65	${RANLIB} $@
66
67libisccfg.la: ${OBJS}
68	 ${LIBTOOL_MODE_LINK} \
69		${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisccfg.la -rpath ${libdir} \
70		-version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
71		${OBJS} ${DNSLIBS} ${ISCCCLIBS} ${ISCLIBS} ${LIBS}
72
73timestamp: libisccfg.@A@
74	touch timestamp
75
76installdirs:
77	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
78
79install:: timestamp installdirs
80	${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libisccfg.@A@ ${DESTDIR}${libdir}
81
82clean distclean::
83	rm -f libisccfg.@A@ timestamp