summaryrefslogtreecommitdiffstats
path: root/pbrd/subdir.am
blob: 0f2e7ad8bdb6f7e27e15e95fa351b9c6b0541568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
# pbrd
#

if PBRD
noinst_LIBRARIES += pbrd/libpbr.a
sbin_PROGRAMS += pbrd/pbrd
dist_examples_DATA += pbrd/pbrd.conf.sample
vtysh_scan += \
	$(top_srcdir)/pbrd/pbr_vty.c \
	$(top_srcdir)/pbrd/pbr_debug.c \
	# end
man8 += $(MANBUILD)/pbrd.8
endif

pbrd_libpbr_a_SOURCES = \
	pbrd/pbr_zebra.c \
	pbrd/pbr_vty.c \
	pbrd/pbr_map.c \
	pbrd/pbr_memory.c \
	pbrd/pbr_nht.c \
	pbrd/pbr_debug.c \
	# end

noinst_HEADERS += \
	pbrd/pbr_map.h \
	pbrd/pbr_memory.h \
	pbrd/pbr_nht.h \
	pbrd/pbr_vty.h \
	pbrd/pbr_zebra.h \
	pbrd/pbr_debug.h \
	# end

pbrd/pbr_vty_clippy.c: $(CLIPPY_DEPS)
pbrd/pbr_vty.$(OBJEXT): pbrd/pbr_vty_clippy.c

pbrd/pbr_debug_clippy.c: $(CLIPPY_DEPS)
pbrd/pbr_debug.$(OBJEXT): pbrd/pbr_debug_clippy.c

pbrd_pbrd_SOURCES = pbrd/pbr_main.c
pbrd_pbrd_LDADD = pbrd/libpbr.a lib/libfrr.la $(LIBCAP)