From: Emmanuel Dreyfus Date: Mon, 2 Feb 2009 22:14:07 +0000 (+0000) Subject: Add makefile for slapo-cloak X-Git-Tag: ACLCHECK_0~895 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f3254b319d96e3213102f2028146fd01a3936c29;p=openldap Add makefile for slapo-cloak --- diff --git a/contrib/slapd-modules/cloak/Makefile b/contrib/slapd-modules/cloak/Makefile new file mode 100644 index 0000000000..220e338a07 --- /dev/null +++ b/contrib/slapd-modules/cloak/Makefile @@ -0,0 +1,15 @@ +CPPFLAGS+=-I../../../include -I../../../servers/slapd +CPPFLAGS+=-DSLAPD_OVER_CLOAK=SLAPD_MOD_DYNAMIC +LIBS=-lldap_r -llber -lcrypto + +all: cloak.la + +cloak.lo: cloak.c + $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -c $? + +cloak.la: cloak.lo + $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \ + -rpath $(PREFIX)/lib -module -o $@ $? $(LIBS) + +clean: + rm cloak.lo cloak.la