Makefile.llvm 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 -fno-strict-aliasing -c -pthread -static -DWITH_STD_MALLOC -DNOIPV6
  12. COUT = -o
  13. LN = $(CC)
  14. LDFLAGS = -O2 -fno-strict-aliasing -static -s
  15. DLFLAGS = -shared
  16. DLSUFFICS = .dll
  17. LIBS = -lws2_32 -lodbc32 -ladvapi32
  18. LIBSPREFIX = -l
  19. LIBSSUFFIX =
  20. LNOUT = -o
  21. EXESUFFICS = .exe
  22. OBJSUFFICS = .o
  23. DEFINEOPTION = -D
  24. COMPFILES = *.tmp
  25. REMOVECOMMAND = rm -f
  26. AFTERCLEAN = find src/ -type f -name "*.o" -delete && find src/ -type f -name "Makefile.var" -delete && find bin/ -type f -executable -delete
  27. TYPECOMMAND = cat
  28. COMPATLIBS =
  29. MAKEFILE = Makefile.win
  30. PLUGINS = utf8tocp1251 WindowsAuthentication TrafficPlugin StringsPlugin PCREPlugin
  31. include Makefile.inc
  32. allplugins:
  33. for /D %%i in ($(PLUGINS)) do (copy Makefile plugins\%%i && copy Makefile.var plugins\%%i && cd plugins\%%i && nmake && del *.o &&cd ..\..)