summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/ntpd/refclock_ptbacts.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/ntpd/refclock_ptbacts.c')
-rw-r--r--contrib/ntp/ntpd/refclock_ptbacts.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/ntp/ntpd/refclock_ptbacts.c b/contrib/ntp/ntpd/refclock_ptbacts.c
new file mode 100644
index 0000000..09d7bf4
--- /dev/null
+++ b/contrib/ntp/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) */
OpenPOWER on IntegriCloud