3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2011 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
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>.
16 ## Copyright 2000-2001 Pierangelo Masarati <ando@sys-net.it>
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 \
23 OBJS = config.o context.o info.o ldapmap.o map.o params.o rule.o \
24 session.o subst.o var.o xmap.o
26 LDAP_INCDIR= ../../include
27 LDAP_LIBDIR= ../../libraries
29 LIBRARY = librewrite.a
32 $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA) \
34 XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
35 XXXLIBS = $(LTHREAD_LIBS)
37 rewrite: $(XLIBS) rewrite.o parse.o
38 $(LTLINK) -o $@ rewrite.o parse.o $(LIBS)