]> git.sur5r.net Git - openldap/blob - servers/slapd/slapi/Makefile.in
262c1d4c53f741e050f17db9e76aac72d75851e0
[openldap] / servers / slapd / slapi / Makefile.in
1 # Makefile.in for SLAPI
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2017 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 NT_SRCS = nt_err.c
23 NT_OBJS = nt_err.lo
24
25 LIB_DEFS = -DSLAPI_LIBRARY
26
27 SRCS=  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)
29 OBJS=  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
32 XSRCS= version.c
33
34 LDAP_INCDIR= ../../../include -I.. -I.       
35 LDAP_LIBDIR= ../../../libraries       
36
37 XLIBS = $(LIBRARY)
38 XXLIBS = 
39 NT_LINK_LIBS = $(AC_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