Makefile.msvcCE 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #
  2. # 3 proxy Makefile for Microsoft Visual C compiler (for both make and nmake)
  3. #
  4. # You can try to remove -DWITH_STD_MALLOC to CFLAGS to use optimized malloc
  5. # libraries
  6. #
  7. # Add /DSAFESQL to CFLAGS if you are using poorely written/tested ODBC driver
  8. BUILDDIR = ../bin/
  9. CC = cl
  10. CFLAGS = /DARM /D "NOODBC" /nologo /MT /W3 /Wp64 /Ox /GS /EHs- /GA /GF /D "MSVC" /D "_WINCE" /D "WITH_STD_MALLOC" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "_WIN32" /D "PRINTF_INT64_MODIFIER=\"I64\"" /Fp"proxy.pch" /FD /c
  11. COUT = /Fo
  12. LN = link
  13. LDFLAGS = /nologo /subsystem:console /incremental:no
  14. DLFLAGS = /DLL
  15. DLSUFFICS = .dll
  16. LIBS = ws2_32.lib advapi32.lib odbc32.lib user32.lib
  17. LIBEXT = .lib
  18. LNOUT = /out:
  19. EXESUFFICS = .exe
  20. OBJSUFFICS = .obj
  21. DEFINEOPTION = /D
  22. COMPFILES = *.pch *.idb
  23. REMOVECOMMAND = del 2>NUL >NUL
  24. TYPECOMMAND = type
  25. COMPATLIBS =
  26. MAKEFILE = Makefile.msvc
  27. PLUGINS = WindowsAuthentication TrafficPlugin StringsPlugin PCREPlugin
  28. include Makefile.inc
  29. allplugins:
  30. for /D %%i in ($(PLUGINS)) do (copy Makefile plugins\%%i && copy Makefile.var plugins\%%i && cd plugins\%%i && nmake && del *.obj *.idb &&cd ..\..)