2017-05-30 12:58:03 +02:00
|
|
|
MODULE = wineandroid.drv
|
2017-06-12 19:12:30 +02:00
|
|
|
IMPORTS = user32 gdi32 advapi32 ntoskrnl
|
2017-05-30 12:59:15 +02:00
|
|
|
|
2017-05-31 10:58:55 +02:00
|
|
|
C_SRCS = \
|
2017-06-01 09:39:20 +02:00
|
|
|
device.c \
|
2017-05-31 11:22:20 +02:00
|
|
|
init.c \
|
2017-06-08 16:44:20 +02:00
|
|
|
keyboard.c \
|
2017-06-22 21:39:08 +02:00
|
|
|
opengl.c \
|
2017-05-31 11:22:20 +02:00
|
|
|
window.c
|
2017-05-31 10:58:55 +02:00
|
|
|
|
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 .
|