libnfc/Makefile.am

39 lines
948 B
Text
Raw Normal View History

ACLOCAL_AMFLAGS = -I m4
2010-04-07 16:37:19 +02:00
AM_CFLAGS = $(LIBNFC_CFLAGS)
SUBDIRS = libnfc utils examples include contrib cmake test
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libnfc.pc
EXTRA_DIST = \
CMakeLists.txt \
Doxyfile \
README-Windows.txt \
libnfc.conf.sample
CLEANFILES = Doxygen.log coverage.info libnfc.pc
clean-local: clean-local-doc clean-local-coverage
2012-05-29 17:56:02 +02:00
.PHONY: clean-local-coverage clean-local-doc doc style
clean-local-coverage:
-rm -rf coverage
clean-local-doc:
rm -rf doc
doc : Doxyfile
@DOXYGEN@ $(builddir)/Doxyfile
DISTCHECK_CONFIGURE_FLAGS="--with-drivers=all"
2012-05-29 17:56:02 +02: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 {} \;