scsh-yp/Makefile.am

16 lines
507 B
Makefile

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