Debian Codegraph @

crt/s2n/tests/Makefile

raw symbols SCIP
1 #
2 # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License").
5 # You may not use this file except in compliance with the License.
6 # A copy of the License is located at
7 #
8 # http://aws.amazon.com/apache2.0
9 #
10 # or in the "license" file accompanying this file. This file is distributed
11 # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 # express or implied. See the License for the specific language governing
13 # permissions and limitations under the License.
14 #
15
16 OPENSSL_VERSION=$(shell $(LIBCRYPTO_ROOT)/bin/openssl version 2> /dev/null || echo 1)
17 ifeq (${OPENSSL_VERSION}, 1)
18 COMPILE_INFO=Compiled with the missing version of openssl
19 else
20 COMPILE_INFO=Compiled with ${OPENSSL_VERSION}.
21 endif
22
23 .PHONY : all
24 all: libs viz
25 ${MAKE} -C unit
26 @echo "\033[1m ${COMPILE_INFO} \033[0;39m"
27
28 .PHONY : libs
29 libs:
30 ${MAKE} -C testlib
31 ${MAKE} -C LD_PRELOAD
32
33 .PHONY : integrationv2
34 integrationv2:
35 ${MAKE} -C integrationv2
36
37 .PHONY : viz
38 viz:
39 ${MAKE} -C viz
40
41 include ../s2n.mk
42
43 .PHONY : clean
44 clean: decruft
45 ${MAKE} -C testlib decruft
46 ${MAKE} -C LD_PRELOAD decruft
47 ${MAKE} -C unit clean
48 ${MAKE} -C viz clean
49 ${MAKE} -C saw decruft
50