1*0957b409SSimon J. Gerraty# Configuration for a native build on a Windows system with Visual Studio. 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 = .exe 8*0957b409SSimon J. Gerraty 9*0957b409SSimon J. Gerraty# Extension for object files. 10*0957b409SSimon J. GerratyO = .obj 11*0957b409SSimon J. Gerraty 12*0957b409SSimon J. Gerraty# Prefix for static library file name. 13*0957b409SSimon J. GerratyLP = 14*0957b409SSimon J. Gerraty 15*0957b409SSimon J. Gerraty# Extension for static library file name. We add an 's' so that the 16*0957b409SSimon J. Gerraty# name is distinct from the 'import library' generated along with the DLL. 17*0957b409SSimon J. GerratyL = s.lib 18*0957b409SSimon J. Gerraty 19*0957b409SSimon J. Gerraty# Prefix for DLL file name. 20*0957b409SSimon J. GerratyDP = 21*0957b409SSimon J. Gerraty 22*0957b409SSimon J. Gerraty# Extension for DLL file name. 23*0957b409SSimon J. GerratyD = .dll 24*0957b409SSimon J. Gerraty 25*0957b409SSimon J. Gerraty# Output file names can be overridden directly. By default, they are 26*0957b409SSimon J. Gerraty# assembled using the prefix/extension macros defined above. 27*0957b409SSimon J. Gerraty# BEARSSLLIB = bearssls.lib 28*0957b409SSimon J. Gerraty# BEARSSLDLL = bearssl.dll 29*0957b409SSimon J. Gerraty# BRSSL = brssl.exe 30*0957b409SSimon J. Gerraty# TESTCRYPTO = testcrypto.exe 31*0957b409SSimon J. Gerraty# TESTSPEED = testspeed.exe 32*0957b409SSimon J. Gerraty# TESTX509 = testx509.exe 33*0957b409SSimon J. Gerraty 34*0957b409SSimon J. Gerraty# File deletion tool. 35*0957b409SSimon J. GerratyRM = del /Q 36*0957b409SSimon J. Gerraty 37*0957b409SSimon J. Gerraty# Directory creation tool. 38*0957b409SSimon J. GerratyMKDIR = mkdir 39*0957b409SSimon J. Gerraty 40*0957b409SSimon J. Gerraty# C compiler and flags. 41*0957b409SSimon J. GerratyCC = cl 42*0957b409SSimon J. GerratyCFLAGS = -nologo -W2 -O2 43*0957b409SSimon J. GerratyCCOUT = -c -Fo 44*0957b409SSimon J. Gerraty 45*0957b409SSimon J. Gerraty# Static library building tool. 46*0957b409SSimon J. GerratyAR = lib 47*0957b409SSimon J. GerratyARFLAGS = -nologo 48*0957b409SSimon J. GerratyAROUT = -out: 49*0957b409SSimon J. Gerraty 50*0957b409SSimon J. Gerraty# DLL building tool. 51*0957b409SSimon J. GerratyLDDLL = cl 52*0957b409SSimon J. GerratyLDDLLFLAGS = -nologo -LD -MT 53*0957b409SSimon J. GerratyLDDLLOUT = -Fe 54*0957b409SSimon J. Gerraty 55*0957b409SSimon J. Gerraty# Static linker. 56*0957b409SSimon J. GerratyLD = cl 57*0957b409SSimon J. GerratyLDFLAGS = -nologo 58*0957b409SSimon J. GerratyLDOUT = -Fe 59*0957b409SSimon J. Gerraty 60*0957b409SSimon J. Gerraty# C# compiler. 61*0957b409SSimon J. GerratyMKT0COMP = mk$PmkT0.cmd 62*0957b409SSimon J. GerratyRUNT0COMP = T0Comp.exe 63*0957b409SSimon J. Gerraty 64*0957b409SSimon J. Gerraty# Set the values to 'no' to disable building of the corresponding element 65*0957b409SSimon J. Gerraty# by default. Building can still be invoked with an explicit target call 66*0957b409SSimon J. Gerraty# (e.g. 'make dll' to force build the DLL). 67*0957b409SSimon J. Gerraty#STATICLIB = no 68*0957b409SSimon J. Gerraty#DLL = no 69*0957b409SSimon J. Gerraty#TOOLS = no 70*0957b409SSimon J. Gerraty#TESTS = no 71