]> git.proxmox.com Git - mirror_frr.git/blob - bgpd/rfp-example/rfptest/Makefile.am
Merge pull request #2875 from opensourcerouting/fabricd
[mirror_frr.git] / bgpd / rfp-example / rfptest / Makefile.am
1 #
2 # This file has been modified by LabN Consulting, L.L.C.
3 #
4 #
5 ## Process this file with automake to produce Makefile.in.
6
7 if ENABLE_BGP_VNC
8 BGP_VNC_RFAPI_INC=-I$(top_srcdir)/bgpd/rfapi
9 BGP_VNC_RFP_LIBDIR=../librfp
10 BGP_VNC_RFP_INCDIR=$(BGP_VNC_RFP_LIBDIR)
11 BGP_VNC_RFP_LIB=$(BGP_VNC_RFP_LIBDIR)/librfp.a
12 BGP_VNC_RFP_INC=-I$(BGP_VNC_RFP_INCDIR)
13
14 rfptest_SOURCES = \
15 rfptest.c
16
17 rfptest_INCLUDES = \
18 rfptest.h
19
20
21 RFPTEST_BIN = rfptest
22
23 else
24 BGP_VNC_RFAPI_INC=
25 BGP_VNC_RFAPI_SRC=
26 BGP_VNC_RFP_LIB=
27 BGP_VNC_RFP_INC=
28 RFPTEST_BIN=
29 endif
30
31 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib \
32 -I$(top_builddir) -I$(top_builddir)/lib \
33 $(BGP_VNC_RFAPI_INC) $(BGP_VNC_RFP_INC)
34
35 DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
36 INSTALL_SDATA=@INSTALL@ -m 600
37
38
39 AM_CFLAGS = $(PICFLAGS)
40 AM_LDFLAGS = $(PILDFLAGS)
41
42
43 noinst_HEADERS = \
44 $(rfptest_INCLUDES)
45
46 noinst_LIBRARIES =
47 sbin_PROGRAMS = $(RFPTEST_BIN)
48
49 examplesdir = $(exampledir)
50
51 rfptest_LDADD = $(top_builddir)/lib/libfrr.la $(BGP_VNC_RFP_LIB)
52 dist_examples_DATA =