mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
More for ITS#6238 add install rule
This commit is contained in:
parent
fa8d57d492
commit
db5c70f89d
1 changed files with 6 additions and 1 deletions
|
|
@ -15,6 +15,7 @@ CPPFLAGS+=-DSLAPD_OVER_LASTBIND=SLAPD_MOD_DYNAMIC
|
||||||
#LIBTOOL=libtool
|
#LIBTOOL=libtool
|
||||||
LIBTOOL=../../../libtool
|
LIBTOOL=../../../libtool
|
||||||
|
|
||||||
|
prefix=/usr/local
|
||||||
|
|
||||||
all: lastbind.la
|
all: lastbind.la
|
||||||
|
|
||||||
|
|
@ -23,7 +24,11 @@ lastbind.lo: lastbind.c
|
||||||
|
|
||||||
lastbind.la: lastbind.lo
|
lastbind.la: lastbind.lo
|
||||||
$(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
|
$(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
|
||||||
-rpath $(PREFIX)/lib -module -o $@ $?
|
-rpath $(prefix)/lib -module -o $@ $?
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf lastbind.lo lastbind.la lastbind.o .libs/
|
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 a new issue