PageRenderTime 21ms CodeModel.GetById 17ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

https://bitbucket.org/freebsd/freebsd-head/
Autoconf | 86 lines | 51 code | 19 blank | 16 comment | 0 complexity | 34151eb13498b6a269a1fcb2e6dcff11 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/irs
19export_srcdir =	@top_srcdir@/lib/export
20
21@BIND9_VERSION@
22
23@LIBIRS_API@
24
25@BIND9_MAKE_INCLUDES@
26
27CINCLUDES =	-I. -I./include -I${srcdir}/include \
28		${ISCCFG_INCLUDES} -I../dns/include ${DNS_INCLUDES} \
29		-I${export_srcdir}/isc/include ${ISC_INCLUDES}
30CDEFINES =
31CWARNINGS =
32
33# Alphabetically
34OBJS =		context.@O@ \
35		dnsconf.@O@ \
36		gai_strerror.@O@ getaddrinfo.@O@ getnameinfo.@O@ \
37		resconf.@O@
38
39# Alphabetically
40SRCS =		context.c \
41		dnsconf.c \
42		gai_sterror.c getaddrinfo.c getnameinfo.c \
43		resconf.c
44
45ISCLIBS =	../isc/libisc.@A@
46DNSLIBS =	../dns/libdns.@A@
47ISCCFGLIBS =	../isccfg/libisccfg.@A@
48
49LIBS =		@LIBS@
50
51SUBDIRS =	include
52TARGETS =	timestamp
53
54@BIND9_MAKE_RULES@
55
56version.@O@: ${srcdir}/version.c
57	${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
58		-DVERSION=\"${VERSION}\" \
59		-DLIBINTERFACE=${LIBINTERFACE} \
60		-DLIBREVISION=${LIBREVISION} \
61		-DLIBAGE=${LIBAGE} \
62		-c ${srcdir}/version.c
63
64libirs.@SA@: ${OBJS} version.@O@
65	${AR} ${ARFLAGS} $@ ${OBJS} version.@O@
66	${RANLIB} $@
67
68libirs.la: ${OBJS} version.@O@
69	${LIBTOOL_MODE_LINK} \
70		${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libirs.la \
71		-rpath ${export_libdir} \
72		-version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
73		${OBJS} version.@O@ ${LIBS} ${ISCCFGLIBS} ${DNSLIBS} ${ISCLIBS}
74
75timestamp: libirs.@A@
76	touch timestamp
77
78installdirs:
79	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${export_libdir}
80
81install:: timestamp installdirs
82	${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libirs.@A@ \
83	${DESTDIR}${export_libdir}/
84
85clean distclean::
86	rm -f libirs.@A@ libirs.la timestamp