summaryrefslogtreecommitdiffstats
path: root/bgpd/rfp-example/rfptest/Makefile.am
blob: f5db852dbb0781cca1753a217721b113bf9858be (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
43
44
45
46
47
48
49
50
51
52
#
# This file has been modified by LabN Consulting, L.L.C.
#
#
## Process this file with automake to produce Makefile.in.

if ENABLE_BGP_VNC
BGP_VNC_RFAPI_INC=-I$(top_srcdir)/bgpd/rfapi
BGP_VNC_RFP_LIBDIR=../librfp
BGP_VNC_RFP_INCDIR=$(BGP_VNC_RFP_LIBDIR)
BGP_VNC_RFP_LIB=$(BGP_VNC_RFP_LIBDIR)/librfp.a
BGP_VNC_RFP_INC=-I$(BGP_VNC_RFP_INCDIR)

rfptest_SOURCES =  \
	rfptest.c 

rfptest_INCLUDES = \
	rfptest.h 


RFPTEST_BIN = rfptest

else
BGP_VNC_RFAPI_INC=
BGP_VNC_RFAPI_SRC=
BGP_VNC_RFP_LIB=
BGP_VNC_RFP_INC=
RFPTEST_BIN=
endif

AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib \
	-I$(top_builddir) -I$(top_builddir)/lib \
	$(BGP_VNC_RFAPI_INC) $(BGP_VNC_RFP_INC)

DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
INSTALL_SDATA=@INSTALL@ -m 600


AM_CFLAGS = $(PICFLAGS)
AM_LDFLAGS = $(PILDFLAGS)


noinst_HEADERS = \
	$(rfptest_INCLUDES)

noinst_LIBRARIES = 
sbin_PROGRAMS = $(RFPTEST_BIN)

examplesdir = $(exampledir)
 
rfptest_LDADD = $(top_builddir)/lib/libfrr.la $(BGP_VNC_RFP_LIB)
dist_examples_DATA =