Subversion Repositories Kolibri OS

Rev

Rev 3584 | Blame | Last modification | View Log | RSS feed

  1. #
  2. # NetSurf default build setup
  3. #
  4. #
  5. # | WARNING: You should NOT be editing this file.
  6. # |
  7. # |          If you want to configure your build, create a 'Makefile.config'
  8. # |          file with 'override' statements to override the settings here.
  9. # |          Follow the example in 'Makefile.config.example'.
  10. #
  11. #
  12. # This file should be treated as INVIOLATE and only altered to alter
  13. # the defaults by a core developer. If you wish to configure the build
  14. # of NetSurf then instead please create a file called Makefile.config
  15. # and simply override the statements you require in that.  Remember
  16. # that Makefile.config cannot override the TARGET. That must be set on
  17. # the commandline. i.e. 'make TARGET=framebuffer' However
  18. # Makefile.config can use the TARGET variable to control what to set
  19. # the configuration options to.
  20. #
  21. # Some of these options support an 'AUTO' option, as well as YES and NO.
  22. # When an option is set to AUTO, the Makefile will attempt to detect if that
  23. # feature is available, enabling it if possible.
  24. #
  25. # Options marked "highly recommended" have a severe impact on NetSurf's
  26. # use as a web browser and should be set to YES unless there is a particularly
  27. # good reason not to.
  28. #
  29.  
  30. # ----------------------------------------------------------------------------
  31. # Options relating to all versions of NetSurf
  32. # ----------------------------------------------------------------------------
  33.  
  34. # Enable NetSurf's use of libnsbmp for displaying BMPs and ICOs
  35. # Valid options: YES, NO
  36. NETSURF_USE_BMP := YES
  37.  
  38. # Enable NetSurf's use of libnsgif for displaying GIFs
  39. # Valid options: YES, NO                                  (highly recommended)
  40. NETSURF_USE_GIF := YES
  41.  
  42. # Enable NetSurf's use of libjpeg for displaying JPEGs
  43. # Valid options: YES, NO                                  (highly recommended)
  44. NETSURF_USE_JPEG := YES
  45.  
  46. # Enable NetSurf's use of libpng for displaying PNGs.  If MNG and PNG
  47. # are both enabled then NetSurf will choose libpng for PNGs, leaving
  48. # MNGs and JNGs to libmng.
  49. # Valid options: YES, NO          (at least one of PNG/MNG highly recommended)
  50. NETSURF_USE_PNG := YES
  51.  
  52. # Enable NetSurf's use of libmng for displaying MNGs, JNGs and PNGs
  53. # Valid options: YES, NO          (at least one of PNG/MNG highly recommended)
  54. NETSURF_USE_MNG := NO
  55.  
  56. # Enable NetSurf's use of libwebp for displaying WebPs
  57. # Valid options: YES, NO
  58. NETSURF_USE_WEBP := NO
  59.  
  60. # Enable NetSurf's use of gstreamer for displaying videos
  61. # Valid options: YES, NO
  62. NETSURF_USE_VIDEO := NO
  63.  
  64. # Enable NetSurf's use of spidermonkey for javascript
  65. # Valid options: YES, NO, AUTO
  66. NETSURF_USE_JS := NO
  67. # Javascript support in older debian/ubuntu versions
  68. NETSURF_USE_MOZJS := NO
  69.  
  70. # Enable NetSurf's use of libharu for PDF export and GTK printing support.
  71. # There is no auto-detection available for this, as it does not have a
  72. # pkg-config file.
  73. # Valid options: YES, NO
  74. NETSURF_USE_HARU_PDF := NO
  75.  
  76. # Enable stripping the NetSurf binary
  77. # Valid options: YES, NO
  78. NETSURF_STRIP_BINARY := NO
  79.  
  80. # Template used for constructing the User Agent: string.  The first two
  81. # replacements are major/minor version, next is OS.
  82. # Please don't be tempted to mention Mozilla here!  Let's let that lie die.
  83. NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (%s)"
  84.  
  85. # Default home page, if one is not defined by the user.  Note that this
  86. # option does not apply to the RISC OS version, as it has its own local
  87. # home page, and it can be changed by editing the end of gui_init2() in
  88. # riscos/gui.c
  89. NETSURF_HOMEPAGE := "about:welcome"
  90.  
  91. # Force using glibc internal iconv implementation instead of external libiconv
  92. # Valid options: YES, NO
  93. NETSURF_USE_LIBICONV_PLUG := YES
  94.  
  95. # Initial CFLAGS. Optimisation level etc. tend to be target specific.
  96. CFLAGS :=
  97.  
  98. # Default installation/execution prefix
  99. PREFIX ?= /usr/local
  100.  
  101. # Incude defaults specific to a TARGET
  102. -include $(TARGET)/Makefile.defaults
  103.  
  104. # Include any local configuration
  105. ifneq ($(MAKEFILE_DEFAULTS_FINISHED),)
  106. $(error Makefile.defaults has been double-included.  If you did something utterly brain-dead such as copying Makefile.defaults to Makefile.config then you deserve all the pain you can imagine.  Do NOT do that.  Why not read the comments at the top of Makefile.defaults.  They are there to help you, you numpty)
  107. endif
  108. MAKEFILE_DEFAULTS_FINISHED=yes
  109. -include Makefile.config
  110.  
  111.