scsh-ldap/Makefile.am

16 lines
511 B
Makefile
Raw Normal View History

SUBDIRS= c
scheme/load-ldap.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/libldap.so"))'; \
echo ' (dynamic-load module-file)'; \
echo ' (call-external (get-external initializer-name))))'; \
echo '(config)'; \
echo '(load "ldap-interfaces.scm")'; \
echo '(load "ldap-packages.scm")'; \
) > $@