From 4e08a2da1b97e28948b20e385aa5ea12698f9836 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Sat, 31 Jan 2009 18:42:59 +0000 Subject: [PATCH] libtoolize --- contrib/slapd-modules/nops/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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 -- 2.39.5