1 LIBTOOL=../../../libtool
3 CPPFLAGS+=-I../../../include -I../../../servers/slapd
7 exec_prefix = $(prefix)
8 libdir = $(exec_prefix)/lib
9 libexecdir = $(exec_prefix)/libexec
10 moduledir = $(exec_prefix)/libexec/$(ldap_subdir)
14 autogroup.lo: autogroup.c
15 $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -Wall -c $?
17 autogroup.la: autogroup.lo
18 $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
19 -rpath $(libdir) -module -o $@ $?
22 rm -f autogroup.lo autogroup.la
25 mkdir -p $(DESTDIR)$(moduledir)
26 $(LIBTOOL) --mode=install cp autogroup.la $(DESTDIR)$(moduledir)
27 $(LIBTOOL) --finish $(DESTDIR)$(moduledir)