summaryrefslogtreecommitdiffstats
path: root/sharpd/subdir.am
diff options
context:
space:
mode:
Diffstat (limited to 'sharpd/subdir.am')
-rw-r--r--sharpd/subdir.am33
1 files changed, 33 insertions, 0 deletions
diff --git a/sharpd/subdir.am b/sharpd/subdir.am
new file mode 100644
index 0000000..acf4fe5
--- /dev/null
+++ b/sharpd/subdir.am
@@ -0,0 +1,33 @@
+#
+# sharpd
+#
+
+if SHARPD
+noinst_LIBRARIES += sharpd/libsharp.a
+sbin_PROGRAMS += sharpd/sharpd
+vtysh_scan += sharpd/sharp_vty.c
+vtysh_daemons += sharpd
+man8 += $(MANBUILD)/frr-sharpd.8
+endif
+
+sharpd_libsharp_a_SOURCES = \
+ sharpd/sharp_nht.c \
+ sharpd/sharp_zebra.c \
+ sharpd/sharp_vty.c \
+ sharpd/sharp_logpump.c \
+ # end
+
+noinst_HEADERS += \
+ sharpd/sharp_nht.h \
+ sharpd/sharp_vty.h \
+ sharpd/sharp_globals.h \
+ sharpd/sharp_zebra.h \
+ # end
+
+clippy_scan += \
+ sharpd/sharp_vty.c \
+ # end
+
+sharpd_sharpd_SOURCES = sharpd/sharp_main.c
+sharpd_sharpd_LDADD = sharpd/libsharp.a lib/libfrr.la $(LIBCAP)
+