SUBDIRS = c scheme/load-scx.scm: (echo '(user)'; \ echo "(load-package 'dynamic-externals)"; \ echo "(open 'dynamic-externals)"; \ echo "(open 'external-calls)"; \ echo '(run '; \ echo " '(let ((initializer-name \"scx_init_xlib\")"; \ echo ' (module-file "$(prefix)/lib/libscx.so"))'; \ echo ' (dynamic-load module-file)'; \ echo ' (call-external (get-external initializer-name))))'; \ echo '(config)'; \ echo '(load "$(prefix)/scheme/xlib/xlib-interfaces.scm")'; \ echo '(load "$(prefix)/scheme/xlib/xlib-packages.scm")'; \ ) > $@