1 ## Process this file with automake to produce Makefile.in
3 ACLOCAL_AMFLAGS = -I ../config
6 ## May be used by toolexeclibdir.
7 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
9 config_path = @config_path@
10 search_path = $(addprefix $(top_srcdir)/config/, $(config_path)) $(top_srcdir)
12 fincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/finclude
15 space = $(empty) $(empty)
16 VPATH = $(subst $(space),:,$(strip $(search_path)))
18 AM_CPPFLAGS = $(addprefix -I, $(search_path))
19 AM_CFLAGS = $(XCFLAGS)
20 AM_LDFLAGS = $(XLDFLAGS) $(SECTION_LDFLAGS) $(OPT_LDFLAGS)
22 toolexeclib_LTLIBRARIES = libgomp.la
23 nodist_toolexeclib_HEADERS = libgomp.spec
25 if LIBGOMP_BUILD_VERSIONED_SHLIB
26 libgomp_version_script = -Wl,--version-script,$(top_srcdir)/libgomp.map
28 libgomp_version_script =
30 libgomp_version_info = -version-info $(libtool_VERSION)
31 libgomp_la_LDFLAGS = $(libgomp_version_info) $(libgomp_version_script)
33 libgomp_la_SOURCES = alloc.c barrier.c critical.c env.c error.c iter.c \
34 loop.c ordered.c parallel.c sections.c single.c team.c work.c \
35 lock.c mutex.c proc.c sem.c bar.c time.c fortran.c
37 nodist_noinst_HEADERS = libgomp_f.h
38 nodist_include_HEADERS = omp.h
40 nodist_finclude_HEADERS = omp_lib.h omp_lib.f90 omp_lib.mod omp_lib_kinds.mod
43 omp_lib_kinds.mod: omp_lib.mod
45 omp_lib.mod: omp_lib.f90
46 $(FC) $(FCFLAGS) -fsyntax-only omp_lib.f90
47 fortran.lo: libgomp_f.h
48 fortran.o: libgomp_f.h
52 # No install-html target