aboutsummaryrefslogtreecommitdiff
path: root/sntp/check-libopts.mf
diff options
context:
space:
mode:
Diffstat (limited to 'sntp/check-libopts.mf')
-rw-r--r--sntp/check-libopts.mf14
1 files changed, 14 insertions, 0 deletions
diff --git a/sntp/check-libopts.mf b/sntp/check-libopts.mf
new file mode 100644
index 000000000000..7c79b3fcfcc0
--- /dev/null
+++ b/sntp/check-libopts.mf
@@ -0,0 +1,14 @@
+## check-libopts.mf - automake fragment
+##
+## If we are not using the tearoff libopts, we won't be
+## building its libopts.la, so the submake is allowed
+## to fail.
+
+BUILT_SOURCES += check-libopts
+CLEANFILES += check-libopts
+
+check-libopts: libopts/libopts.la
+ @echo stamp > $@
+
+libopts/libopts.la:
+ -cd libopts && $(MAKE) $(AM_MAKEFLAGS) libopts.la