X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/82f1f1db8de7b833068a3ef0dc7d10759bb94941..3955f98d7b4f7803e3cb766f89064c2da7c50a58:/Makefile.am diff --git a/Makefile.am b/Makefile.am index f4dfc9ca..0208910d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -143,6 +143,13 @@ auxexec_PROGRAMS = uip/ap uip/conflict uip/dp uip/fmtdump uip/mhl uip/post \ auxexec_SCRIPTS = uip/spost +## +## Programs that MAY need to get built at some point; we need to list them +## here if they don't appear in any other primary so Automake knows about +## them and can properly record dependency information. +## +EXTRA_PROGRAMS = etc/gen-ctype-checked + ## ## Internal libraries that we create as part of the build process ## but do not install @@ -241,7 +248,6 @@ man_SRCS = man/ali.man man/anno.man man/ap.man man/burst.man man/comp.man \ ## Automake using the automatic rules ## EXTRA_DIST = config/version.sh sbr/sigmsg.awk etc/mts.conf.in \ - etc/gen-ctype-checked.c \ etc/mhn.defaults.sh etc/sendfiles $(MHNSEARCHPROG) DATE MACHINES \ docs/ChangeLog_MH-3_to_MH-6.6 \ docs/ChangeLog_MH-6.7.0_to_MH-6.8.4.html \ @@ -415,6 +421,9 @@ test_fakesmtp_LDADD = test_getcwidth_SOURCES = test/getcwidth.c test_getcwidth_LDADD = +etc_gen_ctype_checked_SOURCES = etc/gen-ctype-checked.c +etc_gen_ctype_checked_LDADD = + ## ## Our rebuild rules for files that aren't built via the normal mechanisms ## @@ -429,8 +438,6 @@ sbr/ctype-checked.h: etc/gen-ctype-checked sbr/ctype-checked.c: etc/gen-ctype-checked sbr/ctype-checked.h -etc/gen-type-checked: etc/gen-type-checked.c - etc/mts.conf: $(srcdir)/etc/mts.conf.in Makefile @rm -f $@ $(SED) -e 's,%mts%,$(MTS),' \