Makefile.var 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. VERFILE = version.obj ../3proxy.RES
  2. #$Id: Makefile.msvc,v 1.17 2010-11-11 14:44:11 v.dubrovin Exp $
  3. #
  4. # 3 proxy Makefile for Microsoft Visual C compiler (for both make and nmake)
  5. #
  6. # You can try to remove -DWITH_STD_MALLOC to CFLAGS to use optimized malloc
  7. # libraries
  8. #
  9. # Add /DSAFESQL to CFLAGS if you are using poorely written/tested ODBC driver
  10. BUILDDIR = ../bin/
  11. CC = cl
  12. CFLAGS = /nologo /MT /W3 /Ox /GS /EHs- /GA /GF /D "MSVC" /D "WITH_STD_MALLOC" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "_WIN32" /Fp"proxy.pch" /FD /c
  13. COUT = /Fo
  14. LN = link
  15. LDFLAGS = /nologo /subsystem:console /incremental:no /machine:I386
  16. DLFLAGS = /DLL
  17. DLSUFFICS = .dll
  18. LIBS = ws2_32.lib advapi32.lib odbc32.lib user32.lib kernel32.lib Gdi32.lib 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.msvc
  29. PLUGINS = utf8tocp1251 WindowsAuthentication TrafficPlugin StringsPlugin PCREPlugin lastFripper FilePlugin
  30. include Makefile.inc
  31. allplugins:
  32. for /D %%i in ($(PLUGINS)) do (copy Makefile plugins\%%i && copy Makefile.var plugins\%%i && cd plugins\%%i && nmake && del *.obj *.idb &&cd ..\..)