openldap/openldap-2.3.34-smbk5pwd.patch
Jan Šafránek abb68a6d5e - smbk5pwd added
Resolves: #220895
2007-06-29 16:06:58 +00:00

40 lines
1.2 KiB
Diff

--- openldap-2.3.34/servers/slapd/overlays/Makefile.in.smbk5pwd 2007-01-02 22:44:08.000000000 +0100
+++ openldap-2.3.34/servers/slapd/overlays/Makefile.in 2007-06-29 16:59:32.000000000 +0200
@@ -28,7 +28,8 @@
syncprov.c \
translucent.c \
unique.c \
- valsort.c
+ valsort.c \
+ ../../../contrib/slapd-modules/smbk5pwd/smbk5pwd.c
OBJS = overlays.o \
statover.o \
@SLAPD_STATIC_OVERLAYS@
@@ -41,14 +42,14 @@
LDAP_INCDIR= ../../../include
LDAP_LIBDIR= ../../../libraries
-MOD_DEFS = -DSLAPD_IMPORT
+MOD_DEFS = -DSLAPD_IMPORT -DDO_SAMBA
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)
LIBRARY = ../liboverlays.a
-PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@
+PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@ smbk5pwd.la
XINCPATH = -I.. -I$(srcdir)/..
XDEFS = $(MODULES_CPPFLAGS)
@@ -105,6 +106,9 @@
valsort.la : valsort.lo
$(LTLINK_MOD) -module -o $@ valsort.lo version.lo $(LINK_LIBS)
+smbk5pwd.la : smbk5pwd.lo
+ $(LTLINK_MOD) -module -o $@ smbk5pwd.lo version.lo $(LINK_LIBS)
+
install-local: $(PROGRAMS)
@if test -n "$?" ; then \
$(MKDIR) $(DESTDIR)$(moduledir); \