OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgomp/] [Makefile.am] - Blame information for rev 801

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

Line No. Rev Author Line
1 735 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
# -Wc is only a libtool option.
26
comma = ,
27
PREPROCESS = $(subst -Wc$(comma), , $(COMPILE)) -E
28
 
29
libgomp.ver: $(top_srcdir)/libgomp.map
30
        $(EGREP) -v '#(#| |$$)' $< | \
31
          $(PREPROCESS) -P -include config.h - > $@ || (rm -f $@ ; exit 1)
32
 
33
if LIBGOMP_BUILD_VERSIONED_SHLIB_GNU
34
libgomp_version_script = -Wl,--version-script,libgomp.ver
35
libgomp_version_dep = libgomp.ver
36
endif
37
if LIBGOMP_BUILD_VERSIONED_SHLIB_SUN
38
libgomp_version_script = -Wl,-M,libgomp.ver-sun
39
libgomp_version_dep = libgomp.ver-sun
40
libgomp.ver-sun : libgomp.ver \
41
                $(top_srcdir)/../contrib/make_sunver.pl \
42
                $(libgomp_la_OBJECTS) $(libgomp_la_LIBADD)
43
        perl $(top_srcdir)/../contrib/make_sunver.pl \
44
          libgomp.ver \
45
          $(libgomp_la_OBJECTS:%.lo=.libs/%.o) \
46
         `echo $(libgomp_la_LIBADD) | \
47
            sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
48
         > $@ || (rm -f $@ ; exit 1)
49
endif
50
else
51
libgomp_version_script =
52
libgomp_version_dep =
53
endif
54
libgomp_version_info = -version-info $(libtool_VERSION)
55
libgomp_la_LDFLAGS = $(libgomp_version_info) $(libgomp_version_script) \
56
        $(lt_host_flags)
57
libgomp_la_DEPENDENCIES = $(libgomp_version_dep)
58
libgomp_la_LINK = $(LINK) $(libgomp_la_LDFLAGS)
59
 
60
libgomp_la_SOURCES = alloc.c barrier.c critical.c env.c error.c iter.c \
61
        iter_ull.c loop.c loop_ull.c ordered.c parallel.c sections.c single.c \
62
        task.c team.c work.c lock.c mutex.c proc.c sem.c bar.c ptrlock.c \
63
        time.c fortran.c affinity.c
64
 
65
nodist_noinst_HEADERS = libgomp_f.h
66
nodist_libsubinclude_HEADERS = omp.h
67
if USE_FORTRAN
68
nodist_finclude_HEADERS = omp_lib.h omp_lib.f90 omp_lib.mod omp_lib_kinds.mod
69
endif
70
 
71
LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
72
 
73
LINK = $(LIBTOOL) --tag CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
74
        $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LTLDFLAGS) -o $@
75
 
76
omp_lib_kinds.mod: omp_lib.mod
77
        :
78
omp_lib.mod: omp_lib.f90
79
        $(FC) $(FCFLAGS) -fsyntax-only omp_lib.f90
80
fortran.lo: libgomp_f.h
81
fortran.o: libgomp_f.h
82
env.lo: libgomp_f.h
83
env.o: libgomp_f.h
84
 
85
 
86
# Automake Documentation:
87
# If your package has Texinfo files in many directories, you can use the
88
# variable TEXINFO_TEX to tell Automake where to find the canonical
89
# `texinfo.tex' for your package. The value of this variable should be
90
# the relative path from the current `Makefile.am' to `texinfo.tex'.
91
TEXINFO_TEX   = ../gcc/doc/include/texinfo.tex
92
 
93
# Defines info, dvi, pdf and html targets
94
MAKEINFOFLAGS = -I $(srcdir)/../gcc/doc/include
95
info_TEXINFOS = libgomp.texi
96
 
97
# AM_CONDITIONAL on configure option --generated-files-in-srcdir
98
if GENINSRC
99
STAMP_GENINSRC = stamp-geninsrc
100
else
101
STAMP_GENINSRC =
102
endif
103
 
104
# AM_CONDITIONAL on configure check ACX_CHECK_PROG_VER([MAKEINFO])
105
if BUILD_INFO
106
STAMP_BUILD_INFO = stamp-build-info
107
else
108
STAMP_BUILD_INFO =
109
endif
110
 
111
 
112
all-local: $(STAMP_GENINSRC)
113
 
114
stamp-geninsrc: libgomp.info
115
        cp -p $(top_builddir)/libgomp.info $(srcdir)/libgomp.info
116
        @touch $@
117
 
118
libgomp.info: $(STAMP_BUILD_INFO)
119
 
120
stamp-build-info: libgomp.texi
121
        $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) -o libgomp.info $(srcdir)/libgomp.texi
122
        @touch $@
123
 
124
 
125
CLEANFILES = $(STAMP_GENINSRC) $(STAMP_BUILD_INFO) libgomp.info
126
MAINTAINERCLEANFILES = $(srcdir)/libgomp.info

powered by: WebSVN 2.1.0

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