diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-02-15 08:46:39 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2006-02-15 08:46:39 +0100 |
commit | dd8d6dfe799a66185fbcd5fe074cffa04d45e275 (patch) | |
tree | de43e2887704ae8b3ec08a0cb5c51194fc73b422 /libgomp/Makefile.am | |
parent | b5b7039effaf21bad366d66ecffa2a0b457c9ae7 (diff) | |
download | gcc-dd8d6dfe799a66185fbcd5fe074cffa04d45e275.zip gcc-dd8d6dfe799a66185fbcd5fe074cffa04d45e275.tar.gz gcc-dd8d6dfe799a66185fbcd5fe074cffa04d45e275.tar.bz2 |
re PR libgomp/25938 (libgomp installs header files in version and target independent location)
PR libgomp/25938
PR libgomp/25984
fortran/
* Make-lang.in (install-finclude-dir): New goal.
(fortran.install-common): Depend on install-finclude-dir.
* lang-specs.h: If not -nostdinc, add -I finclude.
libgomp/
* Makefile.am (fincludedir): New variable.
(nodist_include_HEADERS): Remove Fortran files.
(nodist_finclude_HEADERS): New variable.
* Makefile.in: Regenerated.
From-SVN: r111018
Diffstat (limited to 'libgomp/Makefile.am')
-rw-r--r-- | libgomp/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libgomp/Makefile.am b/libgomp/Makefile.am index 55f9373..e4c5389 100644 --- a/libgomp/Makefile.am +++ b/libgomp/Makefile.am @@ -9,6 +9,8 @@ gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) config_path = @config_path@ search_path = $(addprefix $(top_srcdir)/config/, $(config_path)) $(top_srcdir) +fincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/finclude + empty = space = $(empty) $(empty) VPATH = $(subst $(space),:,$(strip $(search_path))) @@ -33,9 +35,9 @@ libgomp_la_SOURCES = alloc.c barrier.c critical.c env.c error.c iter.c \ lock.c mutex.c proc.c sem.c bar.c time.c fortran.c nodist_noinst_HEADERS = libgomp_f.h -nodist_include_HEADERS = omp.h omp_lib.h omp_lib.f90 +nodist_include_HEADERS = omp.h if USE_FORTRAN -nodist_include_HEADERS += omp_lib.mod omp_lib_kinds.mod +nodist_finclude_HEADERS = omp_lib.h omp_lib.f90 omp_lib.mod omp_lib_kinds.mod endif omp_lib_kinds.mod: omp_lib.mod |