Makefile.am: move header files from noinst_HEADERS to _SOURCES

Ensures proper recompilation when a header file is edited.
cf https://www.gnu.org/software/automake/manual/html_node/Headers.html
This commit is contained in:
Philippe Teuwen
2013-02-21 22:37:17 +01:00
parent 7af127ac0d
commit 5ced93fcbf
5 changed files with 23 additions and 29 deletions

View File

@@ -2,9 +2,8 @@
# set the include path found by configure
AM_CPPFLAGS = $(all_includes) $(LIBNFC_CFLAGS)
noinst_HEADERS = uart.h
noinst_LTLIBRARIES = libnfcbuses.la
libnfcbuses_la_SOURCES = uart.c
libnfcbuses_la_SOURCES = uart.c uart.h
libnfcbuses_la_CFLAGS = -I$(top_srcdir)/libnfc
EXTRA_DIST = uart_posix.c uart_win32.c