mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
28d466ba66
note that -lltdl is added redundantly if --enable-modules was specified. It seems to me that --enable-slapi should have implied --enable-modules from the beginning.
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
|
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
|
|
## Copyright IBM Corp. 1997,2002
|
|
## Use of this source code is subject to the terms of The OpenLDAP Public
|
|
## License Version 2.7, 7 September 2001.
|
|
## No trademarks of the IBM Corporation are to be used to identify, endorse
|
|
## or promote any products derived from this code without the prior
|
|
## written consent of IBM
|
|
|
|
LIBRARY = libslapi.la
|
|
|
|
#all-common: $(LIBRARY) $(PROGRAMS)
|
|
# @touch plugin.c slapi_pblock.c slapi_utils.c slapi_ops.c slapi_ext.c
|
|
|
|
NT_SRCS = nt_err.c
|
|
NT_OBJS = nt_err.lo
|
|
|
|
LIB_DEFS = -DSLAPI_LIBRARY
|
|
|
|
SRCS= plugin.c slapi_pblock.c slapi_utils.c printmsg.c slapi_ops.c slapi_ext.c \
|
|
$(@PLAT@_SRCS)
|
|
OBJS= plugin.lo slapi_pblock.lo slapi_utils.lo printmsg.lo slapi_ops.lo slapi_ext.lo \
|
|
$(@PLAT@_SRCS)
|
|
|
|
XSRCS= version.c
|
|
|
|
LDAP_INCDIR= ../../../include -I.. -I.
|
|
LDAP_LIBDIR= ../../../libraries
|
|
|
|
XLIBS = $(LIBRARY)
|
|
XXLIBS =
|
|
NT_LINK_LIBS = $(AC_LIBS)
|
|
|
|
XINCPATH = -I$(srcdir)/.. -I$(srcdir)
|
|
XDEFS = $(MODULES_CPPFLAGS)
|
|
|
|
BUILD_MOD = @BUILD_SLAPI@
|
|
|
|
install-local: FORCE
|
|
if test "$(BUILD_MOD)" = "yes"; then \
|
|
$(MKDIR) $(DESTDIR)$(libdir); \
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir); \
|
|
fi
|
|
|