X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-shell%2FMakefile.in;h=bfd88dca4ece4824bddeb71e9edd334d0dc165b8;hb=c8c34cdd43d3603f3b64a56841b4425379c98f45;hp=525c17d01a07bca16aa10e24e97a3f1d0d90cdd2;hpb=dba57a312c77841b3940fc1a20cc52cc629afe0f;p=openldap
diff --git a/servers/slapd/back-shell/Makefile.in b/servers/slapd/back-shell/Makefile.in
index 525c17d01a..bfd88dca4e 100644
--- a/servers/slapd/back-shell/Makefile.in
+++ b/servers/slapd/back-shell/Makefile.in
@@ -1,28 +1,43 @@
-XSRCS = version.c
-SRCS = init.c config.c fork.c search.c bind.c unbind.c add.c delete.c \
- modify.c modrdn.c compare.c abandon.c result.c
-OBJS = init.o config.o fork.o search.o bind.o unbind.o add.o delete.o \
- modify.o modrdn.o compare.o abandon.o result.o
+# Makefile.in for back-shell
+# $OpenLDAP$
+## This work is part of OpenLDAP Software .
+##
+## Copyright 1998-2011 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
+## .
+
+SRCS = init.c config.c fork.c search.c bind.c unbind.c add.c \
+ delete.c modify.c modrdn.c compare.c result.c
+OBJS = init.lo config.lo fork.lo search.lo bind.lo unbind.lo add.lo \
+ delete.lo modify.lo modrdn.lo compare.lo result.lo
LDAP_INCDIR= ../../../include
LDAP_LIBDIR= ../../../libraries
BUILD_OPT = "--enable-shell"
-BUILD_SRV = @BUILD_SHELL@
+BUILD_MOD = @BUILD_SHELL@
-PROGRAMS = libback-shell.a
+mod_DEFS = -DSLAPD_IMPORT
+MOD_DEFS = $(@BUILD_SHELL@_DEFS)
-XINCPATH = -I.. -I$(srcdir)/..
+shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
+NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
+UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
+
+LIBBASE = back_shell
-all-local-srv: FORCE
- $(MAKE) $(MFLAGS) libback-shell.a
+XINCPATH = -I.. -I$(srcdir)/..
+XDEFS = $(MODULES_CPPFLAGS)
-libback-shell.a: version.o
- $(AR) ruv $@ $(OBJS) version.o
- @$(RANLIB) $@
- @touch ../.backend
+all-local-lib: ../.backend
-version.c: $(OBJS) $(LDAP_LIBDEPEND)
- @-$(RM) $@
- $(MKVERSION) back-shell > $@
+../.backend: lib$(LIBBASE).a
+ @touch $@