mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
16 lines
376 B
Makefile
16 lines
376 B
Makefile
|
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
|