Unified - don't install the ossltest engine

This is done with a simple file name comparison.  We could think of
something more elegant in the future.

Reviewed-by: Andy Polyakov <appro@openssl.org>
This commit is contained in:
Richard Levitte 2016-02-19 10:39:12 +01:00
parent 8be7bdb5c6
commit f0c93a8593

View file

@ -312,7 +312,10 @@ install_engines:
@echo "*** Installing engines"
@set -e; for e in $(ENGINES); do \
fn=`basename $$e`; \
echo "install $$e -> $(DESTDIR)$(INSTALLTOP)/bin/$$fn"; \
if [ "$$fn" = '{- dso("ossltest") -}' ]; then \
continue; \
fi; \
echo "install $$e -> $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$$fn"; \
cp $$e $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$$fn.new; \
chmod 755 $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$$fn.new; \
mv -f $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$$fn.new \
@ -323,7 +326,10 @@ uninstall_engines:
@echo "*** Uninstalling engines"
@set -e; for e in $(ENGINES); do \
fn=`basename $$e`; \
echo "$(RM) $(DESTDIR)$(INSTALLTOP)/bin/$$fn"; \
if [ "$$fn" = '{- dso("ossltest") -}' ]; then \
continue; \
fi; \
echo "$(RM) $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$$fn"; \
$(RM) $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$$fn; \
done