| 1 |
# Makefile.in for SLAPI |
| 2 |
# $OpenLDAP$ |
| 3 |
## This work is part of OpenLDAP Software <http://www.openldap.org/>. |
| 4 |
## |
| 5 |
## Copyright 1998-2024 The OpenLDAP Foundation. |
| 6 |
## Portions Copyright IBM Corp. 1997,2002,2003 |
| 7 |
## All rights reserved. |
| 8 |
## |
| 9 |
## Redistribution and use in source and binary forms, with or without |
| 10 |
## modification, are permitted only as authorized by the OpenLDAP |
| 11 |
## Public License. |
| 12 |
## |
| 13 |
## A copy of this license is available in the file LICENSE in the |
| 14 |
## top-level directory of the distribution or, alternatively, at |
| 15 |
## <http://www.OpenLDAP.org/license.html>. |
| 16 |
|
| 17 |
LIBRARY = libslapi.la |
| 18 |
|
| 19 |
#all-common: $(LIBRARY) $(PROGRAMS) |
| 20 |
# @touch plugin.c slapi_pblock.c slapi_utils.c slapi_ops.c slapi_ext.c |
| 21 |
|
| 22 |
LIB_DEFS = -DSLAPI_LIBRARY |
| 23 |
|
| 24 |
SRCS= plugin.c slapi_pblock.c slapi_utils.c printmsg.c slapi_ops.c slapi_dn.c slapi_ext.c slapi_overlay.c \ |
| 25 |
$(@PLAT@_SRCS) |
| 26 |
OBJS= plugin.lo slapi_pblock.lo slapi_utils.lo printmsg.lo slapi_ops.lo slapi_dn.lo slapi_ext.lo slapi_overlay.lo \ |
| 27 |
$(@PLAT@_SRCS) |
| 28 |
|
| 29 |
XSRCS= version.c |
| 30 |
|
| 31 |
LDAP_INCDIR= ../../../include -I.. -I. |
| 32 |
LDAP_LIBDIR= ../../../libraries |
| 33 |
|
| 34 |
shared_LDAP_LIBS = $(LDAP_LIBLDAP_LA) $(LDAP_LIBLBER_LA) |
| 35 |
|
| 36 |
XLIBS = $(LIBRARY) |
| 37 |
XXLIBS = |
| 38 |
MOD_LIBS = $(MODULES_LIBS) |
| 39 |
NT_LINK_LIBS = $(AC_LIBS) -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) |
| 40 |
|
| 41 |
XINCPATH = -I$(srcdir)/.. -I$(srcdir) |
| 42 |
XDEFS = $(MODULES_CPPFLAGS) |
| 43 |
|
| 44 |
BUILD_MOD = @BUILD_SLAPI@ |
| 45 |
|
| 46 |
install-local: FORCE |
| 47 |
if test "$(BUILD_MOD)" = "yes"; then \ |
| 48 |
$(MKDIR) $(DESTDIR)$(libdir); \ |
| 49 |
$(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir); \ |
| 50 |
fi |
| 51 |
|