aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 2a9482c64..c4235e60b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -242,11 +242,23 @@ UPNP_SOURCES = \
if ANDROID
+noinst_LIBRARIES += libjava.a
+libjava_a_SOURCES = \
+ src/java/Class.hxx \
+ src/java/Exception.hxx \
+ src/java/Global.cxx src/java/Global.hxx \
+ src/java/Object.hxx \
+ src/java/Ref.hxx \
+ src/java/File.cxx src/java/File.hxx \
+ src/java/String.cxx src/java/String.hxx
+
noinst_LIBRARIES += libmain.a
libmain_a_SOURCES = \
src/Main.cxx src/Main.hxx
libmain_a_CPPFLAGS = $(AM_CPPFLAGS) -Iandroid/build/include
+src_mpd_LDADD += libjava.a
+
all-local: android/build/bin/Main-debug.apk
clean-local:
rm -rf android/build