Makefile.nmake 1.5 KB

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