diff options
Diffstat (limited to 'cocoa')
-rw-r--r-- | cocoa/Makefile.defaults | 37 | ||||
-rw-r--r-- | cocoa/Makefile.target | 8 |
2 files changed, 41 insertions, 4 deletions
diff --git a/cocoa/Makefile.defaults b/cocoa/Makefile.defaults new file mode 100644 index 000000000..b2f64ec56 --- /dev/null +++ b/cocoa/Makefile.defaults @@ -0,0 +1,37 @@ +# ---------------------------------------------------------------------------- +# Cocoa-specific options +# ---------------------------------------------------------------------------- + + # Force using glibc internal iconv implementation instead of external libiconv + # Valid options: YES, NO + NETSURF_USE_LIBICONV_PLUG := NO + + # Enable NetSurf's use of librosprite for displaying RISC OS Sprites + # Valid options: YES, NO, AUTO + NETSURF_USE_ROSPRITE := NO + + # Enable NetSurf's use of libwebp for displaying WebPs + # Valid options: YES, NO + NETSURF_USE_WEBP := NO + + # Enable NetSurf's use of librsvg in conjunction with Cairo to display SVGs + # Valid options: YES, NO, AUTO + NETSURF_USE_RSVG := AUTO + + # Enable NetSurf's use of libsvgtiny for displaying SVGs + # Valid options: YES, NO, AUTO + NETSURF_USE_NSSVG := AUTO + + NETSURF_USE_MNG := NO + NETSURF_USE_BMP := NO + NETSURF_USE_GIF := NO + NETSURF_USE_PNG := NO + NETSURF_USE_JPEG := NO + NETSURF_USE_IMAGEIO := YES + + DEVELOPER_PATH := /Developer + MACOSX_VERSION := 10.5 + SDK_VERSION := $(MACOSX_VERSION) + + # Optimisation levels + CFLAGS += -O2 diff --git a/cocoa/Makefile.target b/cocoa/Makefile.target index 27f3b08b9..d975a0c8f 100644 --- a/cocoa/Makefile.target +++ b/cocoa/Makefile.target @@ -53,10 +53,10 @@ endif NETSURF_FEATURE_PNG_CFLAGS := -DWITH_PNG NETSURF_FEATURE_NSSVG_CFLAGS := -DWITH_NS_SVG - $(eval $(call pkg_config_find_and_add,BMP,libnsbmp,BMP)) - $(eval $(call pkg_config_find_and_add,GIF,libnsgif,GIF)) - $(eval $(call pkg_config_find_and_add,PNG,libpng,PNG)) - $(eval $(call pkg_config_find_and_add,NSSVG,libsvgtiny,SVG)) + $(eval $(call pkg_config_find_and_add_enabled,BMP,libnsbmp,BMP)) + $(eval $(call pkg_config_find_and_add_enabled,GIF,libnsgif,GIF)) + $(eval $(call pkg_config_find_and_add_enabled,PNG,libpng,PNG)) + $(eval $(call pkg_config_find_and_add_enabled,NSSVG,libsvgtiny,SVG)) $(eval $(call feature_enabled,IMAGEIO,-DWITH_APPLE_IMAGE,,Apple ImageIO )) ifneq ($(UNIVERSAL),) |