summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 79f8d7d9e..97ee478e4 100644
--- a/Makefile
+++ b/Makefile
@@ -534,6 +534,26 @@ ifeq ($(TARGET),framebuffer)
LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl openssl)
SUBTARGET := -sdl
endif
+
+ ifeq ($(NETSURF_FB_FRONTEND),vnc)
+ $(eval $(call pkg_config_find_and_add,RSVG,librsvg-2.0,SVG rendering))
+ $(eval $(call pkg_config_find_and_add,ROSPRITE,librosprite,RISC OS sprite rendering))
+ $(eval $(call pkg_config_find_and_add,HUBBUB,libhubbub,Hubbub HTML parser))
+ $(eval $(call pkg_config_find_and_add,BMP,libnsbmp,NetSurf BMP decoder))
+ $(eval $(call pkg_config_find_and_add,GIF,libnsgif,NetSurf GIF decoder))
+# $(eval $(call pkg_config_find_and_add,VNCSERVER,libvncserver,VNC server))
+
+
+ CFLAGS += -std=c99 -g -I. $(WARNFLAGS) \
+ $(shell xml2-config --cflags) \
+ -D_BSD_SOURCE \
+ -D_XOPEN_SOURCE=600 \
+ -D_POSIX_C_SOURCE=200112L
+
+ LDFLAGS += -lxml2 -lz -ljpeg -lcurl -lm -lvncserver
+ LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl openssl)
+ SUBTARGET := -vnc
+ endif
endif
# ----------------------------------------------------------------------------