environment.mak.in 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. # This file contains everything that autoconf guessed for your system.
  2. # if you want you can edit it, just don't re-run configure.
  3. PACKAGE = @PACKAGE@
  4. PACKAGE_VERSION = @PACKAGE_VERSION@
  5. PACKAGE_MAIL = @PACKAGE_MAIL@
  6. # C++ compiler options
  7. CC = @CC@
  8. CPPFLAGS+= @CPPFLAGS@ @DEFS@ -D_REENTRANT -D_FORTIFY_SOURCE=2
  9. CXX = @CXX@
  10. CXXFLAGS+= @CXXFLAGS@ -std=c++11 -Wall -Wextra
  11. CXXFLAGS+= -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations
  12. CXXFLAGS+= -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wnoexcept -Wsign-promo -Wundef
  13. # suggests methods which already have such an attribute
  14. #CXXFLAGS+= -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=noreturn
  15. # gcc reports currently lots of them at the end of file - unknown reason
  16. CXXFLAGS+= -Wno-deprecated-declarations
  17. # sanitize options to be enabled for testing
  18. #CXXFLAGS+= -fsanitize=address -fsanitize=undefined -fno-sanitize=vptr
  19. # a bit too pedantic to be run by default
  20. #CXXFLAGS+= -Wpedantic -Wno-long-long -Wno-vla -Wno-variadic-macros
  21. NUM_PROCS = @NUM_PROCS@
  22. # Linker stuff
  23. PICFLAGS+= -fPIC -DPIC
  24. LFLAGS+= @LDFLAGS@
  25. LEFLAGS+=
  26. SOCKETLIBS:= @SOCKETLIBS@
  27. AR:=@AR@
  28. RANLIB:=@RANLIB@
  29. # Dep generation - this only works for gnu stuff
  30. GCC3DEP = @GCC3DEP@
  31. INLINEDEPFLAG = -MD
  32. DOXYGEN = @DOXYGEN@
  33. W3M = @W3M@
  34. # xsltproc for the man pages and documentation
  35. XSLTPROC := @XSLTPROC@
  36. # DocBook XML
  37. DOCBOOK = $(XSLTPROC) --nonet --novalid --xinclude
  38. DOCBOOK2TEXT = $(W3M) -o display_charset=UTF-8 -no-graph -T text/html \
  39. -cols 78 -dump
  40. # po4a for the man pages
  41. PO4A := @PO4A@
  42. # Gettext settings
  43. GMSGFMT = @GMSGFMT@
  44. XGETTEXT = @XGETTEXT@
  45. MSGCOMM:=$(dir $(XGETTEXT))/msgcomm
  46. MSGMERGE:=$(dir $(XGETTEXT))/msgmerge
  47. BASH = @BASH@
  48. # Various library checks
  49. PTHREADLIB = @PTHREADLIB@
  50. PYTHONLIB = @PYTHONLIB@
  51. PYTHONVER = @PYTHONVER@
  52. PYTHONPREFIX = @PYTHONPREFIX@
  53. PYTHONEXECPREFIX = @PYTHONEXECPREFIX@
  54. PYTHONINCLUDE = @PYTHONINCLUDE@
  55. BDBLIB = @BDBLIB@
  56. INTLLIBS = @INTLLIBS@
  57. # Shim Headerfile control
  58. HAVE_STATVFS = @HAVE_STATVFS@
  59. HAVE_ZLIB = @HAVE_ZLIB@
  60. HAVE_BZ2 = @HAVE_BZ2@
  61. HAVE_LZMA = @HAVE_LZMA@
  62. NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@
  63. # Shared library things
  64. HOST_OS = @host_os@
  65. ifneq ($(words $(filter gnu% linux-gnu% kfreebsd-gnu% %-gnu,$(HOST_OS))),0)
  66. SONAME_MAGIC=-Wl,-soname -Wl,
  67. LFLAGS_SO=
  68. else
  69. # Do not know how to create shared libraries here.
  70. ONLYSTATICLIBS = yes
  71. endif