This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gomp] Don't install libgomp_f.h
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Richard Henderson <rth at redhat dot com>, Diego Novillo <dnovillo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 18 Nov 2005 14:57:40 -0500
- Subject: [gomp] Don't install libgomp_f.h
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
libgomp_f.h is a private, generated header, which shouldn't be installed.
nodist_noinst_HEADERS seem to do the job, but I'm not sure if that's the
best way to write it in automake.
2005-11-18 Jakub Jelinek <jakub@redhat.com>
* Makefile.am: Move libgomp_f.h from nodist_include_HEADERS
to nodist_noinst_HEADERS.
* Makefile.in: Rebuilt.
--- libgomp/Makefile.am.jj 2005-11-18 11:38:25.000000000 +0100
+++ libgomp/Makefile.am 2005-11-18 18:44:36.000000000 +0100
@@ -32,7 +32,8 @@ libgomp_la_SOURCES = alloc.c barrier.c c
loop.c ordered.c parallel.c sections.c single.c team.c work.c \
lock.c mutex.c proc.c sem.c bar.c time.c fortran.c
-nodist_include_HEADERS = omp.h omp_lib.h omp_lib.f90 libgomp_f.h
+nodist_noinst_HEADERS = libgomp_f.h
+nodist_include_HEADERS = omp.h omp_lib.h omp_lib.f90
if USE_FORTRAN
nodist_include_HEADERS += omp_lib.mod omp_lib_kinds.mod
endif
--- libgomp/Makefile.in.jj 2005-11-18 11:44:31.000000000 +0100
+++ libgomp/Makefile.in 2005-11-18 18:45:39.000000000 +0100
@@ -102,7 +102,8 @@ RECURSIVE_TARGETS = all-recursive check-
uninstall-recursive
nodist_includeHEADERS_INSTALL = $(INSTALL_HEADER)
nodist_toolexeclibHEADERS_INSTALL = $(INSTALL_HEADER)
-HEADERS = $(nodist_include_HEADERS) $(nodist_toolexeclib_HEADERS)
+HEADERS = $(nodist_include_HEADERS) $(nodist_noinst_HEADERS) \
+ $(nodist_toolexeclib_HEADERS)
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
@@ -246,8 +247,8 @@ libgomp_la_SOURCES = alloc.c barrier.c c
loop.c ordered.c parallel.c sections.c single.c team.c work.c \
lock.c mutex.c proc.c sem.c bar.c time.c fortran.c
-nodist_include_HEADERS = omp.h omp_lib.h omp_lib.f90 libgomp_f.h \
- $(am__append_1)
+nodist_noinst_HEADERS = libgomp_f.h
+nodist_include_HEADERS = omp.h omp_lib.h omp_lib.f90 $(am__append_1)
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
Jakub