Fixed some typographic errors in comments.
[BearSSL] / conf / Unix.mk
1 # Configuration for a native build on a generic Unix-like system.
2
3 # Build directory.
4 BUILD = build
5
6 # Extension for executable files.
7 E =
8
9 # Extension for object files.
10 O = .o
11
12 # Prefix for library file name.
13 LP = lib
14
15 # Extension for library file name.
16 L = .a
17
18 # Prefix for DLL file name.
19 DP = lib
20
21 # Extension for DLL file name.
22 D = .so
23
24 # Output file names can be overridden directly. By default, they are
25 # assembled using the prefix/extension macros defined above.
26 # BEARSSLLIB = libbearssl.a
27 # BEARSSLDLL = libbearssl.so
28 # BRSSL = brssl
29 # TESTCRYPTO = testcrypto
30 # TESTSPEED = testspeed
31 # TESTX509 = testx509
32
33 # File deletion tool.
34 RM = rm -f
35
36 # Directory creation tool.
37 MKDIR = mkdir -p
38
39 # C compiler and flags.
40 CC = cc
41 CFLAGS = -W -Wall -Os -fPIC
42 CCOUT = -c -o
43
44 # Static library building tool.
45 AR = ar
46 ARFLAGS = -rcs
47 AROUT =
48
49 # DLL building tool.
50 LDDLL = cc
51 LDDLLFLAGS = -shared
52 LDDLLOUT = -o
53
54 # Static linker.
55 LD = cc
56 LDFLAGS =
57 LDOUT = -o
58
59 # C# compiler; we assume usage of Mono.
60 MKT0COMP = mk$PmkT0.sh
61 RUNT0COMP = mono T0Comp.exe
62
63 # Set the values to 'no' to disable building of the corresponding element
64 # by default. Building can still be invoked with an explicit target call
65 # (e.g. 'make dll' to force build the DLL).
66 #STATICLIB = no
67 #DLL = no
68 #TOOLS = no
69 #TESTS = no