Commit db5c70f8 authored by Howard Chu's avatar Howard Chu
Browse files

More for ITS#6238 add install rule

parent fa8d57d4
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment