1 # Copyright 2009 Jonathan Clarke <jonathan@phillipoux.net>.
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted only as authorized by the OpenLDAP
8 # A copy of this license is available in the file LICENSE in the
9 # top-level directory of the distribution or, alternatively, at
10 # <http://www.OpenLDAP.org/license.html>.
12 CPPFLAGS+=-I../../../include -I../../../servers/slapd
13 CPPFLAGS+=-DSLAPD_OVER_LASTBIND=SLAPD_MOD_DYNAMIC
15 LIBTOOL=../../../libtool
20 lastbind.lo: lastbind.c
21 $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -Wall -c $?
23 lastbind.la: lastbind.lo
24 $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
25 -rpath $(PREFIX)/lib -module -o $@ $?
28 rm -rf lastbind.lo lastbind.la lastbind.o .libs/