mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 19:49:35 -05:00
Add makefile for slapo-cloak
This commit is contained in:
parent
2b08e96b53
commit
f3254b319d
1 changed files with 15 additions and 0 deletions
15
contrib/slapd-modules/cloak/Makefile
Normal file
15
contrib/slapd-modules/cloak/Makefile
Normal file
|
|
@ -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
|
||||
Loading…
Reference in a new issue