X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-passwd%2FMakefile.in;h=1dae05eb1e46a5843bea4c81a38eb7ad84e11618;hb=e0952945d0b6da70703a711c91306be07d31ea1a;hp=2b796e59233fed2b8ebfb8d1712e62c97007ad90;hpb=dba57a312c77841b3940fc1a20cc52cc629afe0f;p=openldap
diff --git a/servers/slapd/back-passwd/Makefile.in b/servers/slapd/back-passwd/Makefile.in
index 2b796e5923..1dae05eb1e 100644
--- a/servers/slapd/back-passwd/Makefile.in
+++ b/servers/slapd/back-passwd/Makefile.in
@@ -1,26 +1,41 @@
-XSRCS = version.c
+# Makefile.in for back-passwd
+# $OpenLDAP$
+## This work is part of OpenLDAP Software .
+##
+## Copyright 1998-2008 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 = search.c config.c init.c
-OBJS = search.o config.o init.o
+OBJS = search.lo config.lo init.lo
LDAP_INCDIR= ../../../include
LDAP_LIBDIR= ../../../libraries
BUILD_OPT = "--enable-passwd"
-BUILD_SRV = @BUILD_PASSWD@
+BUILD_MOD = @BUILD_PASSWD@
-PROGRAMS= libback-passwd.a
+mod_DEFS = -DSLAPD_IMPORT
+MOD_DEFS = $(@BUILD_PASSWD@_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)
-all-local-srv: FORCE
- $(MAKE) $(MFLAGS) libback-passwd.a
+LIBBASE = back_passwd
+
+XINCPATH = -I.. -I$(srcdir)/..
+XDEFS = $(MODULES_CPPFLAGS)
-libback-passwd.a: version.o
- $(AR) ruv $@ $(OBJS) version.o
- @$(RANLIB) $@
- @touch ../.backend
+all-local-lib: ../.backend
-version.c: $(OBJS) $(LDAP_LIBDEPEND)
- @-$(RM) $@
- $(MKVERSION) back-passwd > $@
+../.backend: lib$(LIBBASE).a
+ @touch $@