2006-09-15 14:45:20 +00:00
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
|
|
|
|
@BIND9_VERSION@
|
|
|
|
|
|
|
|
@BIND9_MAKE_INCLUDES@
|
|
|
|
|
|
|
|
CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include \
|
|
|
|
${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
|
|
|
|
${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_INCLUDES}
|
|
|
|
|
2009-09-16 11:09:13 +00:00
|
|
|
CDEFINES = -DBIND9
|
|
|
|
|
2006-09-15 14:45:20 +00:00
|
|
|
DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
|
|
|
|
ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
|
|
ISCCCLIBS = ../../lib/isccc/libisccc.@A@
|
|
|
|
ISCLIBS = ../../lib/isc/libisc.@A@
|
|
|
|
LWRESLIBS = ../../lib/lwres/liblwres.@A@
|
|
|
|
BIND9LIBS = ../../lib/bind9/libbind9.@A@
|
|
|
|
|
|
|
|
DNSDEPLIBS = ../../lib/dns/libdns.@A@
|
|
|
|
ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
|
|
ISCCCDEPLIBS = ../../lib/isccc/libisccc.@A@
|
|
|
|
ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
|
|
|
LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
|
|
|
|
BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
|
|
|
|
|
|
|
|
DEPLIBS = ${LWRESDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS} \
|
|
|
|
${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${ISCDEPLIBS}
|
|
|
|
|
|
|
|
LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
|
|
|
|
${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} ${DBDRIVER_LIBS} @LIBS@
|
|
|
|
|
|
|
|
TARGETS = zone2ldap@EXEEXT@ zonetodb@EXEEXT@
|
|
|
|
|
2008-02-12 11:40:19 +00:00
|
|
|
OBJS = zone2ldap.@O@ zonetodb.@O@
|
2006-09-15 14:45:20 +00:00
|
|
|
|
|
|
|
SRCS = zone2ldap.c zonetodb.c
|
|
|
|
|
|
|
|
MANPAGES = zone2ldap.1
|
|
|
|
|
2008-02-12 11:40:19 +00:00
|
|
|
EXT_CFLAGS =
|
2006-09-15 14:45:20 +00:00
|
|
|
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
2008-02-12 11:40:19 +00:00
|
|
|
zone2ldap@EXEEXT@: zone2ldap.@O@ ${DEPLIBS}
|
|
|
|
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ zone2ldap.@O@ -lldap -llber ${LIBS}
|
2006-09-15 14:45:20 +00:00
|
|
|
|
2008-02-12 11:40:19 +00:00
|
|
|
zonetodb@EXEEXT@: zonetodb.@O@ ${DEPLIBS}
|
|
|
|
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ zonetodb.@O@ -lpq ${LIBS}
|
2006-09-15 14:45:20 +00:00
|
|
|
|
|
|
|
clean distclean manclean maintainer-clean::
|
|
|
|
rm -f ${TARGETS} ${OBJS}
|
|
|
|
|
|
|
|
installdirs:
|
|
|
|
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
|
|
|
|
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
|
|
|
|
|
|
|
|
install:: ${TARGETS} installdirs
|
2008-02-12 11:40:19 +00:00
|
|
|
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} zone2ldap@EXEEXT@ ${DESTDIR}${sbindir}
|
|
|
|
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} zonetodb@EXEEXT@ ${DESTDIR}${sbindir}
|
2006-09-15 14:45:20 +00:00
|
|
|
${INSTALL_DATA} ${srcdir}/zone2ldap.1 ${DESTDIR}${mandir}/man1/zone2ldap.1
|