scx/Makefile.am

17 lines
522 B
Makefile

SUBDIRS = c
scheme/load-scx.scm:
(echo '(user)'; \
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 "xlib/xlib-interfaces.scm")'; \
echo '(load "xlib/xlib-packages.scm")'; \
) > $@