Commit 684cf03d authored by Howard Chu's avatar Howard Chu
Browse files

Tweak version.c dependencies

parent bf0956d0
......@@ -286,10 +286,12 @@ libbackends.a: .backend
@ls -l libbackends.a; echo ""
version.c: $(OBJS) $(SLAPD_LIBDEPEND)
version.c: Makefile
@-$(RM) $@
$(MKVERSION) -s -n Versionstr slapd > $@
version.o: version.c $(OBJS) $(SLAPD_LIBDEPEND)
depend-local-srv: FORCE
@for i in back-* shell-backends slapi tools; do \
if test -d $$i -a -f $$i/Makefile ; then \
......@@ -42,10 +42,12 @@ slurpd: version.o
sslurpd: version.o
$(LTLINK) -static -o $@ $(OBJS) version.o $(LIBS)
version.c: $(OBJS) $(SLURPD_L)
version.c: Makefile
@-$(RM) $@
$(MKVERSION) slurpd > $@
version.o: version.c $(OBJS) $(SLURPD_L)
install-local-srv: FORCE
-$(MKDIR) $(DESTDIR)$(libexecdir)
@-$(INSTALL) -m 700 -d $(DESTDIR)$(localstatedir)/openldap-slurp
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment