Makefile.nmake 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. channelpadding.obj \
  15. channeltls.obj \
  16. circpathbias.obj \
  17. circuitbuild.obj \
  18. circuitlist.obj \
  19. circuitmux.obj \
  20. circuitmux_ewma.obj \
  21. circuitstats.obj \
  22. circuituse.obj \
  23. command.obj \
  24. config.obj \
  25. config_codedigest.obj \
  26. confparse.obj \
  27. connection.obj \
  28. connection_edge.obj \
  29. connection_or.obj \
  30. control.obj \
  31. cpuworker.obj \
  32. directory.obj \
  33. dirserv.obj \
  34. dirvote.obj \
  35. dns.obj \
  36. dnsserv.obj \
  37. ext_orport.obj \
  38. fp_pair.obj \
  39. entrynodes.obj \
  40. geoip.obj \
  41. hibernate.obj \
  42. main.obj \
  43. microdesc.obj \
  44. networkstatus.obj \
  45. nodelist.obj \
  46. ntmain.obj \
  47. onion.obj \
  48. onion_fast.obj \
  49. onion_ntor.obj \
  50. onion_tap.obj \
  51. policies.obj \
  52. reasons.obj \
  53. relay.obj \
  54. rendclient.obj \
  55. rendcommon.obj \
  56. rendmid.obj \
  57. rendservice.obj \
  58. rephist.obj \
  59. replaycache.obj \
  60. router.obj \
  61. routerlist.obj \
  62. routerparse.obj \
  63. routerset.obj \
  64. scheduler.obj \
  65. statefile.obj \
  66. status.obj \
  67. transports.obj
  68. libtor.lib: $(LIBTOR_OBJECTS)
  69. lib $(LIBTOR_OBJECTS) /out:$@
  70. tor.exe: libtor.lib tor_main.obj
  71. $(CC) $(CFLAGS) $(LIBS) libtor.lib ..\common\*.lib ..\ext\*.lib tor_main.obj /Fe$@
  72. clean:
  73. del $(LIBTOR_OBJECTS) tor_main.obj *.lib tor.exe