Add rule to build scheme/load-yp.scm
This commit is contained in:
parent
bdf7526e9a
commit
814cb2d4a7
16
Makefile.am
16
Makefile.am
|
@ -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")'; \
|
||||||
|
) > $@
|
||||||
|
|
Loading…
Reference in New Issue