]> git.sur5r.net Git - openldap/blob - libraries/librewrite/Makefile.in
don't leak in case of attribute not found
[openldap] / libraries / librewrite / Makefile.in
1 # LIBREWRITE
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2005 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
11 ##
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
15 ##
16 ## Copyright 2000-2001 Pierangelo Masarati <ando@sys-net.it>
17 ##
18
19 SRCS = config.c context.c info.c ldapmap.c map.c params.c rule.c \
20         session.c subst.c var.c xmap.c \
21         parse.c rewrite.c
22 XSRCS = version.c
23 OBJS = config.lo context.lo info.lo ldapmap.lo map.lo params.lo rule.lo \
24         session.lo subst.lo var.lo xmap.lo
25
26 LDAP_INCDIR= ../../include       
27 LDAP_LIBDIR= ../../libraries
28
29 LIBRARY = liblrewrite.la
30 PROGRAMS        = rewrite
31 XLIBS = $(LIBRARY) $(LDAP_LIBLUTIL_A) \
32         $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
33 XXLIBS  = $(SECURITY_LIBS) $(LUTIL_LIBS)
34 XXXLIBS = $(LTHREAD_LIBS)
35
36 rewrite:        $(XLIBS) rewrite.o parse.o
37         $(LTLINK) -o $@ rewrite.o parse.o $(LIBS)
38
39 install-local: FORCE
40         -$(MKDIR) $(DESTDIR)$(libdir)
41         $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir)
42         $(LTFINISH) $(DESTDIR)$(libdir)