blob: cc6a33df57f287262990ab3e6aa55b1cbeda6d88 (
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
|
include $(top_srcdir)/Makefile.inc
COMMON_DIR = $(top_builddir)/test/common
LIBODP = $(LIB)/libodphelper.la $(LIB)/lib$(ODP_LIB_NAME).la
LIBCUNIT_COMMON = $(COMMON_DIR)/libcunit_common.la
LIBCPUMASK_COMMON = $(COMMON_DIR)/libcpumask_common.la
LIBPACKET_COMMON = $(COMMON_DIR)/libpacket_common.la
LIBTHRMASK_COMMON = $(COMMON_DIR)/libthrmask_common.la
#in the following line, the libs using the symbols should come before
#the libs containing them! The includer is given a chance to add things
#before libodp by setting PRELDADD before the inclusion.
LDADD = $(PRELDADD) $(LIBODP)
PRELDADD =
AM_CPPFLAGS = \
$(ODP_INCLUDES) \
$(HELPER_INCLUDES) \
-I$(top_srcdir)/test/common
AM_CFLAGS += $(CUNIT_CFLAGS)
if STATIC_APPS
AM_LDFLAGS += -static
endif
AM_LDFLAGS += $(PLAT_DEP_LIBS)
@VALGRIND_CHECK_RULES@
TESTS_ENVIRONMENT = ODP_PLATFORM=${with_platform} \
EXEEXT=${EXEEXT}
|