Search
lxdream.org :: lxdream/Makefile.am :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename Makefile.am
changeset 1249:a81130f57df6
prev1245:01e0020adf88
next1255:d63f73cc586f
author nkeynes
date Sun Mar 04 20:47:14 2012 +1000 (12 years ago)
permissions -rw-r--r--
last change Load previous GD-ROM on startup
file annotate diff log raw
1.1 --- a/Makefile.am Fri Mar 02 23:49:10 2012 +1000
1.2 +++ b/Makefile.am Sun Mar 04 20:47:14 2012 +1000
1.3 @@ -100,18 +100,24 @@
1.4 bundle: all
1.5
1.6 if GUI_ANDROID
1.7 -apk: src/liblxdream.so
1.8 +all-local:
1.9 + (TARGETDIR="`pwd`/android" && cd $(srcdir)/android && \
1.10 + $(ANT) -buildfile build.xml -Dsdk.dir=$(ANDROID_SDK_HOME) \
1.11 + -Dout.dir="$$TARGETDIR" -Dnative.libs.dir="$$TARGETDIR/libs" \
1.12 + -Dnative.libs.absolute.dir="$$TARGETDIR/libs" \
1.13 + -Dtarget=$(ANDROID_SDK_VERSION) clean )
1.14 $(mkdir_p) android/libs/armeabi
1.15 $(INSTALL) src/liblxdream.so android/libs/armeabi/liblxdream.so
1.16 $(INSTALL) $(ANDROID_GDBSERVER) android/libs/armeabi/gdbserver
1.17 $(STRIP) --strip-unneeded android/libs/armeabi/liblxdream.so
1.18 (TARGETDIR="`pwd`/android" && cd $(srcdir)/android && \
1.19 $(ANT) -buildfile build.xml -Dsdk.dir=$(ANDROID_SDK_HOME) \
1.20 - -Dout.dir="$$TARGETDIR" \
1.21 - -Dnative.libs.dir="$$TARGETDIR/libs" \
1.22 + -Dout.dir="$$TARGETDIR" -Dnative.libs.dir="$$TARGETDIR/libs" \
1.23 -Dnative.libs.absolute.dir="$$TARGETDIR/libs" \
1.24 -Dtarget=$(ANDROID_SDK_VERSION) debug )
1.25 cp android/Lxdream-debug.apk Lxdream-debug.apk
1.26
1.27 -all-local: apk
1.28 +install-adb:
1.29 + $(ANDROID_SDK_HOME)/platform-tools/adb install -r Lxdream-debug.apk
1.30 +
1.31 endif
.