mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
29 lines
819 B
Makefile
29 lines
819 B
Makefile
# $OpenLDAP$
|
|
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
|
## 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 xmap.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 xmap.o
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
LIBRARY = librewrite.a
|
|
PROGRAMS = rewrite
|
|
XLIBS = $(LIBRARY) $(LDAP_LIBAVL_A) $(LDAP_LIBLUTIL_A) \
|
|
$(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
|
XXLIBS = $(SECURITY_LIBS) $(LDIF_LIBS) $(LUTIL_LIBS)
|
|
XXXLIBS = $(LTHREAD_LIBS)
|
|
|
|
rewrite: $(XLIBS) rewrite.o parse.o
|
|
$(LTLINK) -o $@ rewrite.o parse.o $(LIBS)
|