summaryrefslogtreecommitdiff
path: root/check-libopts.mf
diff options
context:
space:
mode:
Diffstat (limited to 'check-libopts.mf')
-rw-r--r--check-libopts.mf14
1 files changed, 14 insertions, 0 deletions
diff --git a/check-libopts.mf b/check-libopts.mf
new file mode 100644
index 0000000..9f9b9e0
--- /dev/null
+++ b/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: ../sntp/libopts/libopts.la
+ @echo stamp > $@
+
+../sntp/libopts/libopts.la:
+ -cd ../sntp/libopts && $(MAKE) $(AM_MAKEFLAGS) libopts.la