1 SUBDIRS = src ctaocrypt
\r
2 EXTRA_DIST = certs/*.pem certs/*.der certs/*.txt certs/*.raw \
3 lib/dummy *.sln *.vcproj cyassl-iphone.xcodeproj/project.pbxproj \
4 doc/*.pdf swig/README swig/*.i swig/cyassl_adds.c swig/*.sh swig/runme.* \
5 swig/python_cyassl.vcproj swig/rsasign.py
7 ACLOCAL_AMFLAGS = -I m4
9 # !!!! first line of rule has to start with a hard (real) tab, not spaces
11 cd src; $(MAKE); cd ../
14 cd lib; ln -s ../src/.libs/libcyassl.a libcrypto.a; \
15 ln -s ../src/.libs/libcyassl.a libssl.a; \
16 ln -s ../src/.libs/libcyassl.a libcyassl.a; cd ../
18 # !!! test -e with a .name like .libs then a * like *dylib fails so just
19 # look for the .dylib on OS X, and .so otherwise but copy all parts
21 $(mkinstalldirs) $(DESTDIR)$(includedir) $(DESTDIR)$(libdir); \
22 cp -fpR include/* $(DESTDIR)$(includedir); \
23 cp -fpR ctaocrypt/include/* $(DESTDIR)$(includedir); \
24 cp -fpR src/libcyassl.la $(DESTDIR)$(libdir); \
25 if test -e src/.libs/libcyassl.a; then \
26 cp -fp src/.libs/libcyassl.a $(DESTDIR)$(libdir); fi; \
27 if test -e src/.libs/libcyassl.so; then \
28 cp -fpR src/.libs/libcyassl.so* $(DESTDIR)$(libdir); fi; \
29 if test -e src/.libs/libcyassl.dylib; then \
30 cp -fpR src/.libs/libcyassl.*dylib $(DESTDIR)$(libdir); fi;