2003-01-04 04:20:47 +08:00
|
|
|
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
2002-12-08 01:19:29 +08:00
|
|
|
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
|
|
|
2003-05-25 10:03:07 +08:00
|
|
|
## 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
|
2002-12-08 01:19:29 +08:00
|
|
|
|
|
|
|
LIBRARY = libslapi.la
|
|
|
|
|
|
|
|
#all-common: $(LIBRARY) $(PROGRAMS)
|
2003-07-04 03:04:18 +08:00
|
|
|
# @touch plugin.c slapi_pblock.c slapi_utils.c slapi_ops.c slapi_ext.c
|
2002-12-08 01:19:29 +08:00
|
|
|
|
|
|
|
NT_SRCS = nt_err.c
|
|
|
|
NT_OBJS = nt_err.lo
|
|
|
|
|
|
|
|
LIB_DEFS = -DSLAPI_LIBRARY
|
|
|
|
|
2003-07-04 03:04:18 +08:00
|
|
|
SRCS= plugin.c slapi_pblock.c slapi_utils.c printmsg.c slapi_ops.c slapi_ext.c \
|
2002-12-14 23:04:37 +08:00
|
|
|
$(@PLAT@_SRCS)
|
2003-07-04 03:04:18 +08:00
|
|
|
OBJS= plugin.lo slapi_pblock.lo slapi_utils.lo printmsg.lo slapi_ops.lo slapi_ext.lo \
|
2002-12-14 23:04:37 +08:00
|
|
|
$(@PLAT@_SRCS)
|
2002-12-08 01:19:29 +08:00
|
|
|
|
|
|
|
XSRCS= version.c
|
|
|
|
|
|
|
|
LDAP_INCDIR= ../../../include -I.. -I.
|
|
|
|
LDAP_LIBDIR= ../../../libraries
|
|
|
|
|
|
|
|
XLIBS = $(LIBRARY)
|
|
|
|
XXLIBS =
|
|
|
|
NT_LINK_LIBS = $(AC_LIBS)
|
|
|
|
|
2003-04-11 11:39:48 +08:00
|
|
|
XINCPATH = -I$(srcdir)/.. -I$(srcdir)
|
2002-12-08 01:19:29 +08:00
|
|
|
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
|
|
|
|
|