Makefile.llvm 853 B

12345678910111213141516171819202122232425262728293031323334
  1. #
  2. # 3 proxy Makefile for GCC/windows
  3. #
  4. # You can try to remove -DWITH_STD_MALLOC to CFLAGS to use optimized malloc
  5. # libraries
  6. #
  7. # remove -DNOODBC from CFLAGS and add -lodbc to LDFLAGS to compile with ODBC
  8. # library support
  9. BUILDDIR = ../bin/
  10. CC = clang
  11. CFLAGS = -O2 -c -pthread -static -DWITH_STD_MALLOC -DNOIPV6
  12. COUT = -o
  13. LN = clang
  14. LDFLAGS = -O2 -static -s
  15. DLFLAGS = -shared
  16. DLSUFFICS = .dll
  17. LIBS = -lws2_32 -lodbc32 -ladvapi32
  18. LNOUT = -o
  19. EXESUFFICS = .exe
  20. OBJSUFFICS = .o
  21. DEFINEOPTION = -D
  22. COMPFILES = *.tmp
  23. REMOVECOMMAND = rm -f
  24. TYPECOMMAND = cat
  25. COMPATLIBS =
  26. MAKEFILE = Makefile.win
  27. PLUGINS = utf8tocp1251 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 *.o &&cd ..\..)