summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucian Muresan <lucianm@users.sourceforge.net>2013-05-20 15:25:00 +0200
committerLucian Muresan <lucianm@users.sourceforge.net>2013-05-20 15:25:00 +0200
commit4ae6e46e34e8a5cc4fa4c333e44a64d58597da55 (patch)
treed1277ccc6b7036ebe26c87bf065458224152872a
parentd83b83875d901ceb630fa6231f2239e40e089310 (diff)
downloadgraphlcd-base-4ae6e46e34e8a5cc4fa4c333e44a64d58597da55.tar.gz
graphlcd-base-4ae6e46e34e8a5cc4fa4c333e44a64d58597da55.tar.bz2
made vncserver driver optional (default is unchanged, on) in Make.config
-rw-r--r--Make.config3
-rw-r--r--glcddrivers/Makefile2
2 files changed, 5 insertions, 0 deletions
diff --git a/Make.config b/Make.config
index 9e82ca9..f782845 100644
--- a/Make.config
+++ b/Make.config
@@ -73,6 +73,9 @@ HAVE_FONTCONFIG=1
#HAVE_IMAGEMAGICK=1
#HAVE_GRAPHICSMAGICK=1
+# comment this variable or set to 0 if you do not want to build the vncserver driver, even if requirements (libvncserver) are fullfilled on the system
+WANT_DRV_VNCSERVER=1
+
# uncomment this variable if you want to enable the experimental AX 206 based digital photo frame driver
# Read DRIVER.ax206dpf before use!
#HAVE_AX206DPF_EXPERIMENTAL=1
diff --git a/glcddrivers/Makefile b/glcddrivers/Makefile
index 8287bb2..040b1f0 100644
--- a/glcddrivers/Makefile
+++ b/glcddrivers/Makefile
@@ -42,12 +42,14 @@ ifeq ($(shell pkg-config --exists libusb && echo 1), 1)
endif
endif
+ifeq ($(WANT_DRV_VNCSERVER), 1)
ifeq ($(shell libvncserver-config --version >/dev/null && echo 1), 1)
DEFINES += -DHAVE_LIBVNCSERVER
OBJS += vncserver.o
INCLUDES += $(shell libvncserver-config --cflags)
LIBS += $(shell libvncserver-config --libs)
endif
+endif
### Implicit rules: