1LIBTOOL=../../../libtool 2 3CPPFLAGS+=-I../../../include -I../../../servers/slapd 4 5all: autogroup.la 6 7autogroup.lo: autogroup.c 8 $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -Wall -c $? 9 10autogroup.la: autogroup.lo 11 $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \ 12 -rpath $(PREFIX)/lib -module -o $@ $? 13 14clean: 15 rm -f autogroup.lo autogroup.la 16 17install: autogroup.la 18 mkdir -p $(PREFIX)/lib/openldap 19 $(LIBTOOL) --mode=install cp autogroup.la $(PREFIX)/lib/openldap 20 $(LIBTOOL) --finish $(PREFIX)/lib 21