In routerlist_assert_ok(), check r2 before taking &(r2->cache_info)
[tor.git] / src / or / Makefile.nmake
blob523bf3306b6a7d1b701eea8cd09932cf72e6be58
1 all: tor.exe
3 CFLAGS = /O2 /MT /I ..\win32 /I ..\..\..\build-alpha\include /I ..\common \
4     /I ..\ext
6 LIBS = ..\..\..\build-alpha\lib\libevent.lib \
7  ..\..\..\build-alpha\lib\libcrypto.lib \
8  ..\..\..\build-alpha\lib\libssl.lib \
9  ..\..\..\build-alpha\lib\libz.lib \
10  ws2_32.lib advapi32.lib shell32.lib \
11  crypt32.lib gdi32.lib user32.lib
13 LIBTOR_OBJECTS = \
14   addressmap.obj \
15   buffers.obj \
16   channel.obj \
17   channeltls.obj \
18   circpathbias.obj \
19   circuitbuild.obj \
20   circuitlist.obj \
21   circuitmux.obj \
22   circuitmux_ewma.obj \
23   circuitstats.obj \
24   circuituse.obj \
25   command.obj \
26   config.obj \
27   config_codedigest.obj \
28   confparse.obj \
29   connection.obj \
30   connection_edge.obj \
31   connection_or.obj \
32   control.obj \
33   cpuworker.obj \
34   directory.obj \
35   dirserv.obj \
36   dirvote.obj \
37   dns.obj \
38   dnsserv.obj \
39   ext_orport.obj \
40   fp_pair.obj \
41   entrynodes.obj \
42   geoip.obj \
43   hibernate.obj \
44   main.obj \
45   microdesc.obj \
46   networkstatus.obj \
47   nodelist.obj \
48   ntmain.obj \
49   onion.obj \
50   onion_fast.obj \
51   onion_ntor.obj \
52   onion_tap.obj \
53   policies.obj \
54   reasons.obj \
55   relay.obj \
56   rendclient.obj \
57   rendcommon.obj \
58   rendmid.obj \
59   rendservice.obj \
60   rephist.obj \
61   replaycache.obj \
62   router.obj \
63   routerlist.obj \
64   routerparse.obj \
65   routerset.obj \
66   statefile.obj \
67   status.obj \
68   transports.obj
70 libtor.lib: $(LIBTOR_OBJECTS)
71         lib $(LIBTOR_OBJECTS) /out:$@
73 tor.exe: libtor.lib tor_main.obj
74         $(CC) $(CFLAGS) $(LIBS) libtor.lib ..\common\*.lib ..\ext\*.lib tor_main.obj /Fe$@
76 clean:
77         del $(LIBTOR_OBJECTS) tor_main.obj *.lib tor.exe