scmlib_LTLIBRARIES = blowfish-shim.la
scmlib_DATA = blowfish-types.bin blowfish-const.bin
-scmlib_blowfish_DATA = make.scm
-scmlib_blowfish_DATA += blowfish.scm blowfish.bin blowfish.bci blowfish.com
-scmlib_blowfish_DATA += blowfish-@MIT_SCHEME_OS_SUFFIX@.pkd
+
+sources = blowfish.scm
+cdecls = blowfish.cdecl
+
+scmlib_blowfish_DATA = $(sources)
+scmlib_blowfish_DATA += blowfish.bin blowfish.bci blowfish.com
+scmlib_blowfish_DATA += make.scm blowfish-@MIT_SCHEME_OS_SUFFIX@.pkd
#info_TEXINFOS = mit-scheme-blowfish.texi
AM_MAKEINFOHTMLFLAGS = --no-split
blowfish-shim.c: stamp-shim
blowfish-const.c: stamp-shim
blowfish-types.bin: stamp-shim
-stamp-shim: blowfish.cdecl blowfish-shim.h
+stamp-shim: blowfish-shim.h $(cdecls)
touch stamp-shim
echo '(generate-shim "blowfish" "#include \"blowfish-shim.h\"")' \
| $(MIT_SCHEME_EXE) --batch-mode \
blowfish.bci: stamp-scheme
blowfish.com: stamp-scheme
blowfish-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme
-stamp-scheme: stamp-shim blowfish.scm
+stamp-scheme: stamp-shim $(sources)
touch stamp-scheme
echo '(load "compile.scm")' \
| $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \
TESTS = blowfish-check.sh
CLEANFILES += test
+all_sources = $(sources)
+all_sources += blowfish.pkg blowfish-check.scm
+all_sources += blowfish-adapter.c blowfish-shim.h
+ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls)
+TAGS_DEPENDENCIES = $(all_sources) $(cdecls)
+
install-data-hook:
echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
| $(MIT_SCHEME_EXE) --batch-mode
scmlib_LTLIBRARIES = gdbm-shim.la
scmlib_DATA = gdbm-types.bin gdbm-const.bin
-scmlib_gdbm_DATA = make.scm
-scmlib_gdbm_DATA += gdbm.scm gdbm.bin gdbm.bci gdbm.com
-scmlib_gdbm_DATA += gdbm-@MIT_SCHEME_OS_SUFFIX@.pkd
+
+sources = gdbm.scm
+cdecls = gdbm.cdecl
+
+scmlib_gdbm_DATA = $(sources)
+scmlib_gdbm_DATA += gdbm.bin gdbm.bci gdbm.com
+scmlib_gdbm_DATA += make.scm gdbm-@MIT_SCHEME_OS_SUFFIX@.pkd
#info_TEXINFOS = mit-scheme-gdbm.texi
AM_MAKEINFOHTMLFLAGS = --no-split
gdbm-shim.c: stamp-shim
gdbm-const.c: stamp-shim
gdbm-types.bin: stamp-shim
-stamp-shim: gdbm.cdecl gdbm-shim.h
+stamp-shim: gdbm-shim.h $(cdecls)
touch stamp-shim
echo '(generate-shim "gdbm" "#include \"gdbm-shim.h\"")' \
| $(MIT_SCHEME_EXE) --batch-mode \
gdbm.bci: stamp-scheme
gdbm.com: stamp-scheme
gdbm-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme
-stamp-scheme: stamp-shim gdbm.scm
+stamp-scheme: stamp-shim $(sources)
touch stamp-scheme
echo '(load "compile.scm")' \
| $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \
TESTS = gdbm-check.sh
CLEANFILES += gdbm-check.db
+all_sources = $(sources)
+all_sources += gdbm.pkg gdbm-check.scm
+all_sources += gdbm-adapter.c gdbm-shim.h
+ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls)
+TAGS_DEPENDENCIES = $(all_sources) $(cdecls)
+
install-data-hook:
echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
| $(MIT_SCHEME_EXE) --batch-mode
scmlib_LTLIBRARIES = mcrypt-shim.la
scmlib_DATA = mcrypt-types.bin mcrypt-const.bin
-scmlib_mcrypt_DATA = make.scm
-scmlib_mcrypt_DATA += mcrypt.scm mcrypt.bin mcrypt.bci mcrypt.com
-scmlib_mcrypt_DATA += mcrypt-@MIT_SCHEME_OS_SUFFIX@.pkd
+
+sources = mcrypt.scm
+cdecls = mcrypt.cdecl
+
+scmlib_mcrypt_DATA = $(sources)
+scmlib_mcrypt_DATA += mcrypt.bin mcrypt.bci mcrypt.com
+scmlib_mcrypt_DATA += make.scm mcrypt-@MIT_SCHEME_OS_SUFFIX@.pkd
#info_TEXINFOS = mit-scheme-mcrypt.texi
AM_MAKEINFOHTMLFLAGS = --no-split
mcrypt-shim.c: stamp-shim
mcrypt-const.c: stamp-shim
mcrypt-types.bin: stamp-shim
-stamp-shim: mcrypt.cdecl mcrypt-shim.h
+stamp-shim: mcrypt-shim.h $(cdecls)
touch stamp-shim
echo '(generate-shim "mcrypt" "#include \"mcrypt-shim.h\"")' \
| $(MIT_SCHEME_EXE) --batch-mode \
mcrypt.bci: stamp-scheme
mcrypt.com: stamp-scheme
mcrypt-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme
-stamp-scheme: stamp-shim mcrypt.scm
+stamp-scheme: stamp-shim $(sources)
touch stamp-scheme
echo '(load "compile.scm")' \
| $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \
TESTS = mcrypt-check.sh
CLEANFILES += encrypted decrypted
+all_sources = $(sources)
+all_sources += mcrypt.pkg mcrypt-check.scm
+all_sources += mcrypt-adapter.c mcrypt-shim.h
+ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls)
+TAGS_DEPENDENCIES = $(all_sources) $(cdecls)
+
install-data-hook:
echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
| $(MIT_SCHEME_EXE) --batch-mode
scmlib_LTLIBRARIES = md5-shim.la
scmlib_DATA = md5-types.bin md5-const.bin
-scmlib_md5_DATA = make.scm
-scmlib_md5_DATA += md5.scm md5.bin md5.bci md5.com
-scmlib_md5_DATA += md5-@MIT_SCHEME_OS_SUFFIX@.pkd
+
+sources = md5.scm
+cdecls = md5.cdecl
+
+scmlib_md5_DATA = $(sources)
+scmlib_md5_DATA += md5.bin md5.bci md5.com
+scmlib_md5_DATA += make.scm md5-@MIT_SCHEME_OS_SUFFIX@.pkd
#info_TEXINFOS = mit-scheme-md5.texi
AM_MAKEINFOHTMLFLAGS = --no-split
md5-shim.c: stamp-shim
md5-const.c: stamp-shim
md5-types.bin: stamp-shim
-stamp-shim: md5.cdecl md5-shim.h
+stamp-shim: md5-shim.h $(cdecls)
touch stamp-shim
echo '(generate-shim "md5" "#include \"md5-shim.h\"")' \
| $(MIT_SCHEME_EXE) --batch-mode \
md5.bci: stamp-scheme
md5.com: stamp-scheme
md5-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme
-stamp-scheme: stamp-shim md5.scm
+stamp-scheme: stamp-shim $(sources)
touch stamp-scheme
echo '(load "compile.scm")' \
| $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \
TESTS = md5-check.sh
CLEANFILES += sample
+all_sources = $(sources)
+all_sources += md5.pkg md5-check.scm
+all_sources += md5-adapter.c md5-shim.h
+ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls)
+TAGS_DEPENDENCIES = $(all_sources) $(cdecls)
+
install-data-hook:
echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
| $(MIT_SCHEME_EXE) --batch-mode
scmlib_LTLIBRARIES = mhash-shim.la
scmlib_DATA = mhash-types.bin mhash-const.bin
-scmlib_mhash_DATA = make.scm
-scmlib_mhash_DATA += mhash.scm mhash.bin mhash.bci mhash.com
-scmlib_mhash_DATA += mhash-@MIT_SCHEME_OS_SUFFIX@.pkd
+
+sources = mhash.scm
+cdecls = mhash.cdecl
+
+scmlib_mhash_DATA = $(sources)
+scmlib_mhash_DATA += mhash.bin mhash.bci mhash.com
+scmlib_mhash_DATA += make.scm mhash-@MIT_SCHEME_OS_SUFFIX@.pkd
#info_TEXINFOS = mit-scheme-mhash.texi
AM_MAKEINFOHTMLFLAGS = --no-split
mhash-shim.c: stamp-shim
mhash-const.c: stamp-shim
mhash-types.bin: stamp-shim
-stamp-shim: mhash.cdecl mhash-shim.h
+stamp-shim: mhash-shim.h $(cdecls)
touch stamp-shim
echo '(generate-shim "mhash" "#include \"mhash-shim.h\"")' \
| $(MIT_SCHEME_EXE) --batch-mode \
mhash.bci: stamp-scheme
mhash.com: stamp-scheme
mhash-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme
-stamp-scheme: stamp-shim mhash.scm
+stamp-scheme: stamp-shim $(sources)
touch stamp-scheme
echo '(load "compile.scm")' \
| $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \
TESTS = mhash-check.sh
CLEANFILES += sample
+all_sources = $(sources)
+all_sources += mhash.pkg mhash-check.scm
+all_sources += mhash-adapter.c mhash-shim.h
+ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls)
+TAGS_DEPENDENCIES = $(all_sources) $(cdecls)
+
install-data-hook:
echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
| $(MIT_SCHEME_EXE) --batch-mode