Files
breeze/mkfile
T
waozi 7a88e3df9e Move Inbe application logic to Kryon and refresh the app
Move product behavior, app types, storage, audio, and tray logic into .kry modules. Use shared Kryon widgets, layout policies, asset-backed images, and app KSS styling with a smaller native boundary.

Include the pending navigation, sync recovery, localization, launcher icon, design asset, and 2.0.0 release metadata updates. Add version consistency checks and improve browser persistence and interaction validation.
2026-09-19 11:58:09 -03:00

35 lines
1.5 KiB
Makefile

< /$objtype/mkfile
# Native Plan 9 build of Inbe (Kryon libdraw backend). build/plan9 is
# prepared on the host by: make kry-c-plan9
#
# sqlite stays stubbed here: 8c panics the kernel compiling the
# amalgamation, so habit data is not persisted on Plan 9 yet (the VFS
# and the amalgamation rewrite remain in the tree for when the compiler
# can take them).
TARG=inbe
ROOT=/sys/src/inbe
list=$ROOT/build/plan9/generated-c-files.txt
gensrc=`{cat $list | grep -v -e 'storage/import.c' -e 'meditation/meditation_music.c' -e '/src/main.c' -e '/platform/app_host.c'}
appsrc=src/platform/plan9/main.c \
src/platform/plan9/sqlite3_stub.c \
src/platform/plan9/storage_import_stub.c \
src/platform/plan9/meditation_music_stub.c \
src/app/app_web_bridge.c \
src/storage/storage_json_builder.c
hostsrc=build/plan9/app_embedded_assets.c
APPCPPFLAGS=-I$ROOT/src -I$ROOT/src/app -I$ROOT/src/core -I$ROOT/src/screens \
-I$ROOT/src/screens/settings -I$ROOT/src/practices -I$ROOT/src/practices/whm \
-I$ROOT/src/practices/meditation -I$ROOT/src/practices/sun_salutation \
-I$ROOT/src/storage -I$ROOT/src/platform -I$ROOT/src/platform/android \
-I$ROOT/src/third_party -I$ROOT/vendor-builds/sqlite \
-I$ROOT/build/plan9/generated -I$ROOT/build/plan9/generated/src \
-DANDROID_BUILD=0 -DPLATFORM_DESKTOP=1 \
-DINBE_DISABLE_KRYON_FILE_DIALOG=1 -DSQLITE_OS_OTHER=1 -DSQLITE_THREADSAFE=0 \
-DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_OMIT_WAL=1 -DSQLITE_TEMP_STORE=3
LDLIBS=-lmemlayer -lbio -lregexp -lString
< /sys/src/kryon/mk/plan9-app.mk