2010-01-11 21:14:30 +01:00
|
|
|
# $Id$
|
|
|
|
|
2010-01-11 21:25:28 +01:00
|
|
|
INCLUDES = $(CUTTER_CFLAGS) -I$(top_srcdir)/libfreefare
|
|
|
|
LIBS = $(CUTTER_LIBS)
|
|
|
|
|
2010-11-23 19:38:10 +01:00
|
|
|
SUBDIRS = common .
|
2010-01-12 16:38:56 +01:00
|
|
|
|
|
|
|
AM_CFLAGS = @LIBNFC_CFLAGS@
|
|
|
|
|
2010-01-11 21:25:28 +01:00
|
|
|
if WITH_CUTTER
|
|
|
|
|
2010-01-11 21:14:30 +01:00
|
|
|
TESTS = run-test.sh
|
|
|
|
TESTS_ENVIRONMENT = NO_MAKE=yes CUTTER="$(CUTTER)"
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = \
|
|
|
|
test_mad.la \
|
2010-07-01 23:57:49 +02:00
|
|
|
test_mifare_application.la \
|
2010-01-11 21:14:30 +01:00
|
|
|
test_mifare_classic.la \
|
2010-07-01 12:51:07 +02:00
|
|
|
test_mifare_classic_create_trailer_block.la \
|
|
|
|
test_mifare_classic_sector_boundaries.la \
|
2010-07-26 23:48:18 +02:00
|
|
|
test_mifare_desfire.la \
|
2010-12-15 13:43:31 +01:00
|
|
|
test_mifare_desfire_aes.la \
|
2010-09-03 12:54:07 +02:00
|
|
|
test_mifare_desfire_aid.la \
|
2010-07-26 23:48:18 +02:00
|
|
|
test_mifare_desfire_des.la \
|
2010-12-15 13:43:31 +01:00
|
|
|
test_mifare_desfire_ev1.la \
|
2010-07-26 23:48:18 +02:00
|
|
|
test_mifare_desfire_key.la \
|
2010-06-23 04:03:13 +02:00
|
|
|
test_mifare_ultralight.la \
|
|
|
|
test_tlv.la
|
2010-01-11 21:14:30 +01:00
|
|
|
|
|
|
|
AM_LDFLAGS = -module -rpath $(libdir) -avoid-version -no-undefined
|
|
|
|
|
|
|
|
test_mad_la_SOURCES = test_mad.c
|
2010-01-20 00:14:25 +01:00
|
|
|
test_mad_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la
|
2010-01-11 21:14:30 +01:00
|
|
|
|
2010-07-01 23:57:49 +02:00
|
|
|
test_mifare_application_la_SOURCES = test_mifare_application.c
|
|
|
|
test_mifare_application_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la
|
|
|
|
|
2010-01-11 21:14:30 +01:00
|
|
|
test_mifare_classic_la_SOURCES = test_mifare_classic.c \
|
2010-07-01 16:10:09 +02:00
|
|
|
test_mifare_classic_mad.c \
|
2010-01-20 00:14:25 +01:00
|
|
|
mifare_classic_fixture.c \
|
|
|
|
mifare_classic_fixture.h
|
|
|
|
test_mifare_classic_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la
|
2010-01-11 21:14:30 +01:00
|
|
|
|
2010-07-01 12:51:07 +02:00
|
|
|
test_mifare_classic_sector_boundaries_la_SOURCES = test_mifare_classic_sector_boundaries.c
|
|
|
|
test_mifare_classic_sector_boundaries_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la
|
|
|
|
|
|
|
|
test_mifare_classic_create_trailer_block_la_SOURCES = test_mifare_classic_create_trailer_block.c
|
|
|
|
test_mifare_classic_create_trailer_block_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la
|
|
|
|
|
2010-07-26 23:48:18 +02:00
|
|
|
test_mifare_desfire_la_SOURCES = test_mifare_desfire.c \
|
|
|
|
mifare_desfire_fixture.c \
|
|
|
|
mifare_desfire_fixture.h
|
2010-11-21 01:10:04 +01:00
|
|
|
test_mifare_desfire_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la \
|
2010-11-23 19:38:10 +01:00
|
|
|
$(top_builddir)/test/common/libtestcommon.la
|
2010-07-26 23:48:18 +02:00
|
|
|
|
2010-12-15 13:43:31 +01:00
|
|
|
test_mifare_desfire_aes_la_SOURCES = test_mifare_desfire_aes.c
|
|
|
|
test_mifare_desfire_aes_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la
|
|
|
|
|
2010-09-03 12:54:07 +02:00
|
|
|
test_mifare_desfire_aid_la_SOURCES = test_mifare_desfire_aid.c
|
|
|
|
test_mifare_desfire_aid_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la
|
|
|
|
|
2010-07-26 23:48:18 +02:00
|
|
|
test_mifare_desfire_des_la_SOURCES = test_mifare_desfire_des.c
|
2010-09-04 12:47:07 +02:00
|
|
|
test_mifare_desfire_des_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la
|
2010-07-26 23:48:18 +02:00
|
|
|
|
2010-12-15 13:43:31 +01:00
|
|
|
test_mifare_desfire_ev1_la_SOURCES = test_mifare_desfire_ev1.c \
|
2010-12-18 03:28:27 +01:00
|
|
|
test_mifare_desfire_ev1_3k3des.c \
|
2010-12-15 13:43:31 +01:00
|
|
|
test_mifare_desfire_ev1_aes.c \
|
|
|
|
mifare_desfire_ev1_fixture.c \
|
|
|
|
mifare_desfire_ev1_fixture.h
|
|
|
|
test_mifare_desfire_ev1_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la \
|
|
|
|
$(top_builddir)/test/common/libtestcommon.la
|
|
|
|
|
2010-07-26 23:48:18 +02:00
|
|
|
test_mifare_desfire_key_la_SOURCES = test_mifare_desfire_key.c
|
|
|
|
test_mifare_desfire_key_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la
|
|
|
|
|
2010-01-20 00:14:25 +01:00
|
|
|
test_mifare_ultralight_la_SOURCES = test_mifare_ultralight.c \
|
|
|
|
mifare_ultralight_fixture.c \
|
|
|
|
mifare_ultralight_fixture.h
|
|
|
|
test_mifare_ultralight_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la
|
2010-01-11 21:14:30 +01:00
|
|
|
|
2010-06-23 04:03:13 +02:00
|
|
|
test_tlv_la_SOURCES = test_tlv.c
|
|
|
|
test_tlv_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la
|
|
|
|
|
2010-01-11 21:14:30 +01:00
|
|
|
echo-cutter:
|
|
|
|
@echo $(CUTTER)
|
2010-01-11 21:25:28 +01:00
|
|
|
|
2010-01-20 00:14:25 +01:00
|
|
|
EXTRA_DIST = run-test.sh
|
2010-07-26 23:48:18 +02:00
|
|
|
CLEANFILES = *.gcno
|
2010-01-20 00:14:25 +01:00
|
|
|
|
2010-01-11 21:25:28 +01:00
|
|
|
endif
|