From f3254b319d96e3213102f2028146fd01a3936c29 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Mon, 2 Feb 2009 22:14:07 +0000 Subject: [PATCH] Add makefile for slapo-cloak --- contrib/slapd-modules/cloak/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 contrib/slapd-modules/cloak/Makefile 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 -- 2.39.5