2012-05-14 19:01:05 +02:00
|
|
|
all: tor.exe
|
|
|
|
|
|
|
|
CFLAGS = /I ..\win32 /I ..\..\..\build-alpha\include /I ..\common
|
|
|
|
|
|
|
|
LIBS = ..\..\..\build-alpha\lib\libevent.a \
|
|
|
|
..\..\..\build-alpha\lib\libcrypto.a \
|
|
|
|
..\..\..\build-alpha\lib\libssl.a \
|
|
|
|
..\..\..\build-alpha\lib\libz.a \
|
|
|
|
ws2_32.lib advapi32.lib shell32.lib
|
|
|
|
|
2012-08-01 13:18:42 +02:00
|
|
|
LIBTOR_OBJECTS = buffers.obj channel.obj channeltls.obj circuitbuild.obj \
|
2012-10-01 06:41:25 +02:00
|
|
|
circuitlist.obj circuitmux.obj circuitmux_ewma.obj circuituse.obj \
|
|
|
|
command.obj config.obj connection.obj connection_edge.obj \
|
|
|
|
connection_or.obj control.obj cpuworker.obj directory.obj \
|
|
|
|
dirserv.obj dirvote.obj dns.obj dnsserv.obj geoip.obj hibernate.obj \
|
|
|
|
main.obj microdesc.obj networkstatus.obj nodelist.obj onion.obj \
|
|
|
|
policies.obj reasons.obj relay.obj rendclient.obj rendcommon.obj \
|
|
|
|
rendmid.obj rendservice.obj rephist.obj router.obj routerlist.obj \
|
|
|
|
routerparse.obj status.obj config_codedigest.obj ntmain.obj
|
2012-05-14 19:01:05 +02:00
|
|
|
|
|
|
|
libtor.lib: $(LIBTOR_OBJECTS)
|
|
|
|
lib $(LIBTOR_OBJECTS) /out:libtor.lib
|
|
|
|
|
|
|
|
tor.exe: libtor.lib tor_main.obj
|
|
|
|
$(CC) $(CFLAGS) $(LIBS) libtor.lib ..\common\*.lib tor_main.obj
|
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(LIBTOR_OBJECTS) *.lib tor.exe
|