2 Initialization of OpenMP support.
20 BUILT_SOURCES += omp.h
22 # We need the following in order to create <omp.h> when the system
23 # doesn't have one that works with the given compiler.
24 omp.h: omp.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
25 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
26 @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
27 $(gl_V_at)$(SED_HEADER_STDOUT) \
28 -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
29 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
30 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
31 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
32 -e 's|@''NEXT_OMP_H''@|$(NEXT_OMP_H)|g' \
33 $(srcdir)/omp.in.h > $@-t
35 MOSTLYCLEANFILES += omp.h omp.h-t
37 lib_SOURCES += omp-init.c