Makefile.msvc64 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #$Id: Makefile.msvc64,v 1.14 2007/07/21 18:47:05 vlad Exp $
  2. #
  3. # 3 proxy Makefile for Microsoft Visual C compiler (for both make and nmake)
  4. #
  5. # You can try to remove -DWITH_STD_MALLOC to CFLAGS to use optimized malloc
  6. # libraries
  7. #
  8. # Add /DSAFESQL to CFLAGS if you are using poorely written/tested ODBC driver
  9. BUILDDIR = ../bin64/
  10. CC = cl
  11. CFLAGS = /nologo /MT /W3 /Ox /EHs- /GS /GA /GF /D "MSVC" /D "WITH_STD_MALLOC" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "_WIN32" /Fp"proxy.pch" /FD /c
  12. COUT = /Fo
  13. LN = link
  14. LDFLAGS = /nologo /subsystem:console /incremental:no /machine:x64
  15. DLFLAGS = /DLL
  16. DLSUFFICS = .dll
  17. LIBS = ws2_32.lib advapi32.lib odbc32.lib user32.lib kernel32.lib Gdi32.lib
  18. LIBSOLD = libeay32MT.lib ssleay32MT.lib
  19. LIBEXT = .lib
  20. LNOUT = /out:
  21. EXESUFFICS = .exe
  22. OBJSUFFICS = .obj
  23. DEFINEOPTION = /D
  24. COMPFILES = *.pch *.idb
  25. REMOVECOMMAND = del 2>NUL >NUL
  26. TYPECOMMAND = type
  27. COMPATLIBS =
  28. MAKEFILE = Makefile.msvc64
  29. PLUGINS = utf8tocp1251 WindowsAuthentication TrafficPlugin StringsPlugin PCREPlugin
  30. VERFILE = 3proxyres.obj $(VERFILE)
  31. include Makefile.inc
  32. ../3proxy.res:
  33. rc /fo../3proxy.res ../3proxy.rc
  34. 3proxyres.obj: ../3proxy.res
  35. cvtres /out:3proxyres.obj /MACHINE:X64 ../3proxy.res
  36. allplugins:
  37. for /D %%i in ($(PLUGINS)) do (copy Makefile plugins\%%i && copy Makefile.var plugins\%%i && cd plugins\%%i && nmake && del *.obj *.idb &&cd ..\..)