From 506fec1a954324f214e8b776fd510ea5c4e05bf6 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 11 Oct 2002 18:51:29 +0000 Subject: Step 12 of move of engines: Time to make the changes to support automatic load of dynamic engines. Make the changes in the main Makefile so the engines are built, but now in the engines/ directory. Note: The changes in step 12 have all been made by Geoff Thorpe. Credit where credit is due. --- Makefile.org | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile.org') diff --git a/Makefile.org b/Makefile.org index c903567e02..4eb6708102 100644 --- a/Makefile.org +++ b/Makefile.org @@ -156,7 +156,7 @@ RMD160_ASM_OBJ= asm/rm86-out.o KRB5_INCLUDES= LIBKRB5= -DIRS= crypto ssl apps test tools +DIRS= crypto ssl engines apps test tools SHLIBDIRS= crypto ssl # dirs in crypto to build @@ -212,12 +212,14 @@ BUILD_CMD=if echo " $(DIRS) " | grep " $$i " >/dev/null 2>/dev/null; then \ sub_all: build_all build_all: build_libs build_apps build_tests build_tools -build_libs: build_crypto build_ssl +build_libs: build_crypto build_ssl build_engines build_crypto: @i=crypto; $(BUILD_CMD) build_ssl: @i=ssl; $(BUILD_CMD) +build_engines: + @i=engines; $(BUILD_CMD) build_apps: @i=apps; $(BUILD_CMD) build_tests: @@ -282,7 +284,7 @@ Makefile.ssl: Makefile.org @false libclean: - rm -f *.so *.so.* *.a */lib */*/lib + rm -f *.so *.so.* engines/*.so *.a */lib */*/lib clean: rm -f shlib/*.o *.o core a.out fluff *.map rehash.time testlog make.log cctest cctest.c @@ -390,7 +392,7 @@ tags: errors: $(PERL) util/mkerr.pl -recurse -write - (cd crypto/engine; $(MAKE) PERL=$(PERL) errors) + (cd engines; $(MAKE) PERL=$(PERL) errors) stacks: $(PERL) util/mkstack.pl -write @@ -448,6 +450,7 @@ install: all install_docs @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \ $(INSTALL_PREFIX)$(INSTALLTOP)/lib \ $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl \ + $(INSTALL_PREFIX)$(OPENSSLDIR)/engines \ $(INSTALL_PREFIX)$(OPENSSLDIR)/misc \ $(INSTALL_PREFIX)$(OPENSSLDIR)/certs \ $(INSTALL_PREFIX)$(OPENSSLDIR)/private \ -- cgit v1.2.3