From cadc56473f7fcf8dd94718e5e9af137969e07ae3 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Tue, 19 Mar 2013 01:02:45 -0400 Subject: [PATCH] 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. --- Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) 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)"' \ -- 2.56.0