From: Howard Chu Date: Thu, 24 Mar 2011 07:01:17 +0000 (+0000) Subject: More for ITS#6238 add install rule X-Git-Tag: MIGRATION_CVS2GIT~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=db5c70f89d145d3eed5be8a006ff0c2db81ae8fc;p=openldap More for ITS#6238 add install rule --- 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