mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
More for ITS#6238 add install rule
This commit is contained in:
parent
fa8d57d492
commit
db5c70f89d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user