aboutsummaryrefslogtreecommitdiffstats
path: root/router/Makefile.am
blob: b9de6a14375f36a82c4f9dde05af4143ef1bcbe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
AUTOMAKE_OPTIONS = foreign subdir-objects

AM_CFLAGS = -Wall -I@TOOLKIT_INCLUDE@

lib_LTLIBRARIES = router.la
router_la_SOURCES = router/tap_inject.c \
                    router/tap_inject_netlink.c \
                    router/tap_inject_node.c \
                    router/tap_inject_tap.c
router_la_LDFLAGS = -module
router_la_LIBADD = -lrtnl

if WITH_PLUGIN_TOOLKIT
install-data-hook:
	mkdir /usr/lib/vpp_plugins || true
	cp $(prefix)/lib/router.so.*.*.* /usr/lib/vpp_plugins
endif