intended.
bk: 64c77f54pR4ltDOuWFNDKprfau-_zQ
---
+* [Bug 3852] check-libntp.mf and friends are not triggering rebuilds as
+ intended. <hart@ntp.org>
* [Bug 3851] Drop pool server when no local address can reach it.
<hart@ntp.org>
* [Bug 3850] ntpq -c apeers breaks column formatting s2 w/refclock refid.
## The above file has a version of this for the sntp tree.
BUILT_SOURCES += check-libntp
-CLEANFILES += check-libntp
-check-libntp: $(top_builddir)/libntp/libntp.a
- @: avoid default SCCS get by some make implementations
-
-$(top_builddir)/libntp/libntp.a:
+.PHONY: check-libntp
+check-libntp:
cd $(top_builddir)/libntp && $(MAKE) $(AM_MAKEFLAGS) libntp.a
BUILT_SOURCES += check-libntpd
-# CLEANFILES addition below won't be needed after a while.
-# Leave it in for now for folks tracking the source repo
-# who have the file from a former version of the rule.
-# DLH Jan 2023
-
-CLEANFILES += check-libntpd
-
-check-libntpd: $(top_builddir)/ntpd/libntpd.a
- @: avoid default SCCS get by some make implementations
-
-$(top_builddir)/ntpd/libntpd.a:
+.PHONY: check-libntpd
+check-libntpd:
cd $(top_builddir)/ntpd && $(MAKE) $(AM_MAKEFLAGS) libntpd.a
## The above file has a version of this for the sntp tree.
BUILT_SOURCES += check-libunity
+CLEANFILES += check-libunity
check-libunity: $(top_builddir)/sntp/unity/libunity.a
- @: avoid default SCCS get by some make implementations
+ @echo stamp > $@
$(top_builddir)/sntp/unity/libunity.a:
cd $(top_builddir)/sntp/unity && $(MAKE) $(AM_MAKEFLAGS) libunity.a
-
$(top_srcdir)/sntp/scm-rev: FRC.scm-rev
$(AM_V_GEN)cd $(top_builddir)/sntp && $(MAKE) $(AM_MAKEFLAGS) check-scm-rev
+.PHONY: FRC.scm-rev
FRC.scm-rev:
- @: FRC.scm-rev "force" depends on nothing and is not a file, so is \
- always out-of-date causing targets which depend on it to also \
- be outdated so their rules to fire each time they are built.
-
+ @: FRC.scm-rev is always out of date, triggering the check every make invocation.
## of the NTP package.
BUILT_SOURCES += check-libntp
-CLEANFILES += check-libntp
-check-libntp: $(top_builddir)/../libntp/libntp.a
- @: avoid default SCCS get by some make implementations
-
-$(top_builddir)/../libntp/libntp.a:
+.PHONY: check-libntp
+check-libntp:
cd $(top_builddir)/../libntp && $(MAKE) $(AM_MAKEFLAGS) libntp.a
-
##
BUILT_SOURCES += check-libsntp
-CLEANFILES += check-libsntp
-check-libsntp: $(top_builddir)/sntp/libsntp.a
- @: avoid default SCCS get by some make implementations
-
-$(top_builddir)/sntp/libsntp.a:
+.PHONY: check-libsntp
+check-libsntp:
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) libsntp.a
-
CLEANFILES += check-libunity
check-libunity: $(top_builddir)/unity/libunity.a
- @: avoid default SCCS get by some make implementations
+ @echo stamp > $@
$(top_builddir)/unity/libunity.a:
cd $(top_builddir)/unity && $(MAKE) $(AM_MAKEFLAGS) libunity.a
-