lbalhar / rpms / bind

Forked from rpms/bind 6 years ago
Clone
6201335
srcdir     =	@srcdir@
6201335
VPATH      =	@srcdir@
6201335
top_srcdir =	@top_srcdir@
6201335
3fed71e
VERSION=@BIND9_VERSION@
6201335
6201335
@BIND9_MAKE_INCLUDES@
6201335
6201335
CINCLUDES =	-I${srcdir}/include -I${srcdir}/unix/include \
6201335
		${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
6201335
		${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_INCLUDES}
6201335
Adam Tkac e99cc34
CDEFINES =	-DBIND9
Adam Tkac e99cc34
6201335
DNSLIBS =	../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
6201335
ISCCFGLIBS =	../../lib/isccfg/libisccfg.@A@
6201335
ISCCCLIBS =	../../lib/isccc/libisccc.@A@
6201335
ISCLIBS =	../../lib/isc/libisc.@A@
6201335
LWRESLIBS =	../../lib/lwres/liblwres.@A@
6201335
BIND9LIBS =	../../lib/bind9/libbind9.@A@
6201335
6201335
DNSDEPLIBS =	../../lib/dns/libdns.@A@
6201335
ISCCFGDEPLIBS =	../../lib/isccfg/libisccfg.@A@
6201335
ISCCCDEPLIBS =	../../lib/isccc/libisccc.@A@
6201335
ISCDEPLIBS =	../../lib/isc/libisc.@A@
6201335
LWRESDEPLIBS =	../../lib/lwres/liblwres.@A@
6201335
BIND9DEPLIBS =	../../lib/bind9/libbind9.@A@
6201335
6201335
DEPLIBS =	${LWRESDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS} \
6201335
		${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${ISCDEPLIBS}
6201335
6201335
LIBS =		${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
6201335
		${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} ${DBDRIVER_LIBS} @LIBS@
6201335
6201335
TARGETS =	zone2ldap@EXEEXT@ zonetodb@EXEEXT@
6201335
Adam Tkac 5ca594a
OBJS	=	zone2ldap.@O@ zonetodb.@O@
6201335
6201335
SRCS    =       zone2ldap.c zonetodb.c
6201335
6201335
MANPAGES =      zone2ldap.1
6201335
Adam Tkac 5ca594a
EXT_CFLAGS =
6201335
6201335
@BIND9_MAKE_RULES@
6201335
Adam Tkac 5ca594a
zone2ldap@EXEEXT@: zone2ldap.@O@ ${DEPLIBS}
Adam Tkac 5ca594a
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ zone2ldap.@O@ -lldap -llber ${LIBS}
6201335
Adam Tkac 5ca594a
zonetodb@EXEEXT@: zonetodb.@O@  ${DEPLIBS}
Adam Tkac 5ca594a
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ zonetodb.@O@ -lpq ${LIBS}
6201335
6201335
clean distclean manclean maintainer-clean::
6201335
	rm -f ${TARGETS} ${OBJS}
6201335
6201335
installdirs:
6201335
	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
6201335
	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
6201335
6201335
install:: ${TARGETS} installdirs
Adam Tkac 5ca594a
	${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} zone2ldap@EXEEXT@ ${DESTDIR}${sbindir}
Adam Tkac 5ca594a
	${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} zonetodb@EXEEXT@  ${DESTDIR}${sbindir}
6201335
	${INSTALL_DATA} ${srcdir}/zone2ldap.1 ${DESTDIR}${mandir}/man1/zone2ldap.1