mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ce07fb958e
s/-L.../libraries -lldap/.../libraries/libldap/libldap.la/
29 lines
805 B
Makefile
29 lines
805 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 = $(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)
|