2012-05-14 19:01:05 +02:00
|
|
|
all: tor.exe
|
|
|
|
|
2014-09-09 16:27:05 +02:00
|
|
|
CFLAGS = /O2 /MT /I ..\win32 /I ..\..\..\build-alpha\include /I ..\common \
|
2012-12-18 19:16:48 +01:00
|
|
|
/I ..\ext
|
2012-05-14 19:01:05 +02:00
|
|
|
|
2012-12-18 19:16:48 +01:00
|
|
|
LIBS = ..\..\..\build-alpha\lib\libevent.lib \
|
|
|
|
..\..\..\build-alpha\lib\libcrypto.lib \
|
|
|
|
..\..\..\build-alpha\lib\libssl.lib \
|
|
|
|
..\..\..\build-alpha\lib\libz.lib \
|
2013-01-17 16:01:22 +01:00
|
|
|
ws2_32.lib advapi32.lib shell32.lib \
|
|
|
|
crypt32.lib gdi32.lib user32.lib
|
2012-05-14 19:01:05 +02:00
|
|
|
|
2012-12-18 19:20:32 +01:00
|
|
|
LIBTOR_OBJECTS = \
|
|
|
|
addressmap.obj \
|
|
|
|
buffers.obj \
|
|
|
|
channel.obj \
|
|
|
|
channeltls.obj \
|
2014-09-09 16:27:05 +02:00
|
|
|
circpathbias.obj \
|
2012-12-18 19:20:32 +01:00
|
|
|
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 \
|
2014-09-09 16:27:05 +02:00
|
|
|
ext_orport.obj \
|
2013-05-11 04:39:48 +02:00
|
|
|
fp_pair.obj \
|
2012-12-18 19:20:32 +01:00
|
|
|
entrynodes.obj \
|
|
|
|
geoip.obj \
|
|
|
|
hibernate.obj \
|
|
|
|
main.obj \
|
|
|
|
microdesc.obj \
|
|
|
|
networkstatus.obj \
|
|
|
|
nodelist.obj \
|
|
|
|
ntmain.obj \
|
|
|
|
onion.obj \
|
2013-01-17 20:38:52 +01:00
|
|
|
onion_fast.obj \
|
|
|
|
onion_ntor.obj \
|
|
|
|
onion_tap.obj \
|
2012-12-18 19:20:32 +01:00
|
|
|
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
|
2012-05-14 19:01:05 +02:00
|
|
|
|
|
|
|
libtor.lib: $(LIBTOR_OBJECTS)
|
2012-12-18 19:41:11 +01:00
|
|
|
lib $(LIBTOR_OBJECTS) /out:$@
|
2012-05-14 19:01:05 +02:00
|
|
|
|
|
|
|
tor.exe: libtor.lib tor_main.obj
|
2014-09-09 16:27:05 +02:00
|
|
|
$(CC) $(CFLAGS) $(LIBS) libtor.lib ..\common\*.lib ..\ext\*.lib tor_main.obj /Fe$@
|
2012-05-14 19:01:05 +02:00
|
|
|
|
|
|
|
clean:
|
2014-09-09 16:27:05 +02:00
|
|
|
del $(LIBTOR_OBJECTS) tor_main.obj *.lib tor.exe
|