OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [libgomp/] [Makefile.am] - Blame information for rev 297

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 273 jeremybenn
## Process this file with automake to produce Makefile.in
2
 
3
ACLOCAL_AMFLAGS = -I .. -I ../config
4
SUBDIRS = testsuite
5
 
6
## May be used by toolexeclibdir.
7
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
8
 
9
config_path = @config_path@
10
search_path = $(addprefix $(top_srcdir)/config/, $(config_path)) $(top_srcdir)
11
 
12
fincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/finclude
13
libsubincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
14
 
15
vpath % $(strip $(search_path))
16
 
17
AM_CPPFLAGS = $(addprefix -I, $(search_path))
18
AM_CFLAGS = $(XCFLAGS)
19
AM_LDFLAGS = $(XLDFLAGS) $(SECTION_LDFLAGS) $(OPT_LDFLAGS)
20
 
21
toolexeclib_LTLIBRARIES = libgomp.la
22
nodist_toolexeclib_HEADERS = libgomp.spec
23
 
24
if LIBGOMP_BUILD_VERSIONED_SHLIB
25
libgomp_version_script = -Wl,--version-script,$(top_srcdir)/libgomp.map
26
else
27
libgomp_version_script =
28
endif
29
libgomp_version_info = -version-info $(libtool_VERSION)
30
libgomp_la_LDFLAGS = $(libgomp_version_info) $(libgomp_version_script) \
31
        -no-undefined -bindir "$(bindir)"
32
libgomp_la_LINK = $(LINK) $(libgomp_la_LDFLAGS)
33
 
34
libgomp_la_SOURCES = alloc.c barrier.c critical.c env.c error.c iter.c \
35
        iter_ull.c loop.c loop_ull.c ordered.c parallel.c sections.c single.c \
36
        task.c team.c work.c lock.c mutex.c proc.c sem.c bar.c ptrlock.c \
37
        time.c fortran.c affinity.c
38
 
39
nodist_noinst_HEADERS = libgomp_f.h
40
nodist_libsubinclude_HEADERS = omp.h
41
if USE_FORTRAN
42
nodist_finclude_HEADERS = omp_lib.h omp_lib.f90 omp_lib.mod omp_lib_kinds.mod
43
endif
44
 
45
LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
46
 
47
LINK = $(LIBTOOL) --tag CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
48
        $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LTLDFLAGS) -o $@
49
 
50
omp_lib_kinds.mod: omp_lib.mod
51
        :
52
omp_lib.mod: omp_lib.f90
53
        $(FC) $(FCFLAGS) -fsyntax-only omp_lib.f90
54
fortran.lo: libgomp_f.h
55
fortran.o: libgomp_f.h
56
env.lo: libgomp_f.h
57
env.o: libgomp_f.h
58
 
59
 
60
# Automake Documentation:
61
# If your package has Texinfo files in many directories, you can use the
62
# variable TEXINFO_TEX to tell Automake where to find the canonical
63
# `texinfo.tex' for your package. The value of this variable should be
64
# the relative path from the current `Makefile.am' to `texinfo.tex'.
65
TEXINFO_TEX   = ../gcc/doc/include/texinfo.tex
66
 
67
# Defines info, dvi, pdf and html targets
68
MAKEINFOFLAGS = -I $(srcdir)/../gcc/doc/include
69
info_TEXINFOS = libgomp.texi
70
 
71
# AM_CONDITIONAL on configure option --generated-files-in-srcdir
72
if GENINSRC
73
STAMP_GENINSRC = stamp-geninsrc
74
else
75
STAMP_GENINSRC =
76
endif
77
 
78
# AM_CONDITIONAL on configure check ACX_CHECK_PROG_VER([MAKEINFO])
79
if BUILD_INFO
80
STAMP_BUILD_INFO = stamp-build-info
81
else
82
STAMP_BUILD_INFO =
83
endif
84
 
85
 
86
all-local: $(STAMP_GENINSRC)
87
 
88
stamp-geninsrc: libgomp.info
89
        cp -p $(top_builddir)/libgomp.info $(srcdir)/libgomp.info
90
        @touch $@
91
 
92
libgomp.info: $(STAMP_BUILD_INFO)
93
 
94
stamp-build-info: libgomp.texi
95
        $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) -o libgomp.info $(srcdir)/libgomp.texi
96
        @touch $@
97
 
98
 
99
CLEANFILES = $(STAMP_GENINSRC) $(STAMP_BUILD_INFO) libgomp.info
100
MAINTAINERCLEANFILES = $(srcdir)/libgomp.info

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.