mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
# LIBREWRITE
|
|
# $OpenLDAP$
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
##
|
|
## Copyright 1998-2005 The OpenLDAP Foundation.
|
|
## All rights reserved.
|
|
##
|
|
## 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>.
|
|
##
|
|
## 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.lo context.lo info.lo ldapmap.lo map.lo params.lo rule.lo \
|
|
session.lo subst.lo var.lo xmap.lo
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
LIBRARY = liblrewrite.la
|
|
PROGRAMS = rewrite
|
|
XLIBS = $(LIBRARY) $(LDAP_LIBLUTIL_A) \
|
|
$(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
|
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
|
|
XXXLIBS = $(LTHREAD_LIBS)
|
|
|
|
rewrite: $(XLIBS) rewrite.o parse.o
|
|
$(LTLINK) -o $@ rewrite.o parse.o $(LIBS)
|
|
|
|
install-local: FORCE
|
|
-$(MKDIR) $(DESTDIR)$(libdir)
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir)
|
|
$(LTFINISH) $(DESTDIR)$(libdir)
|