ssl/tls: add proper const attributes to functions, context members
[tropicssl.git] / Makefile
blob84c0d6a62f6bc8d16d0f9057dcfaa259143c55f5
2 DESTDIR=/usr/local
3 PREFIX=tropicssl_
5 .PHONY: all
7 all:
8 make -C library all
9 make -C programs all
11 .PHONY: install
13 install:
14 mkdir -p $(DESTDIR)/include/tropicssl
15 cp -r include/tropicssl $(DESTDIR)/include
17 mkdir -p $(DESTDIR)/lib
18 cp library/libtropicssl.* $(DESTDIR)/lib
20 mkdir -p $(DESTDIR)/bin
21 for p in programs/*/* ; do \
22 if [ -x $$p ] && [ ! -d $$p ] ; \
23 then \
24 f=$(PREFIX)`basename $$p` ; \
25 cp $$p $(DESTDIR)/bin/$$f ; \
26 fi \
27 done
29 .PHONY: clean
31 clean:
32 make -C library clean
33 make -C programs clean