aboutsummaryrefslogtreecommitdiff
path: root/src/or/Makefile.nmake
blob: 3b627b1d0600dde315a1591f4577252c733a9ea5 (plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
all: tor.exe

CFLAGS = /I ..\win32 /I ..\..\..\build-alpha\include /I ..\common \
    /I ..\ext

LIBS = ..\..\..\build-alpha\lib\libevent.lib \
 ..\..\..\build-alpha\lib\libcrypto.lib \
 ..\..\..\build-alpha\lib\libssl.lib \
 ..\..\..\build-alpha\lib\libz.lib \
 ws2_32.lib advapi32.lib shell32.lib \
 crypt32.lib gdi32.lib user32.lib

LIBTOR_OBJECTS = \
  addressmap.obj \
  buffers.obj \
  channel.obj \
  channeltls.obj \
  circuitbuild.obj \
  circuitlist.obj \
  circuitmux.obj \
  circuitmux_ewma.obj \
  circuitstats.obj \
  circuituse.obj \
  command.obj \
  config.obj \
  config_codedigest.obj \
  confparse.obj \
  connection.obj \
  connection_edge.obj \
  connection_or.obj \
  control.obj \
  cpuworker.obj \
  directory.obj \
  dirserv.obj \
  dirvote.obj \
  dns.obj \
  dnsserv.obj \
  fp_pair.obj \
  entrynodes.obj \
  geoip.obj \
  hibernate.obj \
  main.obj \
  microdesc.obj \
  networkstatus.obj \
  nodelist.obj \
  ntmain.obj \
  onion.obj \
  onion_fast.obj \
  onion_ntor.obj \
  onion_tap.obj \
  policies.obj \
  reasons.obj \
  relay.obj \
  rendclient.obj \
  rendcommon.obj \
  rendmid.obj \
  rendservice.obj \
  rephist.obj \
  replaycache.obj \
  router.obj \
  routerlist.obj \
  routerparse.obj \
  routerset.obj \
  statefile.obj \
  status.obj \
  transports.obj

libtor.lib: $(LIBTOR_OBJECTS)
	lib $(LIBTOR_OBJECTS) /out:$@

tor.exe: libtor.lib tor_main.obj
	$(CC) $(CFLAGS) $(LIBS) libtor.lib ..\common\*.lib tor_main.obj /Fe$@

clean:
	del $(LIBTOR_OBJECTS) *.lib tor.exe