blowfish.bci: stamp-scheme
blowfish.com: stamp-scheme
blowfish-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme
-stamp-scheme: stamp-shim $(sources)
+stamp-scheme: stamp-shim $(sources) blowfish.pkg
touch stamp-scheme
echo '(load "compile.scm")' \
| $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \
CLEANFILES += test
tags: tags-am
- ./tags-fix.sh
+ ./tags-fix.sh blowfish
-all_sources = $(sources)
-all_sources += blowfish-check.scm blowfish-adapter.c blowfish-shim.h
+all_sources = $(sources) compile.scm make.scm
+all_sources += blowfish-check.scm blowfish-adapter.c blowfish-check.sh
ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls) blowfish.pkg
TAGS_DEPENDENCIES = $(all_sources) $(cdecls) blowfish.pkg
+EXTRA_DIST += $(all_sources) $(cdecls) blowfish.pkg
+EXTRA_DIST += optiondb.scm tags-fix.sh
+
install-data-hook:
echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
| $(MIT_SCHEME_EXE) --batch-mode
#!/bin/sh
# -*-Scheme-*-
#
-# Chop the generated -shim.c and -const.c files out of TAGS.
+# Chop the generated $1-shim.c and $1-const.c files out of TAGS.
set -e
: ${MIT_SCHEME_EXE=mit-scheme}
-${MIT_SCHEME_EXE} --batch-mode <<\EOF
-(let ((name (pathname-name
- (directory-pathname-as-file (working-directory-pathname)))))
+${MIT_SCHEME_EXE} --batch-mode -- "${@}" <<\EOF
+(let ((name (car (command-line))))
(let ((shim.c-prefix (string-append name "-shim.c,"))
(const.c-prefix (string-append name "-const.c,")))
gdbm.bci: stamp-scheme
gdbm.com: stamp-scheme
gdbm-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme
-stamp-scheme: stamp-shim $(sources)
+stamp-scheme: stamp-shim $(sources) gdbm.pkg
touch stamp-scheme
echo '(load "compile.scm")' \
| $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \
CLEANFILES += gdbm-check.db
tags: tags-am
- ./tags-fix.sh
+ ./tags-fix.sh gdbm
-all_sources = $(sources)
-all_sources += gdbm-check.scm gdbm-adapter.c gdbm-shim.h
+all_sources = $(sources) compile.scm make.scm
+all_sources += gdbm-check.scm gdbm-adapter.c gdbm-check.sh
ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls) gdbm.pkg
TAGS_DEPENDENCIES = $(all_sources) $(cdecls) gdbm.pkg
+EXTRA_DIST += $(all_sources) $(cdecls) gdbm.pkg
+EXTRA_DIST += optiondb.scm tags-fix.sh
+
install-data-hook:
echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
| $(MIT_SCHEME_EXE) --batch-mode
#!/bin/sh
# -*-Scheme-*-
#
-# Chop the generated -shim.c and -const.c files out of TAGS.
+# Chop the generated $1-shim.c and $1-const.c files out of TAGS.
set -e
: ${MIT_SCHEME_EXE=mit-scheme}
-${MIT_SCHEME_EXE} --batch-mode <<\EOF
-(let ((name (pathname-name
- (directory-pathname-as-file (working-directory-pathname)))))
+${MIT_SCHEME_EXE} --batch-mode -- "${@}" <<\EOF
+(let ((name (car (command-line))))
(let ((shim.c-prefix (string-append name "-shim.c,"))
(const.c-prefix (string-append name "-const.c,")))
mcrypt.bci: stamp-scheme
mcrypt.com: stamp-scheme
mcrypt-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme
-stamp-scheme: stamp-shim $(sources)
+stamp-scheme: stamp-shim $(sources) mcrypt.pkg
touch stamp-scheme
echo '(load "compile.scm")' \
| $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \
CLEANFILES += encrypted decrypted
tags: tags-am
- ./tags-fix.sh
+ ./tags-fix.sh mcrypt
-all_sources = $(sources)
-all_sources += mcrypt-check.scm mcrypt-adapter.c mcrypt-shim.h
+all_sources = $(sources) compile.scm make.scm
+all_sources += mcrypt-check.scm mcrypt-adapter.c mcrypt-check.sh
ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls) mcrypt.pkg
TAGS_DEPENDENCIES = $(all_sources) $(cdecls) mcrypt.pkg
+EXTRA_DIST += $(all_sources) $(cdecls) mcrypt.pkg
+EXTRA_DIST += optiondb.scm tags-fix.sh
+
install-data-hook:
echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
| $(MIT_SCHEME_EXE) --batch-mode
#!/bin/sh
# -*-Scheme-*-
#
-# Chop the generated -shim.c and -const.c files out of TAGS.
+# Chop the generated $1-shim.c and $1-const.c files out of TAGS.
set -e
: ${MIT_SCHEME_EXE=mit-scheme}
-${MIT_SCHEME_EXE} --batch-mode <<\EOF
-(let ((name (pathname-name
- (directory-pathname-as-file (working-directory-pathname)))))
+${MIT_SCHEME_EXE} --batch-mode -- "${@}" <<\EOF
+(let ((name (car (command-line))))
(let ((shim.c-prefix (string-append name "-shim.c,"))
(const.c-prefix (string-append name "-const.c,")))
md5.bci: stamp-scheme
md5.com: stamp-scheme
md5-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme
-stamp-scheme: stamp-shim $(sources)
+stamp-scheme: stamp-shim $(sources) md5.pkg
touch stamp-scheme
echo '(load "compile.scm")' \
| $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \
CLEANFILES += sample
tags: tags-am
- ./tags-fix.sh
+ ./tags-fix.sh md5
-all_sources = $(sources)
-all_sources += md5-check.scm md5-adapter.c md5-shim.h
+all_sources = $(sources) compile.scm make.scm
+all_sources += md5-check.scm md5-adapter.c md5-check.sh
ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls) md5.pkg
TAGS_DEPENDENCIES = $(all_sources) $(cdecls) md5.pkg
+EXTRA_DIST += $(all_sources) $(cdecls) md5.pkg
+EXTRA_DIST += optiondb.scm tags-fix.sh
+
install-data-hook:
echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
| $(MIT_SCHEME_EXE) --batch-mode
#!/bin/sh
# -*-Scheme-*-
#
-# Chop the generated -shim.c and -const.c files out of TAGS.
+# Chop the generated $1-shim.c and $1-const.c files out of TAGS.
set -e
: ${MIT_SCHEME_EXE=mit-scheme}
-${MIT_SCHEME_EXE} --batch-mode <<\EOF
-(let ((name (pathname-name
- (directory-pathname-as-file (working-directory-pathname)))))
+${MIT_SCHEME_EXE} --batch-mode -- "${@}" <<\EOF
+(let ((name (car (command-line))))
(let ((shim.c-prefix (string-append name "-shim.c,"))
(const.c-prefix (string-append name "-const.c,")))
mhash.bci: stamp-scheme
mhash.com: stamp-scheme
mhash-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme
-stamp-scheme: stamp-shim $(sources)
+stamp-scheme: stamp-shim $(sources) mhash.pkg
touch stamp-scheme
echo '(load "compile.scm")' \
| $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \
CLEANFILES += sample
tags: tags-am
- ./tags-fix.sh
+ ./tags-fix.sh mhash
-all_sources = $(sources)
-all_sources += mhash-check.scm mhash-adapter.c mhash-shim.h
+all_sources = $(sources) compile.scm make.scm
+all_sources += mhash-check.scm mhash-adapter.c mhash-check.sh
ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls) mhash.pkg
TAGS_DEPENDENCIES = $(all_sources) $(cdecls) mhash.pkg
+EXTRA_DIST += $(all_sources) $(cdecls) mhash.pkg
+EXTRA_DIST += optiondb.scm tags-fix.sh
+
install-data-hook:
echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
| $(MIT_SCHEME_EXE) --batch-mode
#!/bin/sh
# -*-Scheme-*-
#
-# Chop the generated -shim.c and -const.c files out of TAGS.
+# Chop the generated $1-shim.c and $1-const.c files out of TAGS.
set -e
: ${MIT_SCHEME_EXE=mit-scheme}
-${MIT_SCHEME_EXE} --batch-mode <<\EOF
-(let ((name (pathname-name
- (directory-pathname-as-file (working-directory-pathname)))))
+${MIT_SCHEME_EXE} --batch-mode -- "${@}" <<\EOF
+(let ((name (car (command-line))))
(let ((shim.c-prefix (string-append name "-shim.c,"))
(const.c-prefix (string-append name "-const.c,")))