From: Matt Birkholz Date: Fri, 8 Apr 2016 04:37:53 +0000 (-0700) Subject: plugin Makefile.ams: include ALL sources in TAGS X-Git-Tag: mit-scheme-pucked-9.2.12~261^2~59 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=1ace4d33829c004c4d371c82bf4a33f4fe2c691f;p=mit-scheme.git plugin Makefile.ams: include ALL sources in TAGS --- diff --git a/src/blowfish/Makefile.am b/src/blowfish/Makefile.am index e47953d17..9606bffe9 100644 --- a/src/blowfish/Makefile.am +++ b/src/blowfish/Makefile.am @@ -31,9 +31,13 @@ scmlib_blowfishdir = $(scmlibdir)/blowfish 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 @@ -53,7 +57,7 @@ blowfish_const_SOURCES = blowfish-const.c blowfish-shim.h 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 \ @@ -69,7 +73,7 @@ blowfish.bin: stamp-scheme 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 \ @@ -81,6 +85,12 @@ CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd 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 diff --git a/src/gdbm/Makefile.am b/src/gdbm/Makefile.am index 36d0eca96..345cd4b42 100644 --- a/src/gdbm/Makefile.am +++ b/src/gdbm/Makefile.am @@ -31,9 +31,13 @@ scmlib_gdbmdir = $(scmlibdir)/gdbm 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 @@ -53,7 +57,7 @@ gdbm_const_SOURCES = gdbm-const.c gdbm-shim.h 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 \ @@ -69,7 +73,7 @@ gdbm.bin: stamp-scheme 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 \ @@ -81,6 +85,12 @@ CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd 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 diff --git a/src/mcrypt/Makefile.am b/src/mcrypt/Makefile.am index f04187b31..0afa47523 100644 --- a/src/mcrypt/Makefile.am +++ b/src/mcrypt/Makefile.am @@ -31,9 +31,13 @@ scmlib_mcryptdir = $(scmlibdir)/mcrypt 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 @@ -53,7 +57,7 @@ mcrypt_const_SOURCES = mcrypt-const.c mcrypt-shim.h 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 \ @@ -69,7 +73,7 @@ mcrypt.bin: stamp-scheme 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 \ @@ -81,6 +85,12 @@ CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd 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 diff --git a/src/md5/Makefile.am b/src/md5/Makefile.am index c09f56da5..6b71c5e57 100644 --- a/src/md5/Makefile.am +++ b/src/md5/Makefile.am @@ -31,9 +31,13 @@ scmlib_md5dir = $(scmlibdir)/md5 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 @@ -53,7 +57,7 @@ md5_const_SOURCES = md5-const.c md5-shim.h 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 \ @@ -69,7 +73,7 @@ md5.bin: stamp-scheme 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 \ @@ -81,6 +85,12 @@ CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd 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 diff --git a/src/mhash/Makefile.am b/src/mhash/Makefile.am index 1e0cd9240..56eb4db81 100644 --- a/src/mhash/Makefile.am +++ b/src/mhash/Makefile.am @@ -31,9 +31,13 @@ scmlib_mhashdir = $(scmlibdir)/mhash 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 @@ -53,7 +57,7 @@ mhash_const_SOURCES = mhash-const.c mhash-shim.h 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 \ @@ -69,7 +73,7 @@ mhash.bin: stamp-scheme 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 \ @@ -81,6 +85,12 @@ CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd 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