summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2011-07-23 18:02:51 +0200
committerChristian Beier <dontmind@freeshell.org>2011-07-23 18:02:51 +0200
commitb6d24bfa115b8ac9d4a16505c8eacacc2b195b15 (patch)
tree4f60e16b335bafc7939f47ed2a830e0a0edbf6cd /examples
parent5a5cfbe24c307c842a736ac222307f8f63950296 (diff)
downloadlibtdevnc-b6d24bfa115b8ac9d4a16505c8eacacc2b195b15.tar.gz
libtdevnc-b6d24bfa115b8ac9d4a16505c8eacacc2b195b15.zip
Adopt autotools build system to Android.
LibVNCServer/LibVNCClient now build for Android!
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am4
-rw-r--r--examples/android/Makefile.am6
2 files changed, 10 insertions, 0 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 92909bf..29d3774 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -6,6 +6,10 @@ MAC=mac
mac_LDFLAGS=-framework ApplicationServices -framework Carbon -framework IOKit
endif
+if ANDROID
+SUBDIRS=android
+endif
+
if WITH_TIGHTVNC_FILETRANSFER
FILETRANSFER=filetransfer
endif
diff --git a/examples/android/Makefile.am b/examples/android/Makefile.am
new file mode 100644
index 0000000..23bfe8f
--- /dev/null
+++ b/examples/android/Makefile.am
@@ -0,0 +1,6 @@
+INCLUDES = -I$(top_srcdir)
+LDADD = $(top_srcdir)/libvncserver/libvncserver.la @WSOCKLIB@
+
+noinst_PROGRAMS=androidvncserver
+androidvncserver_SOURCES=jni/fbvncserver.c
+