1 # Copyright (C) 2004, 2007, 2009, 2011, 2012, 2014 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 2001, 2003 Internet Software Consortium.
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.
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.
20 top_srcdir
= @top_srcdir@
28 CINCLUDES
= -I.
${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCC_INCLUDES}
33 ISCLIBS
= ..
/..
/lib
/isc
/libisc.@A@
34 ISCCCLIBS
= ..
/..
/lib
/isccc
/libisccc.@A@
36 ISCDEPLIBS
= ..
/..
/lib
/isc
/libisc.@A@
37 ISCCCDEPLIBS
= libisccc.@A@
44 OBJS
= alist.@O@ base64.@O@
cc.@O@ ccmsg.@O@ \
46 result.@O@ sexpr.@O@ symtab.@O@ version.@O@
49 SRCS
= alist.c base64.c
cc.c ccmsg.c \
51 result.c sexpr.c symtab.c version.c
58 version.@O@
: version.c
59 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
60 -DVERSION
=\"${VERSION}\" \
61 -DLIBINTERFACE
=${LIBINTERFACE} \
62 -DLIBREVISION
=${LIBREVISION} \
64 -c
${srcdir}/version.c
66 libisccc.@SA@
: ${OBJS}
67 ${AR} ${ARFLAGS} $@
${OBJS}
71 ${LIBTOOL_MODE_LINK} \
72 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisccc.la
-rpath
${libdir} \
73 -version-info
${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
74 ${OBJS} ${ISCLIBS} ${LIBS}
76 timestamp
: libisccc.@A@
80 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${libdir}
82 install:: timestamp
installdirs
83 ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libisccc.@A@
${DESTDIR}${libdir}
86 rm -f libisccc.@A@ timestamp