Add rule to build scheme/load-yp.scm

This commit is contained in:
mainzelm 2003-11-12 09:56:57 +00:00
parent bdf7526e9a
commit 814cb2d4a7
1 changed files with 15 additions and 1 deletions

View File

@ -1 +1,15 @@
SUBDIRS=c
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")'; \
) > $@