From: Ken Hornstein Date: Tue, 19 Mar 2013 05:02:45 +0000 (-0400) Subject: Make sure the building of config/config.o and sbr/mts.o depend on X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/cadc56473f7fcf8dd94718e5e9af137969e07ae3?ds=inline;hp=--cc Make sure the building of config/config.o and sbr/mts.o depend on the Makefile so changes to the Makefile are properly reflected in the build. --- cadc56473f7fcf8dd94718e5e9af137969e07ae3 diff --git a/Makefile.am b/Makefile.am index 8307f960..a18a7c63 100644 --- a/Makefile.am +++ b/Makefile.am @@ -545,6 +545,13 @@ sbr_libmh_a_SOURCES = sbr/addrsbr.c sbr/ambigsw.c sbr/atooi.c sbr/arglist.c \ sbr/m_mktemp.c sbr/getansreadline.c config/config.c \ config/version.c +## +## Because these files use the definitions in the libmh rule below, +## they need to be rebuilt if the Makefile changes. +## + +config/sbr_libmh_a-config.$(OBJEXT) sbr/sbr_libmh_a-mts.$(OBJEXT): Makefile + sbr_libmh_a_CPPFLAGS = -I./sbr -DNMHETCDIR='"$(sysconfdir)"' \ -DMAILSPOOL='"$(mailspool)"' \ -DSENDMAILPATH='"$(sendmailpath)"' -DNMHBINDIR='"$(bindir)"' \