2001-05-12 08:51:28 +08:00
|
|
|
# $OpenLDAP$
|
2002-01-05 05:17:25 +08:00
|
|
|
## Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
|
2001-05-12 08:51:28 +08:00
|
|
|
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
|
|
##
|
|
|
|
## LIBREWRITE
|
|
|
|
##
|
|
|
|
## Copyright 2000-2001 Pierangelo Masarati <ando@sys-net.it>
|
|
|
|
##
|
|
|
|
|
|
|
|
SRCS = config.c context.c info.c ldapmap.c map.c params.c rule.c \
|
|
|
|
session.c subst.c var.c \
|
|
|
|
parse.c rewrite.c
|
|
|
|
XSRCS = version.c
|
|
|
|
OBJS = config.o context.o info.o ldapmap.o map.o params.o rule.o \
|
|
|
|
session.o subst.o var.o
|
|
|
|
|
|
|
|
LDAP_INCDIR= ../../include
|
|
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
|
|
|
|
LIBRARY = librewrite.a
|
|
|
|
PROGRAMS = rewrite
|
2002-02-11 06:42:51 +08:00
|
|
|
XLIBS = $(LIBRARY) $(LDAP_LIBAVL_A) $(LDAP_LIBLUTIL_A) \
|
|
|
|
$(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
2001-05-12 08:51:28 +08:00
|
|
|
XXLIBS = $(SECURITY_LIBS) $(LDIF_LIBS) $(LUTIL_LIBS)
|
|
|
|
XXXLIBS = $(LTHREAD_LIBS)
|
|
|
|
|
2002-02-11 06:42:51 +08:00
|
|
|
rewrite: $(XLIBS) rewrite.o parse.o
|
2001-05-12 08:51:28 +08:00
|
|
|
$(LTLINK) -o $@ rewrite.o parse.o $(LIBS)
|