1# Configuration for a native build on a generic Unix-like system. 2 3# Build directory. 4BUILD = build 5 6# Extension for executable files. 7E = 8 9# Extension for object files. 10O = .o 11 12# Prefix for library file name. 13LP = lib 14 15# Extension for library file name. 16L = .a 17 18# Prefix for DLL file name. 19DP = lib 20 21# Extension for DLL file name. 22D = .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. 34RM = rm -f 35 36# Directory creation tool. 37MKDIR = mkdir -p 38 39# C compiler and flags. 40CC = cc 41CFLAGS = -W -Wall -Os -fPIC 42CCOUT = -c -o 43 44# Static library building tool. 45AR = ar 46ARFLAGS = -rcs 47AROUT = 48 49# DLL building tool. 50LDDLL = cc 51LDDLLFLAGS = -shared 52LDDLLOUT = -o 53 54# Static linker. 55LD = cc 56LDFLAGS = 57LDOUT = -o 58 59# C# compiler; we assume usage of Mono. 60MKT0COMP = mk$PmkT0.sh 61RUNT0COMP = 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 70