|
Martin Stransky |
620133 |
srcdir = @srcdir@
|
|
Martin Stransky |
620133 |
VPATH = @srcdir@
|
|
Martin Stransky |
620133 |
top_srcdir = @top_srcdir@
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
@BIND9_VERSION@
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
@BIND9_MAKE_INCLUDES@
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include \
|
|
Martin Stransky |
620133 |
${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
|
|
Martin Stransky |
620133 |
${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_INCLUDES}
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
|
|
Martin Stransky |
620133 |
ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
Martin Stransky |
620133 |
ISCCCLIBS = ../../lib/isccc/libisccc.@A@
|
|
Martin Stransky |
620133 |
ISCLIBS = ../../lib/isc/libisc.@A@
|
|
Martin Stransky |
620133 |
LWRESLIBS = ../../lib/lwres/liblwres.@A@
|
|
Martin Stransky |
620133 |
BIND9LIBS = ../../lib/bind9/libbind9.@A@
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
DNSDEPLIBS = ../../lib/dns/libdns.@A@
|
|
Martin Stransky |
620133 |
ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
Martin Stransky |
620133 |
ISCCCDEPLIBS = ../../lib/isccc/libisccc.@A@
|
|
Martin Stransky |
620133 |
ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
|
Martin Stransky |
620133 |
LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
|
|
Martin Stransky |
620133 |
BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
DEPLIBS = ${LWRESDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS} \
|
|
Martin Stransky |
620133 |
${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${ISCDEPLIBS}
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
|
|
Martin Stransky |
620133 |
${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} ${DBDRIVER_LIBS} @LIBS@
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
TARGETS = zone2ldap@EXEEXT@ zonetodb@EXEEXT@
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
OBJS = zone2ldap.o zonetodb.o
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
SRCS = zone2ldap.c zonetodb.c
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
MANPAGES = zone2ldap.1
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
EXT_CFLAGS = -fPIE
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
@BIND9_MAKE_RULES@
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
LDFLAGS += -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
LIBTOOL_MODE_COMPILE=
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
.SUFFIXES: .c .o
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
zone2ldap: zone2ldap.o ${DEPLIBS}
|
|
Martin Stransky |
620133 |
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ zone2ldap.o -lldap -llber ${LIBS}
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
zonetodb: zonetodb.o ${DEPLIBS}
|
|
Martin Stransky |
620133 |
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ zonetodb.o -lpq ${LIBS}
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
clean distclean manclean maintainer-clean::
|
|
Martin Stransky |
620133 |
rm -f ${TARGETS} ${OBJS}
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
installdirs:
|
|
Martin Stransky |
620133 |
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
|
|
Martin Stransky |
620133 |
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
|
|
Martin Stransky |
620133 |
|
|
Martin Stransky |
620133 |
install:: ${TARGETS} installdirs
|
|
Martin Stransky |
620133 |
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} zone2ldap ${DESTDIR}${sbindir}
|
|
Martin Stransky |
620133 |
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} zonetodb ${DESTDIR}${sbindir}
|
|
Martin Stransky |
620133 |
${INSTALL_DATA} ${srcdir}/zone2ldap.1 ${DESTDIR}${mandir}/man1/zone2ldap.1
|