Search
lxdream.org :: lxdream/Makefile.am :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename Makefile.am
changeset 1239:be3121267597
prev1170:9ffc8295b414
next1245:01e0020adf88
author nkeynes
date Sat Feb 25 21:30:49 2012 +1000 (8 years ago)
permissions -rw-r--r--
last change Android support WIP
file annotate diff log raw
1.1 --- a/Makefile.am Fri Apr 08 08:11:20 2011 +1000
1.2 +++ b/Makefile.am Sat Feb 25 21:30:49 2012 +1000
1.3 @@ -98,3 +98,19 @@
1.4 @echo --- Done ---
1.5
1.6 bundle: all
1.7 +
1.8 +if GUI_ANDROID
1.9 +Lxdream-debug.apk: src/liblxdream.so
1.10 + $(mkdir_p) android/libs/armeabi
1.11 + $(INSTALL) src/liblxdream.so android/libs/armeabi/liblxdream.so
1.12 + $(INSTALL) $(ANDROID_GDBSERVER) android/libs/armeabi/gdbserver
1.13 + $(STRIP) --strip-unneeded android/libs/armeabi/liblxdream.so
1.14 + (TARGETDIR="`pwd`/android" && cd $(srcdir)/android && \
1.15 + $(ANT) -buildfile build.xml -Dsdk.dir=$(ANDROID_SDK_HOME) \
1.16 + -Dout.dir="$$TARGETDIR" \
1.17 + -Dnative.libs.dir="$$TARGETDIR/libs" \
1.18 + -Dtarget=$(ANDROID_SDK_VERSION) debug )
1.19 + cp android/Lxdream-debug.apk Lxdream-debug.apk
1.20 +
1.21 +all-local: Lxdream-debug.apk
1.22 +endif
.