X-Git-Url: https://bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=conf%2FWin.mk;fp=conf%2FWin.mk;h=2ed4bb6895aadeac30ea384319b599fe94a90d85;hp=0000000000000000000000000000000000000000;hb=3f00688b9d9f483a6ca97e659eea104995ea15b7;hpb=2f454aad577ae53798935cc32438a2d3f02ba31f diff --git a/conf/Win.mk b/conf/Win.mk new file mode 100644 index 0000000..2ed4bb6 --- /dev/null +++ b/conf/Win.mk @@ -0,0 +1,70 @@ +# Configuration for a native build on a Windows system with Visual Studio. + +# Build directory. +BUILD = build + +# Extension for executable files. +E = .exe + +# Extension for object files. +O = .obj + +# Prefix for static library file name. +LP = + +# Extension for static library file name. We add an 's' so that the +# name is distinct from the 'import library' generated along with the DLL. +L = s.lib + +# Prefix for DLL file name. +DP = + +# Extension for DLL file name. +D = .dll + +# Output file names can be overridden directly. By default, they are +# assembled using the prefix/extension macros defined above. +# BEARSSLLIB = bearssls.lib +# BEARSSLDLL = bearssl.dll +# BRSSL = brssl.exe +# TESTCRYPTO = testcrypto.exe +# TESTSPEED = testspeed.exe +# TESTX509 = testx509.exe + +# File deletion tool. +RM = del /Q + +# Directory creation tool. +MKDIR = mkdir + +# C compiler and flags. +CC = cl +CFLAGS = -nologo -W2 -O2 +CCOUT = -c -Fo + +# Static library building tool. +AR = lib +ARFLAGS = -nologo +AROUT = -out: + +# DLL building tool. +LDDLL = cl +LDDLLFLAGS = -nologo -LD -MT +LDDLLOUT = -Fe + +# Static linker. +LD = cl +LDFLAGS = -nologo +LDOUT = -Fe + +# C# compiler. +MKT0COMP = mk$PmkT0.cmd +RUNT0COMP = 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