2017-05-30 12:58:03 +02:00
|
|
|
MODULE = wineandroid.drv
|
2017-05-31 11:15:17 +02:00
|
|
|
IMPORTS = user32 gdi32
|
2017-05-30 12:59:15 +02:00
|
|
|
|
2017-05-31 10:58:55 +02:00
|
|
|
C_SRCS = \
|
|
|
|
init.c
|
|
|
|
|
2017-05-30 12:59:15 +02:00
|
|
|
IN_SRCS = \
|
|
|
|
build.gradle.in
|
|
|
|
|
2017-05-31 10:58:55 +02:00
|
|
|
SVG_SRCS = \
|
|
|
|
wine.svg
|
|
|
|
|
2017-05-30 12:59:15 +02:00
|
|
|
EXTRA_TARGETS = wine-debug.apk
|
|
|
|
|
|
|
|
all: wine-debug.apk
|
|
|
|
|
|
|
|
wine-debug.apk: build.gradle $(srcdir)/AndroidManifest.xml $(srcdir)/WineActivity.java $(srcdir)/wine.svg
|
2017-05-30 14:19:57 +02:00
|
|
|
(test -d assets && \
|
|
|
|
rm -f assets/files.sum assets/sums.sum && \
|
|
|
|
sha256sum `find assets -type f -print` | sed 's/ assets\// /' >files.sum && \
|
|
|
|
sha256sum files.sum >sums.sum && \
|
|
|
|
mv files.sum sums.sum assets) || rm -rf assets
|
2017-05-30 12:59:15 +02:00
|
|
|
gradle -q assembleDebug && mv build/outputs/apk/wine-debug.apk .
|