571d5ac5e9
PR libgomp/25938 * Makefile.am (libsubincludedir): New. (nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS. * Makefile.in: Regenerate. From-SVN: r116475
57 lines
1.6 KiB
Makefile
57 lines
1.6 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
ACLOCAL_AMFLAGS = -I ../config
|
|
SUBDIRS = testsuite
|
|
|
|
## May be used by toolexeclibdir.
|
|
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
|
|
libsubincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
|
|
|
|
empty =
|
|
space = $(empty) $(empty)
|
|
VPATH = $(subst $(space),:,$(strip $(search_path)))
|
|
|
|
AM_CPPFLAGS = $(addprefix -I, $(search_path))
|
|
AM_CFLAGS = $(XCFLAGS)
|
|
AM_LDFLAGS = $(XLDFLAGS) $(SECTION_LDFLAGS) $(OPT_LDFLAGS)
|
|
|
|
toolexeclib_LTLIBRARIES = libgomp.la
|
|
nodist_toolexeclib_HEADERS = libgomp.spec
|
|
|
|
if LIBGOMP_BUILD_VERSIONED_SHLIB
|
|
libgomp_version_script = -Wl,--version-script,$(top_srcdir)/libgomp.map
|
|
else
|
|
libgomp_version_script =
|
|
endif
|
|
libgomp_version_info = -version-info $(libtool_VERSION)
|
|
libgomp_la_LDFLAGS = $(libgomp_version_info) $(libgomp_version_script)
|
|
|
|
libgomp_la_SOURCES = alloc.c barrier.c critical.c env.c error.c iter.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_noinst_HEADERS = libgomp_f.h
|
|
nodist_libsubinclude_HEADERS = omp.h
|
|
if USE_FORTRAN
|
|
nodist_finclude_HEADERS = omp_lib.h omp_lib.f90 omp_lib.mod omp_lib_kinds.mod
|
|
endif
|
|
|
|
omp_lib_kinds.mod: omp_lib.mod
|
|
:
|
|
omp_lib.mod: omp_lib.f90
|
|
$(FC) $(FCFLAGS) -fsyntax-only omp_lib.f90
|
|
fortran.lo: libgomp_f.h
|
|
fortran.o: libgomp_f.h
|
|
env.lo: libgomp_f.h
|
|
env.o: libgomp_f.h
|
|
|
|
# No install-html target
|
|
.PHONY: install-html
|
|
install-html:
|
|
|