diff options
author | Christian Franke <chris@opensourcerouting.org> | 2018-03-22 15:01:08 +0100 |
---|---|---|
committer | Christian Franke <chris@opensourcerouting.org> | 2018-09-05 11:38:12 +0200 |
commit | 7c0cbd0e8879ef85469cd2da606cdabdb374cf01 (patch) | |
tree | 8999de060c8affdb9cb2e476369d5238524fae7c /isisd/subdir.am | |
parent | Merge pull request #2971 from qlyoung/misc-doc-updates (diff) | |
download | frr-7c0cbd0e8879ef85469cd2da606cdabdb374cf01.tar.xz frr-7c0cbd0e8879ef85469cd2da606cdabdb374cf01.zip |
fabricd: add new daemon as build of isisd
fabricd is built using the sources of isisd. To allow differentiation
in the code, -DFABRICD=1 is added to its preprocessor flags.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'isisd/subdir.am')
-rw-r--r-- | isisd/subdir.am | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/isisd/subdir.am b/isisd/subdir.am index 7b8be4616..085b0cb84 100644 --- a/isisd/subdir.am +++ b/isisd/subdir.am @@ -8,6 +8,12 @@ sbin_PROGRAMS += isisd/isisd dist_examples_DATA += isisd/isisd.conf.sample endif +if FABRICD +noinst_LIBRARIES += isisd/libfabric.a +sbin_PROGRAMS += isisd/fabricd +dist_examples_DATA += isisd/fabricd.conf.sample +endif + isisd_libisis_a_SOURCES = \ isisd/dict.c \ isisd/isis_adjacency.c \ @@ -73,3 +79,12 @@ isisd_isisd_SOURCES = \ isisd/isis_main.c \ isisd/isis_pfpacket.c \ # end + +FABRICD_CPPFLAGS = -DFABRICD=1 $(AM_CPPFLAGS) + +isisd_libfabric_a_SOURCES = $(isisd_libisis_a_SOURCES) +isisd_libfabric_a_CPPFLAGS = $(FABRICD_CPPFLAGS) + +isisd_fabricd_LDADD = isisd/libfabric.a lib/libfrr.la @LIBCAP@ +isisd_fabricd_SOURCES = $(isisd_isisd_SOURCES) +isisd_fabricd_CPPFLAGS = $(FABRICD_CPPFLAGS) |