2003-11-25 21:58:56 -05:00
|
|
|
# LIBREWRITE
|
2001-05-11 20:51:28 -04:00
|
|
|
# $OpenLDAP$
|
2003-11-26 02:16:36 -05:00
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
|
##
|
2024-03-26 15:45:07 -04:00
|
|
|
## Copyright 1998-2024 The OpenLDAP Foundation.
|
2003-11-25 21:58:56 -05:00
|
|
|
## All rights reserved.
|
2001-05-11 20:51:28 -04:00
|
|
|
##
|
2003-11-25 21:58:56 -05:00
|
|
|
## Redistribution and use in source and binary forms, with or without
|
|
|
|
|
## modification, are permitted only as authorized by the OpenLDAP
|
|
|
|
|
## Public License.
|
|
|
|
|
##
|
|
|
|
|
## A copy of this license is available in the file LICENSE in the
|
|
|
|
|
## top-level directory of the distribution or, alternatively, at
|
|
|
|
|
## <http://www.OpenLDAP.org/license.html>.
|
2001-05-11 20:51:28 -04:00
|
|
|
##
|
|
|
|
|
## Copyright 2000-2001 Pierangelo Masarati <ando@sys-net.it>
|
|
|
|
|
##
|
|
|
|
|
|
|
|
|
|
SRCS = config.c context.c info.c ldapmap.c map.c params.c rule.c \
|
2022-06-07 04:35:45 -04:00
|
|
|
session.c subst.c var.c xmap.c escapemap.c \
|
2001-05-11 20:51:28 -04:00
|
|
|
parse.c rewrite.c
|
|
|
|
|
XSRCS = version.c
|
2005-08-25 22:20:45 -04:00
|
|
|
OBJS = config.o context.o info.o ldapmap.o map.o params.o rule.o \
|
2022-06-07 04:35:45 -04:00
|
|
|
session.o subst.o var.o xmap.o escapemap.o
|
2001-05-11 20:51:28 -04:00
|
|
|
|
|
|
|
|
LDAP_INCDIR= ../../include
|
|
|
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
|
|
2005-08-25 22:20:45 -04:00
|
|
|
LIBRARY = librewrite.a
|
2001-05-11 20:51:28 -04:00
|
|
|
PROGRAMS = rewrite
|
2020-04-16 22:32:52 -04:00
|
|
|
XLIBS = $(LIBRARY) $(LDAP_LIBLUTIL_A) \
|
2020-05-13 12:54:50 -04:00
|
|
|
$(LDAP_LIBLDAP_LA) $(LDAP_LIBLBER_LA)
|
2003-11-25 18:19:47 -05:00
|
|
|
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
|
2001-05-11 20:51:28 -04:00
|
|
|
XXXLIBS = $(LTHREAD_LIBS)
|
|
|
|
|
|
2002-02-10 17:42:51 -05:00
|
|
|
rewrite: $(XLIBS) rewrite.o parse.o
|
2001-05-11 20:51:28 -04:00
|
|
|
$(LTLINK) -o $@ rewrite.o parse.o $(LIBS)
|