diff options
Diffstat (limited to 'contrib/ntp/sntp/check-libntp.mf')
-rw-r--r-- | contrib/ntp/sntp/check-libntp.mf | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/ntp/sntp/check-libntp.mf b/contrib/ntp/sntp/check-libntp.mf index 649f605a8d07..f27aeb66e4f7 100644 --- a/contrib/ntp/sntp/check-libntp.mf +++ b/contrib/ntp/sntp/check-libntp.mf @@ -4,12 +4,12 @@ ## The above file has a version of this for the non-sntp portion ## of the NTP package. -BUILT_SOURCES += check-libntp -CLEANFILES += check-libntp +.PHONY: check-libntp -check-libntp: $(top_builddir)/../libntp/libntp.a - @: avoid default SCCS get by some make implementations +if LIBNTP_SUBMAKES +BUILT_SOURCES += check-libntp -$(top_builddir)/../libntp/libntp.a: +check-libntp: cd $(top_builddir)/../libntp && $(MAKE) $(AM_MAKEFLAGS) libntp.a +endif |