From db5c70f89d145d3eed5be8a006ff0c2db81ae8fc Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 24 Mar 2011 07:01:17 +0000 Subject: [PATCH] More for ITS#6238 add install rule --- contrib/slapd-modules/lastbind/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/contrib/slapd-modules/lastbind/Makefile b/contrib/slapd-modules/lastbind/Makefile index 6386f350aa..e0f1b3e542 100644 --- a/contrib/slapd-modules/lastbind/Makefile +++ b/contrib/slapd-modules/lastbind/Makefile @@ -15,6 +15,7 @@ CPPFLAGS+=-DSLAPD_OVER_LASTBIND=SLAPD_MOD_DYNAMIC #LIBTOOL=libtool LIBTOOL=../../../libtool +prefix=/usr/local all: lastbind.la @@ -23,7 +24,11 @@ lastbind.lo: lastbind.c lastbind.la: lastbind.lo $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \ - -rpath $(PREFIX)/lib -module -o $@ $? + -rpath $(prefix)/lib -module -o $@ $? clean: rm -rf lastbind.lo lastbind.la lastbind.o .libs/ + +install: lastbind.la + mkdir -p $(prefix)/libexec/openldap + $(LIBTOOL) --mode=onstall cp lastbind.la $(prefix)/libexec/openldap -- 2.39.5