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}