This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmakefile.vs
55 lines (44 loc) · 1.86 KB
/
makefile.vs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
!IFNDEF KREMLIN_HOME
KREMLIN_HOME = ../everest/kremlin
!ENDIF
!IFNDEF MITLS_HOME
MITLS_HOME = ../everest/mitls-fstar
!ENDIF
CCOPTS = /nologo /Od /MD /Zi /DKRML_NOUINT128=1 -I $(KREMLIN_HOME)\include -I$(MITLS_HOME)\libs\ffi -I$(MITLS_HOME)\src\pki -I.
CCOPTS_KRML = $(CCOPTS) -DQUIC_KREMLIN=1 -FIQUICFStar.h
QUIC_OBJS = QUICTypes.obj \
QUICMutators.obj \
QUICUtils.obj \
QUICFFI.obj \
QUICConnection.obj \
QUICStream.obj \
QUICFrame.obj \
QUICLossAndCongestion.obj \
QUICEngine.obj \
QUICTLS.obj \
QUICFStar.obj \
C_Failure.obj \
$(MITLS_HOME)\src\windows\mitls\libmitls.lib \
$(MITLS_HOME)\src\windows\quiccrypto\libquiccrypto.lib \
$(MITLS_HOME)\src\pki\libmipki.lib \
$(MITLS_HOME)\src\windows\kremlib\libkremlib.lib
all: httpclientVS.exe pingfstarVS.exe httpserverVS.exe
C_Failure.obj: C_Failure.c C_Failure.h
cl $(CCOPTS_KRML) -c -FoC_Failure.obj C_Failure.c
httpclient.obj: httpclient.c QUICTypes.h QUICFFI.h QUICConnection.h QUICMutators.h
cl $(CCOPTS) -c httpclient.c
httpserver.obj: httpserver.c QUICTypes.h QUICFFI.h QUICConnection.h QUICMutators.h
cl $(CCOPTS) -c httpserver.c
httpclientVS.exe: httpclient.obj $(QUIC_OBJS)
cl /nologo /FehttpclientVS.exe /MD /Zi httpclient.obj $(QUIC_OBJS) ws2_32.lib ntdll.lib
httpserverVS.exe: httpserver.obj $(QUIC_OBJS)
cl /nologo /FehttpserverVS.exe /MD /Zi httpserver.obj $(QUIC_OBJS) ws2_32.lib ntdll.lib
pingfstar.obj: pingfstar.c QUICTypes.h QUICFFI.h QUICConnection.h QUICMutators.h
cl $(CCOPTS) -c pingfstar.c
pingfstarVS.exe: pingfstar.obj $(QUIC_OBJS)
cl /nologo /FepingfstarVS.exe /MD /Zi pingfstar.obj $(QUIC_OBJS) ws2_32.lib ntdll.lib
.c.obj::
cl $(CCOPTS_KRML) /MP -c $<
clean:
-del *VS.exe
-del *.obj