X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=contrib%2Fslapd-modules%2Fpasswd%2FMakefile;h=1e49e6abe04d36e9e62233f78580a871d4f678dd;hb=5fa1826370e45b0cbe0735466a0038c1e48d0029;hp=afc34e2c0620a8ee739ab9b8395f3c5b355fb5d0;hpb=e240d55c07f3c5452379b734f297cf6aa90a6443;p=openldap diff --git a/contrib/slapd-modules/passwd/Makefile b/contrib/slapd-modules/passwd/Makefile index afc34e2c06..1e49e6abe0 100644 --- a/contrib/slapd-modules/passwd/Makefile +++ b/contrib/slapd-modules/passwd/Makefile @@ -1,6 +1,7 @@ +# $OpenLDAP$ CPPFLAGS+=-I../../../include -I../../../servers/slapd -all: kerberos.la netscape.la radius.la +all: kerberos.la netscape.la radius.la apr1.la kerberos.lo: kerberos.c $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -DHAVE_KRB5 -Wall -c $? @@ -23,14 +24,23 @@ radius.la: radius.lo $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \ -rpath $(PREFIX)/lib -module -o $@ $? -lradius +apr1.lo: apr1.c + $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -Wall -c $? + +apr1.la: apr1.lo + $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \ + -rpath $(PREFIX)/lib -module -o $@ $? + clean: rm -f kerberos.lo kerberos.la rm -f netscape.lo netscape.la rm -f radius.lo radius.la + rm -f apr1.lo apr1.la -install: kerberos.la netscape.la radius.la +install: kerberos.la netscape.la radius.la apr1.la mkdir -p $(PREFIX)/lib/openldap $(LIBTOOL) --mode=install cp kerberos.la $(PREFIX)/lib/openldap $(LIBTOOL) --mode=install cp netscape.la $(PREFIX)/lib/openldap $(LIBTOOL) --mode=install cp radius.la $(PREFIX)/lib/openldap + $(LIBTOOL) --mode=install cp apr1.la $(PREFIX)/lib/openldap $(LIBTOOL) --finish $(PREFIX)/lib