aboutsummaryrefslogtreecommitdiff
path: root/example/Makefile.inc
blob: 4668b0ae78626c28b18be7cf75ffffa6967ba9d1 (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
include $(top_srcdir)/platform/@with_platform@/Makefile.inc

include $(top_srcdir)/Makefile.inc

TESTS_ENVIRONMENT = EXEEXT=${EXEEXT}

LDADD = $(LIB)/libodp-linux.la $(LIB)/libodphelper.la

# Do not link to DPDK twice in case of dynamic linking with ODP
if STATIC_APPS
LDADD += $(DPDK_LIBS_LT_STATIC)
else
LDADD += $(DPDK_LIBS_LT)
endif

AM_CFLAGS = \
	-I$(srcdir) \
	-I$(top_srcdir)/example \
	$(ODP_INCLUDES) \
	$(HELPER_INCLUDES)

if STATIC_APPS
AM_LDFLAGS = -L$(LIB) -static
else
AM_LDFLAGS =
endif