X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=Makefile.org;h=b1560c28bf72f996a39944662401208f6b0c559c;hb=167f3af2ced072f7bd325eeafa62f3a88920f01e;hp=af79054c8e404a92b948e4b265a711a1a70e2a94;hpb=e5f3045fbf6394f2f587d1312cf3525da04d3032;p=oweals%2Fopenssl.git diff --git a/Makefile.org b/Makefile.org index af79054c8e..b1560c28bf 100644 --- a/Makefile.org +++ b/Makefile.org @@ -6,6 +6,7 @@ VERSION= MAJOR= MINOR= PLATFORM=dist +OPTIONS= # INSTALL_PREFIX is for package builders so that they can configure # for, say, /usr/ and yet have everything installed to /tmp/somedir/usr/. # Normally it is left empty. @@ -161,7 +162,7 @@ SHELL=/bin/sh TOP= . ONEDIRS=out tmp -EDIRS= times doc bugs util include certs ms shlib mt demos perl sf dep +EDIRS= times doc bugs util include certs ms shlib mt demos perl sf dep VMS WDIRS= windows LIBS= libcrypto.a libssl.a @@ -170,7 +171,7 @@ BASENAME= openssl NAME= $(BASENAME)-$(VERSION) TARFILE= $(NAME).tar WTARFILE= $(NAME)-win.tar -EXHEADER= e_os.h +EXHEADER= e_os.h e_os2.h HEADER= e_os.h all: Makefile.ssl @@ -237,7 +238,7 @@ files: @for i in $(DIRS) ;\ do \ (cd $$i && echo "making 'files' in $$i..." && \ - $(MAKE) SDIRS='${SDIRS}' files ) || exit 1; \ + $(MAKE) SDIRS='${SDIRS}' PERL='${PERL}' files ) || exit 1; \ done; links: @@ -248,7 +249,6 @@ links: (cd $$i && echo "making links in $$i..." && \ $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PERL='${PERL}' links ) || exit 1; \ done; - @(OPENSSL="`pwd`/apps/openssl"; export OPENSSL; sh tools/c_rehash certs) dclean: rm -f *.bak @@ -293,8 +293,8 @@ errors: perl util/mkerr.pl -recurse -write tar: - @gtar --no-recursion -cvf - \ - `find * -depth -print | grep -v CVS | grep -v .cvsignore | grep -v STATUS | sort` |\ + @tar --norecurse -cvf - \ + `find * \! -path CVS/\* \! -path \*/CVS/\* \! -name CVS \! -name .cvsignore \! -name STATUS | sort` |\ tardy --user_number=0 --user_name=openssl \ --group_number=0 --group_name=openssl \ --prefix=openssl-$(VERSION) - |\ @@ -308,7 +308,7 @@ dist: @$(MAKE) tar dist_pem_h: - (cd crypto/pem; $(MAKE) SDIRS='${SDIRS}' CFLAG='${CFLAG}' pem.h; $(MAKE) clean) + (cd crypto/pem; $(MAKE) CC='${CC}' SDIRS='${SDIRS}' CFLAG='${CFLAG}' pem.h; $(MAKE) clean) install: all @-mkdir -p $(INSTALL_PREFIX)$(INSTALLTOP)/bin 2>/dev/null @@ -318,6 +318,11 @@ install: all @-mkdir -p $(INSTALL_PREFIX)$(OPENSSLDIR)/certs 2>/dev/null @-mkdir -p $(INSTALL_PREFIX)$(OPENSSLDIR)/private 2>/dev/null @-mkdir -p $(INSTALL_PREFIX)$(OPENSSLDIR)/lib 2>/dev/null + @for i in $(EXHEADER) ;\ + do \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ + done; @for i in $(DIRS) ;\ do \ (cd $$i; echo "installing $$i..."; \