Fix build when cutter is not available. (make distcheck ok)
This commit is contained in:
parent
c1bcb966ea
commit
576801d5ff
2 changed files with 8 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
SUBDIRS = libfreefare test
|
SUBDIRS = libfreefare test examples
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = libfreefare.pc
|
pkgconfig_DATA = libfreefare.pc
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
|
INCLUDES = $(CUTTER_CFLAGS) -I$(top_srcdir)/libfreefare
|
||||||
|
LIBS = $(CUTTER_LIBS)
|
||||||
|
|
||||||
|
if WITH_CUTTER
|
||||||
|
|
||||||
TESTS = run-test.sh
|
TESTS = run-test.sh
|
||||||
TESTS_ENVIRONMENT = NO_MAKE=yes CUTTER="$(CUTTER)"
|
TESTS_ENVIRONMENT = NO_MAKE=yes CUTTER="$(CUTTER)"
|
||||||
|
|
||||||
|
@ -9,9 +14,6 @@ noinst_LTLIBRARIES = \
|
||||||
test_mifare_classic_create_trailer_block.la \
|
test_mifare_classic_create_trailer_block.la \
|
||||||
test_mifare_classic_application.la
|
test_mifare_classic_application.la
|
||||||
|
|
||||||
INCLUDES = $(CUTTER_CFLAGS) -I$(top_srcdir)/libfreefare
|
|
||||||
LIBS = $(CUTTER_LIBS)
|
|
||||||
|
|
||||||
AM_LDFLAGS = -module -rpath $(libdir) -avoid-version -no-undefined
|
AM_LDFLAGS = -module -rpath $(libdir) -avoid-version -no-undefined
|
||||||
|
|
||||||
test_mad_la_SOURCES = test_mad.c
|
test_mad_la_SOURCES = test_mad.c
|
||||||
|
@ -29,3 +31,5 @@ test_mifare_classic_application_la_LIBADD = $(top_srcdir)/libfreefare/libfreefar
|
||||||
|
|
||||||
echo-cutter:
|
echo-cutter:
|
||||||
@echo $(CUTTER)
|
@echo $(CUTTER)
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in a new issue