feat: make dialogs a shared library

This commit is contained in:
2026-04-08 19:37:50 +02:00
parent 8a2a86696a
commit ac23989e47
14 changed files with 164 additions and 272 deletions
+11 -11
View File
@@ -148,16 +148,16 @@ imageviewer: libc libjpeg
fontpreview:
$(MAKE) -C src/fontpreview
# Build spreadsheet standalone GUI client (depends on libc).
spreadsheet: libc
# Build spreadsheet standalone GUI client (depends on libc and libdialogs).
spreadsheet: libc libloader dialogs
$(MAKE) -C src/spreadsheet
# Build word processor standalone GUI client (depends on libc).
wordprocessor: libc
# Build word processor standalone GUI client (depends on libc and libdialogs).
wordprocessor: libc libloader dialogs
$(MAKE) -C src/wordprocessor
# Build PDF viewer standalone GUI client (depends on libc).
pdfviewer: libc
# Build PDF viewer standalone GUI client (depends on libc and libdialogs).
pdfviewer: libc libloader dialogs
$(MAKE) -C src/pdfviewer
# Build disks standalone GUI tool (depends on libc).
@@ -232,8 +232,8 @@ fonts:
paint: libc
$(MAKE) -C src/paint
# Build text editor standalone GUI app (depends on libc).
texteditor: libc
# Build text editor standalone GUI app (depends on libc and libdialogs).
texteditor: libc libloader dialogs
$(MAKE) -C src/texteditor
# Build Mandelbrot standalone GUI app (depends on libc).
@@ -273,8 +273,8 @@ printd: bearssl libc tls libjpegwrite
printctl: bearssl libc tls
$(MAKE) -C src/printctl
# Build shared dialogs app (depends on libc, bearssl, and tls through print helpers).
dialogs: bearssl libc tls
# Build libdialogs shared library.
dialogs:
$(MAKE) -C src/dialogs
# Build crashpad (crash reporter popup, depends on libc).
@@ -286,7 +286,7 @@ test_dl: libloader libs libhello
$(MAKE) -C src/test_dl
# Install app bundles (manifests, icons, data files) into bin/apps/<name>/.
install-apps: doom rpgdemo paint spreadsheet wordprocessor weather wikipedia imageviewer fontpreview pdfviewer disks devexplorer installer volume music video bluetooth terminal klog procmgr calculator screenshot texteditor mandelbrot printers dialogs crashpad
install-apps: doom rpgdemo paint spreadsheet wordprocessor weather wikipedia imageviewer fontpreview pdfviewer disks devexplorer installer volume music video bluetooth terminal klog procmgr calculator screenshot texteditor mandelbrot printers crashpad
../scripts/install_apps.sh
# Copy man pages into bin/man/ so mkramdisk.sh picks them up.