summaryrefslogtreecommitdiff
path: root/libffi/include/Makefile.am
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-21 18:01:47 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-21 18:01:47 +0000
commitbbb07d359e76255db972d871e22b68bce9ae6d71 (patch)
tree41a18ed2fa949c517a1cd0712cf0493320dd6bc6 /libffi/include/Makefile.am
parentdb5c82c4c684a2c57aa5f04d732450fdf3e01b79 (diff)
downloadgcc-bbb07d359e76255db972d871e22b68bce9ae6d71.tar.gz
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not set tool_include_dir. * aclocal.m4, configure, Makefile.in, testsuite/Makefile.in: Regenerate. * include/Makefile.am: Set gcc_version and toollibffidir. * include/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96823 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/include/Makefile.am')
-rw-r--r--libffi/include/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/libffi/include/Makefile.am b/libffi/include/Makefile.am
index 048824d3938..0c160aadf5a 100644
--- a/libffi/include/Makefile.am
+++ b/libffi/include/Makefile.am
@@ -9,5 +9,8 @@ hackdir=$(includedir)
hack_DATA= ffi.h
-toollibffidir = @tool_include_dir@/libffi
+# Where generated headers like ffitarget.h get installed.
+gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
+toollibffidir := $(libdir)/gcc/$(target_alias)/$(gcc_version)/include/libffi
+
toollibffi_HEADERS = ffitarget.h