openldap/libraries/librewrite/Makefile.in
2002-01-04 21:17:25 +00:00

28 lines
757 B
Makefile

# $OpenLDAP$
## Copyright 1998-2002 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 \
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
XLIBS = -lrewrite -lavl -llutil -lldap_r -llber
XXLIBS = $(SECURITY_LIBS) $(LDIF_LIBS) $(LUTIL_LIBS)
XXXLIBS = $(LTHREAD_LIBS)
rewrite: $(LIBRARY) rewrite.o parse.o
$(LTLINK) -o $@ rewrite.o parse.o $(LIBS)