3 @@ -8,14 +8,11 @@ basic:
6 cd lib; ln -s ../src/.libs/libcyassl.a libcrypto.a; \
7 - ln -s ../src/.libs/libcyassl.a libssl.a; \
8 - ln -s ../src/.libs/libcyassl.a libcyassl.a; cd ../
9 + ln -s ../src/.libs/libcyassl.a libssl.a; \
10 + ln -s ../src/.libs/libcyassl.a libcyassl.a; cd ../
13 - mkdir ${prefix}/cyassl; \
14 - mkdir ${prefix}/cyassl/include; \
15 - mkdir ${prefix}/cyassl/include/openssl; \
16 - cp include/openssl/*.h ${prefix}/cyassl/include/openssl; \
17 - make openssl-links; \
18 - mkdir ${prefix}/cyassl/lib; \
19 - cp lib/*.a ${prefix}/cyassl/lib
20 + $(mkinstalldirs) $(DESTDIR)$(includedir)/cyassl $(DESTDIR)$(libdir); \
21 + cp -fpR include/* $(DESTDIR)$(includedir)/cyassl; \
22 + make openssl-links; \
23 + cp -fpR src/.libs/libcyassl.{a,so*} src/libcyassl.la $(DESTDIR)$(libdir)
26 @@ -642,17 +642,14 @@ basic:
29 cd lib; ln -s ../src/.libs/libcyassl.a libcrypto.a; \
30 - ln -s ../src/.libs/libcyassl.a libssl.a; \
31 - ln -s ../src/.libs/libcyassl.a libcyassl.a; cd ../
32 + ln -s ../src/.libs/libcyassl.a libssl.a; \
33 + ln -s ../src/.libs/libcyassl.a libcyassl.a; cd ../
36 - mkdir ${prefix}/cyassl; \
37 - mkdir ${prefix}/cyassl/include; \
38 - mkdir ${prefix}/cyassl/include/openssl; \
39 - cp include/openssl/*.h ${prefix}/cyassl/include/openssl; \
40 - make openssl-links; \
41 - mkdir ${prefix}/cyassl/lib; \
42 - cp lib/*.a ${prefix}/cyassl/lib
43 + $(mkinstalldirs) $(DESTDIR)$(includedir)/cyassl $(DESTDIR)$(libdir); \
44 + cp -fpR include/* $(DESTDIR)$(includedir)/cyassl; \
45 + make openssl-links; \
46 + cp -fpR src/.libs/libcyassl.{a,so*} src/libcyassl.la $(DESTDIR)$(libdir)
47 # Tell versions [3.59,3.63) of GNU make to not export all variables.
48 # Otherwise a system limit (for SysV at least) may be exceeded.