38 lines
948 B
Makefile
38 lines
948 B
Makefile
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
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
|
|
|
|
.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"
|
|
|
|
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 {} \;
|