]> git.sur5r.net Git - openldap/blob - libraries/librewrite/Makefile.in
3198cc3d5283c7e9a0defe724bb0927e5df87751
[openldap] / libraries / librewrite / Makefile.in
1 # LIBREWRITE
2 # $OpenLDAP$
3 ## Copyright 1998-2003 The OpenLDAP Foundation.
4 ## All rights reserved.
5 ##
6 ## Redistribution and use in source and binary forms, with or without
7 ## modification, are permitted only as authorized by the OpenLDAP
8 ## Public License.
9 ##
10 ## A copy of this license is available in the file LICENSE in the
11 ## top-level directory of the distribution or, alternatively, at
12 ## <http://www.OpenLDAP.org/license.html>.
13 ##
14 ## Copyright 2000-2001 Pierangelo Masarati <ando@sys-net.it>
15 ##
16
17 SRCS = config.c context.c info.c ldapmap.c map.c params.c rule.c \
18         session.c subst.c var.c xmap.c \
19         parse.c rewrite.c
20 XSRCS = version.c
21 OBJS = config.o context.o info.o ldapmap.o map.o params.o rule.o \
22         session.o subst.o var.o xmap.o
23
24 LDAP_INCDIR= ../../include       
25 LDAP_LIBDIR= ../../libraries
26
27 LIBRARY = librewrite.a
28 PROGRAMS        = rewrite
29 XLIBS = $(LIBRARY) $(LDAP_LIBAVL_A) $(LDAP_LIBLUTIL_A) \
30         $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
31 XXLIBS  = $(SECURITY_LIBS) $(LUTIL_LIBS)
32 XXXLIBS = $(LTHREAD_LIBS)
33
34 rewrite:        $(XLIBS) rewrite.o parse.o
35         $(LTLINK) -o $@ rewrite.o parse.o $(LIBS)