95f81a
Compile AllOp together with other overlays.
95f81a
95f81a
Author: Matus Honek <mhonek@redhat.com>
95f81a
Resolves: #990893
95f81a
95f81a
diff --git a/servers/slapd/overlays/Makefile.in b/servers/slapd/overlays/Makefile.in
95f81a
--- a/servers/slapd/overlays/Makefile.in
95f81a
+++ b/servers/slapd/overlays/Makefile.in
95f81a
@@ -33,7 +33,8 @@ SRCS = overlays.c \
95f81a
 	translucent.c \
95f81a
 	unique.c \
95f81a
 	valsort.c \
95f81a
-	smbk5pwd.c
95f81a
+	smbk5pwd.c \
95f81a
+	allop.c
95f81a
 OBJS = statover.o \
95f81a
 	@SLAPD_STATIC_OVERLAYS@ \
95f81a
 	overlays.o
95f81a
@@ -53,7 +54,7 @@ NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
95f81a
 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
95f81a
 
95f81a
 LIBRARY = ../liboverlays.a
95f81a
-PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@ smbk5pwd.la
95f81a
+PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@ smbk5pwd.la allop.la
95f81a
 
95f81a
 XINCPATH = -I.. -I$(srcdir)/..
95f81a
 XDEFS = $(MODULES_CPPFLAGS)
95f81a
@@ -125,6 +126,12 @@ unique.la : unique.lo
95f81a
 smbk5pwd.la : smbk5pwd.lo
95f81a
 	$(LTLINK_MOD) -module -o $@ smbk5pwd.lo version.lo $(LINK_LIBS) $(shell pkg-config openssl --libs)
95f81a
 
95f81a
+allop.lo : allop.c
95f81a
+	$(LTCOMPILE_MOD) -DDO_SAMBA -UHAVE_MOZNSS -DHAVE_OPENSSL $(shell pkg-config openssl --cflags) $<
95f81a
+
95f81a
+allop.la : allop.lo
95f81a
+	$(LTLINK_MOD) -module -o $@ allop.lo version.lo $(LINK_LIBS) $(shell pkg-config openssl --libs)
95f81a
+
95f81a
 install-local:	$(PROGRAMS)
95f81a
 	@if test -n "$?" ; then \
95f81a
 		$(MKDIR) $(DESTDIR)$(moduledir); \