diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-02-02 12:03:44 +0100 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-02-02 12:03:44 +0100 |
commit | dc25573ed79a0d55c5a24b20474aa8504a758a2c (patch) | |
tree | 894a85209cb933b89b3d0fdb9c2320b43412424e /test/monniaux/BearSSL/conf/UnixCompCert.mk | |
parent | 44b2d04414b13811868a134f1eae9eaece506b69 (diff) | |
download | compcert-kvx-dc25573ed79a0d55c5a24b20474aa8504a758a2c.tar.gz compcert-kvx-dc25573ed79a0d55c5a24b20474aa8504a758a2c.zip |
BearSSL
Diffstat (limited to 'test/monniaux/BearSSL/conf/UnixCompCert.mk')
-rw-r--r-- | test/monniaux/BearSSL/conf/UnixCompCert.mk | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/test/monniaux/BearSSL/conf/UnixCompCert.mk b/test/monniaux/BearSSL/conf/UnixCompCert.mk new file mode 100644 index 00000000..fefb2938 --- /dev/null +++ b/test/monniaux/BearSSL/conf/UnixCompCert.mk @@ -0,0 +1,69 @@ +# Configuration for a native build on a generic Unix-like system. + +# Build directory. +BUILD = build + +# Extension for executable files. +E = + +# Extension for object files. +O = .o + +# Prefix for library file name. +LP = lib + +# Extension for library file name. +L = .a + +# Prefix for DLL file name. +DP = lib + +# Extension for DLL file name. +D = .so + +# Output file names can be overridden directly. By default, they are +# assembled using the prefix/extension macros defined above. +# BEARSSLLIB = libbearssl.a +# BEARSSLDLL = libbearssl.so +# BRSSL = brssl +# TESTCRYPTO = testcrypto +# TESTSPEED = testspeed +# TESTX509 = testx509 + +# File deletion tool. +RM = rm -f + +# Directory creation tool. +MKDIR = mkdir -p + +# C compiler and flags. +CC = /opt/CompCert/3.4/x86_64-linux/bin/ccomp +CFLAGS = -W -Wall -O3 -D_POSIX_C_SOURCE=200909L -U__SIZEOF_INT128__ -U__SIZEOF_FLOAT128__ -fstruct-passing +CCOUT = -c -o + +# Static library building tool. +AR = ar +ARFLAGS = -rcs +AROUT = + +# DLL building tool. +LDDLL = cc +LDDLLFLAGS = -shared +LDDLLOUT = -o + +# Static linker. +LD = $(CC) +LDFLAGS = +LDOUT = -o + +# C# compiler; we assume usage of Mono. +MKT0COMP = mk$PmkT0.sh +RUNT0COMP = mono T0Comp.exe + +# Set the values to 'no' to disable building of the corresponding element +# by default. Building can still be invoked with an explicit target call +# (e.g. 'make dll' to force build the DLL). +#STATICLIB = no +DLL = no +#TOOLS = no +#TESTS = no |