1 # Makefile.in for SLAPI
3 ## Copyright 1998-2003 The OpenLDAP Foundation.
4 ## Portions Copyright IBM Corp. 1997,2002,2003
5 ## All rights reserved.
7 ## Redistribution and use in source and binary forms, with or without
8 ## modification, are permitted only as authorized by the OpenLDAP
11 ## A copy of this license is available in the file LICENSE in the
12 ## top-level directory of the distribution or, alternatively, at
13 ## <http://www.OpenLDAP.org/license.html>.
17 #all-common: $(LIBRARY) $(PROGRAMS)
18 # @touch plugin.c slapi_pblock.c slapi_utils.c slapi_ops.c slapi_ext.c
23 LIB_DEFS = -DSLAPI_LIBRARY
25 SRCS= plugin.c slapi_pblock.c slapi_utils.c printmsg.c slapi_ops.c slapi_ext.c \
27 OBJS= plugin.lo slapi_pblock.lo slapi_utils.lo printmsg.lo slapi_ops.lo slapi_ext.lo \
32 LDAP_INCDIR= ../../../include -I.. -I.
33 LDAP_LIBDIR= ../../../libraries
37 NT_LINK_LIBS = $(AC_LIBS)
39 XINCPATH = -I$(srcdir)/.. -I$(srcdir)
40 XDEFS = $(MODULES_CPPFLAGS)
42 BUILD_MOD = @BUILD_SLAPI@
45 if test "$(BUILD_MOD)" = "yes"; then \
46 $(MKDIR) $(DESTDIR)$(libdir); \
47 $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir); \