2003-11-26 10:58:56 +08:00
|
|
|
# Makefile.in for SLAPI
|
|
|
|
# $OpenLDAP$
|
2003-11-27 00:05:06 +08:00
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
##
|
2008-01-08 08:19:56 +08:00
|
|
|
## Copyright 1998-2008 The OpenLDAP Foundation.
|
2003-11-26 10:58:56 +08:00
|
|
|
## Portions Copyright IBM Corp. 1997,2002,2003
|
|
|
|
## All rights reserved.
|
|
|
|
##
|
2003-11-20 13:11:37 +08:00
|
|
|
## Redistribution and use in source and binary forms, with or without
|
|
|
|
## modification, are permitted only as authorized by the OpenLDAP
|
|
|
|
## Public License.
|
2003-11-26 10:58:56 +08:00
|
|
|
##
|
|
|
|
## 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>.
|
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
|
|
|
|
|
2005-08-08 21:24:18 +08:00
|
|
|
SRCS= plugin.c slapi_pblock.c slapi_utils.c printmsg.c slapi_ops.c slapi_dn.c slapi_ext.c slapi_overlay.c \
|
2002-12-14 23:04:37 +08:00
|
|
|
$(@PLAT@_SRCS)
|
2005-08-08 22:30:34 +08:00
|
|
|
OBJS= plugin.lo slapi_pblock.lo slapi_utils.lo printmsg.lo slapi_ops.lo slapi_dn.lo slapi_ext.lo slapi_overlay.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
|
|
|
|
|