X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=android%2FMakefile;h=0ba4f58acc579dbf29fa410eda14b165da5590bd;hb=39809ded547bdbb08207d3e514950425215b4410;hp=f296352011d29d9f3263e8a2ef0ad8e83de90659;hpb=aa75c7476aeaa84cf3abc192b376a8b03c325213;p=xscreensaver diff --git a/android/Makefile b/android/Makefile index f2963520..0ba4f58a 100644 --- a/android/Makefile +++ b/android/Makefile @@ -1,7 +1,7 @@ # XScreenSaver for Android export TERM=dumb -GRADLE = cd project ; ./gradlew +GRADLE = ./gradlew default:: debug all:: release @@ -41,6 +41,7 @@ export ANDROID_HACKS= \ anemone \ anemotaxis \ apollonian \ + atlantis \ attraction \ atunnel \ blaster \ @@ -50,23 +51,30 @@ export ANDROID_HACKS= \ bouncingcow \ boxed \ boxfit \ + bouboule \ braid \ bsod \ cage \ ccurve \ + celtic \ cloudlife \ companioncube \ compass \ coral \ + crackberg \ crystal \ + cubestack \ cubestorm \ + cubetwist \ cwaves \ cynosure \ dangerball \ decayscreen \ deco \ + deluxe \ demon \ discrete \ + discoball \ distort \ dnalogo \ drift \ @@ -94,10 +102,12 @@ export ANDROID_HACKS= \ glschool \ glsnake \ gltext \ + goop \ grav \ greynetic \ helix \ hexadrop \ + hexstrut \ hilbert \ hopalong \ hypnowheel \ @@ -121,6 +131,7 @@ export ANDROID_HACKS= \ moebiusgears \ moire \ morph3d \ + munch \ nerverot \ noof \ penetrate \ @@ -128,6 +139,7 @@ export ANDROID_HACKS= \ petri \ piecewise \ pinion \ + polyominoes \ polytopes \ pong \ popsquares \ @@ -137,6 +149,7 @@ export ANDROID_HACKS= \ raverhoop \ rd-bomb \ ripples \ + rocks \ romanboy \ rorschach \ rotzoomer \ @@ -147,6 +160,8 @@ export ANDROID_HACKS= \ sierpinski \ sierpinski3d \ slidescreen \ + slip \ + splodesic \ squiral \ stairs \ starfish \ @@ -164,6 +179,7 @@ export ANDROID_HACKS= \ twang \ unknownpleasures \ vermiculate \ + vigilance \ voronoi \ wander \ whirlwindwarp \ @@ -171,6 +187,7 @@ export ANDROID_HACKS= \ wormhole \ xflame \ xlyap \ + xrayswarm \ xspirograph \ @@ -180,23 +197,19 @@ ANDROID_TODO= \ antinspect \ antmaze \ antspotlight \ - atlantis \ barcode \ binaryring \ blitspin \ - bouboule \ bumps \ carousel \ - celtic \ circuit \ cityflow \ - crackberg \ cube21 \ cubenetic \ cubicgrid \ - deluxe \ dymaxionmap \ endgame \ + esper \ flipscreen3d \ fliptext \ fontglide \ @@ -206,7 +219,6 @@ ANDROID_TODO= \ glhanoi \ glplanet \ glslideshow \ - goop \ halftone \ halo \ hypertorus \ @@ -219,20 +231,16 @@ ANDROID_TODO= \ moire2 \ molecule \ mountain \ - munch \ noseguy \ pedal \ phosphor \ photopile \ pipes \ - polyominoes \ projectiveplane \ pulsar \ qix \ queens \ - rocks \ skytentacles \ - slip \ speedmine \ spheremonics \ splitflap \ @@ -246,7 +254,6 @@ ANDROID_TODO= \ xanalogtv \ xjack \ xmatrix \ - xrayswarm \ zoom \ @@ -269,8 +276,17 @@ CVT = -thumbnail '150x150^' -gravity center -extent 150x150 \ -quality 95 \ +dither -colors 128 +# If we are making the m6502 hack, create the header file for Android +m6502.h:: + @for h in $(ANDROID_HACKS) ; do \ + if [ $${h} = "m6502" ] ; then \ + echo "Making $${h} header ..."; \ + ../hacks/m6502.sh ../hacks/m6502.h ../hacks/images/m6502/*.asm ; \ + echo "Made $${h} header"; \ + fi; \ + done -project/xscreensaver/res/drawable/%.png: +xscreensaver/res/drawable/%.png: @\ FILE1=`echo "$@" | sed 's!^.*/\([^/]*\)\.png$$!\1.jpg!'` ; \ FILE2="$@" ; \ @@ -288,18 +304,19 @@ project/xscreensaver/res/drawable/%.png: thumbs:: @for f in $(ANDROID_HACKS) $(ANDROID_TODO) ; do \ - $(MAKE) project/xscreensaver/res/drawable/$$f.png ; \ + $(MAKE) xscreensaver/res/drawable/$$f.png ; \ done clean_thumbs:: @\ for f in $(ANDROID_HACKS) $(ANDROID_TODO) ; do \ - rm -f project/xscreensaver/res/drawable/$$f.png ; \ + rm -f xscreensaver/res/drawable/$$f.png ; \ done -distclean:: clean_thumbs + +distclean:: clean_thumbs clean -EXTRA_TARFILES = project/xscreensaver/res/drawable/thumbnail.png \ +EXTRA_TARFILES = xscreensaver/res/drawable/thumbnail.png \ echo_tarfiles: @FILES=`find . $(EXTRA_TARFILES) \( \( \ @@ -308,6 +325,7 @@ echo_tarfiles: -o -name '*.keystore' \ -o -name '*_dream.xml' \ -o -name '*_settings.xml' \ + -o -name '*_wallpaper.xml' \ -o -name AndroidManifest.xml \ -o -name strings.xml \ -o -name settings.xml \ @@ -326,9 +344,12 @@ echo_tarfiles: | sort` ; \ echo $$FILES -debug:: +run_check:: + ../hacks/check-configs.pl --build-android $(ANDROID_HACKS) + +debug:: m6502.h run_check $(GRADLE) assembleDebug -release:: +release:: m6502.h run_check export APP_ABI=all ; \ $(GRADLE) assembleRelease @@ -338,7 +359,7 @@ $(KEYSTORE): keytool -genkey -v -keystore $@ \ -alias xscreensaver -keyalg RSA -keysize 2048 -validity 10000 -APK_DIR = project/xscreensaver/build/outputs/apk/ +APK_DIR = xscreensaver/build/outputs/apk/ APK_UNSIGNED = $(APK_DIR)/xscreensaver-release-unsigned.apk APK_UNALIGNED = $(APK_DIR)/xscreensaver-release-unaligned.apk APK_SIGNED = $(APK_DIR)/xscreensaver-release.apk @@ -380,3 +401,8 @@ apk:: release # dnalogo \ # twang \ # memscroller \ +# phosphor \ +# discoball \ +# cubetwist \ +# cubestack \ +# splodesic \