mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
17 lines
381 B
Makefile
17 lines
381 B
Makefile
# $OpenLDAP$
|
|
CPPFLAGS+=-I../../../include -I../../../servers/slapd
|
|
CPPFLAGS+=-DSLAPD_OVER_NOPS=SLAPD_MOD_DYNAMIC
|
|
LIBS=-lldap_r -llber -lcrypto
|
|
|
|
all: nops.la
|
|
|
|
nops.lo: nops.c
|
|
$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -c $?
|
|
|
|
nops.la: nops.lo
|
|
$(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
|
|
-rpath $(PREFIX)/lib -module -o $@ $? $(LIBS)
|
|
|
|
clean:
|
|
rm nops.lo nops.la
|