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-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 \
|
|
|
|
test_mifare_classic.la \
|
|
|
|
test_mifare_classic_create_trailer_block.la \
|
|
|
|
test_mifare_classic_application.la
|
|
|
|
|
|
|
|
AM_LDFLAGS = -module -rpath $(libdir) -avoid-version -no-undefined
|
|
|
|
|
|
|
|
test_mad_la_SOURCES = test_mad.c
|
|
|
|
test_mad_la_LIBADD = $(top_srcdir)/libfreefare/libfreefare.la
|
|
|
|
|
|
|
|
test_mifare_classic_la_SOURCES = test_mifare_classic.c \
|
|
|
|
mifare_classic_fixture.c
|
|
|
|
test_mifare_classic_la_LIBADD = $(top_srcdir)/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_srcdir)/libfreefare/libfreefare.la
|
|
|
|
|
|
|
|
test_mifare_classic_application_la_SOURCES = test_mifare_classic_application.c
|
|
|
|
test_mifare_classic_application_la_LIBADD = $(top_srcdir)/libfreefare/libfreefare.la
|
|
|
|
|
|
|
|
echo-cutter:
|
|
|
|
@echo $(CUTTER)
|
2010-01-11 21:25:28 +01:00
|
|
|
|
|
|
|
endif
|