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
|
|
|
|
|
|
|
|
## (C) Copyright IBM Corp. 1997,2002
|
|
|
|
## Redistribution and use in source and binary forms are permitted
|
|
|
|
## provided that this notice is preserved and that due credit is
|
|
|
|
## given to IBM Corporation. This software is provided ``as is''
|
|
|
|
## without express or implied warranty.
|
|
|
|
|
|
|
|
|
|
|
|
LIBRARY = libslapi.la
|
2003-04-01 12:12:18 +08:00
|
|
|
#XLIBRARY = libtmpslapd.a
|
2002-12-08 01:19:29 +08:00
|
|
|
|
|
|
|
#all-common: $(LIBRARY) $(PROGRAMS)
|
|
|
|
# @touch plugin.c slapi_pblock.c slapi_utils.c slapi_ops.c
|
|
|
|
|
|
|
|
NT_SRCS = nt_err.c
|
|
|
|
NT_OBJS = nt_err.lo
|
|
|
|
|
|
|
|
LIB_DEFS = -DSLAPI_LIBRARY
|
|
|
|
|
2002-12-14 23:04:37 +08:00
|
|
|
SRCS= plugin.c slapi_pblock.c slapi_utils.c printmsg.c slapi_ops.c \
|
|
|
|
$(@PLAT@_SRCS)
|
|
|
|
OBJS= plugin.lo slapi_pblock.lo slapi_utils.lo printmsg.lo slapi_ops.lo \
|
|
|
|
$(@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)
|
|
|
|
|
2003-04-01 12:12:18 +08:00
|
|
|
#UNIX_LINK_LIBS = ./libtmpslapd.a ../libbackends.a ../../../libraries/libavl/libavl.a ../../../libraries/liblber/.libs/liblber.a ../../../libraries/libldbm/libldbm.a ../../../libraries/libldif/libldif.a ../../../libraries/liblutil/liblutil.a ../../../libraries/liblunicode/liblunicode.a ../../../libraries/libldap_r/.libs/libldap_r.a ./libtmpslapd.a
|
2002-12-08 01:19:29 +08:00
|
|
|
|
|
|
|
BUILD_MOD = @BUILD_SLAPI@
|
|
|
|
|
|
|
|
install-local: FORCE
|
|
|
|
if test "$(BUILD_MOD)" = "yes"; then \
|
|
|
|
$(MKDIR) $(DESTDIR)$(libdir); \
|
|
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir); \
|
|
|
|
fi
|
|
|
|
|