]> diplodocus.org Git - nmh/commitdiff
Make sure the building of config/config.o and sbr/mts.o depend on
authorKen Hornstein <kenh@pobox.com>
Tue, 19 Mar 2013 05:02:45 +0000 (01:02 -0400)
committerKen Hornstein <kenh@pobox.com>
Tue, 19 Mar 2013 05:02:45 +0000 (01:02 -0400)
the Makefile so changes to the Makefile are properly reflected in the build.

Makefile.am

index 8307f96081b4c126cf6646fdc4fe3a8b46f6c985..a18a7c6391f92b90d6577b3e79bc18b699250b25 100644 (file)
@@ -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)"' \