annotate gotools/Makefile.in @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
1 # Makefile.in generated by automake 1.15.1 from Makefile.am.
111
kono
parents:
diff changeset
2 # @configure_input@
kono
parents:
diff changeset
3
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
4 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
5
111
kono
parents:
diff changeset
6 # This Makefile.in is free software; the Free Software Foundation
kono
parents:
diff changeset
7 # gives unlimited permission to copy and/or distribute it,
kono
parents:
diff changeset
8 # with or without modifications, as long as this notice is preserved.
kono
parents:
diff changeset
9
kono
parents:
diff changeset
10 # This program is distributed in the hope that it will be useful,
kono
parents:
diff changeset
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
kono
parents:
diff changeset
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
kono
parents:
diff changeset
13 # PARTICULAR PURPOSE.
kono
parents:
diff changeset
14
kono
parents:
diff changeset
15 @SET_MAKE@
kono
parents:
diff changeset
16
kono
parents:
diff changeset
17 # Makefile for gotools
kono
parents:
diff changeset
18 # Copyright (C) 2015-2016 Free Software Foundation, Inc.
kono
parents:
diff changeset
19 #
kono
parents:
diff changeset
20 # This file is free software; you can redistribute it and/or modify
kono
parents:
diff changeset
21 # it under the terms of the GNU General Public License as published by
kono
parents:
diff changeset
22 # the Free Software Foundation; either version 3 of the License, or
kono
parents:
diff changeset
23 # (at your option) any later version.
kono
parents:
diff changeset
24 #
kono
parents:
diff changeset
25 # This program is distributed in the hope that it will be useful,
kono
parents:
diff changeset
26 # but WITHOUT ANY WARRANTY; without even the implied warranty of
kono
parents:
diff changeset
27 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
kono
parents:
diff changeset
28 # GNU General Public License for more details.
kono
parents:
diff changeset
29 #
kono
parents:
diff changeset
30 # You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
31 # along with this program; see the file COPYING3. If not see
kono
parents:
diff changeset
32 # <http://www.gnu.org/licenses/>.
kono
parents:
diff changeset
33
kono
parents:
diff changeset
34 VPATH = @srcdir@
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
35 am__is_gnu_make = { \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
36 if test -z '$(MAKELEVEL)'; then \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
37 false; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
38 elif test -n '$(MAKE_HOST)'; then \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
39 true; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
40 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
41 true; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
42 else \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
43 false; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
44 fi; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
45 }
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
46 am__make_running_with_option = \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
47 case $${target_option-} in \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
48 ?) ;; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
49 *) echo "am__make_running_with_option: internal error: invalid" \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
50 "target option '$${target_option-}' specified" >&2; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
51 exit 1;; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
52 esac; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
53 has_opt=no; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
54 sane_makeflags=$$MAKEFLAGS; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
55 if $(am__is_gnu_make); then \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
56 sane_makeflags=$$MFLAGS; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
57 else \
111
kono
parents:
diff changeset
58 case $$MAKEFLAGS in \
kono
parents:
diff changeset
59 *\\[\ \ ]*) \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
60 bs=\\; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
61 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
62 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
111
kono
parents:
diff changeset
63 esac; \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
64 fi; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
65 skip_next=no; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
66 strip_trailopt () \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
67 { \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
68 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
69 }; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
70 for flg in $$sane_makeflags; do \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
71 test $$skip_next = yes && { skip_next=no; continue; }; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
72 case $$flg in \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
73 *=*|--*) continue;; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
74 -*I) strip_trailopt 'I'; skip_next=yes;; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
75 -*I?*) strip_trailopt 'I';; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
76 -*O) strip_trailopt 'O'; skip_next=yes;; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
77 -*O?*) strip_trailopt 'O';; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
78 -*l) strip_trailopt 'l'; skip_next=yes;; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
79 -*l?*) strip_trailopt 'l';; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
80 -[dEDm]) skip_next=yes;; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
81 -[JT]) skip_next=yes;; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
82 esac; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
83 case $$flg in \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
84 *$$target_option*) has_opt=yes; break;; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
85 esac; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
86 done; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
87 test $$has_opt = yes
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
88 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
89 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
111
kono
parents:
diff changeset
90 pkgdatadir = $(datadir)/@PACKAGE@
kono
parents:
diff changeset
91 pkgincludedir = $(includedir)/@PACKAGE@
kono
parents:
diff changeset
92 pkglibdir = $(libdir)/@PACKAGE@
kono
parents:
diff changeset
93 pkglibexecdir = $(libexecdir)/@PACKAGE@
kono
parents:
diff changeset
94 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
kono
parents:
diff changeset
95 install_sh_DATA = $(install_sh) -c -m 644
kono
parents:
diff changeset
96 install_sh_PROGRAM = $(install_sh) -c
kono
parents:
diff changeset
97 install_sh_SCRIPT = $(install_sh) -c
kono
parents:
diff changeset
98 INSTALL_HEADER = $(INSTALL_DATA)
kono
parents:
diff changeset
99 transform = $(program_transform_name)
kono
parents:
diff changeset
100 NORMAL_INSTALL = :
kono
parents:
diff changeset
101 PRE_INSTALL = :
kono
parents:
diff changeset
102 POST_INSTALL = :
kono
parents:
diff changeset
103 NORMAL_UNINSTALL = :
kono
parents:
diff changeset
104 PRE_UNINSTALL = :
kono
parents:
diff changeset
105 POST_UNINSTALL = :
kono
parents:
diff changeset
106 build_triplet = @build@
kono
parents:
diff changeset
107 host_triplet = @host@
kono
parents:
diff changeset
108 target_triplet = @target@
kono
parents:
diff changeset
109 subdir = .
kono
parents:
diff changeset
110 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
kono
parents:
diff changeset
111 am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
kono
parents:
diff changeset
112 $(top_srcdir)/../config/depstand.m4 \
kono
parents:
diff changeset
113 $(top_srcdir)/../config/lead-dot.m4 \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
114 $(top_srcdir)/../config/override.m4 $(top_srcdir)/configure.ac
111
kono
parents:
diff changeset
115 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
kono
parents:
diff changeset
116 $(ACLOCAL_M4)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
117 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
118 $(am__configure_deps)
111
kono
parents:
diff changeset
119 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
kono
parents:
diff changeset
120 configure.lineno config.status.lineno
kono
parents:
diff changeset
121 CONFIG_CLEAN_FILES =
kono
parents:
diff changeset
122 CONFIG_CLEAN_VPATH_FILES =
kono
parents:
diff changeset
123 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
kono
parents:
diff changeset
124 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
125 buildid_SOURCES = buildid.c
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
126 buildid_OBJECTS = buildid.$(OBJEXT)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
127 buildid_LDADD = $(LDADD)
111
kono
parents:
diff changeset
128 cgo_SOURCES = cgo.c
kono
parents:
diff changeset
129 cgo_OBJECTS = cgo.$(OBJEXT)
kono
parents:
diff changeset
130 cgo_LDADD = $(LDADD)
kono
parents:
diff changeset
131 go_SOURCES = go.c
kono
parents:
diff changeset
132 go_OBJECTS = go.$(OBJEXT)
kono
parents:
diff changeset
133 go_LDADD = $(LDADD)
kono
parents:
diff changeset
134 gofmt_SOURCES = gofmt.c
kono
parents:
diff changeset
135 gofmt_OBJECTS = gofmt.$(OBJEXT)
kono
parents:
diff changeset
136 gofmt_LDADD = $(LDADD)
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
137 test2json_SOURCES = test2json.c
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
138 test2json_OBJECTS = test2json.$(OBJEXT)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
139 test2json_LDADD = $(LDADD)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
140 vet_SOURCES = vet.c
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
141 vet_OBJECTS = vet.$(OBJEXT)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
142 vet_LDADD = $(LDADD)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
143 AM_V_P = $(am__v_P_@AM_V@)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
144 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
145 am__v_P_0 = false
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
146 am__v_P_1 = :
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
147 AM_V_GEN = $(am__v_GEN_@AM_V@)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
148 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
149 am__v_GEN_0 = @echo " GEN " $@;
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
150 am__v_GEN_1 =
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
151 AM_V_at = $(am__v_at_@AM_V@)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
152 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
153 am__v_at_0 = @
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
154 am__v_at_1 =
111
kono
parents:
diff changeset
155 DEFAULT_INCLUDES = -I.@am__isrc@
kono
parents:
diff changeset
156 depcomp = $(SHELL) $(top_srcdir)/../depcomp
kono
parents:
diff changeset
157 am__depfiles_maybe = depfiles
kono
parents:
diff changeset
158 am__mv = mv -f
kono
parents:
diff changeset
159 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
kono
parents:
diff changeset
160 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
161 AM_V_CC = $(am__v_CC_@AM_V@)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
162 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
163 am__v_CC_0 = @echo " CC " $@;
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
164 am__v_CC_1 =
111
kono
parents:
diff changeset
165 CCLD = $(CC)
kono
parents:
diff changeset
166 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
167 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
168 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
169 am__v_CCLD_0 = @echo " CCLD " $@;
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
170 am__v_CCLD_1 =
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
171 SOURCES = buildid.c cgo.c go.c gofmt.c test2json.c vet.c
111
kono
parents:
diff changeset
172 am__can_run_installinfo = \
kono
parents:
diff changeset
173 case $$AM_UPDATE_INFO_DIR in \
kono
parents:
diff changeset
174 n|no|NO) false;; \
kono
parents:
diff changeset
175 *) (install-info --version) >/dev/null 2>&1;; \
kono
parents:
diff changeset
176 esac
kono
parents:
diff changeset
177 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
kono
parents:
diff changeset
178 am__vpath_adj = case $$p in \
kono
parents:
diff changeset
179 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
kono
parents:
diff changeset
180 *) f=$$p;; \
kono
parents:
diff changeset
181 esac;
kono
parents:
diff changeset
182 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
kono
parents:
diff changeset
183 am__install_max = 40
kono
parents:
diff changeset
184 am__nobase_strip_setup = \
kono
parents:
diff changeset
185 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
kono
parents:
diff changeset
186 am__nobase_strip = \
kono
parents:
diff changeset
187 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
kono
parents:
diff changeset
188 am__nobase_list = $(am__nobase_strip_setup); \
kono
parents:
diff changeset
189 for p in $$list; do echo "$$p $$p"; done | \
kono
parents:
diff changeset
190 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
kono
parents:
diff changeset
191 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
kono
parents:
diff changeset
192 if (++n[$$2] == $(am__install_max)) \
kono
parents:
diff changeset
193 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
kono
parents:
diff changeset
194 END { for (dir in files) print dir, files[dir] }'
kono
parents:
diff changeset
195 am__base_list = \
kono
parents:
diff changeset
196 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
kono
parents:
diff changeset
197 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
kono
parents:
diff changeset
198 am__uninstall_files_from_dir = { \
kono
parents:
diff changeset
199 test -z "$$files" \
kono
parents:
diff changeset
200 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
kono
parents:
diff changeset
201 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
kono
parents:
diff changeset
202 $(am__cd) "$$dir" && rm -f $$files; }; \
kono
parents:
diff changeset
203 }
kono
parents:
diff changeset
204 man1dir = $(mandir)/man1
kono
parents:
diff changeset
205 NROFF = nroff
kono
parents:
diff changeset
206 MANS = $(man_MANS)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
207 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
208 # Read a list of newline-separated strings from the standard input,
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
209 # and print each of them once, without duplicates. Input order is
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
210 # *not* preserved.
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
211 am__uniquify_input = $(AWK) '\
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
212 BEGIN { nonempty = 0; } \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
213 { items[$$0] = 1; nonempty = 1; } \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
214 END { if (nonempty) { for (i in items) print i; }; } \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
215 '
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
216 # Make sure the list of sources is unique. This is necessary because,
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
217 # e.g., the same source file might be shared among _SOURCES variables
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
218 # for different programs/libraries.
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
219 am__define_uniq_tagged_files = \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
220 list='$(am__tagged_files)'; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
221 unique=`for i in $$list; do \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
222 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
223 done | $(am__uniquify_input)`
111
kono
parents:
diff changeset
224 ETAGS = etags
kono
parents:
diff changeset
225 CTAGS = ctags
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
226 CSCOPE = cscope
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
227 AM_RECURSIVE_TARGETS = cscope
111
kono
parents:
diff changeset
228 ACLOCAL = @ACLOCAL@
kono
parents:
diff changeset
229 AMTAR = @AMTAR@
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
230 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
111
kono
parents:
diff changeset
231 AUTOCONF = @AUTOCONF@
kono
parents:
diff changeset
232 AUTOHEADER = @AUTOHEADER@
kono
parents:
diff changeset
233 AUTOMAKE = @AUTOMAKE@
kono
parents:
diff changeset
234 AWK = @AWK@
kono
parents:
diff changeset
235 CC = @CC@
kono
parents:
diff changeset
236 CCDEPMODE = @CCDEPMODE@
kono
parents:
diff changeset
237 CFLAGS = @CFLAGS@
kono
parents:
diff changeset
238 CPPFLAGS = @CPPFLAGS@
kono
parents:
diff changeset
239 CYGPATH_W = @CYGPATH_W@
kono
parents:
diff changeset
240 DEFS = @DEFS@
kono
parents:
diff changeset
241 DEPDIR = @DEPDIR@
kono
parents:
diff changeset
242 ECHO_C = @ECHO_C@
kono
parents:
diff changeset
243 ECHO_N = @ECHO_N@
kono
parents:
diff changeset
244 ECHO_T = @ECHO_T@
kono
parents:
diff changeset
245 EXEEXT = @EXEEXT@
kono
parents:
diff changeset
246 GCC_FOR_TARGET = @GCC_FOR_TARGET@
kono
parents:
diff changeset
247 GOC = @GOC@
kono
parents:
diff changeset
248 GOC_FOR_TARGET = @GOC_FOR_TARGET@
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
249 GOFLAGS = @GOFLAGS@
111
kono
parents:
diff changeset
250 INSTALL = @INSTALL@
kono
parents:
diff changeset
251 INSTALL_DATA = @INSTALL_DATA@
kono
parents:
diff changeset
252 INSTALL_PROGRAM = @INSTALL_PROGRAM@
kono
parents:
diff changeset
253 INSTALL_SCRIPT = @INSTALL_SCRIPT@
kono
parents:
diff changeset
254 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
kono
parents:
diff changeset
255 LDFLAGS = @LDFLAGS@
kono
parents:
diff changeset
256 LIBOBJS = @LIBOBJS@
kono
parents:
diff changeset
257 LIBS = @LIBS@
kono
parents:
diff changeset
258 LTLIBOBJS = @LTLIBOBJS@
kono
parents:
diff changeset
259 MAINT = @MAINT@
kono
parents:
diff changeset
260 MAKEINFO = @MAKEINFO@
kono
parents:
diff changeset
261 MKDIR_P = @MKDIR_P@
kono
parents:
diff changeset
262 NET_LIBS = @NET_LIBS@
kono
parents:
diff changeset
263 OBJEXT = @OBJEXT@
kono
parents:
diff changeset
264 PACKAGE = @PACKAGE@
kono
parents:
diff changeset
265 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
kono
parents:
diff changeset
266 PACKAGE_NAME = @PACKAGE_NAME@
kono
parents:
diff changeset
267 PACKAGE_STRING = @PACKAGE_STRING@
kono
parents:
diff changeset
268 PACKAGE_TARNAME = @PACKAGE_TARNAME@
kono
parents:
diff changeset
269 PACKAGE_URL = @PACKAGE_URL@
kono
parents:
diff changeset
270 PACKAGE_VERSION = @PACKAGE_VERSION@
kono
parents:
diff changeset
271 PATH_SEPARATOR = @PATH_SEPARATOR@
kono
parents:
diff changeset
272 SET_MAKE = @SET_MAKE@
kono
parents:
diff changeset
273 SHELL = @SHELL@
kono
parents:
diff changeset
274 STRIP = @STRIP@
kono
parents:
diff changeset
275 VERSION = @VERSION@
kono
parents:
diff changeset
276 abs_builddir = @abs_builddir@
kono
parents:
diff changeset
277 abs_srcdir = @abs_srcdir@
kono
parents:
diff changeset
278 abs_top_builddir = @abs_top_builddir@
kono
parents:
diff changeset
279 abs_top_srcdir = @abs_top_srcdir@
kono
parents:
diff changeset
280 ac_ct_CC = @ac_ct_CC@
kono
parents:
diff changeset
281 am__include = @am__include@
kono
parents:
diff changeset
282 am__leading_dot = @am__leading_dot@
kono
parents:
diff changeset
283 am__quote = @am__quote@
kono
parents:
diff changeset
284 am__tar = @am__tar@
kono
parents:
diff changeset
285 am__untar = @am__untar@
kono
parents:
diff changeset
286 bindir = @bindir@
kono
parents:
diff changeset
287 build = @build@
kono
parents:
diff changeset
288 build_alias = @build_alias@
kono
parents:
diff changeset
289 build_cpu = @build_cpu@
kono
parents:
diff changeset
290 build_noncanonical = @build_noncanonical@
kono
parents:
diff changeset
291 build_os = @build_os@
kono
parents:
diff changeset
292 build_vendor = @build_vendor@
kono
parents:
diff changeset
293 builddir = @builddir@
kono
parents:
diff changeset
294 datadir = @datadir@
kono
parents:
diff changeset
295 datarootdir = @datarootdir@
kono
parents:
diff changeset
296 docdir = @docdir@
kono
parents:
diff changeset
297 dvidir = @dvidir@
kono
parents:
diff changeset
298 exec_prefix = @exec_prefix@
kono
parents:
diff changeset
299 host = @host@
kono
parents:
diff changeset
300 host_alias = @host_alias@
kono
parents:
diff changeset
301 host_cpu = @host_cpu@
kono
parents:
diff changeset
302 host_noncanonical = @host_noncanonical@
kono
parents:
diff changeset
303 host_os = @host_os@
kono
parents:
diff changeset
304 host_vendor = @host_vendor@
kono
parents:
diff changeset
305 htmldir = @htmldir@
kono
parents:
diff changeset
306 includedir = @includedir@
kono
parents:
diff changeset
307 infodir = @infodir@
kono
parents:
diff changeset
308 install_sh = @install_sh@
kono
parents:
diff changeset
309 libdir = @libdir@
kono
parents:
diff changeset
310 libexecdir = @libexecdir@
kono
parents:
diff changeset
311 localedir = @localedir@
kono
parents:
diff changeset
312 localstatedir = @localstatedir@
kono
parents:
diff changeset
313 mandir = @mandir@
kono
parents:
diff changeset
314 mkdir_p = @mkdir_p@
kono
parents:
diff changeset
315 oldincludedir = @oldincludedir@
kono
parents:
diff changeset
316 pdfdir = @pdfdir@
kono
parents:
diff changeset
317 prefix = @prefix@
kono
parents:
diff changeset
318 program_transform_name = @program_transform_name@
kono
parents:
diff changeset
319 psdir = @psdir@
kono
parents:
diff changeset
320 sbindir = @sbindir@
kono
parents:
diff changeset
321 sharedstatedir = @sharedstatedir@
kono
parents:
diff changeset
322 srcdir = @srcdir@
kono
parents:
diff changeset
323 sysconfdir = @sysconfdir@
kono
parents:
diff changeset
324 target = @target@
kono
parents:
diff changeset
325 target_alias = @target_alias@
kono
parents:
diff changeset
326 target_cpu = @target_cpu@
kono
parents:
diff changeset
327 target_noncanonical = @target_noncanonical@
kono
parents:
diff changeset
328 target_os = @target_os@
kono
parents:
diff changeset
329 target_vendor = @target_vendor@
kono
parents:
diff changeset
330 top_build_prefix = @top_build_prefix@
kono
parents:
diff changeset
331 top_builddir = @top_builddir@
kono
parents:
diff changeset
332 top_srcdir = @top_srcdir@
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
333 ACLOCAL_AMFLAGS = -I ../config
111
kono
parents:
diff changeset
334 gcc_version := $(shell $(GCC_FOR_TARGET) -dumpversion)
kono
parents:
diff changeset
335 libexecsubdir = $(libexecdir)/gcc/$(target_noncanonical)/$(gcc_version)
kono
parents:
diff changeset
336 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
kono
parents:
diff changeset
337 PWD_COMMAND = $${PWDCMD-pwd}
kono
parents:
diff changeset
338 STAMP = echo timestamp >
kono
parents:
diff changeset
339 libgodir = ../$(target_noncanonical)/libgo
kono
parents:
diff changeset
340 LIBGODEP = $(libgodir)/libgo.la
kono
parents:
diff changeset
341 LIBGOTOOL = $(libgodir)/libgotool.a
kono
parents:
diff changeset
342 @NATIVE_FALSE@GOCOMPILER = $(GOC)
kono
parents:
diff changeset
343
kono
parents:
diff changeset
344 # Use the compiler we just built.
kono
parents:
diff changeset
345 @NATIVE_TRUE@GOCOMPILER = $(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
346 GOCFLAGS = $(CFLAGS_FOR_TARGET)
111
kono
parents:
diff changeset
347 GOCOMPILE = $(GOCOMPILER) $(GOCFLAGS)
kono
parents:
diff changeset
348 AM_GOCFLAGS = -I $(libgodir)
kono
parents:
diff changeset
349 AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs
kono
parents:
diff changeset
350 GOLINK = $(GOCOMPILER) $(GOCFLAGS) $(AM_GOCFLAGS) $(LDFLAGS) $(AM_LDFLAGS) -o $@
kono
parents:
diff changeset
351 libgosrcdir = $(srcdir)/../libgo/go
kono
parents:
diff changeset
352 cmdsrcdir = $(libgosrcdir)/cmd
kono
parents:
diff changeset
353 libgomiscdir = $(srcdir)/../libgo/misc
kono
parents:
diff changeset
354 go_cmd_go_files = \
kono
parents:
diff changeset
355 $(cmdsrcdir)/go/alldocs.go \
kono
parents:
diff changeset
356 $(cmdsrcdir)/go/go11.go \
kono
parents:
diff changeset
357 $(cmdsrcdir)/go/main.go
kono
parents:
diff changeset
358
kono
parents:
diff changeset
359 go_cmd_gofmt_files = \
kono
parents:
diff changeset
360 $(cmdsrcdir)/gofmt/doc.go \
kono
parents:
diff changeset
361 $(cmdsrcdir)/gofmt/gofmt.go \
kono
parents:
diff changeset
362 $(cmdsrcdir)/gofmt/internal.go \
kono
parents:
diff changeset
363 $(cmdsrcdir)/gofmt/rewrite.go \
kono
parents:
diff changeset
364 $(cmdsrcdir)/gofmt/simplify.go
kono
parents:
diff changeset
365
kono
parents:
diff changeset
366 go_cmd_cgo_files = \
kono
parents:
diff changeset
367 $(cmdsrcdir)/cgo/ast.go \
kono
parents:
diff changeset
368 $(cmdsrcdir)/cgo/doc.go \
kono
parents:
diff changeset
369 $(cmdsrcdir)/cgo/gcc.go \
kono
parents:
diff changeset
370 $(cmdsrcdir)/cgo/godefs.go \
kono
parents:
diff changeset
371 $(cmdsrcdir)/cgo/main.go \
kono
parents:
diff changeset
372 $(cmdsrcdir)/cgo/out.go \
kono
parents:
diff changeset
373 $(cmdsrcdir)/cgo/util.go
kono
parents:
diff changeset
374
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
375 go_cmd_vet_files = \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
376 $(cmdsrcdir)/vet/doc.go \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
377 $(cmdsrcdir)/vet/main.go
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
378
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
379 go_cmd_buildid_files = \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
380 $(cmdsrcdir)/buildid/buildid.go \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
381 $(cmdsrcdir)/buildid/doc.go
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
382
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
383 go_cmd_test2json_files = \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
384 $(cmdsrcdir)/test2json/main.go
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
385
111
kono
parents:
diff changeset
386 GCCGO_INSTALL_NAME := $(shell echo gccgo|sed '$(program_transform_name)')
kono
parents:
diff changeset
387 GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)')
kono
parents:
diff changeset
388 GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)')
kono
parents:
diff changeset
389 MOSTLYCLEANFILES = \
kono
parents:
diff changeset
390 zdefaultcc.go s-zdefaultcc \
kono
parents:
diff changeset
391 check-gccgo check-gcc gotools.head *-testlog gotools.sum gotools.log \
kono
parents:
diff changeset
392 *.sent
kono
parents:
diff changeset
393
kono
parents:
diff changeset
394
kono
parents:
diff changeset
395 # For a native build we build the programs using the newly built libgo
kono
parents:
diff changeset
396 # and install them as regular programs.
kono
parents:
diff changeset
397 @NATIVE_TRUE@bin_PROGRAMS = go$(EXEEXT) gofmt$(EXEEXT)
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
398 @NATIVE_TRUE@noinst_PROGRAMS = cgo$(EXEEXT) vet$(EXEEXT) buildid$(EXEEXT) test2json$(EXEEXT)
111
kono
parents:
diff changeset
399 @NATIVE_TRUE@man_MANS = go.1 gofmt.1
kono
parents:
diff changeset
400 @NATIVE_TRUE@GOTESTFLAGS =
kono
parents:
diff changeset
401
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
402 # Number of seconds before tests time out.
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
403 @NATIVE_TRUE@GOTOOLS_TEST_TIMEOUT = 1200
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
404
111
kono
parents:
diff changeset
405 # CHECK_ENV sets up the environment to run the newly built go tool.
kono
parents:
diff changeset
406 # If you change this, change ECHO_ENV, below.
kono
parents:
diff changeset
407 # The fl shell variable is used to avoid having FAIL appear
kono
parents:
diff changeset
408 # in the log unnecessarily.
kono
parents:
diff changeset
409 @NATIVE_TRUE@CHECK_ENV = \
kono
parents:
diff changeset
410 @NATIVE_TRUE@ PATH=`echo $(abs_builddir):$${PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
kono
parents:
diff changeset
411 @NATIVE_TRUE@ export PATH; \
kono
parents:
diff changeset
412 @NATIVE_TRUE@ GCCGO="$(abs_builddir)/check-gccgo"; \
kono
parents:
diff changeset
413 @NATIVE_TRUE@ export GCCGO; \
kono
parents:
diff changeset
414 @NATIVE_TRUE@ CC="$(abs_builddir)/check-gcc"; \
kono
parents:
diff changeset
415 @NATIVE_TRUE@ export CC; \
kono
parents:
diff changeset
416 @NATIVE_TRUE@ GCCGOTOOLDIR="$(abs_builddir)"; \
kono
parents:
diff changeset
417 @NATIVE_TRUE@ export GCCGOTOOLDIR; \
kono
parents:
diff changeset
418 @NATIVE_TRUE@ GO_TESTING_GOTOOLS=yes; \
kono
parents:
diff changeset
419 @NATIVE_TRUE@ export GO_TESTING_GOTOOLS; \
kono
parents:
diff changeset
420 @NATIVE_TRUE@ abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \
kono
parents:
diff changeset
421 @NATIVE_TRUE@ LD_LIBRARY_PATH=`echo $${abs_libgodir}/.libs:$${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
kono
parents:
diff changeset
422 @NATIVE_TRUE@ export LD_LIBRARY_PATH; \
kono
parents:
diff changeset
423 @NATIVE_TRUE@ GOROOT=$${abs_libgodir}; \
kono
parents:
diff changeset
424 @NATIVE_TRUE@ export GOROOT; \
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
425 @NATIVE_TRUE@ GOCACHE=$(abs_builddir)/gocache-test; \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
426 @NATIVE_TRUE@ export GOCACHE; \
111
kono
parents:
diff changeset
427 @NATIVE_TRUE@ fl1="FA"; fl2="IL"; fl="$${fl1}$${fl2}";
kono
parents:
diff changeset
428
kono
parents:
diff changeset
429
kono
parents:
diff changeset
430 # ECHO_ENV is a variant of CHECK_ENV to put into a testlog file.
kono
parents:
diff changeset
431 # It assumes that abs_libgodir is set.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
432 @NATIVE_TRUE@ECHO_ENV = PATH=`echo $(abs_builddir):$${PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'` GCCGO='$(abs_builddir)/check-gccgo' CC='$(abs_builddir)/check-gcc' GCCGOTOOLDIR='$(abs_builddir)' GO_TESTING_GOTOOLS=yes LD_LIBRARY_PATH=`echo $${abs_libgodir}/.libs:$${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'` GOROOT=`echo $${abs_libgodir} GOCACHE='$(abs_builddir)/gocache-test'`
111
kono
parents:
diff changeset
433 all: all-am
kono
parents:
diff changeset
434
kono
parents:
diff changeset
435 .SUFFIXES:
kono
parents:
diff changeset
436 .SUFFIXES: .c .o .obj
kono
parents:
diff changeset
437 am--refresh: Makefile
kono
parents:
diff changeset
438 @:
kono
parents:
diff changeset
439 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
kono
parents:
diff changeset
440 @for dep in $?; do \
kono
parents:
diff changeset
441 case '$(am__configure_deps)' in \
kono
parents:
diff changeset
442 *$$dep*) \
kono
parents:
diff changeset
443 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
kono
parents:
diff changeset
444 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
kono
parents:
diff changeset
445 && exit 0; \
kono
parents:
diff changeset
446 exit 1;; \
kono
parents:
diff changeset
447 esac; \
kono
parents:
diff changeset
448 done; \
kono
parents:
diff changeset
449 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
kono
parents:
diff changeset
450 $(am__cd) $(top_srcdir) && \
kono
parents:
diff changeset
451 $(AUTOMAKE) --foreign Makefile
kono
parents:
diff changeset
452 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
kono
parents:
diff changeset
453 @case '$?' in \
kono
parents:
diff changeset
454 *config.status*) \
kono
parents:
diff changeset
455 echo ' $(SHELL) ./config.status'; \
kono
parents:
diff changeset
456 $(SHELL) ./config.status;; \
kono
parents:
diff changeset
457 *) \
kono
parents:
diff changeset
458 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
kono
parents:
diff changeset
459 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
kono
parents:
diff changeset
460 esac;
kono
parents:
diff changeset
461
kono
parents:
diff changeset
462 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
kono
parents:
diff changeset
463 $(SHELL) ./config.status --recheck
kono
parents:
diff changeset
464
kono
parents:
diff changeset
465 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
kono
parents:
diff changeset
466 $(am__cd) $(srcdir) && $(AUTOCONF)
kono
parents:
diff changeset
467 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
kono
parents:
diff changeset
468 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
kono
parents:
diff changeset
469 $(am__aclocal_m4_deps):
kono
parents:
diff changeset
470 install-binPROGRAMS: $(bin_PROGRAMS)
kono
parents:
diff changeset
471 @$(NORMAL_INSTALL)
kono
parents:
diff changeset
472 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
kono
parents:
diff changeset
473 if test -n "$$list"; then \
kono
parents:
diff changeset
474 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
kono
parents:
diff changeset
475 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
kono
parents:
diff changeset
476 fi; \
kono
parents:
diff changeset
477 for p in $$list; do echo "$$p $$p"; done | \
kono
parents:
diff changeset
478 sed 's/$(EXEEXT)$$//' | \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
479 while read p p1; do if test -f $$p \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
480 ; then echo "$$p"; echo "$$p"; else :; fi; \
111
kono
parents:
diff changeset
481 done | \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
482 sed -e 'p;s,.*/,,;n;h' \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
483 -e 's|.*|.|' \
111
kono
parents:
diff changeset
484 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
kono
parents:
diff changeset
485 sed 'N;N;N;s,\n, ,g' | \
kono
parents:
diff changeset
486 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
kono
parents:
diff changeset
487 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
kono
parents:
diff changeset
488 if ($$2 == $$4) files[d] = files[d] " " $$1; \
kono
parents:
diff changeset
489 else { print "f", $$3 "/" $$4, $$1; } } \
kono
parents:
diff changeset
490 END { for (d in files) print "f", d, files[d] }' | \
kono
parents:
diff changeset
491 while read type dir files; do \
kono
parents:
diff changeset
492 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
kono
parents:
diff changeset
493 test -z "$$files" || { \
kono
parents:
diff changeset
494 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
kono
parents:
diff changeset
495 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
kono
parents:
diff changeset
496 } \
kono
parents:
diff changeset
497 ; done
kono
parents:
diff changeset
498
kono
parents:
diff changeset
499 uninstall-binPROGRAMS:
kono
parents:
diff changeset
500 @$(NORMAL_UNINSTALL)
kono
parents:
diff changeset
501 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
kono
parents:
diff changeset
502 files=`for p in $$list; do echo "$$p"; done | \
kono
parents:
diff changeset
503 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
504 -e 's/$$/$(EXEEXT)/' \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
505 `; \
111
kono
parents:
diff changeset
506 test -n "$$list" || exit 0; \
kono
parents:
diff changeset
507 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
kono
parents:
diff changeset
508 cd "$(DESTDIR)$(bindir)" && rm -f $$files
kono
parents:
diff changeset
509
kono
parents:
diff changeset
510 clean-binPROGRAMS:
kono
parents:
diff changeset
511 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
kono
parents:
diff changeset
512
kono
parents:
diff changeset
513 clean-noinstPROGRAMS:
kono
parents:
diff changeset
514 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
515
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
516 @NATIVE_FALSE@buildid$(EXEEXT): $(buildid_OBJECTS) $(buildid_DEPENDENCIES) $(EXTRA_buildid_DEPENDENCIES)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
517 @NATIVE_FALSE@ @rm -f buildid$(EXEEXT)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
518 @NATIVE_FALSE@ $(AM_V_CCLD)$(LINK) $(buildid_OBJECTS) $(buildid_LDADD) $(LIBS)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
519
111
kono
parents:
diff changeset
520 @NATIVE_FALSE@cgo$(EXEEXT): $(cgo_OBJECTS) $(cgo_DEPENDENCIES) $(EXTRA_cgo_DEPENDENCIES)
kono
parents:
diff changeset
521 @NATIVE_FALSE@ @rm -f cgo$(EXEEXT)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
522 @NATIVE_FALSE@ $(AM_V_CCLD)$(LINK) $(cgo_OBJECTS) $(cgo_LDADD) $(LIBS)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
523
111
kono
parents:
diff changeset
524 @NATIVE_FALSE@go$(EXEEXT): $(go_OBJECTS) $(go_DEPENDENCIES) $(EXTRA_go_DEPENDENCIES)
kono
parents:
diff changeset
525 @NATIVE_FALSE@ @rm -f go$(EXEEXT)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
526 @NATIVE_FALSE@ $(AM_V_CCLD)$(LINK) $(go_OBJECTS) $(go_LDADD) $(LIBS)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
527
111
kono
parents:
diff changeset
528 @NATIVE_FALSE@gofmt$(EXEEXT): $(gofmt_OBJECTS) $(gofmt_DEPENDENCIES) $(EXTRA_gofmt_DEPENDENCIES)
kono
parents:
diff changeset
529 @NATIVE_FALSE@ @rm -f gofmt$(EXEEXT)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
530 @NATIVE_FALSE@ $(AM_V_CCLD)$(LINK) $(gofmt_OBJECTS) $(gofmt_LDADD) $(LIBS)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
531
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
532 @NATIVE_FALSE@test2json$(EXEEXT): $(test2json_OBJECTS) $(test2json_DEPENDENCIES) $(EXTRA_test2json_DEPENDENCIES)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
533 @NATIVE_FALSE@ @rm -f test2json$(EXEEXT)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
534 @NATIVE_FALSE@ $(AM_V_CCLD)$(LINK) $(test2json_OBJECTS) $(test2json_LDADD) $(LIBS)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
535
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
536 @NATIVE_FALSE@vet$(EXEEXT): $(vet_OBJECTS) $(vet_DEPENDENCIES) $(EXTRA_vet_DEPENDENCIES)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
537 @NATIVE_FALSE@ @rm -f vet$(EXEEXT)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
538 @NATIVE_FALSE@ $(AM_V_CCLD)$(LINK) $(vet_OBJECTS) $(vet_LDADD) $(LIBS)
111
kono
parents:
diff changeset
539
kono
parents:
diff changeset
540 mostlyclean-compile:
kono
parents:
diff changeset
541 -rm -f *.$(OBJEXT)
kono
parents:
diff changeset
542
kono
parents:
diff changeset
543 distclean-compile:
kono
parents:
diff changeset
544 -rm -f *.tab.c
kono
parents:
diff changeset
545
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
546 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/buildid.Po@am__quote@
111
kono
parents:
diff changeset
547 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgo.Po@am__quote@
kono
parents:
diff changeset
548 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/go.Po@am__quote@
kono
parents:
diff changeset
549 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gofmt.Po@am__quote@
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
550 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test2json.Po@am__quote@
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
551 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vet.Po@am__quote@
111
kono
parents:
diff changeset
552
kono
parents:
diff changeset
553 .c.o:
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
554 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
555 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
556 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
111
kono
parents:
diff changeset
557 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
558 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
111
kono
parents:
diff changeset
559
kono
parents:
diff changeset
560 .c.obj:
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
561 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
562 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
563 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
111
kono
parents:
diff changeset
564 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
565 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
111
kono
parents:
diff changeset
566 install-man1: $(man_MANS)
kono
parents:
diff changeset
567 @$(NORMAL_INSTALL)
kono
parents:
diff changeset
568 @list1=''; \
kono
parents:
diff changeset
569 list2='$(man_MANS)'; \
kono
parents:
diff changeset
570 test -n "$(man1dir)" \
kono
parents:
diff changeset
571 && test -n "`echo $$list1$$list2`" \
kono
parents:
diff changeset
572 || exit 0; \
kono
parents:
diff changeset
573 echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
kono
parents:
diff changeset
574 $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
kono
parents:
diff changeset
575 { for i in $$list1; do echo "$$i"; done; \
kono
parents:
diff changeset
576 if test -n "$$list2"; then \
kono
parents:
diff changeset
577 for i in $$list2; do echo "$$i"; done \
kono
parents:
diff changeset
578 | sed -n '/\.1[a-z]*$$/p'; \
kono
parents:
diff changeset
579 fi; \
kono
parents:
diff changeset
580 } | while read p; do \
kono
parents:
diff changeset
581 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
kono
parents:
diff changeset
582 echo "$$d$$p"; echo "$$p"; \
kono
parents:
diff changeset
583 done | \
kono
parents:
diff changeset
584 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
kono
parents:
diff changeset
585 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
kono
parents:
diff changeset
586 sed 'N;N;s,\n, ,g' | { \
kono
parents:
diff changeset
587 list=; while read file base inst; do \
kono
parents:
diff changeset
588 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
kono
parents:
diff changeset
589 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
kono
parents:
diff changeset
590 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
kono
parents:
diff changeset
591 fi; \
kono
parents:
diff changeset
592 done; \
kono
parents:
diff changeset
593 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
kono
parents:
diff changeset
594 while read files; do \
kono
parents:
diff changeset
595 test -z "$$files" || { \
kono
parents:
diff changeset
596 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
kono
parents:
diff changeset
597 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
kono
parents:
diff changeset
598 done; }
kono
parents:
diff changeset
599
kono
parents:
diff changeset
600 uninstall-man1:
kono
parents:
diff changeset
601 @$(NORMAL_UNINSTALL)
kono
parents:
diff changeset
602 @list=''; test -n "$(man1dir)" || exit 0; \
kono
parents:
diff changeset
603 files=`{ for i in $$list; do echo "$$i"; done; \
kono
parents:
diff changeset
604 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
kono
parents:
diff changeset
605 sed -n '/\.1[a-z]*$$/p'; \
kono
parents:
diff changeset
606 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
kono
parents:
diff changeset
607 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
kono
parents:
diff changeset
608 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
kono
parents:
diff changeset
609
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
610 ID: $(am__tagged_files)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
611 $(am__define_uniq_tagged_files); mkid -fID $$unique
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
612 tags: tags-am
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
613 TAGS: tags
111
kono
parents:
diff changeset
614
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
615 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
111
kono
parents:
diff changeset
616 set x; \
kono
parents:
diff changeset
617 here=`pwd`; \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
618 $(am__define_uniq_tagged_files); \
111
kono
parents:
diff changeset
619 shift; \
kono
parents:
diff changeset
620 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
kono
parents:
diff changeset
621 test -n "$$unique" || unique=$$empty_fix; \
kono
parents:
diff changeset
622 if test $$# -gt 0; then \
kono
parents:
diff changeset
623 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
kono
parents:
diff changeset
624 "$$@" $$unique; \
kono
parents:
diff changeset
625 else \
kono
parents:
diff changeset
626 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
kono
parents:
diff changeset
627 $$unique; \
kono
parents:
diff changeset
628 fi; \
kono
parents:
diff changeset
629 fi
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
630 ctags: ctags-am
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
631
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
632 CTAGS: ctags
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
633 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
634 $(am__define_uniq_tagged_files); \
111
kono
parents:
diff changeset
635 test -z "$(CTAGS_ARGS)$$unique" \
kono
parents:
diff changeset
636 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
kono
parents:
diff changeset
637 $$unique
kono
parents:
diff changeset
638
kono
parents:
diff changeset
639 GTAGS:
kono
parents:
diff changeset
640 here=`$(am__cd) $(top_builddir) && pwd` \
kono
parents:
diff changeset
641 && $(am__cd) $(top_srcdir) \
kono
parents:
diff changeset
642 && gtags -i $(GTAGS_ARGS) "$$here"
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
643 cscope: cscope.files
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
644 test ! -s cscope.files \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
645 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
646 clean-cscope:
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
647 -rm -f cscope.files
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
648 cscope.files: clean-cscope cscopelist
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
649 cscopelist: cscopelist-am
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
650
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
651 cscopelist-am: $(am__tagged_files)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
652 list='$(am__tagged_files)'; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
653 case "$(srcdir)" in \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
654 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
655 *) sdir=$(subdir)/$(srcdir) ;; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
656 esac; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
657 for i in $$list; do \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
658 if test -f "$$i"; then \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
659 echo "$(subdir)/$$i"; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
660 else \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
661 echo "$$sdir/$$i"; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
662 fi; \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
663 done >> $(top_builddir)/cscope.files
111
kono
parents:
diff changeset
664
kono
parents:
diff changeset
665 distclean-tags:
kono
parents:
diff changeset
666 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
667 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
111
kono
parents:
diff changeset
668 check-am: all-am
kono
parents:
diff changeset
669 check: check-am
kono
parents:
diff changeset
670 all-am: Makefile $(PROGRAMS) $(MANS)
kono
parents:
diff changeset
671 installdirs:
kono
parents:
diff changeset
672 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
kono
parents:
diff changeset
673 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
kono
parents:
diff changeset
674 done
kono
parents:
diff changeset
675 install: install-am
kono
parents:
diff changeset
676 install-exec: install-exec-am
kono
parents:
diff changeset
677 install-data: install-data-am
kono
parents:
diff changeset
678 uninstall: uninstall-am
kono
parents:
diff changeset
679
kono
parents:
diff changeset
680 install-am: all-am
kono
parents:
diff changeset
681 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
kono
parents:
diff changeset
682
kono
parents:
diff changeset
683 installcheck: installcheck-am
kono
parents:
diff changeset
684 install-strip:
kono
parents:
diff changeset
685 if test -z '$(STRIP)'; then \
kono
parents:
diff changeset
686 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
kono
parents:
diff changeset
687 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
kono
parents:
diff changeset
688 install; \
kono
parents:
diff changeset
689 else \
kono
parents:
diff changeset
690 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
kono
parents:
diff changeset
691 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
kono
parents:
diff changeset
692 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
kono
parents:
diff changeset
693 fi
kono
parents:
diff changeset
694 mostlyclean-generic:
kono
parents:
diff changeset
695 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
kono
parents:
diff changeset
696
kono
parents:
diff changeset
697 clean-generic:
kono
parents:
diff changeset
698
kono
parents:
diff changeset
699 distclean-generic:
kono
parents:
diff changeset
700 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
kono
parents:
diff changeset
701 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
kono
parents:
diff changeset
702
kono
parents:
diff changeset
703 maintainer-clean-generic:
kono
parents:
diff changeset
704 @echo "This command is intended for maintainers to use"
kono
parents:
diff changeset
705 @echo "it deletes files that may require special tools to rebuild."
kono
parents:
diff changeset
706 @NATIVE_FALSE@uninstall-local:
kono
parents:
diff changeset
707 @NATIVE_FALSE@install-exec-local:
kono
parents:
diff changeset
708 clean: clean-am
kono
parents:
diff changeset
709
kono
parents:
diff changeset
710 clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \
kono
parents:
diff changeset
711 mostlyclean-am
kono
parents:
diff changeset
712
kono
parents:
diff changeset
713 distclean: distclean-am
kono
parents:
diff changeset
714 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
kono
parents:
diff changeset
715 -rm -rf ./$(DEPDIR)
kono
parents:
diff changeset
716 -rm -f Makefile
kono
parents:
diff changeset
717 distclean-am: clean-am distclean-compile distclean-generic \
kono
parents:
diff changeset
718 distclean-tags
kono
parents:
diff changeset
719
kono
parents:
diff changeset
720 dvi: dvi-am
kono
parents:
diff changeset
721
kono
parents:
diff changeset
722 dvi-am:
kono
parents:
diff changeset
723
kono
parents:
diff changeset
724 html: html-am
kono
parents:
diff changeset
725
kono
parents:
diff changeset
726 html-am:
kono
parents:
diff changeset
727
kono
parents:
diff changeset
728 info: info-am
kono
parents:
diff changeset
729
kono
parents:
diff changeset
730 info-am:
kono
parents:
diff changeset
731
kono
parents:
diff changeset
732 install-data-am: install-man
kono
parents:
diff changeset
733
kono
parents:
diff changeset
734 install-dvi: install-dvi-am
kono
parents:
diff changeset
735
kono
parents:
diff changeset
736 install-dvi-am:
kono
parents:
diff changeset
737
kono
parents:
diff changeset
738 install-exec-am: install-binPROGRAMS install-exec-local
kono
parents:
diff changeset
739
kono
parents:
diff changeset
740 install-html: install-html-am
kono
parents:
diff changeset
741
kono
parents:
diff changeset
742 install-html-am:
kono
parents:
diff changeset
743
kono
parents:
diff changeset
744 install-info: install-info-am
kono
parents:
diff changeset
745
kono
parents:
diff changeset
746 install-info-am:
kono
parents:
diff changeset
747
kono
parents:
diff changeset
748 install-man: install-man1
kono
parents:
diff changeset
749
kono
parents:
diff changeset
750 install-pdf: install-pdf-am
kono
parents:
diff changeset
751
kono
parents:
diff changeset
752 install-pdf-am:
kono
parents:
diff changeset
753
kono
parents:
diff changeset
754 install-ps: install-ps-am
kono
parents:
diff changeset
755
kono
parents:
diff changeset
756 install-ps-am:
kono
parents:
diff changeset
757
kono
parents:
diff changeset
758 installcheck-am:
kono
parents:
diff changeset
759
kono
parents:
diff changeset
760 maintainer-clean: maintainer-clean-am
kono
parents:
diff changeset
761 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
kono
parents:
diff changeset
762 -rm -rf $(top_srcdir)/autom4te.cache
kono
parents:
diff changeset
763 -rm -rf ./$(DEPDIR)
kono
parents:
diff changeset
764 -rm -f Makefile
kono
parents:
diff changeset
765 maintainer-clean-am: distclean-am maintainer-clean-generic
kono
parents:
diff changeset
766
kono
parents:
diff changeset
767 mostlyclean: mostlyclean-am
kono
parents:
diff changeset
768
kono
parents:
diff changeset
769 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
kono
parents:
diff changeset
770 mostlyclean-local
kono
parents:
diff changeset
771
kono
parents:
diff changeset
772 pdf: pdf-am
kono
parents:
diff changeset
773
kono
parents:
diff changeset
774 pdf-am:
kono
parents:
diff changeset
775
kono
parents:
diff changeset
776 ps: ps-am
kono
parents:
diff changeset
777
kono
parents:
diff changeset
778 ps-am:
kono
parents:
diff changeset
779
kono
parents:
diff changeset
780 uninstall-am: uninstall-binPROGRAMS uninstall-local uninstall-man
kono
parents:
diff changeset
781
kono
parents:
diff changeset
782 uninstall-man: uninstall-man1
kono
parents:
diff changeset
783
kono
parents:
diff changeset
784 .MAKE: install-am install-strip
kono
parents:
diff changeset
785
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
786 .PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
787 clean-binPROGRAMS clean-cscope clean-generic \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
788 clean-noinstPROGRAMS cscope cscopelist-am ctags ctags-am \
111
kono
parents:
diff changeset
789 distclean distclean-compile distclean-generic distclean-tags \
kono
parents:
diff changeset
790 dvi dvi-am html html-am info info-am install install-am \
kono
parents:
diff changeset
791 install-binPROGRAMS install-data install-data-am install-dvi \
kono
parents:
diff changeset
792 install-dvi-am install-exec install-exec-am install-exec-local \
kono
parents:
diff changeset
793 install-html install-html-am install-info install-info-am \
kono
parents:
diff changeset
794 install-man install-man1 install-pdf install-pdf-am install-ps \
kono
parents:
diff changeset
795 install-ps-am install-strip installcheck installcheck-am \
kono
parents:
diff changeset
796 installdirs maintainer-clean maintainer-clean-generic \
kono
parents:
diff changeset
797 mostlyclean mostlyclean-compile mostlyclean-generic \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
798 mostlyclean-local pdf pdf-am ps ps-am tags tags-am uninstall \
111
kono
parents:
diff changeset
799 uninstall-am uninstall-binPROGRAMS uninstall-local \
kono
parents:
diff changeset
800 uninstall-man uninstall-man1
kono
parents:
diff changeset
801
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
802 .PRECIOUS: Makefile
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
803
111
kono
parents:
diff changeset
804
kono
parents:
diff changeset
805 zdefaultcc.go: s-zdefaultcc; @true
kono
parents:
diff changeset
806 s-zdefaultcc: Makefile
kono
parents:
diff changeset
807 echo 'package main' > zdefaultcc.go.tmp
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
808 echo 'func defaultGCCGO(goos, goarch string) string { return "$(bindir)/$(GCCGO_INSTALL_NAME)" }' >> zdefaultcc.go.tmp
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
809 echo 'func defaultCC(goos, goarch string) string { return "$(GCC_INSTALL_NAME)" }' >> zdefaultcc.go.tmp
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
810 echo 'func defaultCXX(goos, goarch string) string { return "$(GXX_INSTALL_NAME)" }' >> zdefaultcc.go.tmp
111
kono
parents:
diff changeset
811 echo 'const defaultPkgConfig = "pkg-config"' >> zdefaultcc.go.tmp
kono
parents:
diff changeset
812 $(SHELL) $(srcdir)/../move-if-change zdefaultcc.go.tmp zdefaultcc.go
kono
parents:
diff changeset
813 $(STAMP) $@
kono
parents:
diff changeset
814
kono
parents:
diff changeset
815 mostlyclean-local:
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
816 if test -d check-go-dir; then chmod -R u+w check-go-dir; fi
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
817 rm -rf check-go-dir check-runtime-dir cgo-test-dir carchive-test-dir \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
818 check-vet-dir gocache-test
111
kono
parents:
diff changeset
819
kono
parents:
diff changeset
820 @NATIVE_TRUE@go$(EXEEXT): $(go_cmd_go_files) $(LIBGOTOOL) $(LIBGODEP)
kono
parents:
diff changeset
821 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_go_files) $(LIBGOTOOL) $(LIBS) $(NET_LIBS)
kono
parents:
diff changeset
822 @NATIVE_TRUE@gofmt$(EXEEXT): $(go_cmd_gofmt_files) $(LIBGODEP)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
823 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_gofmt_files) $(LIBGOTOOL) $(LIBS) $(NET_LIBS)
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
824 @NATIVE_TRUE@cgo$(EXEEXT): $(go_cmd_cgo_files) zdefaultcc.go $(LIBGOTOOL) $(LIBGODEP)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
825 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_cgo_files) zdefaultcc.go $(LIBGOTOOL) $(LIBS) $(NET_LIBS)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
826 @NATIVE_TRUE@vet$(EXEEXT): $(go_cmd_vet_files) $(LIBGOTOOL) $(LIBGODEP)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
827 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_vet_files) $(LIBGOTOOL) $(LIBS) $(NET_LIBS)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
828 @NATIVE_TRUE@buildid$(EXEEXT): $(go_cmd_buildid_files) $(LIBGOTOOL) $(LIBGODEP)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
829 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_buildid_files) $(LIBGOTOOL) $(LIBS) $(NET_LIBS)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
830 @NATIVE_TRUE@test2json$(EXEEXT): $(go_cmd_test2json_files) $(LIBGOTOOL) $(LIBGODEP)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
831 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_test2json_files) $(LIBGOTOOL) $(LIBS) $(NET_LIBS)
111
kono
parents:
diff changeset
832
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
833 @NATIVE_TRUE@install-exec-local: $(noinst_PROGRAMS)
111
kono
parents:
diff changeset
834 @NATIVE_TRUE@ $(MKDIR_P) $(DESTDIR)$(libexecsubdir)
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
835 @NATIVE_TRUE@ for f in $(noinst_PROGRAMS); do \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
836 @NATIVE_TRUE@ rm -f $(DESTDIR)$(libexecsubdir)/$$f; \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
837 @NATIVE_TRUE@ $(INSTALL_PROGRAM) $$f $(DESTDIR)$(libexecsubdir)/$$f; \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
838 @NATIVE_TRUE@ done
111
kono
parents:
diff changeset
839
kono
parents:
diff changeset
840 @NATIVE_TRUE@uninstall-local:
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
841 @NATIVE_TRUE@ for f in $(noinst_PROGRAMS); do \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
842 @NATIVE_TRUE@ rm -f $(DESTDIR)$(libexecsubdir)/$$f; \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
843 @NATIVE_TRUE@ done
111
kono
parents:
diff changeset
844
kono
parents:
diff changeset
845 # Run tests using the go tool, and frob the output to look like that
kono
parents:
diff changeset
846 # generated by DejaGNU. The main output of this is two files:
kono
parents:
diff changeset
847 # gotools.sum and gotools.log.
kono
parents:
diff changeset
848
kono
parents:
diff changeset
849 # check-head starts generating the log files in DejaGNU format. This
kono
parents:
diff changeset
850 # is a separate target so that the date is approximately when we start
kono
parents:
diff changeset
851 # running the tests.
kono
parents:
diff changeset
852 @NATIVE_TRUE@check-head:
kono
parents:
diff changeset
853 @NATIVE_TRUE@ @echo "Test Run By $${USER} on `date`" > gotools.head
kono
parents:
diff changeset
854 @NATIVE_TRUE@ @echo "Native configuration is $(host_triplet)" >> gotools.head
kono
parents:
diff changeset
855 @NATIVE_TRUE@ @echo >> gotools.head
kono
parents:
diff changeset
856 @NATIVE_TRUE@ @echo " === gotools tests ===" >> gotools.head
kono
parents:
diff changeset
857 @NATIVE_TRUE@ @echo >> gotools.head
kono
parents:
diff changeset
858
kono
parents:
diff changeset
859 # check-gccgo is a little shell script that executes gccgo with the
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
860 # options to pick up the newly built libgo and libstdc++.
111
kono
parents:
diff changeset
861 @NATIVE_TRUE@check-gccgo: Makefile
kono
parents:
diff changeset
862 @NATIVE_TRUE@ rm -f $@ $@.tmp
kono
parents:
diff changeset
863 @NATIVE_TRUE@ echo "#!/bin/sh" > $@.tmp
kono
parents:
diff changeset
864 @NATIVE_TRUE@ abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
865 @NATIVE_TRUE@ echo "$(GOCOMPILE)" '"$$@"' "-I $${abs_libgodir} -L $${abs_libgodir} -L $${abs_libgodir}/.libs -B$${abs_libgodir}/../libstdc++-v3/src/.libs -B$${abs_libgodir}/../libstdc++-v3/libsupc++/.libs" >> $@.tmp
111
kono
parents:
diff changeset
866 @NATIVE_TRUE@ chmod +x $@.tmp
kono
parents:
diff changeset
867 @NATIVE_TRUE@ mv -f $@.tmp $@
kono
parents:
diff changeset
868
kono
parents:
diff changeset
869 # check-gcc is a little shell script that executes the newly built gcc
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
870 # with the options to pick up the newly built libgo and libstdc++.
111
kono
parents:
diff changeset
871 @NATIVE_TRUE@check-gcc: Makefile
kono
parents:
diff changeset
872 @NATIVE_TRUE@ rm -f $@ $@.tmp
kono
parents:
diff changeset
873 @NATIVE_TRUE@ echo "#!/bin/sh" > $@.tmp
kono
parents:
diff changeset
874 @NATIVE_TRUE@ abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
875 @NATIVE_TRUE@ echo "$(GCC_FOR_TARGET)" '"$$@"' "-L $${abs_libgodir} -L $${abs_libgodir}/.libs -B$${abs_libgodir}/../libstdc++-v3/src/.libs -B$${abs_libgodir}/../libstdc++-v3/libsupc++/.libs" >> $@.tmp
111
kono
parents:
diff changeset
876 @NATIVE_TRUE@ chmod +x $@.tmp
kono
parents:
diff changeset
877 @NATIVE_TRUE@ mv -f $@.tmp $@
kono
parents:
diff changeset
878
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
879 # check-go-tool runs `go test cmd/go` in our environment.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
880 @NATIVE_TRUE@check-go-tool: go$(EXEEXT) $(noinst_PROGRAMS) check-head check-gccgo check-gcc
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
881 @NATIVE_TRUE@ if test -d check-go-dir; then chmod -R u+w check-go-dir; fi
111
kono
parents:
diff changeset
882 @NATIVE_TRUE@ rm -rf check-go-dir cmd_go-testlog
kono
parents:
diff changeset
883 @NATIVE_TRUE@ $(MKDIR_P) check-go-dir/src/cmd/go
kono
parents:
diff changeset
884 @NATIVE_TRUE@ cp $(cmdsrcdir)/go/*.go check-go-dir/src/cmd/go/
kono
parents:
diff changeset
885 @NATIVE_TRUE@ cp -r $(cmdsrcdir)/go/internal check-go-dir/src/cmd/go/
kono
parents:
diff changeset
886 @NATIVE_TRUE@ cp $(libgodir)/zdefaultcc.go check-go-dir/src/cmd/go/internal/cfg/
kono
parents:
diff changeset
887 @NATIVE_TRUE@ cp -r $(cmdsrcdir)/go/testdata check-go-dir/src/cmd/go/
kono
parents:
diff changeset
888 @NATIVE_TRUE@ cp -r $(cmdsrcdir)/internal check-go-dir/src/cmd/
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
889 @NATIVE_TRUE@ $(MKDIR_P) check-go-dir/src/cmd/vendor/golang.org/x
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
890 @NATIVE_TRUE@ cp -r $(libgosrcdir)/golang.org/x/mod check-go-dir/src/cmd/vendor/golang.org/x/
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
891 @NATIVE_TRUE@ cp -r $(libgosrcdir)/golang.org/x/crypto check-go-dir/src/cmd/vendor/golang.org/x/
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
892 @NATIVE_TRUE@ cp -r $(libgosrcdir)/golang.org/x/xerrors check-go-dir/src/cmd/vendor/golang.org/x/
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
893 @NATIVE_TRUE@ cp $(libgodir)/objabi.go check-go-dir/src/cmd/internal/objabi/
111
kono
parents:
diff changeset
894 @NATIVE_TRUE@ @abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \
kono
parents:
diff changeset
895 @NATIVE_TRUE@ abs_checkdir=`cd check-go-dir && $(PWD_COMMAND)`; \
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
896 @NATIVE_TRUE@ echo "cd check-go-dir/src/cmd/go && $(ECHO_ENV) GOPATH=$${abs_checkdir} $(abs_builddir)/go$(EXEEXT) test -test.short -test.timeout=$(GOTOOLS_TEST_TIMEOUT)s -test.v" > cmd_go-testlog
111
kono
parents:
diff changeset
897 @NATIVE_TRUE@ $(CHECK_ENV) \
kono
parents:
diff changeset
898 @NATIVE_TRUE@ GOPATH=`cd check-go-dir && $(PWD_COMMAND)`; \
kono
parents:
diff changeset
899 @NATIVE_TRUE@ export GOPATH; \
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
900 @NATIVE_TRUE@ (cd check-go-dir/src/cmd/go && $(abs_builddir)/go$(EXEEXT) test -test.short -test.timeout=$(GOTOOLS_TEST_TIMEOUT)s -test.v) >> cmd_go-testlog 2>&1 || echo "--- $${fl}: go test cmd/go (0.00s)" >> cmd_go-testlog
111
kono
parents:
diff changeset
901 @NATIVE_TRUE@ grep '^--- ' cmd_go-testlog | sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' | sort -k 2
kono
parents:
diff changeset
902
kono
parents:
diff changeset
903 # check-runtime runs `go test runtime` in our environment.
kono
parents:
diff changeset
904 # The runtime package is also tested as part of libgo,
kono
parents:
diff changeset
905 # but the runtime tests use the go tool heavily, so testing
kono
parents:
diff changeset
906 # here too will catch more problems.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
907 @NATIVE_TRUE@check-runtime: go$(EXEEXT) $(noinst_PROGRAMS) check-head check-gccgo check-gcc
111
kono
parents:
diff changeset
908 @NATIVE_TRUE@ rm -rf check-runtime-dir runtime-testlog
kono
parents:
diff changeset
909 @NATIVE_TRUE@ $(MKDIR_P) check-runtime-dir
kono
parents:
diff changeset
910 @NATIVE_TRUE@ @abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \
kono
parents:
diff changeset
911 @NATIVE_TRUE@ LD_LIBRARY_PATH=`echo $${abs_libgodir}/.libs:$${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
912 @NATIVE_TRUE@ export LD_LIBRARY_PATH; \
111
kono
parents:
diff changeset
913 @NATIVE_TRUE@ GOARCH=`$(abs_builddir)/go$(EXEEXT) env GOARCH`; \
kono
parents:
diff changeset
914 @NATIVE_TRUE@ GOOS=`$(abs_builddir)/go$(EXEEXT) env GOOS`; \
kono
parents:
diff changeset
915 @NATIVE_TRUE@ files=`$(SHELL) $(libgosrcdir)/../match.sh --goarch=$${GOARCH} --goos=$${GOOS} --srcdir=$(libgosrcdir)/runtime --extrafiles="$(libgodir)/runtime_sysinfo.go $(libgodir)/sigtab.go" --tag=libffi`; \
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
916 @NATIVE_TRUE@ echo "$(ECHO_ENV) GC='$(abs_builddir)/check-gccgo -fgo-compiling-runtime' GOARCH=$${GOARCH} GOOS=$${GOOS} $(SHELL) $(libgosrcdir)/../testsuite/gotest --goarch=$${GOARCH} --goos=$${GOOS} --basedir=$(libgosrcdir)/.. --srcdir=$(libgosrcdir)/runtime --pkgpath=runtime --pkgfiles='$${files}' $(GOTESTFLAGS) -test.timeout=$(GOTOOLS_TEST_TIMEOUT)s -test.v" > runtime-testlog
111
kono
parents:
diff changeset
917 @NATIVE_TRUE@ $(CHECK_ENV) \
kono
parents:
diff changeset
918 @NATIVE_TRUE@ GC="$${GCCGO} -fgo-compiling-runtime"; \
kono
parents:
diff changeset
919 @NATIVE_TRUE@ export GC; \
kono
parents:
diff changeset
920 @NATIVE_TRUE@ GOARCH=`$(abs_builddir)/go$(EXEEXT) env GOARCH`; \
kono
parents:
diff changeset
921 @NATIVE_TRUE@ GOOS=`$(abs_builddir)/go$(EXEEXT) env GOOS`; \
kono
parents:
diff changeset
922 @NATIVE_TRUE@ files=`$(SHELL) $(libgosrcdir)/../match.sh --goarch=$${GOARCH} --goos=$${GOOS} --srcdir=$(libgosrcdir)/runtime --extrafiles="$(libgodir)/runtime_sysinfo.go $(libgodir)/sigtab.go" --tag=libffi`; \
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
923 @NATIVE_TRUE@ $(SHELL) $(libgosrcdir)/../testsuite/gotest --goarch=$${GOARCH} --goos=$${GOOS} --basedir=$(libgosrcdir)/.. --srcdir=$(libgosrcdir)/runtime --pkgpath=runtime --pkgfiles="$${files}" $(GOTESTFLAGS) -test.timeout=$(GOTOOLS_TEST_TIMEOUT)s -test.v >> runtime-testlog 2>&1 || echo "--- $${fl}: go test runtime (0.00s)" >> runtime-testlog
111
kono
parents:
diff changeset
924 @NATIVE_TRUE@ grep '^--- ' runtime-testlog | sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' | sort -k 2
kono
parents:
diff changeset
925
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
926 # check-cgo-test runs `go test` in misc/cgo/test.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
927 @NATIVE_TRUE@check-cgo-test: go$(EXEEXT) $(noinst_PROGRAMS) check-head check-gccgo check-gcc
111
kono
parents:
diff changeset
928 @NATIVE_TRUE@ rm -rf cgo-test-dir cgo-testlog
kono
parents:
diff changeset
929 @NATIVE_TRUE@ $(MKDIR_P) cgo-test-dir/misc/cgo
kono
parents:
diff changeset
930 @NATIVE_TRUE@ cp -r $(libgomiscdir)/cgo/test cgo-test-dir/misc/cgo/
kono
parents:
diff changeset
931 @NATIVE_TRUE@ @abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
932 @NATIVE_TRUE@ echo "cd cgo-test-dir/misc/cgo/test && $(ECHO_ENV) GOTRACEBACK=2 $(abs_builddir)/go$(EXEEXT) test -test.short -test.timeout=$(GOTOOLS_TEST_TIMEOUT)s -test.v" > cgo-testlog
111
kono
parents:
diff changeset
933 @NATIVE_TRUE@ $(CHECK_ENV) \
kono
parents:
diff changeset
934 @NATIVE_TRUE@ GOTRACEBACK=2; \
kono
parents:
diff changeset
935 @NATIVE_TRUE@ export GOTRACEBACK; \
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
936 @NATIVE_TRUE@ (cd cgo-test-dir/misc/cgo/test && $(abs_builddir)/go$(EXEEXT) test -test.short -test.timeout=$(GOTOOLS_TEST_TIMEOUT)s -test.v) >> cgo-testlog 2>&1 || echo "--- $${fl}: go test misc/cgo/test (0.00s)" >> cgo-testlog
111
kono
parents:
diff changeset
937 @NATIVE_TRUE@ grep '^--- ' cgo-testlog | sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' | sort -k 2
kono
parents:
diff changeset
938
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
939 # check-carchive-test runs `go test` in misc/cgo/testcarchive.
111
kono
parents:
diff changeset
940 # in our environment.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
941 @NATIVE_TRUE@check-carchive-test: go$(EXEEXT) $(noinst_PROGRAMS) check-head check-gccgo check-gcc
111
kono
parents:
diff changeset
942 @NATIVE_TRUE@ rm -rf carchive-test-dir carchive-testlog
kono
parents:
diff changeset
943 @NATIVE_TRUE@ $(MKDIR_P) carchive-test-dir/misc/cgo
kono
parents:
diff changeset
944 @NATIVE_TRUE@ cp -r $(libgomiscdir)/cgo/testcarchive carchive-test-dir/misc/cgo/
kono
parents:
diff changeset
945 @NATIVE_TRUE@ @abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
946 @NATIVE_TRUE@ echo "cd carchive-test-dir/misc/cgo/testcarchive && $(ECHO_ENV) LIBRARY_PATH=`echo $${abs_libgodir}/.libs` $(abs_builddir)/go$(EXEEXT) test -test.timeout=$(GOTOOLS_TEST_TIMEOUT)s -test.v" > carchive-testlog
111
kono
parents:
diff changeset
947 @NATIVE_TRUE@ $(CHECK_ENV) \
kono
parents:
diff changeset
948 @NATIVE_TRUE@ LIBRARY_PATH=`echo $${abs_libgodir}/.libs:$${LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
kono
parents:
diff changeset
949 @NATIVE_TRUE@ export LIBRARY_PATH; \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
950 @NATIVE_TRUE@ (cd carchive-test-dir/misc/cgo/testcarchive && $(abs_builddir)/go$(EXEEXT) test -test.timeout=$(GOTOOLS_TEST_TIMEOUT)s -test.v) >> carchive-testlog 2>&1 || echo "--- $${fl}: go test misc/cgo/testcarchive (0.00s)" >> carchive-testlog
111
kono
parents:
diff changeset
951 @NATIVE_TRUE@ grep '^--- ' carchive-testlog | sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' | sort -k 2
kono
parents:
diff changeset
952
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
953 # check-vet runs `go test cmd/vet` in our environment.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
954 @NATIVE_TRUE@check-vet: go$(EXEEXT) $(noinst_PROGRAMS) check-head check-gccgo check-gcc
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
955 @NATIVE_TRUE@ rm -rf check-vet-dir cmd_vet-testlog
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
956 @NATIVE_TRUE@ $(MKDIR_P) check-vet-dir/src/cmd/internal check-vet-dir/src/cmd/vendor/golang.org/x
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
957 @NATIVE_TRUE@ cp -r $(cmdsrcdir)/vet check-vet-dir/src/cmd/
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
958 @NATIVE_TRUE@ cp -r $(cmdsrcdir)/internal/objabi check-vet-dir/src/cmd/internal
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
959 @NATIVE_TRUE@ cp $(libgodir)/objabi.go check-vet-dir/src/cmd/internal/objabi/
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
960 @NATIVE_TRUE@ cp -r $(libgosrcdir)/golang.org/x/tools check-vet-dir/src/cmd/vendor/golang.org/x/
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
961 @NATIVE_TRUE@ @abs_libgodir=`cd $(libgodir) && $(PWD_COMMAND)`; \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
962 @NATIVE_TRUE@ abs_checkdir=`cd check-vet-dir && $(PWD_COMMAND)`; \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
963 @NATIVE_TRUE@ echo "cd check-vet-dir/src/cmd/vet && $(ECHO_ENV) GOPATH=$${abs_checkdir} $(abs_builddir)/go$(EXEEXT) test -test.short -test.timeout=$(GOTOOLS_TEST_TIMEOUT)s -test.v" > cmd_vet-testlog
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
964 @NATIVE_TRUE@ $(CHECK_ENV) \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
965 @NATIVE_TRUE@ GOPATH=`cd check-vet-dir && $(PWD_COMMAND)`; \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
966 @NATIVE_TRUE@ export GOPATH; \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
967 @NATIVE_TRUE@ (cd check-vet-dir/src/cmd/vet && $(abs_builddir)/go$(EXEEXT) test -test.short -test.timeout=$(GOTOOLS_TEST_TIMEOUT)s -test.v) >> cmd_vet-testlog 2>&1 || echo "--- $${fl}: go test cmd/vet (0.00s)" >> cmd_vet-testlog
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
968 @NATIVE_TRUE@ grep '^--- ' cmd_vet-testlog | sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' | sort -k 2
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
969
111
kono
parents:
diff changeset
970 # The check targets runs the tests and assembles the output files.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
971 @NATIVE_TRUE@check: check-head check-go-tool check-runtime check-cgo-test check-carchive-test check-vet
111
kono
parents:
diff changeset
972 @NATIVE_TRUE@ @mv gotools.head gotools.sum
kono
parents:
diff changeset
973 @NATIVE_TRUE@ @cp gotools.sum gotools.log
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
974 @NATIVE_TRUE@ @for file in cmd_go-testlog runtime-testlog cgo-testlog carchive-testlog cmd_vet-testlog; do \
111
kono
parents:
diff changeset
975 @NATIVE_TRUE@ testname=`echo $${file} | sed -e 's/-testlog//' -e 's|_|/|'`; \
kono
parents:
diff changeset
976 @NATIVE_TRUE@ echo "Running $${testname}" >> gotools.sum; \
kono
parents:
diff changeset
977 @NATIVE_TRUE@ echo "Running $${testname}" >> gotools.log; \
kono
parents:
diff changeset
978 @NATIVE_TRUE@ sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' < $${file} >> gotools.log; \
kono
parents:
diff changeset
979 @NATIVE_TRUE@ grep '^--- ' $${file} | sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' -e 's/SKIP/UNTESTED/' | sort -k 2 >> gotools.sum; \
kono
parents:
diff changeset
980 @NATIVE_TRUE@ done
kono
parents:
diff changeset
981 @NATIVE_TRUE@ @echo >> gotools.sum
kono
parents:
diff changeset
982 @NATIVE_TRUE@ @echo " === gotools Summary ===" >> gotools.sum
kono
parents:
diff changeset
983 @NATIVE_TRUE@ @pass=`grep -c '^PASS' gotools.sum`; \
kono
parents:
diff changeset
984 @NATIVE_TRUE@ if test "$${pass}" -ne "0"; then \
kono
parents:
diff changeset
985 @NATIVE_TRUE@ echo "# of expected passes $${pass}" >> gotools.sum; \
kono
parents:
diff changeset
986 @NATIVE_TRUE@ fi
kono
parents:
diff changeset
987 @NATIVE_TRUE@ @fail=`grep -c '^FAIL' gotools.sum`; \
kono
parents:
diff changeset
988 @NATIVE_TRUE@ if test "$${fail}" -ne "0"; then \
kono
parents:
diff changeset
989 @NATIVE_TRUE@ echo "# of unexpected failures $${fail}" >> gotools.sum; \
kono
parents:
diff changeset
990 @NATIVE_TRUE@ fi
kono
parents:
diff changeset
991 @NATIVE_TRUE@ @untested=`grep -c '^UNTESTED' gotools.sum`; \
kono
parents:
diff changeset
992 @NATIVE_TRUE@ if test "$${untested}" -ne "0"; then \
kono
parents:
diff changeset
993 @NATIVE_TRUE@ echo "# of untested testcases $${untested}" >> gotools.sum; \
kono
parents:
diff changeset
994 @NATIVE_TRUE@ fi
kono
parents:
diff changeset
995 @NATIVE_TRUE@ @echo `echo $(GOC_FOR_TARGET) | sed -e 's/ .*//'` `$(GOC_FOR_TARGET) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> gotools.sum
kono
parents:
diff changeset
996 @NATIVE_TRUE@ @echo >> gotools.log
kono
parents:
diff changeset
997 @NATIVE_TRUE@ @echo "runtest completed at `date`" >> gotools.log
kono
parents:
diff changeset
998 @NATIVE_TRUE@ @if grep '^FAIL' gotools.sum >/dev/null 2>&1; then exit 1; fi
kono
parents:
diff changeset
999
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1000 @NATIVE_TRUE@.PHONY: check check-head check-go-tool check-runtime check-cgo-test check-carchive-test check-vet
111
kono
parents:
diff changeset
1001
kono
parents:
diff changeset
1002 # For a non-native build we have to build the programs using a
kono
parents:
diff changeset
1003 # previously built host (or build -> host) Go compiler. We should
kono
parents:
diff changeset
1004 # only do this if such a compiler is available. We also need to get
kono
parents:
diff changeset
1005 # the right values for GOARCH and GOOS in the default build context in
kono
parents:
diff changeset
1006 # the go/build package. Figure this out later.
kono
parents:
diff changeset
1007
kono
parents:
diff changeset
1008 # Tell versions [3.59,3.63) of GNU make to not export all variables.
kono
parents:
diff changeset
1009 # Otherwise a system limit (for SysV at least) may be exceeded.
kono
parents:
diff changeset
1010 .NOEXPORT: