openldap/contrib/slapd-modules/autogroup/Makefile
Emmanuel Dreyfus b5baf7fd01 libtoolize autogroup
add install rules for autogroup, nops and smbk5pwd
2009-02-07 22:10:24 +00:00

19 lines
475 B
Makefile

CPPFLAGS+=-I../../../include -I../../../servers/slapd
all: autogroup.la
autogroup.lo: autogroup.c
$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -Wall -c $?
autogroup.la: autogroup.lo
$(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
-rpath $(PREFIX)/lib -module -o $@ $?
clean:
rm -f autogroup.lo autogroup.la
install: autogroup.la
mkdir -p $(PREFIX)/lib/openldap
$(LIBTOOL) --mode=install cp autogroup.la $(PREFIX)/lib/openldap
$(LIBTOOL) --finish $(PREFIX)/lib