1# Makefile.in for SLAPI 2# $OpenLDAP$ 3## This work is part of OpenLDAP Software <http://www.openldap.org/>. 4## 5## Copyright 1998-2021 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 17LIBRARY = 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 22NT_SRCS = nt_err.c 23NT_OBJS = nt_err.lo 24 25LIB_DEFS = -DSLAPI_LIBRARY 26 27SRCS= plugin.c slapi_pblock.c slapi_utils.c printmsg.c slapi_ops.c slapi_dn.c slapi_ext.c slapi_overlay.c \ 28 $(@PLAT@_SRCS) 29OBJS= plugin.lo slapi_pblock.lo slapi_utils.lo printmsg.lo slapi_ops.lo slapi_dn.lo slapi_ext.lo slapi_overlay.lo \ 30 $(@PLAT@_SRCS) 31 32XSRCS= version.c 33 34LDAP_INCDIR= ../../../include -I.. -I. 35LDAP_LIBDIR= ../../../libraries 36 37XLIBS = $(LIBRARY) 38XXLIBS = 39NT_LINK_LIBS = $(AC_LIBS) 40 41XINCPATH = -I$(srcdir)/.. -I$(srcdir) 42XDEFS = $(MODULES_CPPFLAGS) 43 44BUILD_MOD = @BUILD_SLAPI@ 45 46install-local: FORCE 47 if test "$(BUILD_MOD)" = "yes"; then \ 48 $(MKDIR) $(DESTDIR)$(libdir); \ 49 $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir); \ 50 fi 51 52