summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-11-13 13:50:39 +0100
committerRichard Henderson <rth@twiddle.net>2014-11-14 13:06:12 +0100
commit5d69d57a053c5049df29242def492159e1fadbae (patch)
treeffc882ff1f5394abfc6332fd3c6da3315beecdb3 /include
parent57f52484573613e2def21171184f50bd72209cac (diff)
downloadlibffi-5d69d57a053c5049df29242def492159e1fadbae.tar.gz
configure: Move target source selection into configure.host
This eliminates the AM_CONDITIONAL ugliness, which eliminates just a bit of extra boilerplate for a new target. At the same time, properly categorize the EXTRA_DIST files into SOURCES and HEADERS, for the generation of ctags.
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index fd28024..bb241e8 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -3,7 +3,8 @@
AUTOMAKE_OPTIONS=foreign
DISTCLEANFILES=ffitarget.h
-EXTRA_DIST=ffi.h.in ffi_common.h
+noinst_HEADERS=ffi_common.h ffi_cfi.h
+EXTRA_DIST=ffi.h.in
includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
nodist_includes_HEADERS = ffi.h ffitarget.h