]> git.sur5r.net Git - openldap/blob - contrib/slapd-modules/lastbind/Makefile
Allocate ConfigOID, use ISODE authTimestamp schema
[openldap] / contrib / slapd-modules / lastbind / Makefile
1 # Copyright 2009 Jonathan Clarke <jonathan@phillipoux.net>.
2 # All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted only as authorized by the OpenLDAP
6 # Public License.
7 #
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>.
11
12 CPPFLAGS+=-I../../../include -I../../../servers/slapd 
13 CPPFLAGS+=-DSLAPD_OVER_LASTBIND=SLAPD_MOD_DYNAMIC
14 #LIBTOOL=libtool
15 LIBTOOL=../../../libtool
16
17
18 all: lastbind.la
19
20 lastbind.lo:    lastbind.c
21         $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -Wall -c $?
22
23 lastbind.la:    lastbind.lo
24         $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
25                    -rpath $(PREFIX)/lib -module -o $@ $?
26
27 clean:
28         rm -rf lastbind.lo lastbind.la lastbind.o .libs/