26 lines
620 B
Makefile
26 lines
620 B
Makefile
MODULE = wineandroid.drv
|
|
IMPORTS = user32 gdi32 ntoskrnl
|
|
|
|
C_SRCS = \
|
|
device.c \
|
|
init.c \
|
|
window.c
|
|
|
|
IN_SRCS = \
|
|
build.gradle.in
|
|
|
|
SVG_SRCS = \
|
|
wine.svg
|
|
|
|
EXTRA_TARGETS = wine-debug.apk
|
|
|
|
all: wine-debug.apk
|
|
|
|
wine-debug.apk: build.gradle $(srcdir)/AndroidManifest.xml $(srcdir)/WineActivity.java $(srcdir)/wine.svg
|
|
(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
|
|
gradle -q assembleDebug && mv build/outputs/apk/wine-debug.apk .
|