2010-08-11 18:36:35 +02:00
|
|
|
# $Id$
|
|
|
|
|
|
|
|
INCLUDES = $(CUTTER_CFLAGS) $(LIBNFC_CFLAGS)
|
|
|
|
LIBS = $(CUTTER_LIBS)
|
|
|
|
|
|
|
|
if WITH_CUTTER
|
|
|
|
TESTS = run-test.sh
|
|
|
|
TESTS_ENVIRONMENT = NO_MAKE=yes CUTTER="$(CUTTER)"
|
|
|
|
|
2011-05-11 19:38:11 +02:00
|
|
|
cutter_unit_test_libs = \
|
|
|
|
test_access_storm.la \
|
2012-01-12 09:49:19 +01:00
|
|
|
test_dep.la \
|
2011-12-09 14:55:35 +01:00
|
|
|
test_dep_active.la \
|
2011-12-09 14:41:51 +01:00
|
|
|
test_dep_passive.la \
|
2011-05-11 19:38:11 +02:00
|
|
|
test_register_access.la \
|
|
|
|
test_register_endianness.la
|
|
|
|
|
|
|
|
if WITH_DEBUG
|
|
|
|
noinst_LTLIBRARIES = $(cutter_unit_test_libs)
|
|
|
|
else
|
|
|
|
check_LTLIBRARIES = $(cutter_unit_test_libs)
|
|
|
|
endif
|
2010-08-11 18:36:35 +02:00
|
|
|
|
|
|
|
AM_LDFLAGS = -module -rpath $(libdir) -avoid-version -no-undefined
|
|
|
|
|
2010-08-13 20:34:30 +02:00
|
|
|
test_access_storm_la_SOURCES = test_access_storm.c
|
|
|
|
test_access_storm_la_LIBADD = $(top_builddir)/libnfc/libnfc.la
|
2010-08-11 18:36:35 +02:00
|
|
|
|
2012-01-12 09:49:19 +01:00
|
|
|
test_dep_la_SOURCES = test_dep.c
|
|
|
|
test_dep_la_LIBADD = $(top_builddir)/libnfc/libnfc.la
|
|
|
|
|
2011-12-09 14:55:35 +01:00
|
|
|
test_dep_active_la_SOURCES = test_dep_active.c
|
2011-12-14 11:31:08 +01:00
|
|
|
test_dep_active_la_LIBADD = $(top_builddir)/libnfc/libnfc.la \
|
|
|
|
$(top_builddir)/utils/libnfcutils.la
|
2011-12-09 14:55:35 +01:00
|
|
|
|
2011-12-09 14:41:51 +01:00
|
|
|
test_dep_passive_la_SOURCES = test_dep_passive.c
|
|
|
|
test_dep_passive_la_LIBADD = $(top_builddir)/libnfc/libnfc.la
|
2011-09-12 16:30:59 +02:00
|
|
|
|
2010-12-29 14:15:49 +01:00
|
|
|
test_register_access_la_SOURCES = test_register_access.c
|
|
|
|
test_register_access_la_LIBADD = $(top_builddir)/libnfc/libnfc.la
|
|
|
|
|
2010-08-28 16:27:33 +02:00
|
|
|
test_register_endianness_la_SOURCES = test_register_endianness.c
|
|
|
|
test_register_endianness_la_LIBADD = $(top_builddir)/libnfc/libnfc.la
|
|
|
|
|
2010-08-11 18:36:35 +02:00
|
|
|
echo-cutter:
|
|
|
|
@echo $(CUTTER)
|
|
|
|
|
|
|
|
EXTRA_DIST = run-test.sh
|
|
|
|
CLEANFILES = *.gcno
|
|
|
|
|
|
|
|
endif
|