]> git.sur5r.net Git - openldap/blob - contrib/slapd-modules/autogroup/Makefile
libtoolize autogroup
[openldap] / contrib / slapd-modules / autogroup / Makefile
1 CPPFLAGS+=-I../../../include -I../../../servers/slapd
2
3 all: autogroup.la
4
5 autogroup.lo:   autogroup.c
6         $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -Wall -c $?
7
8 autogroup.la:   autogroup.lo
9         $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
10         -rpath $(PREFIX)/lib -module -o $@ $? 
11
12 clean:
13         rm -f autogroup.lo autogroup.la
14
15 install: autogroup.la
16         mkdir -p $(PREFIX)/lib/openldap
17         $(LIBTOOL) --mode=install cp autogroup.la $(PREFIX)/lib/openldap
18         $(LIBTOOL) --finish $(PREFIX)/lib