On Thu, Dec 30, 2010 at 6:47 PM, Andreas Färber andreas.faerber@web.de wrote:
Am 30.12.2010 um 18:57 schrieb Blue Swirl:
Dependencies between Forth files were not detected, so dictionaries were not regenerated automatically in some cases.
Introduce '-M' flag to forthstrap to dump dependency information in Makefile compatible format, based on the Forth 'include' directives.
Signed-off-by: Blue Swirl blauwirbel@gmail.com
Neat idea! If it works, fine with me.
Seems to work: $ cat obj-amd64/*.dict.d bootstrap.dict: ./../forth/bootstrap/start.fs ../forth/bootstrap//bootstrap.fs ../forth/bootstrap//memory.fs ../forth/bootstrap//interpreter.fs ../forth/bootstrap//builtin.fs openbios-amd64.dict: ./../arch/amd64/init.fs openbios-unix.dict: ./../arch/unix/tree.fs openbios.dict: ./../drivers/pci.fs ./../packages/disk-label.fs ./../packages/cmdline.fs ./../libopenbios/helpers.fs ./../libopenbios/clib.fs ./../forth/system/ciface.fs ./../forth/system/main.fs ./../forth/packages/packages.fs ./../forth/util/pci.fs ./../forth/util/util.fs ./../forth/admin/userboot.fs ./../forth/admin/selftest.fs ./../forth/admin/security.fs ./../forth/admin/script.fs ./../forth/admin/reset.fs ./../forth/admin/banner.fs ./../forth/admin/iocontrol.fs ./../forth/admin/help.fs ./../forth/admin/callback.fs ./../forth/admin/nvram.fs ./../forth/admin/devices.fs ./../forth/debugging/see.fs ./../forth/debugging/firmware.fs ./../forth/debugging/fcode.fs ./../forth/debugging/client.fs ./../forth/device/builtin.fs ./../forth/device/tree.fs ./../forth/device/table.fs ./../forth/device/feval.fs ./../forth/device/extra.fs ./../forth/device/terminal.fs ./../forth/device/display.fs ./../forth/device/logo.fs ./../forth/device/font.fs ./../forth/device/preof.fs ./../forth/device/pathres.fs ./../forth/device/other.fs ./../forth/device/package.fs ./../forth/device/device.fs ./../forth/device/property.fs ./../forth/device/fcode.fs ./../forth/device/structures.fs ./../forth/lib/64bit.fs ./../forth/lib/lists.fs ./../forth/lib/split.fs ./../forth/lib/creation.fs ./../forth/lib/preinclude.fs ./../forth/lib/preprocessor.fs ./../forth/lib/string.fs ./../forth/lib/vocabulary.fs ./forth/config.fs ./forth/version.fs
After touching forth/bootstrap/bootstrap.fs (which is not included in rules.mak), make rebuilds bootstrap.dict.