diff options
author | Javier Garcia <javier.garcia@voltanet.io> | 2021-01-22 10:38:12 +0100 |
---|---|---|
committer | Javier Garcia <javier.garcia@voltanet.io> | 2021-03-05 12:12:47 +0100 |
commit | 749714731ee9a59ae39be77e7db3915ce3ad0bd8 (patch) | |
tree | 2a50fcd5ce5c2f01ac381ba769c3d8f145768f9d /pathd/subdir.am | |
parent | Merge pull request #8091 from mjstapp/fix_config_icc_diag (diff) | |
download | frr-749714731ee9a59ae39be77e7db3915ce3ad0bd8.tar.xz frr-749714731ee9a59ae39be77e7db3915ce3ad0bd8.zip |
pceplib: Integrate pcelib into frr
Signed-off-by: Brady Johnson <brady@voltanet.io>
Co-authored-by: Javier Garcia <javier.garcia@voltanet.io>
Signed-off-by: Javier Garcia <javier.garcia@voltanet.io>
Diffstat (limited to 'pathd/subdir.am')
-rw-r--r-- | pathd/subdir.am | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pathd/subdir.am b/pathd/subdir.am index 520a8c696..452d82466 100644 --- a/pathd/subdir.am +++ b/pathd/subdir.am @@ -11,7 +11,7 @@ vtysh_daemons += pathd # TODO add man page #man8 += $(MANBUILD)/pathd.8 -if HAVE_PATHD_PCEP +if PATHD_PCEP vtysh_scan += $(top_srcdir)/pathd/path_pcep_cli.c module_LTLIBRARIES += pathd/pathd_pcep.la endif @@ -69,6 +69,15 @@ pathd_pathd_pcep_la_SOURCES = \ pathd/path_pcep_config.c \ pathd/path_pcep_pcc.c \ # end + +if PATHD_PCEP +pathd_pathd_pcep_la_CPPFLAGS = -I./pceplib $(AM_CPPFLAGS) +pathd_pathd_pcep_la_LIBADD = pceplib/libpcep_pcc.la +else +pathd_pathd_pcep_la_CPPFLAGS = $(AM_CPPFLAGS) +pathd_pathd_pcep_la_LIBADD = +endif + + pathd_pathd_pcep_la_CFLAGS = $(WERROR) pathd_pathd_pcep_la_LDFLAGS = -avoid-version -module -shared -export-dynamic -pathd_pathd_pcep_la_LIBADD = @PATHD_PCEP_LIBS@ |