openldap/contrib/slapd-modules/cloak/Makefile

18 lines
414 B
Makefile
Raw Normal View History

2009-02-03 07:48:07 +08:00
# $OpenLDAP$
2009-02-03 06:14:07 +08:00
CPPFLAGS+=-I../../../include -I../../../servers/slapd
CPPFLAGS+=-DSLAPD_OVER_CLOAK=SLAPD_MOD_DYNAMIC
LIBS=-lldap_r -llber -lcrypto
2011-03-25 01:00:38 +08:00
LIBTOOL=../../../libtool
2009-02-03 06:14:07 +08:00
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