aboutsummaryrefslogtreecommitdiff
path: root/ntpd/refclock_ptbacts.c
diff options
context:
space:
mode:
Diffstat (limited to 'ntpd/refclock_ptbacts.c')
-rw-r--r--ntpd/refclock_ptbacts.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/ntpd/refclock_ptbacts.c b/ntpd/refclock_ptbacts.c
new file mode 100644
index 000000000000..09d7bf4c2203
--- /dev/null
+++ b/ntpd/refclock_ptbacts.c
@@ -0,0 +1,16 @@
+/*
+ * crude hack to avoid hard links in distribution
+ * and keep only one ACTS type source for different
+ * ACTS refclocks
+ */
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#if defined(REFCLOCK) && defined(CLOCK_PTBACTS)
+# define KEEPPTBACTS
+# include "refclock_acts.c"
+#else /* not (REFCLOCK && CLOCK_PTBACTS) */
+int refclock_ptbacts_bs;
+#endif /* not (REFCLOCK && CLOCK_PTBACTS) */