summaryrefslogtreecommitdiffstats
path: root/pimd/subdir.am
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-11-11 17:34:00 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2022-01-12 18:23:50 +0100
commit10fe382b134e768f1b4d61c98938034d9cab39b2 (patch)
treed455d1158e6eca85aabb87ebefe02c7d63b458bf /pimd/subdir.am
parentMerge pull request #10212 from mobash-rasool/mld-pim6-dev-prefix (diff)
downloadfrr-10fe382b134e768f1b4d61c98938034d9cab39b2.tar.xz
frr-10fe382b134e768f1b4d61c98938034d9cab39b2.zip
pim6d: add skeleton for IPv6 PIM daemon
This newborn pim6d is essentially an empty husk, but it does build without warnings or errors and has the build system integration prepared and working. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/subdir.am')
-rw-r--r--pimd/subdir.am32
1 files changed, 29 insertions, 3 deletions
diff --git a/pimd/subdir.am b/pimd/subdir.am
index f8bc0ff08..520b1aa18 100644
--- a/pimd/subdir.am
+++ b/pimd/subdir.am
@@ -12,7 +12,7 @@ man8 += $(MANBUILD)/frr-pimd.8
man8 += $(MANBUILD)/mtracebis.8
endif
-pimd_pimd_SOURCES = \
+pim_common = \
pimd/pim_assert.c \
pimd/pim_bfd.c \
pimd/pim_br.c \
@@ -32,7 +32,6 @@ pimd_pimd_SOURCES = \
pimd/pim_join.c \
pimd/pim_jp_agg.c \
pimd/pim_macro.c \
- pimd/pim_main.c \
pimd/pim_memory.c \
pimd/pim_mlag.c \
pimd/pim_mroute.c \
@@ -50,7 +49,6 @@ pimd_pimd_SOURCES = \
pimd/pim_routemap.c \
pimd/pim_rp.c \
pimd/pim_rpf.c \
- pimd/pim_signals.c \
pimd/pim_sock.c \
pimd/pim_ssm.c \
pimd/pim_ssmpingd.c \
@@ -68,12 +66,26 @@ pimd_pimd_SOURCES = \
pimd/pimd.c \
# end
+pimd_pimd_SOURCES = \
+ $(pim_common) \
+ pimd/pim_main.c \
+ pimd/pim_signals.c \
+ # end
+
nodist_pimd_pimd_SOURCES = \
yang/frr-pim.yang.c \
yang/frr-pim-rp.yang.c \
yang/frr-igmp.yang.c \
# end
+pimd_pim6d_SOURCES = \
+ $(pim_common) \
+ pimd/pim6_main.c \
+ # end
+
+nodist_pimd_pim6d_SOURCES = \
+ # end
+
noinst_HEADERS += \
pimd/pim_assert.h \
pimd/pim_bfd.h \
@@ -134,12 +146,26 @@ clippy_scan += \
pimd/pim_cmd.c \
# end
+pimd_pimd_CFLAGS = $(AM_CFLAGS) -DPIM_IPV=4
pimd_pimd_LDADD = lib/libfrr.la $(LIBCAP)
+if PIMD
+if DEV_BUILD
+#
+# pim6d is only enabled for --enable-dev-build, and NOT installed currently
+# (change noinst_ to sbin_ below to install it.)
+#
+noinst_PROGRAMS += pimd/pim6d
+pimd_pim6d_CFLAGS = $(AM_CFLAGS) -DPIM_IPV=6
+pimd_pim6d_LDADD = lib/libfrr.la $(LIBCAP)
+endif
+endif
+
pimd_test_igmpv3_join_LDADD = lib/libfrr.la
pimd_test_igmpv3_join_SOURCES = pimd/test_igmpv3_join.c
pimd_mtracebis_LDADD = lib/libfrr.la
+pimd_mtracebis_CFLAGS = $(AM_CFLAGS) -DPIM_IPV=4
pimd_mtracebis_SOURCES = pimd/mtracebis.c \
pimd/mtracebis_netlink.c \
pimd/mtracebis_routeget.c \