From: Emmanuel Dreyfus Date: Sat, 31 Jan 2009 18:42:59 +0000 (+0000) Subject: libtoolize X-Git-Tag: ACLCHECK_0~902 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4e08a2da1b97e28948b20e385aa5ea12698f9836;p=openldap libtoolize --- diff --git a/contrib/slapd-modules/nops/Makefile b/contrib/slapd-modules/nops/Makefile index 827a5ba221..3a12e21c21 100644 --- a/contrib/slapd-modules/nops/Makefile +++ b/contrib/slapd-modules/nops/Makefile @@ -1,9 +1,13 @@ CPPFLAGS+=-I../../../include -I../../../servers/slapd -all: nops.so +all: nops.la -nops.so: nops.c - $(CC) -shared $(CPPFLAGS) -Wall -o $@ $? +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 $@ $? clean: - rm nops.so + rm nops.lo nops.la