1 # Makefile.in for SLAPI
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2009 The OpenLDAP Foundation.
6 ## Portions Copyright IBM Corp. 1997,2002,2003
7 ## All rights reserved.
9 ## Redistribution and use in source and binary forms, with or without
10 ## modification, are permitted only as authorized by the OpenLDAP
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>.
19 #all-common: $(LIBRARY) $(PROGRAMS)
20 # @touch plugin.c slapi_pblock.c slapi_utils.c slapi_ops.c slapi_ext.c
25 LIB_DEFS = -DSLAPI_LIBRARY
27 SRCS= plugin.c slapi_pblock.c slapi_utils.c printmsg.c slapi_ops.c slapi_dn.c slapi_ext.c slapi_overlay.c \
29 OBJS= plugin.lo slapi_pblock.lo slapi_utils.lo printmsg.lo slapi_ops.lo slapi_dn.lo slapi_ext.lo slapi_overlay.lo \
34 LDAP_INCDIR= ../../../include -I.. -I.
35 LDAP_LIBDIR= ../../../libraries
39 NT_LINK_LIBS = $(AC_LIBS)
41 XINCPATH = -I$(srcdir)/.. -I$(srcdir)
42 XDEFS = $(MODULES_CPPFLAGS)
44 BUILD_MOD = @BUILD_SLAPI@
47 if test "$(BUILD_MOD)" = "yes"; then \
48 $(MKDIR) $(DESTDIR)$(libdir); \
49 $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir); \