Makefile.nmake 1.6 KB

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