X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2FMakefile.in;h=e8a9968b38a158ab4595221352a7e22d3a8f311f;hb=12d5c6bba210de4a03363567be1c19a37f8e806b;hp=8266bcb5c103ae3e10b86911e25310528576bcd1;hpb=813d5c8ed82e3df2eecae99f62dae2d687616121;p=openldap
diff --git a/servers/slapd/Makefile.in b/servers/slapd/Makefile.in
index 8266bcb5c1..e8a9968b38 100644
--- a/servers/slapd/Makefile.in
+++ b/servers/slapd/Makefile.in
@@ -1,7 +1,18 @@
+## Makefile.in for slapd
# $OpenLDAP$
+## This work is part of OpenLDAP Software .
##
-## Makefile.in for slapd
+## Copyright 1998-2003 The OpenLDAP Foundation.
+## All rights reserved.
##
+## Redistribution and use in source and binary forms, with or without
+## modification, are permitted only as authorized by the OpenLDAP
+## Public License.
+##
+## A copy of this license is available in the file LICENSE in the
+## top-level directory of the distribution or, alternatively, at
+## .
+
PROGRAMS=slapd
XPROGRAMS=sslapd libbackends.a .backend
XSRCS=version.c
@@ -18,10 +29,10 @@ SRCS = main.c globals.c config.c daemon.c \
repl.c lock.c controls.c extended.c kerberos.c passwd.c \
schema.c schema_check.c schema_init.c schema_prep.c \
schemaparse.c ad.c at.c mr.c syntax.c oc.c saslauthz.c \
- oidm.c starttls.c index.c sets.c referral.c \
- root_dse.c sasl.c module.c mra.c mods.c sl_malloc.c \
- limits.c backglue.c operational.c matchedValues.c cancel.c \
- $(@PLAT@_SRCS)
+ oidm.c starttls.c index.c sets.c referral.c root_dse.c \
+ sasl.c module.c mra.c mods.c sl_malloc.c limits.c \
+ backglue.c operational.c matchedValues.c cancel.c syncrepl.c \
+ backover.c ctxcsn.c ldapsync.c sessionlog.c $(@PLAT@_SRCS)
OBJS = main.o globals.o config.o daemon.o \
connection.o search.o filter.o add.o cr.o \
@@ -32,10 +43,10 @@ OBJS = main.o globals.o config.o daemon.o \
repl.o lock.o controls.o extended.o kerberos.o passwd.o \
schema.o schema_check.o schema_init.o schema_prep.o \
schemaparse.o ad.o at.o mr.o syntax.o oc.o saslauthz.o \
- oidm.o starttls.o index.o sets.o referral.o \
- root_dse.o sasl.o module.o mra.o mods.o sl_malloc.o \
- limits.o backglue.o operational.o matchedValues.o cancel.o \
- $(@PLAT@_OBJS)
+ oidm.o starttls.o index.o sets.o referral.o root_dse.o \
+ sasl.o module.o mra.o mods.o sl_malloc.o limits.o \
+ backglue.o operational.o matchedValues.o cancel.o syncrepl.o \
+ backover.o ctxcsn.o ldapsync.o sessionlog.o $(@PLAT@_OBJS)
LDAP_INCDIR= ../../include -I$(srcdir)/slapi
LDAP_LIBDIR= ../../libraries
@@ -45,12 +56,14 @@ SLAPD_STATIC_DEPENDS=@SLAPD_NO_STATIC@ libbackends.a
SLAPD_STATIC_BACKENDS=@SLAPD_STATIC_BACKENDS@
SLAPD_DYNAMIC_BACKENDS=@SLAPD_DYNAMIC_BACKENDS@
+SLAPI_LIBS=@LIBSLAPI@ @SLAPI_LIBS@
+
XDEFS = $(MODULES_CPPFLAGS)
XLDFLAGS = $(MODULES_LDFLAGS)
XLIBS = $(SLAPD_STATIC_DEPENDS) $(SLAPD_L)
-XXLIBS = $(LDBM_LIBS) $(SLAPD_LIBS) $(SECURITY_LIBS) $(LDIF_LIBS) $(LUTIL_LIBS)
-XXXLIBS = $(LTHREAD_LIBS) $(SLAPI_LIBS) @LIBSLAPI@ $(MODULES_LIBS)
+XXLIBS = $(LDBM_LIBS) $(SLAPD_LIBS) $(SECURITY_LIBS) $(LUTIL_LIBS)
+XXXLIBS = $(LTHREAD_LIBS) $(SLAPI_LIBS) $(MODULES_LIBS)
BUILD_OPT = "--enable-slapd"
BUILD_SRV = @BUILD_SLAPD@
@@ -79,7 +92,7 @@ SLAPD_OBJECTS = $(@PLAT@_SLAPD_OBJECTS)
# we want to export EVERY global symbol that it knows about (NOT including
# symbols that are imported from other DLLs). The set of symbols to
# export INCLUDES symbols from all static libraries that slapd gets
-# linked with, e.g. avl, ldbm, ldif, lunicode, lutil, etc. This list
+# linked with, e.g. avl, ldbm, lunicode, lutil, etc. This list
# will also include liblber and libldap_r if they were built as static
# libraries. ALSO included will be symbols from other STATIC libraries
# outside the domain of the OpenLDAP source tree, e.g. regex, ltdl,
@@ -226,13 +239,11 @@ slapd.exp: libslapd.a
dlltool --dllname slapd.exe --input-def slapd.def \
--base-file slapd.base --output-exp $@
-libslapi.a: .slapi
+slapi/.libs/libslapi.a: FORCE
(cd slapi; $(MAKE) $(MFLAGS) all)
- cp slapi/.libs/libslapi.a .
-.slapi: $(SLAPD_OBJECTS)
- $(AR) ruv slapi/libtmpslapd.a $(OBJS)
- (cd slapi; $(MAKE) $(MFLAGS) all)
+libslapi.a: slapi/.libs/libslapi.a
+ cp slapi/.libs/libslapi.a .
slapd: $(SLAPD_DEPENDS) @LIBSLAPI@
$(LTLINK) -o $@ $(SLAPD_OBJECTS) $(LIBS) \