1*0957b409SSimon J. Gerraty# Configuration for a native build on a generic Unix-like system. 2*0957b409SSimon J. Gerraty 3*0957b409SSimon J. Gerraty# Build directory. 4*0957b409SSimon J. GerratyBUILD = build 5*0957b409SSimon J. Gerraty 6*0957b409SSimon J. Gerraty# Extension for executable files. 7*0957b409SSimon J. GerratyE = 8*0957b409SSimon J. Gerraty 9*0957b409SSimon J. Gerraty# Extension for object files. 10*0957b409SSimon J. GerratyO = .o 11*0957b409SSimon J. Gerraty 12*0957b409SSimon J. Gerraty# Prefix for library file name. 13*0957b409SSimon J. GerratyLP = lib 14*0957b409SSimon J. Gerraty 15*0957b409SSimon J. Gerraty# Extension for library file name. 16*0957b409SSimon J. GerratyL = .a 17*0957b409SSimon J. Gerraty 18*0957b409SSimon J. Gerraty# Prefix for DLL file name. 19*0957b409SSimon J. GerratyDP = lib 20*0957b409SSimon J. Gerraty 21*0957b409SSimon J. Gerraty# Extension for DLL file name. 22*0957b409SSimon J. GerratyD = .so 23*0957b409SSimon J. Gerraty 24*0957b409SSimon J. Gerraty# Output file names can be overridden directly. By default, they are 25*0957b409SSimon J. Gerraty# assembled using the prefix/extension macros defined above. 26*0957b409SSimon J. Gerraty# BEARSSLLIB = libbearssl.a 27*0957b409SSimon J. Gerraty# BEARSSLDLL = libbearssl.so 28*0957b409SSimon J. Gerraty# BRSSL = brssl 29*0957b409SSimon J. Gerraty# TESTCRYPTO = testcrypto 30*0957b409SSimon J. Gerraty# TESTSPEED = testspeed 31*0957b409SSimon J. Gerraty# TESTX509 = testx509 32*0957b409SSimon J. Gerraty 33*0957b409SSimon J. Gerraty# File deletion tool. 34*0957b409SSimon J. GerratyRM = rm -f 35*0957b409SSimon J. Gerraty 36*0957b409SSimon J. Gerraty# Directory creation tool. 37*0957b409SSimon J. GerratyMKDIR = mkdir -p 38*0957b409SSimon J. Gerraty 39*0957b409SSimon J. Gerraty# C compiler and flags. 40*0957b409SSimon J. GerratyCC = cc 41*0957b409SSimon J. GerratyCFLAGS = -W -Wall -Os -fPIC 42*0957b409SSimon J. GerratyCCOUT = -c -o 43*0957b409SSimon J. Gerraty 44*0957b409SSimon J. Gerraty# Static library building tool. 45*0957b409SSimon J. GerratyAR = ar 46*0957b409SSimon J. GerratyARFLAGS = -rcs 47*0957b409SSimon J. GerratyAROUT = 48*0957b409SSimon J. Gerraty 49*0957b409SSimon J. Gerraty# DLL building tool. 50*0957b409SSimon J. GerratyLDDLL = cc 51*0957b409SSimon J. GerratyLDDLLFLAGS = -shared 52*0957b409SSimon J. GerratyLDDLLOUT = -o 53*0957b409SSimon J. Gerraty 54*0957b409SSimon J. Gerraty# Static linker. 55*0957b409SSimon J. GerratyLD = cc 56*0957b409SSimon J. GerratyLDFLAGS = 57*0957b409SSimon J. GerratyLDOUT = -o 58*0957b409SSimon J. Gerraty 59*0957b409SSimon J. Gerraty# C# compiler; we assume usage of Mono. 60*0957b409SSimon J. GerratyMKT0COMP = mk$PmkT0.sh 61*0957b409SSimon J. GerratyRUNT0COMP = mono T0Comp.exe 62*0957b409SSimon J. Gerraty 63*0957b409SSimon J. Gerraty# Set the values to 'no' to disable building of the corresponding element 64*0957b409SSimon J. Gerraty# by default. Building can still be invoked with an explicit target call 65*0957b409SSimon J. Gerraty# (e.g. 'make dll' to force build the DLL). 66*0957b409SSimon J. Gerraty#STATICLIB = no 67*0957b409SSimon J. Gerraty#DLL = no 68*0957b409SSimon J. Gerraty#TOOLS = no 69*0957b409SSimon J. Gerraty#TESTS = no 70