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
13 libsubincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
16 space = $(empty) $(empty)
17 VPATH = $(subst $(space),:,$(strip $(search_path)))
19 AM_CPPFLAGS = $(addprefix -I, $(search_path))
20 AM_CFLAGS = $(XCFLAGS)
21 AM_LDFLAGS = $(XLDFLAGS) $(SECTION_LDFLAGS) $(OPT_LDFLAGS)
23 toolexeclib_LTLIBRARIES = libgomp.la
24 nodist_toolexeclib_HEADERS = libgomp.spec
26 if LIBGOMP_BUILD_VERSIONED_SHLIB
27 libgomp_version_script = -Wl,--version-script,$(top_srcdir)/libgomp.map
29 libgomp_version_script =
31 libgomp_version_info = -version-info $(libtool_VERSION)
32 libgomp_la_LDFLAGS = $(libgomp_version_info) $(libgomp_version_script)
34 libgomp_la_SOURCES = alloc.c barrier.c critical.c env.c error.c iter.c \
35 loop.c ordered.c parallel.c sections.c single.c team.c work.c \
36 lock.c mutex.c proc.c sem.c bar.c time.c fortran.c
38 nodist_noinst_HEADERS = libgomp_f.h
39 nodist_libsubinclude_HEADERS = omp.h
41 nodist_finclude_HEADERS = omp_lib.h omp_lib.f90 omp_lib.mod omp_lib_kinds.mod
44 omp_lib_kinds.mod: omp_lib.mod
46 omp_lib.mod: omp_lib.f90
47 $(FC) $(FCFLAGS) -fsyntax-only omp_lib.f90
48 fortran.lo: libgomp_f.h
49 fortran.o: libgomp_f.h
53 # No install-html target