2009-12-20 20:14:41 +01:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2010-04-07 16:37:19 +02:00
|
|
|
AM_CFLAGS = $(LIBNFC_CFLAGS)
|
|
|
|
|
2011-04-02 23:16:31 +02:00
|
|
|
SUBDIRS = libnfc examples include contrib cmake test
|
2009-05-04 10:00:08 +02:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = libnfc.pc
|
|
|
|
|
2011-02-07 13:34:13 +01:00
|
|
|
EXTRA_DIST = \
|
|
|
|
CMakeLists.txt \
|
|
|
|
Doxyfile \
|
|
|
|
README-Windows.txt \
|
|
|
|
pn53x.conf \
|
|
|
|
pn53x.rules
|
|
|
|
|
2011-02-26 01:21:27 +01:00
|
|
|
CLEANFILES = Doxygen.log coverage.info
|
2009-10-20 12:19:31 +02:00
|
|
|
|
2011-02-26 01:21:27 +01:00
|
|
|
clean-local: clean-local-doc clean-local-coverage
|
|
|
|
|
|
|
|
.PHONY: clean-local-coverage clean-local-doc doc
|
|
|
|
clean-local-coverage:
|
|
|
|
-rm -rf coverage
|
|
|
|
|
|
|
|
clean-local-doc:
|
2009-10-20 12:19:31 +02:00
|
|
|
rm -rf doc
|
|
|
|
|
2010-01-10 19:14:26 +01:00
|
|
|
doc : Doxyfile
|
2009-10-20 12:19:31 +02:00
|
|
|
@DOXYGEN@ $(builddir)/Doxyfile
|
|
|
|
|
2010-07-21 15:09:48 +02:00
|
|
|
if HAS_INDENT
|
2010-07-22 00:32:02 +02:00
|
|
|
INDENT_ARGS = --blank-before-sizeof \
|
|
|
|
--blank-lines-after-commas \
|
|
|
|
--blank-lines-after-procedures \
|
|
|
|
--braces-after-func-def-line \
|
|
|
|
--braces-on-if-line \
|
|
|
|
--braces-on-struct-decl-line \
|
|
|
|
--continue-at-parentheses \
|
|
|
|
--cuddle-else \
|
|
|
|
--declaration-indentation 8 \
|
|
|
|
--indent-level 2 \
|
|
|
|
--line-length 120 \
|
|
|
|
--no-blank-lines-after-declarations \
|
|
|
|
--no-tabs \
|
|
|
|
--preprocessor-indentation 2 \
|
|
|
|
--procnames-start-lines \
|
|
|
|
--space-after-cast \
|
|
|
|
--space-after-procedure-calls
|
|
|
|
|
2010-07-20 15:38:58 +02:00
|
|
|
indent:
|
2010-07-22 00:32:02 +02:00
|
|
|
@[ ! -d $(top_srcdir)/.svn ] || \
|
|
|
|
[ 0 -eq $$(svn status | grep '\.[hc]$$' | tee /dev/fd/2 | wc -l) ] || \
|
|
|
|
( echo "These files are localy modified. 'commit' or 'reverse' them, then retry." >&2; false )
|
|
|
|
@for f in $$(find $(top_srcdir)/libnfc $(top_srcdir)/include $(top_srcdir)/examples -name "*.[hc]"); do \
|
|
|
|
echo " INDENT $$f"; \
|
|
|
|
$(INDENT) $(INDENT_ARGS) "$$f" || exit 1; \
|
|
|
|
done
|
2010-07-21 15:09:48 +02:00
|
|
|
endif
|
2010-11-17 11:14:26 +01:00
|
|
|
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS="--with-drivers=all"
|
|
|
|
|