3 @@ -279,17 +279,17 @@ build_libcrypto: build_crypto build_engi
4 build_libssl: build_ssl libssl.pc
7 - @dir=crypto; target=all; $(BUILD_ONE_CMD)
8 + +@dir=crypto; target=all; $(BUILD_ONE_CMD)
9 build_ssl: build_crypto
10 - @dir=ssl; target=all; $(BUILD_ONE_CMD)
11 + +@dir=ssl; target=all; $(BUILD_ONE_CMD)
12 build_engines: build_crypto
13 - @dir=engines; target=all; $(BUILD_ONE_CMD)
14 + +@dir=engines; target=all; $(BUILD_ONE_CMD)
15 build_apps: build_libs
16 - @dir=apps; target=all; $(BUILD_ONE_CMD)
17 + +@dir=apps; target=all; $(BUILD_ONE_CMD)
18 build_tests: build_libs
19 - @dir=test; target=all; $(BUILD_ONE_CMD)
20 + +@dir=test; target=all; $(BUILD_ONE_CMD)
21 build_tools: build_libs
22 - @dir=tools; target=all; $(BUILD_ONE_CMD)
23 + +@dir=tools; target=all; $(BUILD_ONE_CMD)
25 all_testapps: build_libs build_testapps
27 @@ -461,7 +461,7 @@ update: errors stacks util/libeay.num ut
28 @set -e; target=update; $(RECURSIVE_BUILD_CMD)
31 - @set -e; target=depend; $(RECURSIVE_BUILD_CMD)
32 + +@set -e; target=depend; $(RECURSIVE_BUILD_CMD)
35 @set -e; target=lint; $(RECURSIVE_BUILD_CMD)
36 @@ -523,9 +523,9 @@ dist:
37 @$(MAKE) SDIRS='$(SDIRS)' clean
38 @$(MAKE) TAR='$(TAR)' TARFLAGS='$(TARFLAGS)' $(DISTTARVARS) tar
40 -install: all install_sw
45 @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \
46 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR) \
47 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines \
48 @@ -534,12 +534,19 @@ install_sw:
49 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc \
50 $(INSTALL_PREFIX)$(OPENSSLDIR)/certs \
51 $(INSTALL_PREFIX)$(OPENSSLDIR)/private
52 + @$(PERL) $(TOP)/util/mkdir-p.pl \
53 + $(INSTALL_PREFIX)$(MANDIR)/man1 \
54 + $(INSTALL_PREFIX)$(MANDIR)/man3 \
55 + $(INSTALL_PREFIX)$(MANDIR)/man5 \
56 + $(INSTALL_PREFIX)$(MANDIR)/man7
58 +install_sw: install_dirs
59 @set -e; headerlist="$(EXHEADER)"; for i in $$headerlist;\
61 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
62 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
64 - @set -e; target=install; $(RECURSIVE_BUILD_CMD)
65 + +@set -e; target=install; $(RECURSIVE_BUILD_CMD)
66 @set -e; liblist="$(LIBS)"; for i in $$liblist ;\
68 if [ -f "$$i" ]; then \
69 @@ -623,12 +630,7 @@ install_html_docs:
74 - @$(PERL) $(TOP)/util/mkdir-p.pl \
75 - $(INSTALL_PREFIX)$(MANDIR)/man1 \
76 - $(INSTALL_PREFIX)$(MANDIR)/man3 \
77 - $(INSTALL_PREFIX)$(MANDIR)/man5 \
78 - $(INSTALL_PREFIX)$(MANDIR)/man7
79 +install_docs: install_dirs
80 @pod2man="`cd ./util; ./pod2mantest $(PERL)`"; \
85 @@ -120,6 +120,7 @@ SYMLINK_SO= \
88 if [ -n "$$SHLIB_SOVER" ]; then \
89 + [ -e "$$SHLIB$$SHLIB_SUFFIX" ] || \
90 ( $(SET_X); rm -f $$SHLIB$$SHLIB_SUFFIX; \
91 ln -s $$prev $$SHLIB$$SHLIB_SUFFIX ); \
95 @@ -85,11 +85,11 @@ testapps:
96 @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi
99 - @target=all; $(RECURSIVE_MAKE)
100 + +@target=all; $(RECURSIVE_MAKE)
103 $(PERL) $(TOP)/util/files.pl "CPUID_OBJ=$(CPUID_OBJ)" Makefile >> $(TOP)/MINFO
104 - @target=files; $(RECURSIVE_MAKE)
105 + +@target=files; $(RECURSIVE_MAKE)
108 @$(PERL) $(TOP)/util/mklink.pl ../include/openssl $(EXHEADER)
109 @@ -100,7 +100,7 @@ links:
110 # lib: $(LIB): are splitted to avoid end-less loop
114 +$(LIB): $(LIBOBJ) | subdirs
115 $(AR) $(LIB) $(LIBOBJ)
116 test -z "$(FIPSLIBDIR)" || $(AR) $(LIB) $(FIPSLIBDIR)fipscanister.o
117 $(RANLIB) $(LIB) || echo Never mind.
118 @@ -111,7 +111,7 @@ shared: buildinf.h lib subdirs
122 - @target=lib; $(RECURSIVE_MAKE)
123 + +@target=lib; $(RECURSIVE_MAKE)
126 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
127 @@ -120,7 +120,7 @@ install:
128 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
129 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
131 - @target=install; $(RECURSIVE_MAKE)
132 + +@target=install; $(RECURSIVE_MAKE)
135 @target=lint; $(RECURSIVE_MAKE)
136 --- a/engines/Makefile
137 +++ b/engines/Makefile
138 @@ -72,7 +72,7 @@ top:
143 +lib: $(LIBOBJ) | subdirs
144 @if [ -n "$(SHARED_LIBS)" ]; then \
146 for l in $(LIBNAMES); do \
147 @@ -89,7 +89,7 @@ lib: $(LIBOBJ)
151 - @target=all; $(RECURSIVE_MAKE)
152 + +@target=all; $(RECURSIVE_MAKE)
155 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
156 @@ -128,7 +128,7 @@ install:
157 mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx ); \
160 - @target=install; $(RECURSIVE_MAKE)
161 + +@target=install; $(RECURSIVE_MAKE)
167 @@ -138,7 +138,7 @@ install:
171 -tests: exe apps $(TESTS)
175 @(cd ..; $(MAKE) DIRS=apps all)
176 @@ -549,7 +549,7 @@ $(CLIENTHELLOTEST)$(EXE_EXT): $(CLIENTHE
179 dummytest$(EXE_EXT): dummytest.o $(DLIBCRYPTO)
180 - @target=dummytest; $(BUILD_CMD)
181 + +@target=dummytest; $(BUILD_CMD)
183 # DO NOT DELETE THIS LINE -- make depend depends on it.