2009-12-20 19:14:41 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2010-04-07 14:37:19 +00:00
|
|
|
AM_CFLAGS = $(LIBNFC_CFLAGS)
|
|
|
|
|
2011-09-30 11:33:31 +00:00
|
|
|
SUBDIRS = libnfc utils examples include contrib cmake test
|
2009-05-04 08:00:08 +00:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = libnfc.pc
|
|
|
|
|
2011-02-07 12:34:13 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
CMakeLists.txt \
|
|
|
|
Doxyfile \
|
2013-02-14 15:27:10 +01:00
|
|
|
README-Windows.txt \
|
|
|
|
libnfc.conf.sample
|
2011-02-07 12:34:13 +00:00
|
|
|
|
2011-09-22 13:03:47 +00:00
|
|
|
CLEANFILES = Doxygen.log coverage.info libnfc.pc
|
2009-10-20 10:19:31 +00:00
|
|
|
|
2011-02-26 00:21:27 +00:00
|
|
|
clean-local: clean-local-doc clean-local-coverage
|
|
|
|
|
2012-05-29 15:56:02 +00:00
|
|
|
.PHONY: clean-local-coverage clean-local-doc doc style
|
2011-02-26 00:21:27 +00:00
|
|
|
clean-local-coverage:
|
|
|
|
-rm -rf coverage
|
|
|
|
|
|
|
|
clean-local-doc:
|
2009-10-20 10:19:31 +00:00
|
|
|
rm -rf doc
|
|
|
|
|
2010-01-10 18:14:26 +00:00
|
|
|
doc : Doxyfile
|
2009-10-20 10:19:31 +00:00
|
|
|
@DOXYGEN@ $(builddir)/Doxyfile
|
|
|
|
|
2010-11-17 10:14:26 +00:00
|
|
|
DISTCHECK_CONFIGURE_FLAGS="--with-drivers=all"
|
|
|
|
|
2012-05-29 15:56:02 +00:00
|
|
|
style:
|
|
|
|
find . -name "*.[ch]" -exec perl -pi -e 's/[ \t]+$$//' {} \;
|
|
|
|
find . -name "*.[ch]" -exec astyle --formatted --mode=c --suffix=none \
|
|
|
|
--indent=spaces=2 --indent-switches --indent-preprocessor \
|
|
|
|
--keep-one-line-blocks --max-instatement-indent=60 \
|
|
|
|
--brackets=linux --pad-oper --unpad-paren --pad-header \
|
|
|
|
--align-pointer=name {} \;
|