]> git.sur5r.net Git - openldap/commitdiff
Add makefile for slapo-cloak
authorEmmanuel Dreyfus <manu@openldap.org>
Mon, 2 Feb 2009 22:14:07 +0000 (22:14 +0000)
committerEmmanuel Dreyfus <manu@openldap.org>
Mon, 2 Feb 2009 22:14:07 +0000 (22:14 +0000)
contrib/slapd-modules/cloak/Makefile [new file with mode: 0644]

diff --git a/contrib/slapd-modules/cloak/Makefile b/contrib/slapd-modules/cloak/Makefile
new file mode 100644 (file)
index 0000000..220e338
--- /dev/null
@@ -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