]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgo/Makefile.in
syscall: don't define sys_SETREUID and friends
[thirdparty/gcc.git] / libgo / Makefile.in
CommitLineData
73b6d7a9 1# Makefile.in generated by automake 1.15.1 from Makefile.am.
7a938933
ILT
2# @configure_input@
3
73b6d7a9
ILT
4# Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
7a938933
ILT
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17# Makefile.am -- Go library Makefile.
18
8c954c52 19# Copyright 2009 The Go Authors. All rights reserved.
7a938933
ILT
20# Use of this source code is governed by a BSD-style
21# license that can be found in the LICENSE file.
22
23# Process this file with autoreconf to produce Makefile.in.
24
25
26
27VPATH = @srcdir@
73b6d7a9
ILT
28am__is_gnu_make = { \
29 if test -z '$(MAKELEVEL)'; then \
30 false; \
31 elif test -n '$(MAKE_HOST)'; then \
32 true; \
33 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
34 true; \
35 else \
36 false; \
37 fi; \
38}
39am__make_running_with_option = \
40 case $${target_option-} in \
41 ?) ;; \
42 *) echo "am__make_running_with_option: internal error: invalid" \
43 "target option '$${target_option-}' specified" >&2; \
44 exit 1;; \
45 esac; \
46 has_opt=no; \
47 sane_makeflags=$$MAKEFLAGS; \
48 if $(am__is_gnu_make); then \
49 sane_makeflags=$$MFLAGS; \
50 else \
44c925bd
ILT
51 case $$MAKEFLAGS in \
52 *\\[\ \ ]*) \
73b6d7a9
ILT
53 bs=\\; \
54 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
55 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
44c925bd 56 esac; \
73b6d7a9
ILT
57 fi; \
58 skip_next=no; \
59 strip_trailopt () \
60 { \
61 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
62 }; \
63 for flg in $$sane_makeflags; do \
64 test $$skip_next = yes && { skip_next=no; continue; }; \
65 case $$flg in \
66 *=*|--*) continue;; \
67 -*I) strip_trailopt 'I'; skip_next=yes;; \
68 -*I?*) strip_trailopt 'I';; \
69 -*O) strip_trailopt 'O'; skip_next=yes;; \
70 -*O?*) strip_trailopt 'O';; \
71 -*l) strip_trailopt 'l'; skip_next=yes;; \
72 -*l?*) strip_trailopt 'l';; \
73 -[dEDm]) skip_next=yes;; \
74 -[JT]) skip_next=yes;; \
75 esac; \
76 case $$flg in \
77 *$$target_option*) has_opt=yes; break;; \
78 esac; \
79 done; \
80 test $$has_opt = yes
81am__make_dryrun = (target_option=n; $(am__make_running_with_option))
82am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
7a938933
ILT
83pkgdatadir = $(datadir)/@PACKAGE@
84pkgincludedir = $(includedir)/@PACKAGE@
85pkglibdir = $(libdir)/@PACKAGE@
86pkglibexecdir = $(libexecdir)/@PACKAGE@
87am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
88install_sh_DATA = $(install_sh) -c -m 644
89install_sh_PROGRAM = $(install_sh) -c
90install_sh_SCRIPT = $(install_sh) -c
91INSTALL_HEADER = $(INSTALL_DATA)
92transform = $(program_transform_name)
93NORMAL_INSTALL = :
94PRE_INSTALL = :
95POST_INSTALL = :
96NORMAL_UNINSTALL = :
97PRE_UNINSTALL = :
98POST_UNINSTALL = :
99build_triplet = @build@
100host_triplet = @host@
101target_triplet = @target@
f163907e
ILT
102@USING_SPLIT_STACK_TRUE@am__append_1 = -XCClinker $(SPLIT_STACK)
103
104# Using an import file for libgo avoid requiring to use the -brtl flag
105# when builing a go program
106@LIBGO_IS_AIX_TRUE@am__append_2 = -Wl,-bbigtoc -Wl,-bI:$(srcdir)/libgo.imp
eff6af8e
ILT
107@LIBGO_IS_LINUX_TRUE@@LIBGO_IS_X86_TRUE@am__append_3 = runtime/go-context.S
108@GOC_IS_LLGO_TRUE@am__append_4 = libgo-llgo.la libgobegin-llgo.a
109@GOC_IS_LLGO_FALSE@am__append_5 = libgo.la libgobegin.a
7a938933 110subdir = .
7a938933
ILT
111ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
112am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \
c3c54e0f 113 $(top_srcdir)/../config/hwcaps.m4 \
7a938933
ILT
114 $(top_srcdir)/../config/lead-dot.m4 \
115 $(top_srcdir)/../config/multi.m4 \
116 $(top_srcdir)/../config/override.m4 \
ba386bea 117 $(top_srcdir)/../config/toolexeclibdir.m4 \
7a938933 118 $(top_srcdir)/../config/unwind_ipinfo.m4 \
73b6d7a9 119 $(top_srcdir)/config/libtool.m4 \
7a938933
ILT
120 $(top_srcdir)/config/ltoptions.m4 \
121 $(top_srcdir)/config/ltsugar.m4 \
122 $(top_srcdir)/config/ltversion.m4 \
123 $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
124am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
125 $(ACLOCAL_M4)
73b6d7a9
ILT
126DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
127 $(am__configure_deps)
7a938933
ILT
128am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
129 configure.lineno config.status.lineno
130CONFIG_HEADER = config.h
131CONFIG_CLEAN_FILES =
132CONFIG_CLEAN_VPATH_FILES =
133am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
134am__vpath_adj = case $$p in \
135 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
136 *) f=$$p;; \
137 esac;
138am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
139am__install_max = 40
140am__nobase_strip_setup = \
141 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
142am__nobase_strip = \
143 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
144am__nobase_list = $(am__nobase_strip_setup); \
145 for p in $$list; do echo "$$p $$p"; done | \
146 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
147 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
148 if (++n[$$2] == $(am__install_max)) \
149 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
150 END { for (dir in files) print dir, files[dir] }'
151am__base_list = \
152 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
153 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
44c925bd
ILT
154am__uninstall_files_from_dir = { \
155 test -z "$$files" \
156 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
157 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
158 $(am__cd) "$$dir" && rm -f $$files; }; \
159 }
7a938933 160am__installdirs = "$(DESTDIR)$(toolexeclibdir)" \
ac819ba5
ILT
161 "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(toolexeclibgodir)" \
162 "$(DESTDIR)$(toolexeclibgoarchivedir)" \
163 "$(DESTDIR)$(toolexeclibgocompressdir)" \
164 "$(DESTDIR)$(toolexeclibgocontainerdir)" \
165 "$(DESTDIR)$(toolexeclibgocryptodir)" \
adb0401d 166 "$(DESTDIR)$(toolexeclibgocryptox509dir)" \
af92e385
ILT
167 "$(DESTDIR)$(toolexeclibgodatabasedir)" \
168 "$(DESTDIR)$(toolexeclibgodatabasesqldir)" \
ac819ba5
ILT
169 "$(DESTDIR)$(toolexeclibgodebugdir)" \
170 "$(DESTDIR)$(toolexeclibgoencodingdir)" \
ac819ba5
ILT
171 "$(DESTDIR)$(toolexeclibgogodir)" \
172 "$(DESTDIR)$(toolexeclibgohashdir)" \
9c63abc9 173 "$(DESTDIR)$(toolexeclibgohtmldir)" \
ac819ba5 174 "$(DESTDIR)$(toolexeclibgoimagedir)" \
f038dae6 175 "$(DESTDIR)$(toolexeclibgoimagecolordir)" \
ac819ba5 176 "$(DESTDIR)$(toolexeclibgoindexdir)" \
72700543 177 "$(DESTDIR)$(toolexeclibgointernaldir)" \
ac819ba5 178 "$(DESTDIR)$(toolexeclibgoiodir)" \
9c63abc9
ILT
179 "$(DESTDIR)$(toolexeclibgologdir)" \
180 "$(DESTDIR)$(toolexeclibgomathdir)" \
ac819ba5
ILT
181 "$(DESTDIR)$(toolexeclibgomimedir)" \
182 "$(DESTDIR)$(toolexeclibgonetdir)" \
9c63abc9
ILT
183 "$(DESTDIR)$(toolexeclibgonethttpdir)" \
184 "$(DESTDIR)$(toolexeclibgonetrpcdir)" \
ac819ba5 185 "$(DESTDIR)$(toolexeclibgoosdir)" \
8039ca76 186 "$(DESTDIR)$(toolexeclibgopathdir)" \
d8f41257 187 "$(DESTDIR)$(toolexeclibgoregexpdir)" \
ac819ba5 188 "$(DESTDIR)$(toolexeclibgoruntimedir)" \
5133f00e 189 "$(DESTDIR)$(toolexeclibgosyncdir)" \
9c63abc9 190 "$(DESTDIR)$(toolexeclibgotestingdir)" \
4a5b8060 191 "$(DESTDIR)$(toolexeclibgotestinginternaldir)" \
9c63abc9
ILT
192 "$(DESTDIR)$(toolexeclibgotextdir)" \
193 "$(DESTDIR)$(toolexeclibgotexttemplatedir)" \
f75af8c1 194 "$(DESTDIR)$(toolexeclibgotimedir)" \
9c63abc9 195 "$(DESTDIR)$(toolexeclibgounicodedir)"
bc998d03 196LIBRARIES = $(noinst_LIBRARIES) $(toolexeclib_LIBRARIES)
7a938933 197ARFLAGS = cru
73b6d7a9
ILT
198AM_V_AR = $(am__v_AR_@AM_V@)
199am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
200am__v_AR_0 = @echo " AR " $@;
201am__v_AR_1 =
4c46b5f0
ILT
202libgobegin_llgo_a_AR = $(AR) $(ARFLAGS)
203libgobegin_llgo_a_LIBADD =
73b6d7a9
ILT
204am__dirstamp = $(am__leading_dot)dirstamp
205am_libgobegin_llgo_a_OBJECTS = \
206 runtime/libgobegin_llgo_a-go-main.$(OBJEXT)
4c46b5f0 207libgobegin_llgo_a_OBJECTS = $(am_libgobegin_llgo_a_OBJECTS)
7a938933
ILT
208libgobegin_a_AR = $(AR) $(ARFLAGS)
209libgobegin_a_LIBADD =
73b6d7a9 210am_libgobegin_a_OBJECTS = runtime/libgobegin_a-go-main.$(OBJEXT)
7a938933 211libgobegin_a_OBJECTS = $(am_libgobegin_a_OBJECTS)
081564fa
ILT
212libgolibbegin_a_AR = $(AR) $(ARFLAGS)
213libgolibbegin_a_LIBADD =
73b6d7a9
ILT
214am_libgolibbegin_a_OBJECTS = \
215 runtime/libgolibbegin_a-go-libmain.$(OBJEXT)
081564fa 216libgolibbegin_a_OBJECTS = $(am_libgolibbegin_a_OBJECTS)
bc998d03
ILT
217libgotool_a_AR = $(AR) $(ARFLAGS)
218am_libgotool_a_OBJECTS =
219libgotool_a_OBJECTS = $(am_libgotool_a_OBJECTS)
7a938933 220LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
c8dc49fb 221@LIBGO_IS_LINUX_TRUE@am__DEPENDENCIES_1 = syscall/clone_linux.lo
f75af8c1
ILT
222@LIBGO_IS_X86_TRUE@am__DEPENDENCIES_2 = \
223@LIBGO_IS_X86_TRUE@ golang.org/x/sys/cpu_gccgo_x86.lo
de0f55db 224am__DEPENDENCIES_3 = $(addsuffix .lo,$(PACKAGES)) \
dd931d9b 225 internal/bytealg/bytealg.lo reflect/makefunc_ffi_c.lo \
4f4a855d 226 $(am__DEPENDENCIES_1) syscall/errno.lo syscall/signame.lo \
cfcbb422 227 syscall/wait.lo os/dir_gccgo_c.lo $(golangorg_x_net_lif_lo) \
aa8901e9 228 $(golangorg_x_net_route_lo) log/syslog/syslog_c.lo \
dd931d9b 229 runtime/internal/atomic_c.lo sync/atomic_c.lo \
de0f55db
ILT
230 internal/cpu/cpu_gccgo.lo $(am__DEPENDENCIES_2)
231am__DEPENDENCIES_4 =
232am__DEPENDENCIES_5 = $(am__DEPENDENCIES_3) \
233 ../libbacktrace/libbacktrace.la $(am__DEPENDENCIES_4) \
234 $(am__DEPENDENCIES_4) $(am__DEPENDENCIES_4) \
235 $(am__DEPENDENCIES_4) $(am__DEPENDENCIES_4)
236libgo_llgo_la_DEPENDENCIES = $(am__DEPENDENCIES_5)
eff6af8e
ILT
237@LIBGO_IS_LINUX_TRUE@@LIBGO_IS_X86_TRUE@am__objects_1 = \
238@LIBGO_IS_LINUX_TRUE@@LIBGO_IS_X86_TRUE@ runtime/go-context.lo
239am__objects_2 = $(am__objects_1)
240@LIBGO_IS_RTEMS_TRUE@am__objects_3 = \
73b6d7a9 241@LIBGO_IS_RTEMS_TRUE@ runtime/rtems-task-variable-add.lo
eff6af8e 242am__objects_4 = runtime/aeshash.lo runtime/go-assert.lo \
cd34d5f2
ILT
243 runtime/go-caller.lo runtime/go-callers.lo runtime/go-cgo.lo \
244 runtime/go-construct-map.lo runtime/go-ffi.lo \
245 runtime/go-fieldtrack.lo runtime/go-matherr.lo \
246 runtime/go-memclr.lo runtime/go-memequal.lo \
247 runtime/go-nanotime.lo runtime/go-now.lo runtime/go-nosys.lo \
81f025b5
ILT
248 runtime/go-reflect-call.lo runtime/go-setenv.lo \
249 runtime/go-signal.lo runtime/go-unsafe-pointer.lo \
250 runtime/go-unsetenv.lo runtime/go-unwind.lo \
251 runtime/go-varargs.lo runtime/env_posix.lo runtime/panic.lo \
252 runtime/print.lo runtime/proc.lo runtime/runtime_c.lo \
253 runtime/stack.lo runtime/yield.lo $(am__objects_2) \
254 $(am__objects_3)
eff6af8e 255am_libgo_llgo_la_OBJECTS = $(am__objects_4)
4c46b5f0 256libgo_llgo_la_OBJECTS = $(am_libgo_llgo_la_OBJECTS)
73b6d7a9
ILT
257AM_V_lt = $(am__v_lt_@AM_V@)
258am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
259am__v_lt_0 = --silent
260am__v_lt_1 =
261libgo_llgo_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
4c46b5f0
ILT
262 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
263 $(libgo_llgo_la_LDFLAGS) $(LDFLAGS) -o $@
264@GOC_IS_LLGO_TRUE@am_libgo_llgo_la_rpath = -rpath $(toolexeclibdir)
de0f55db 265libgo_la_DEPENDENCIES = $(am__DEPENDENCIES_5)
eff6af8e 266am_libgo_la_OBJECTS = $(am__objects_4)
7a938933 267libgo_la_OBJECTS = $(am_libgo_la_OBJECTS)
73b6d7a9
ILT
268libgo_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
269 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
270 $(libgo_la_LDFLAGS) $(LDFLAGS) -o $@
4c46b5f0 271@GOC_IS_LLGO_FALSE@am_libgo_la_rpath = -rpath $(toolexeclibdir)
73b6d7a9
ILT
272AM_V_P = $(am__v_P_@AM_V@)
273am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
274am__v_P_0 = false
275am__v_P_1 = :
276AM_V_GEN = $(am__v_GEN_@AM_V@)
277am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
278am__v_GEN_0 = @echo " GEN " $@;
279am__v_GEN_1 =
280AM_V_at = $(am__v_at_@AM_V@)
281am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
282am__v_at_0 = @
283am__v_at_1 =
7a938933
ILT
284DEFAULT_INCLUDES = -I.@am__isrc@
285depcomp = $(SHELL) $(top_srcdir)/../depcomp
286am__depfiles_maybe = depfiles
287am__mv = mv -f
4d12cf3c
ILT
288CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
289 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
290LTCPPASCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \
291 $(LIBTOOLFLAGS) --mode=compile $(CCAS) $(DEFS) \
292 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
293 $(AM_CCASFLAGS) $(CCASFLAGS)
294AM_V_CPPAS = $(am__v_CPPAS_@AM_V@)
295am__v_CPPAS_ = $(am__v_CPPAS_@AM_DEFAULT_V@)
296am__v_CPPAS_0 = @echo " CPPAS " $@;
297am__v_CPPAS_1 =
7a938933
ILT
298COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
299 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
73b6d7a9
ILT
300LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
301 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
302 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
303 $(AM_CFLAGS) $(CFLAGS)
304AM_V_CC = $(am__v_CC_@AM_V@)
305am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
306am__v_CC_0 = @echo " CC " $@;
307am__v_CC_1 =
7a938933 308CCLD = $(CC)
73b6d7a9
ILT
309LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
310 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
311 $(AM_LDFLAGS) $(LDFLAGS) -o $@
312AM_V_CCLD = $(am__v_CCLD_@AM_V@)
313am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
314am__v_CCLD_0 = @echo " CCLD " $@;
315am__v_CCLD_1 =
4c46b5f0 316SOURCES = $(libgobegin_llgo_a_SOURCES) $(libgobegin_a_SOURCES) \
bc998d03
ILT
317 $(libgolibbegin_a_SOURCES) $(libgotool_a_SOURCES) \
318 $(libgo_llgo_la_SOURCES) $(libgo_la_SOURCES)
73b6d7a9
ILT
319RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
320 ctags-recursive dvi-recursive html-recursive info-recursive \
321 install-data-recursive install-dvi-recursive \
322 install-exec-recursive install-html-recursive \
323 install-info-recursive install-pdf-recursive \
324 install-ps-recursive install-recursive installcheck-recursive \
325 installdirs-recursive pdf-recursive ps-recursive \
326 tags-recursive uninstall-recursive
44c925bd
ILT
327am__can_run_installinfo = \
328 case $$AM_UPDATE_INFO_DIR in \
329 n|no|NO) false;; \
330 *) (install-info --version) >/dev/null 2>&1;; \
331 esac
ab24432b
ILT
332DATA = $(noinst_DATA) $(toolexeclibgo_DATA) \
333 $(toolexeclibgoarchive_DATA) $(toolexeclibgocompress_DATA) \
334 $(toolexeclibgocontainer_DATA) $(toolexeclibgocrypto_DATA) \
335 $(toolexeclibgocryptox509_DATA) $(toolexeclibgodatabase_DATA) \
336 $(toolexeclibgodatabasesql_DATA) $(toolexeclibgodebug_DATA) \
447fb74d
ILT
337 $(toolexeclibgoencoding_DATA) $(toolexeclibgogo_DATA) \
338 $(toolexeclibgohash_DATA) $(toolexeclibgohtml_DATA) \
339 $(toolexeclibgoimage_DATA) $(toolexeclibgoimagecolor_DATA) \
72700543
ILT
340 $(toolexeclibgoindex_DATA) $(toolexeclibgointernal_DATA) \
341 $(toolexeclibgoio_DATA) $(toolexeclibgolog_DATA) \
342 $(toolexeclibgomath_DATA) $(toolexeclibgomime_DATA) \
343 $(toolexeclibgonet_DATA) $(toolexeclibgonethttp_DATA) \
344 $(toolexeclibgonetrpc_DATA) $(toolexeclibgoos_DATA) \
345 $(toolexeclibgopath_DATA) $(toolexeclibgoregexp_DATA) \
346 $(toolexeclibgoruntime_DATA) $(toolexeclibgosync_DATA) \
347 $(toolexeclibgotesting_DATA) \
4a5b8060 348 $(toolexeclibgotestinginternal_DATA) $(toolexeclibgotext_DATA) \
f75af8c1
ILT
349 $(toolexeclibgotexttemplate_DATA) $(toolexeclibgotime_DATA) \
350 $(toolexeclibgounicode_DATA)
7a938933
ILT
351RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
352 distclean-recursive maintainer-clean-recursive
73b6d7a9
ILT
353am__recursive_targets = \
354 $(RECURSIVE_TARGETS) \
355 $(RECURSIVE_CLEAN_TARGETS) \
356 $(am__extra_recursive_targets)
357AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
358 cscope
359am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
360 $(LISP)config.h.in
361# Read a list of newline-separated strings from the standard input,
362# and print each of them once, without duplicates. Input order is
363# *not* preserved.
364am__uniquify_input = $(AWK) '\
365 BEGIN { nonempty = 0; } \
366 { items[$$0] = 1; nonempty = 1; } \
367 END { if (nonempty) { for (i in items) print i; }; } \
368'
369# Make sure the list of sources is unique. This is necessary because,
370# e.g., the same source file might be shared among _SOURCES variables
371# for different programs/libraries.
372am__define_uniq_tagged_files = \
373 list='$(am__tagged_files)'; \
374 unique=`for i in $$list; do \
375 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
376 done | $(am__uniquify_input)`
7a938933
ILT
377ETAGS = etags
378CTAGS = ctags
73b6d7a9 379CSCOPE = cscope
7a938933 380DIST_SUBDIRS = testsuite
7a938933 381ACLOCAL = @ACLOCAL@
d040555a 382AIX_EXTRA_ARCH = @AIX_EXTRA_ARCH@
a8464243
ILT
383ALLGOARCH = @ALLGOARCH@
384ALLGOARCHFAMILY = @ALLGOARCHFAMILY@
385ALLGOOS = @ALLGOOS@
7a938933 386AMTAR = @AMTAR@
73b6d7a9 387AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
7a938933
ILT
388AR = @AR@
389AUTOCONF = @AUTOCONF@
390AUTOHEADER = @AUTOHEADER@
391AUTOMAKE = @AUTOMAKE@
392AWK = @AWK@
393CC = @CC@
4d12cf3c
ILT
394CCAS = @CCAS@
395CCASDEPMODE = @CCASDEPMODE@
396CCASFLAGS = @CCASFLAGS@
7a938933 397CCDEPMODE = @CCDEPMODE@
d983a802 398CC_FOR_BUILD = @CC_FOR_BUILD@
7a938933
ILT
399CFLAGS = @CFLAGS@
400CPP = @CPP@
401CPPFLAGS = @CPPFLAGS@
402CYGPATH_W = @CYGPATH_W@
403DEFS = @DEFS@
404DEPDIR = @DEPDIR@
405DSYMUTIL = @DSYMUTIL@
406DUMPBIN = @DUMPBIN@
407ECHO_C = @ECHO_C@
408ECHO_N = @ECHO_N@
409ECHO_T = @ECHO_T@
410EGREP = @EGREP@
411EXEEXT = @EXEEXT@
412FGREP = @FGREP@
cba8a572 413FUNCTION_DESCRIPTORS = @FUNCTION_DESCRIPTORS@
c3b5b97b 414GOARCH = @GOARCH@
7a938933 415GOC = @GOC@
73b6d7a9 416GOFLAGS = @GOFLAGS@
c3b5b97b 417GOOS = @GOOS@
de27caac
ILT
418GO_LIBCALL_OS_ARCH_FILE = @GO_LIBCALL_OS_ARCH_FILE@
419GO_LIBCALL_OS_FILE = @GO_LIBCALL_OS_FILE@
a2bf11d1 420GO_SPLIT_STACK = @GO_SPLIT_STACK@
de27caac
ILT
421GO_SYSCALL_OS_ARCH_FILE = @GO_SYSCALL_OS_ARCH_FILE@
422GO_SYSCALL_OS_FILE = @GO_SYSCALL_OS_FILE@
7a938933 423GREP = @GREP@
08934aed 424HWCAP_CFLAGS = @HWCAP_CFLAGS@
7a938933
ILT
425INSTALL = @INSTALL@
426INSTALL_DATA = @INSTALL_DATA@
427INSTALL_PROGRAM = @INSTALL_PROGRAM@
428INSTALL_SCRIPT = @INSTALL_SCRIPT@
429INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
430LD = @LD@
431LDFLAGS = @LDFLAGS@
9a85ed03 432LIBATOMIC = @LIBATOMIC@
7a938933
ILT
433LIBFFI = @LIBFFI@
434LIBFFIINCS = @LIBFFIINCS@
435LIBOBJS = @LIBOBJS@
436LIBS = @LIBS@
437LIBTOOL = @LIBTOOL@
438LIPO = @LIPO@
439LN_S = @LN_S@
440LTLIBOBJS = @LTLIBOBJS@
441MAINT = @MAINT@
442MAKEINFO = @MAKEINFO@
9d465faf 443MATH_FLAG = @MATH_FLAG@
505b439a 444MATH_LIBS = @MATH_LIBS@
7a938933 445MKDIR_P = @MKDIR_P@
f2ee78b8 446NET_LIBS = @NET_LIBS@
7a938933
ILT
447NM = @NM@
448NMEDIT = @NMEDIT@
449OBJCOPY = @OBJCOPY@
450OBJDUMP = @OBJDUMP@
451OBJEXT = @OBJEXT@
90630d19 452OSCFLAGS = @OSCFLAGS@
7a938933
ILT
453OTOOL = @OTOOL@
454OTOOL64 = @OTOOL64@
455PACKAGE = @PACKAGE@
456PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
457PACKAGE_NAME = @PACKAGE_NAME@
458PACKAGE_STRING = @PACKAGE_STRING@
459PACKAGE_TARNAME = @PACKAGE_TARNAME@
460PACKAGE_URL = @PACKAGE_URL@
461PACKAGE_VERSION = @PACKAGE_VERSION@
462PATH_SEPARATOR = @PATH_SEPARATOR@
6c94a9fa
ILT
463PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
464PTHREAD_LIBS = @PTHREAD_LIBS@
7a938933
ILT
465RANLIB = @RANLIB@
466SED = @SED@
467SET_MAKE = @SET_MAKE@
468SHELL = @SHELL@
207c35fa 469SIZEOF_STRUCT_EPOLL_EVENT = @SIZEOF_STRUCT_EPOLL_EVENT@
7a938933
ILT
470SPLIT_STACK = @SPLIT_STACK@
471STRINGOPS_FLAG = @STRINGOPS_FLAG@
472STRIP = @STRIP@
207c35fa 473STRUCT_EPOLL_EVENT_FD_OFFSET = @STRUCT_EPOLL_EVENT_FD_OFFSET@
7134cf28 474USE_DEJAGNU = @USE_DEJAGNU@
7a938933
ILT
475VERSION = @VERSION@
476WARN_FLAGS = @WARN_FLAGS@
477WERROR = @WERROR@
478abs_builddir = @abs_builddir@
479abs_srcdir = @abs_srcdir@
480abs_top_builddir = @abs_top_builddir@
481abs_top_srcdir = @abs_top_srcdir@
482ac_ct_CC = @ac_ct_CC@
483ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
484am__include = @am__include@
485am__leading_dot = @am__leading_dot@
486am__quote = @am__quote@
487am__tar = @am__tar@
488am__untar = @am__untar@
489bindir = @bindir@
490build = @build@
491build_alias = @build_alias@
492build_cpu = @build_cpu@
493build_os = @build_os@
494build_vendor = @build_vendor@
495builddir = @builddir@
496datadir = @datadir@
497datarootdir = @datarootdir@
498docdir = @docdir@
499dvidir = @dvidir@
500enable_shared = @enable_shared@
501enable_static = @enable_static@
502exec_prefix = @exec_prefix@
7a938933
ILT
503glibgo_toolexecdir = @glibgo_toolexecdir@
504glibgo_toolexeclibdir = @glibgo_toolexeclibdir@
18c70075 505go_include = @go_include@
7a938933
ILT
506host = @host@
507host_alias = @host_alias@
508host_cpu = @host_cpu@
509host_os = @host_os@
510host_vendor = @host_vendor@
511htmldir = @htmldir@
512includedir = @includedir@
513infodir = @infodir@
514install_sh = @install_sh@
515libdir = @libdir@
516libexecdir = @libexecdir@
517libtool_VERSION = @libtool_VERSION@
518localedir = @localedir@
519localstatedir = @localstatedir@
520mandir = @mandir@
521mkdir_p = @mkdir_p@
522multi_basedir = @multi_basedir@
317ea7c0 523nover_glibgo_toolexeclibdir = @nover_glibgo_toolexeclibdir@
7a938933
ILT
524oldincludedir = @oldincludedir@
525pdfdir = @pdfdir@
526prefix = @prefix@
527program_transform_name = @program_transform_name@
528psdir = @psdir@
529sbindir = @sbindir@
530sharedstatedir = @sharedstatedir@
531srcdir = @srcdir@
532sysconfdir = @sysconfdir@
533target = @target@
534target_alias = @target_alias@
535target_cpu = @target_cpu@
536target_os = @target_os@
537target_vendor = @target_vendor@
538top_build_prefix = @top_build_prefix@
539top_builddir = @top_builddir@
540top_srcdir = @top_srcdir@
541
542# Go support.
543SUFFIXES = .c .go .gox .o .obj .lo .a
544@LIBGO_IS_RTEMS_TRUE@subdirs = testsuite
b0cf10e4
ILT
545@LIBGO_IS_DARWIN_FALSE@GO_EXPORT_SECTION_NAME = .go_export
546@LIBGO_IS_DARWIN_TRUE@GO_EXPORT_SECTION_NAME = __GNU_GO.__go_export
7a938933 547SUBDIRS = ${subdirs}
24606f71 548gcc_version := $(shell $(GOC) -dumpversion)
7a938933
ILT
549MAINT_CHARSET = latin1
550mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
551PWD_COMMAND = $${PWDCMD-pwd}
552STAMP = echo timestamp >
553toolexecdir = $(glibgo_toolexecdir)
554toolexeclibdir = $(glibgo_toolexeclibdir)
317ea7c0 555toolexeclibgodir = $(nover_glibgo_toolexeclibdir)/go/$(gcc_version)/$(target_alias)
7d7d64c1 556libexecsubdir = $(libexecdir)/gcc/$(target_alias)/$(gcc_version)
7a938933
ILT
557WARN_CFLAGS = $(WARN_FLAGS) $(WERROR)
558
559# -I/-D flags to pass when compiling.
6c94a9fa 560AM_CPPFLAGS = -I $(srcdir)/runtime $(LIBFFIINCS) $(PTHREAD_CFLAGS)
7a938933 561ACLOCAL_AMFLAGS = -I ./config -I ../config
4c413747 562AM_CFLAGS = -fexceptions -fnon-call-exceptions \
f038dae6 563 $(SPLIT_STACK) $(WARN_CFLAGS) \
08934aed 564 $(STRINGOPS_FLAG) $(HWCAP_CFLAGS) $(OSCFLAGS) \
0e56e590
ILT
565 -I $(srcdir)/../libgcc -I $(srcdir)/../libbacktrace \
566 -I $(MULTIBUILDTOP)../../gcc/include
7a938933 567
f163907e
ILT
568AM_LDFLAGS = $(am__append_1) $(am__append_2)
569@LIBGO_IS_AIX_TRUE@EXTRA_libgo_la_DEPENDENCIES = libgo.imp
7a938933
ILT
570
571# Multilib support.
572MAKEOVERRIDES =
573
574# Work around what appears to be a GNU make handling MAKEFLAGS
575# values defined in terms of make variables, as is the case for CC and
576# friends when we are called from the top level Makefile.
577AM_MAKEFLAGS = \
578 "AR_FLAGS=$(AR_FLAGS)" \
579 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
580 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
581 "CFLAGS=$(CFLAGS)" \
582 "CXXFLAGS=$(CXXFLAGS)" \
583 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
584 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
585 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
586 "GOC=$(GOC)" \
587 "GOCFLAGS=$(GOCFLAGS)" \
588 "INSTALL=$(INSTALL)" \
589 "INSTALL_DATA=$(INSTALL_DATA)" \
590 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
591 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
592 "LDFLAGS=$(LDFLAGS)" \
593 "LIBCFLAGS=$(LIBCFLAGS)" \
594 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
595 "MAKE=$(MAKE)" \
596 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
597 "PICFLAG=$(PICFLAG)" \
598 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
599 "SHELL=$(SHELL)" \
600 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
601 "exec_prefix=$(exec_prefix)" \
602 "infodir=$(infodir)" \
603 "libdir=$(libdir)" \
604 "includedir=$(includedir)" \
605 "prefix=$(prefix)" \
606 "tooldir=$(tooldir)" \
607 "gxx_include_dir=$(gxx_include_dir)" \
608 "AR=$(AR)" \
609 "AS=$(AS)" \
610 "LD=$(LD)" \
611 "RANLIB=$(RANLIB)" \
612 "NM=$(NM)" \
613 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
614 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
615 "DESTDIR=$(DESTDIR)" \
616 "WERROR=$(WERROR)"
617
618
619# Subdir rules rely on $(FLAGS_TO_PASS)
620FLAGS_TO_PASS = $(AM_MAKEFLAGS)
4c46b5f0
ILT
621@GOC_IS_LLGO_FALSE@toolexeclib_LTLIBRARIES = libgo.la
622@GOC_IS_LLGO_TRUE@toolexeclib_LTLIBRARIES = libgo-llgo.la
48e21b40 623@GOC_IS_LLGO_FALSE@toolexeclib_LIBRARIES = libgobegin.a libgolibbegin.a
4c46b5f0 624@GOC_IS_LLGO_TRUE@toolexeclib_LIBRARIES = libgobegin-llgo.a
bc998d03 625noinst_LIBRARIES = libgotool.a
ac819ba5 626toolexeclibgo_DATA = \
7a938933
ILT
627 bufio.gox \
628 bytes.gox \
22b955cc 629 context.gox \
5133f00e 630 crypto.gox \
f038dae6 631 encoding.gox \
2fd401c8 632 errors.gox \
7a938933
ILT
633 expvar.gox \
634 flag.gox \
635 fmt.gox \
7a938933
ILT
636 hash.gox \
637 html.gox \
7a938933
ILT
638 image.gox \
639 io.gox \
7a938933
ILT
640 log.gox \
641 math.gox \
642 mime.gox \
643 net.gox \
7a938933 644 os.gox \
7a938933 645 path.gox \
7a938933
ILT
646 reflect.gox \
647 regexp.gox \
7a938933 648 runtime.gox \
7a938933
ILT
649 sort.gox \
650 strconv.gox \
651 strings.gox \
652 sync.gox \
653 syscall.gox \
7a938933
ILT
654 testing.gox \
655 time.gox \
9af4cb95 656 unicode.gox
7a938933 657
ac819ba5
ILT
658toolexeclibgoarchivedir = $(toolexeclibgodir)/archive
659toolexeclibgoarchive_DATA = \
7a938933
ILT
660 archive/tar.gox \
661 archive/zip.gox
662
ac819ba5
ILT
663toolexeclibgocompressdir = $(toolexeclibgodir)/compress
664toolexeclibgocompress_DATA = \
5133f00e 665 compress/bzip2.gox \
7a938933
ILT
666 compress/flate.gox \
667 compress/gzip.gox \
5133f00e 668 compress/lzw.gox \
7a938933
ILT
669 compress/zlib.gox
670
ac819ba5
ILT
671toolexeclibgocontainerdir = $(toolexeclibgodir)/container
672toolexeclibgocontainer_DATA = \
7a938933
ILT
673 container/heap.gox \
674 container/list.gox \
d8f41257 675 container/ring.gox
7a938933 676
ac819ba5
ILT
677toolexeclibgocryptodir = $(toolexeclibgodir)/crypto
678toolexeclibgocrypto_DATA = \
7a938933 679 crypto/aes.gox \
ff5f50c5 680 crypto/cipher.gox \
405ca104 681 crypto/des.gox \
5133f00e 682 crypto/dsa.gox \
8039ca76 683 crypto/ecdsa.gox \
aa8901e9 684 crypto/ed25519.gox \
ff5f50c5 685 crypto/elliptic.gox \
7a938933 686 crypto/hmac.gox \
7a938933 687 crypto/md5.gox \
7a938933
ILT
688 crypto/rand.gox \
689 crypto/rc4.gox \
7a938933
ILT
690 crypto/rsa.gox \
691 crypto/sha1.gox \
692 crypto/sha256.gox \
693 crypto/sha512.gox \
694 crypto/subtle.gox \
695 crypto/tls.gox \
9af4cb95 696 crypto/x509.gox
ff5f50c5 697
adb0401d
ILT
698toolexeclibgocryptox509dir = $(toolexeclibgocryptodir)/x509
699toolexeclibgocryptox509_DATA = \
700 crypto/x509/pkix.gox
701
af92e385
ILT
702toolexeclibgodatabasedir = $(toolexeclibgodir)/database
703toolexeclibgodatabase_DATA = \
704 database/sql.gox
705
706toolexeclibgodatabasesqldir = $(toolexeclibgodatabasedir)/sql
707toolexeclibgodatabasesql_DATA = \
708 database/sql/driver.gox
709
ac819ba5
ILT
710toolexeclibgodebugdir = $(toolexeclibgodir)/debug
711toolexeclibgodebug_DATA = \
7a938933
ILT
712 debug/dwarf.gox \
713 debug/elf.gox \
714 debug/gosym.gox \
715 debug/macho.gox \
6736ef96 716 debug/pe.gox \
4f4a855d 717 debug/plan9obj.gox
7a938933 718
ac819ba5
ILT
719toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding
720toolexeclibgoencoding_DATA = \
7a938933 721 encoding/ascii85.gox \
9c63abc9 722 encoding/asn1.gox \
ff5f50c5 723 encoding/base32.gox \
7a938933
ILT
724 encoding/base64.gox \
725 encoding/binary.gox \
9c63abc9 726 encoding/csv.gox \
9c63abc9 727 encoding/gob.gox \
7a938933 728 encoding/hex.gox \
9c63abc9
ILT
729 encoding/json.gox \
730 encoding/pem.gox \
731 encoding/xml.gox
7a938933 732
ac819ba5
ILT
733toolexeclibgogodir = $(toolexeclibgodir)/go
734toolexeclibgogo_DATA = \
7a938933 735 go/ast.gox \
adb0401d 736 go/build.gox \
af146490 737 go/constant.gox \
7a938933 738 go/doc.gox \
a42a906c 739 go/format.gox \
af146490 740 go/importer.gox \
7a938933
ILT
741 go/parser.gox \
742 go/printer.gox \
743 go/scanner.gox \
af146490
ILT
744 go/token.gox \
745 go/types.gox
7a938933 746
ac819ba5
ILT
747toolexeclibgohashdir = $(toolexeclibgodir)/hash
748toolexeclibgohash_DATA = \
7a938933
ILT
749 hash/adler32.gox \
750 hash/crc32.gox \
8039ca76 751 hash/crc64.gox \
5a8ea165
ILT
752 hash/fnv.gox \
753 hash/maphash.gox
7a938933 754
9c63abc9
ILT
755toolexeclibgohtmldir = $(toolexeclibgodir)/html
756toolexeclibgohtml_DATA = \
757 html/template.gox
7a938933 758
ac819ba5
ILT
759toolexeclibgoimagedir = $(toolexeclibgodir)/image
760toolexeclibgoimage_DATA = \
d8f41257 761 image/color.gox \
adb0401d 762 image/draw.gox \
9ff56c95 763 image/gif.gox \
7a938933 764 image/jpeg.gox \
94252f4b 765 image/png.gox
7a938933 766
f038dae6
ILT
767toolexeclibgoimagecolordir = $(toolexeclibgoimagedir)/color
768toolexeclibgoimagecolor_DATA = \
769 image/color/palette.gox
770
ac819ba5
ILT
771toolexeclibgoindexdir = $(toolexeclibgodir)/index
772toolexeclibgoindex_DATA = \
7a938933
ILT
773 index/suffixarray.gox
774
ac819ba5
ILT
775toolexeclibgoiodir = $(toolexeclibgodir)/io
776toolexeclibgoio_DATA = \
7a938933
ILT
777 io/ioutil.gox
778
9c63abc9
ILT
779toolexeclibgologdir = $(toolexeclibgodir)/log
780toolexeclibgolog_DATA = \
781 log/syslog.gox
782
783toolexeclibgomathdir = $(toolexeclibgodir)/math
784toolexeclibgomath_DATA = \
785 math/big.gox \
bc998d03 786 math/bits.gox \
9c63abc9
ILT
787 math/cmplx.gox \
788 math/rand.gox
789
ac819ba5
ILT
790toolexeclibgomimedir = $(toolexeclibgodir)/mime
791toolexeclibgomime_DATA = \
af146490
ILT
792 mime/multipart.gox \
793 mime/quotedprintable.gox
7a938933 794
ac819ba5
ILT
795toolexeclibgonetdir = $(toolexeclibgodir)/net
796toolexeclibgonet_DATA = \
9c63abc9
ILT
797 net/http.gox \
798 net/mail.gox \
799 net/rpc.gox \
800 net/smtp.gox \
801 net/textproto.gox \
802 net/url.gox
803
804toolexeclibgonethttpdir = $(toolexeclibgonetdir)/http
805toolexeclibgonethttp_DATA = \
806 net/http/cgi.gox \
be47d6ec 807 net/http/cookiejar.gox \
9c63abc9
ILT
808 net/http/fcgi.gox \
809 net/http/httptest.gox \
22b955cc 810 net/http/httptrace.gox \
9c63abc9
ILT
811 net/http/httputil.gox \
812 net/http/pprof.gox
813
814toolexeclibgonetrpcdir = $(toolexeclibgonetdir)/rpc
815toolexeclibgonetrpc_DATA = \
816 net/rpc/jsonrpc.gox
7a938933 817
ac819ba5
ILT
818toolexeclibgoosdir = $(toolexeclibgodir)/os
819toolexeclibgoos_DATA = \
9c63abc9 820 os/exec.gox \
cbb6491d 821 os/signal.gox \
94252f4b 822 os/user.gox
7a938933 823
8039ca76
ILT
824toolexeclibgopathdir = $(toolexeclibgodir)/path
825toolexeclibgopath_DATA = \
826 path/filepath.gox
827
d8f41257
ILT
828toolexeclibgoregexpdir = $(toolexeclibgodir)/regexp
829toolexeclibgoregexp_DATA = \
830 regexp/syntax.gox
831
ac819ba5
ILT
832toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime
833toolexeclibgoruntime_DATA = \
ff5f50c5 834 runtime/debug.gox \
c2047754
ILT
835 runtime/pprof.gox \
836 runtime/trace.gox
7a938933 837
5133f00e
ILT
838toolexeclibgosyncdir = $(toolexeclibgodir)/sync
839toolexeclibgosync_DATA = \
840 sync/atomic.gox
841
ac819ba5
ILT
842toolexeclibgotestingdir = $(toolexeclibgodir)/testing
843toolexeclibgotesting_DATA = \
7a938933 844 testing/iotest.gox \
cbb6491d 845 testing/quick.gox
7a938933 846
4a5b8060
ILT
847toolexeclibgotestinginternaldir = $(toolexeclibgotestingdir)/internal
848toolexeclibgotestinginternal_DATA = \
849 testing/internal/testdeps.gox
850
9c63abc9
ILT
851toolexeclibgotextdir = $(toolexeclibgodir)/text
852toolexeclibgotext_DATA = \
853 text/scanner.gox \
854 text/tabwriter.gox \
855 text/template.gox
856
857toolexeclibgotexttemplatedir = $(toolexeclibgotextdir)/template
858toolexeclibgotexttemplate_DATA = \
859 text/template/parse.gox
860
f75af8c1
ILT
861toolexeclibgotimedir = $(toolexeclibgodir)/time
862toolexeclibgotime_DATA = \
863 time/tzdata.gox
864
9c63abc9
ILT
865toolexeclibgounicodedir = $(toolexeclibgodir)/unicode
866toolexeclibgounicode_DATA = \
867 unicode/utf16.gox \
868 unicode/utf8.gox
869
7399e345 870
72700543
ILT
871# Some internal packages are needed to bootstrap the gc toolchain.
872toolexeclibgointernaldir = $(toolexeclibgodir)/internal
873toolexeclibgointernal_DATA = \
f75af8c1
ILT
874 internal/reflectlite.gox \
875 internal/unsafeheader.gox
72700543
ILT
876
877
7399e345
ILT
878# Some packages are only needed for tests, so unlike the other
879# internal packages nothing will explicitly depend on them.
880# Force them to be built.
656297e1 881noinst_DATA = golang.org/x/net/nettest.gox internal/cfg.gox \
f75af8c1
ILT
882 internal/obscuretestdata.gox internal/profile.gox \
883 internal/testenv.gox internal/trace.gox \
884 net/internal/socktest.gox os/signal/internal/pty.gox \
5a8ea165 885 zdefaultcc.go
7a938933
ILT
886@LIBGO_IS_RTEMS_FALSE@rtems_task_variable_add_file =
887@LIBGO_IS_RTEMS_TRUE@rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
eff6af8e 888runtime_context_asm_file = $(am__append_3)
7a938933 889runtime_files = \
453060a9 890 runtime/aeshash.c \
7a938933 891 runtime/go-assert.c \
7a938933 892 runtime/go-caller.c \
cbb6491d 893 runtime/go-callers.c \
9a270ad3 894 runtime/go-cgo.c \
7a938933 895 runtime/go-construct-map.c \
dffa7328 896 runtime/go-ffi.c \
744c3195 897 runtime/go-fieldtrack.c \
d2b480bc 898 runtime/go-matherr.c \
4a2bb7fc 899 runtime/go-memclr.c \
4a2bb7fc 900 runtime/go-memequal.c \
7a938933 901 runtime/go-nanotime.c \
7b1c3dd9 902 runtime/go-now.c \
e02ed81e 903 runtime/go-nosys.c \
7a938933 904 runtime/go-reflect-call.c \
9ff56c95 905 runtime/go-setenv.c \
7a938933 906 runtime/go-signal.c \
7a938933 907 runtime/go-unsafe-pointer.c \
f8d9fa9e 908 runtime/go-unsetenv.c \
7a938933 909 runtime/go-unwind.c \
6b05fadd 910 runtime/go-varargs.c \
409a5e7e 911 runtime/env_posix.c \
4ccad563 912 runtime/panic.c \
86ba147f 913 runtime/print.c \
7a938933 914 runtime/proc.c \
48e21b40 915 runtime/runtime_c.c \
f163907e 916 runtime/stack.c \
d8f41257 917 runtime/yield.c \
eff6af8e 918 $(runtime_context_asm_file) \
32b1d51f 919 $(rtems_task_variable_add_file)
7a938933 920
bc998d03
ILT
921GCCGO_INSTALL_NAME := $(shell echo gccgo|sed '$(program_transform_name)')
922GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)')
923GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)')
e0f69f36
ILT
924@LIBGO_IS_LINUX_FALSE@syscall_epoll_file =
925@LIBGO_IS_LINUX_TRUE@syscall_epoll_file = epoll.go
14cda8a1
ILT
926SYSINFO_FLAGS = \
927 $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
928 $(CPPFLAGS) $(OSCFLAGS) -O
929
c8dc49fb
ILT
930@LIBGO_IS_LINUX_FALSE@syscall_lib_clone_lo =
931@LIBGO_IS_LINUX_TRUE@syscall_lib_clone_lo = syscall/clone_linux.lo
f75af8c1
ILT
932@LIBGO_IS_X86_FALSE@golangorg_x_sys_cpu_gccgo_x86_lo =
933@LIBGO_IS_X86_TRUE@golangorg_x_sys_cpu_gccgo_x86_lo = golang.org/x/sys/cpu_gccgo_x86.lo
cec9701b 934PACKAGES = $(shell cat $(srcdir)/libgo-packages.txt)
7a938933 935libgo_go_objs = \
48e21b40 936 $(addsuffix .lo,$(PACKAGES)) \
dd931d9b 937 internal/bytealg/bytealg.lo \
dffa7328 938 reflect/makefunc_ffi_c.lo \
c8dc49fb 939 $(syscall_lib_clone_lo) \
f3ab5720
ILT
940 syscall/errno.lo \
941 syscall/signame.lo \
942 syscall/wait.lo \
cfcbb422 943 os/dir_gccgo_c.lo \
aa8901e9
ILT
944 $(golangorg_x_net_lif_lo) \
945 $(golangorg_x_net_route_lo) \
9c63abc9 946 log/syslog/syslog_c.lo \
d2822509 947 $(os_lib_inotify_lo) \
337fa50b 948 runtime/internal/atomic_c.lo \
dd931d9b 949 sync/atomic_c.lo \
aa8901e9 950 internal/cpu/cpu_gccgo.lo \
f75af8c1 951 $(golangorg_x_sys_cpu_gccgo_x86_lo)
7a938933 952
4c46b5f0 953libgo_ldflags = \
e8028ecd
ILT
954 -version-info $(libtool_VERSION) $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
955
4c46b5f0 956libgo_libadd = \
0e56e590 957 $(libgo_go_objs) ../libbacktrace/libbacktrace.la \
9a85ed03 958 $(LIBATOMIC) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
f2ee78b8 959
4c46b5f0
ILT
960libgo_la_SOURCES = $(runtime_files)
961libgo_la_LDFLAGS = $(libgo_ldflags)
962libgo_la_LIBADD = $(libgo_libadd)
963libgo_llgo_la_SOURCES = $(runtime_files)
964libgo_llgo_la_LDFLAGS = $(libgo_ldflags)
965libgo_llgo_la_LIBADD = $(libgo_libadd)
7a938933
ILT
966libgobegin_a_SOURCES = \
967 runtime/go-main.c
968
4c46b5f0
ILT
969libgobegin_llgo_a_SOURCES = \
970 runtime/go-main.c
971
bddc11a8
ILT
972
973# Use -fPIC for libgobegin so that it can be put in a PIE.
974libgobegin_a_CFLAGS = $(AM_CFLAGS) -fPIC
975libgobegin_llgo_a_CFLAGS = $(AM_CFLAGS) -fPIC
081564fa
ILT
976libgolibbegin_a_SOURCES = \
977 runtime/go-libmain.c
978
979libgolibbegin_a_CFLAGS = $(AM_CFLAGS) -fPIC
cec9701b 980GOTOOL_PACKAGES = $(shell cat $(srcdir)/gotool-packages.txt)
bc998d03
ILT
981libgotool_a_SOURCES =
982libgotool_a_DEPENDENCIES = $(addsuffix .lo,$(GOTOOL_PACKAGES))
983libgotool_a_LIBADD = $(addsuffix .o,$(GOTOOL_PACKAGES))
7a938933 984LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
73b6d7a9 985GOCFLAGS = $(CFLAGS)
a2bf11d1 986AM_GOCFLAGS = $(STRINGOPS_FLAG) $(GO_SPLIT_STACK)
7a938933
ILT
987GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
988LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
989 $(AM_GOCFLAGS) $(GOCFLAGS)
990
991GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
f2ee78b8 992 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
7a938933
ILT
993
994
18c70075
ILT
995# Build the dependencies for a Go package.
996BUILDDEPS = \
997 $(MKDIR_P) $(@D); \
48e21b40 998 dir=`echo $@ | sed -e 's/.lo.dep$$//'`; \
efc86492 999 files=`$(SHELL) $(srcdir)/match.sh --goarch=$(GOARCH) --goos=$(GOOS) --srcdir=$(srcdir)/go/$$dir --extrafiles="$(extra_go_files_$(subst .,_,$(subst /,_,$(subst .lo.dep,,$@))))" $(matchargs_$(subst /,_,$(subst .lo.dep,,$@)))`; \
e0f69f36 1000 $(SHELL) $(srcdir)/godeps.sh `echo $@ | sed -e 's/.dep$$//'` $$files > $@.tmp; \
b123572d
ILT
1001 if ! cmp $@.tmp $@ >/dev/null 2>/dev/null; then \
1002 rm -f `echo $@ | sed -e 's/\.dep$$//'`; \
1003 fi; \
18c70075
ILT
1004 mv -f $@.tmp $@
1005
1006
d2822509 1007# Build the .go files for a package, generating a .lo file.
7467fc4b 1008BUILDPACKAGE = \
d2822509 1009 $(MKDIR_P) $(@D); \
e0f69f36 1010 files=`echo $^ | sed -e 's/[^ ]*\.gox//g' -e 's/[^ ]*\.dep//'`; \
4f4a855d 1011 $(LTGOCOMPILE) -I . -c -fgo-pkgpath=`echo $@ | sed -e 's/.lo$$//'` $($(subst -,_,$(subst .,_,$(subst /,_,$@)))_GOCFLAGS) -o $@ $$files
e0f69f36
ILT
1012
1013
48e21b40 1014# How to build a .gox file from a .lo file.
f163907e
ILT
1015# Matching .o file can either be in the same directory as the .lo (non-PIC
1016# object) or in the .libs directory (PIC object).
48e21b40 1017BUILDGOX = \
f163907e
ILT
1018 f="$(basename $<).o"; \
1019 if test ! -f $$f; then \
1020 f="$(basename $(<D)/.libs/$(<F)).o"; \
1021 fi; \
b0cf10e4 1022 $(OBJCOPY) -j $(GO_EXPORT_SECTION_NAME) $$f $@.tmp; \
f94a3edc 1023 $(SHELL) $(srcdir)/mvifdiff.sh $@.tmp `echo $@ | sed -e 's/s-gox/gox/'`
4bcd34f6 1024
8046b665 1025GOTESTFLAGS =
ffa98da4 1026GOBENCH =
7a938933
ILT
1027
1028# Check a package.
1029CHECK = \
69fffc1f 1030 GC="$(GOC) $(GOCFLAGS) $($(subst /,_,$@)_GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
7a938933 1031 export GC; \
efc86492 1032 GOLIBS="$(extra_check_libs_$(subst .,_,$(subst /,_,$(@D)))) $(MATH_LIBS) $(NET_LIBS) $(LIBS)"; \
16e40fef 1033 export GOLIBS; \
7a938933
ILT
1034 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1035 export RUNTESTFLAGS; \
1036 MAKE="$(MAKE)"; \
1037 export MAKE; \
f163907e
ILT
1038 NM="$(NM)"; \
1039 export NM; \
c9548fa4 1040 libgccdir=`${GOC} ${GOCFLAGS} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \
69fffc1f 1041 LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \
aa5b0a0d
ILT
1042 LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
1043 export LD_LIBRARY_PATH; \
d71ec0cd 1044 $(MKDIR_P) $(@D); \
bb0ce33a 1045 rm -f $@-testsum $@-testlog; \
efc86492 1046 files=`$(SHELL) $(srcdir)/match.sh --goarch=$(GOARCH) --goos=$(GOOS) --srcdir=$(srcdir)/go/$(@D) --extrafiles="$(extra_go_files_$(subst .,_,$(subst /,_,$(@D))))" $(matchargs_$(subst /,_,$(@D)))`; \
7134cf28 1047 if test "$(USE_DEJAGNU)" = "yes"; then \
e0f69f36 1048 $(SHELL) $(srcdir)/testsuite/gotest --goarch=$(GOARCH) --goos=$(GOOS) --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)" --pkgfiles="$$files" --testname="$(@D)" $(GOTESTFLAGS); \
ffa98da4 1049 elif test "$(GOBENCH)" != ""; then \
e0f69f36 1050 $(SHELL) $(srcdir)/testsuite/gotest --goarch=$(GOARCH) --goos=$(GOOS) --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)" --pkgfiles="$$files" --bench="$(GOBENCH)" $(GOTESTFLAGS); \
21822c90 1051 else \
e0f69f36 1052 if $(SHELL) $(srcdir)/testsuite/gotest --goarch=$(GOARCH) --goos=$(GOOS) --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)" --pkgfiles="$$files" $(GOTESTFLAGS) >>$@-testlog 2>&1; then \
34ccb9c0 1053 echo "PASS: $(@D)" >> $@-testlog; \
bb0ce33a
ILT
1054 echo "PASS: $(@D)"; \
1055 echo "PASS: $(@D)" > $@-testsum; \
86d013a7 1056 else \
34ccb9c0
ILT
1057 echo "FAIL: $(@D)" >> $@-testlog; \
1058 cat $@-testlog; \
bb0ce33a 1059 echo "FAIL: $(@D)" > $@-testsum; \
86d013a7
ILT
1060 exit 1; \
1061 fi; \
21822c90 1062 fi
7a938933
ILT
1063
1064
1065# Build all packages before checking any.
4c46b5f0
ILT
1066CHECK_DEPS = $(toolexeclibgo_DATA) $(toolexeclibgoarchive_DATA) \
1067 $(toolexeclibgocompress_DATA) $(toolexeclibgocontainer_DATA) \
1068 $(toolexeclibgocrypto_DATA) $(toolexeclibgodebug_DATA) \
447fb74d
ILT
1069 $(toolexeclibgoencoding_DATA) $(toolexeclibgogo_DATA) \
1070 $(toolexeclibgohash_DATA) $(toolexeclibgoimage_DATA) \
1071 $(toolexeclibgoindex_DATA) $(toolexeclibgoio_DATA) \
1072 $(toolexeclibgolog_DATA) $(toolexeclibgomath_DATA) \
1073 $(toolexeclibgomime_DATA) $(toolexeclibgonet_DATA) \
1074 $(toolexeclibgonethttp_DATA) $(toolexeclibgoos_DATA) \
1075 $(toolexeclibgopath_DATA) $(toolexeclibgorpc_DATA) \
1076 $(toolexeclibgoruntime_DATA) $(toolexeclibgosync_DATA) \
1077 $(toolexeclibgotesting_DATA) $(toolexeclibgotext_DATA) \
1078 $(toolexeclibgotexttemplate_DATA) $(toolexeclibgounicode_DATA) \
eff6af8e
ILT
1079 $(noinst_DATA) $(noinst_LIBRARIES) $(am__append_4) \
1080 $(am__append_5)
48e21b40
ILT
1081
1082# Pass -ffp-contract=off, or 386-specific options, when building the
1083# math package. MATH_FLAG is defined in configure.ac.
1084math_lo_GOCFLAGS = $(MATH_FLAG)
28f3c814 1085math_check_GOCFLAGS = $(MATH_FLAG)
48e21b40 1086
0cdde1e7
NB
1087# Add generated files to the runtime package.
1088extra_go_files_runtime = runtime_linknames.go runtime_sysinfo.go sigtab.go
e0f69f36 1089
48e21b40
ILT
1090# Add generated files to the syscall package.
1091extra_go_files_syscall = \
1092 libcalls.go \
1093 sysinfo.go \
1094 syscall_arch.go \
0cdde1e7 1095 syscall_linknames.go \
48e21b40
ILT
1096 $(syscall_epoll_file)
1097
1098
1099# Pass -fgo-compiling-runtime when compiling the runtime package.
cec9701b 1100runtime_lo_GOCFLAGS = -fgo-c-header=runtime.inc.raw -fgo-compiling-runtime
48e21b40
ILT
1101runtime_check_GOCFLAGS = -fgo-compiling-runtime
1102runtime_internal_atomic_lo_GOCFLAGS = -fgo-compiling-runtime
1103runtime_internal_atomic_lo_check_GOCFLAGS = -fgo-compiling-runtime
1104runtime_internal_sys_lo_GOCFLAGS = -fgo-compiling-runtime
1105runtime_internal_sys_lo_check_GOCFLAGS = -fgo-compiling-runtime
5302cd02
ILT
1106@USE_LIBFFI_FALSE@matchargs_runtime =
1107
1108# If libffi is supported (the normal case) use the ffi build tag for
1109# the runtime package.
1110@USE_LIBFFI_TRUE@matchargs_runtime = --tag=libffi
e0f69f36 1111
1fae9801
ILT
1112# At least for now, we need -static-libgo for this test, because
1113# otherwise we can't get the line numbers.
f8d9fa9e
ILT
1114# Also use -fno-inline to get better results from the memory profiler.
1115runtime_pprof_check_GOCFLAGS = -static-libgo -fno-inline
0d5d8809 1116
72b38338
CC
1117# reflect tests must be done with -static-libgo. Otherwize,
1118# there will be a duplication of the canonicalization map.
1119@LIBGO_IS_AIX_TRUE@reflect_check_GOCFLAGS = -static-libgo -Wl,-bbigtoc
1120
e478cacb 1121# Use -static for the syscall tests if possible, because otherwise when
0d5d8809 1122# running as root the re-execs ignore LD_LIBRARY_PATH.
e478cacb 1123@HAVE_STATIC_LINK_TRUE@syscall_check_GOCFLAGS = -static
a8464243 1124extra_go_files_runtime_internal_sys = version.go
f5ec13f1 1125extra_go_files_internal_cpu = cpugen.go
efc86492 1126extra_go_files_golang_org_x_sys_cpu = gcpugen.go
dd931d9b 1127extra_go_files_internal_goroot = zstdpkglist.go
ffad1c54 1128extra_go_files_go_types = gccgosizes.go
1a2f01ef 1129extra_go_files_cmd_internal_objabi = objabi.go
bc998d03 1130extra_go_files_cmd_go_internal_cfg = zdefaultcc.go
0cdde1e7
NB
1131extra_go_files_os = os_linknames.go
1132extra_go_files_os_user = os_user_linknames.go
1a2f01ef 1133extra_check_libs_cmd_go_internal_cache = $(abs_builddir)/libgotool.a
cfcbb422 1134extra_check_libs_cmd_go_internal_fsys = $(abs_builddir)/libgotool.a
bc998d03
ILT
1135extra_check_libs_cmd_go_internal_generate = $(abs_builddir)/libgotool.a
1136extra_check_libs_cmd_go_internal_get = $(abs_builddir)/libgotool.a
1137extra_check_libs_cmd_go_internal_load = $(abs_builddir)/libgotool.a
4f4a855d 1138extra_check_libs_cmd_go_internal_lockedfile = $(abs_builddir)/libgotool.a
dd931d9b
ILT
1139extra_check_libs_cmd_go_internal_imports = $(abs_builddir)/libgotool.a
1140extra_check_libs_cmd_go_internal_modconv = $(abs_builddir)/libgotool.a
1141extra_check_libs_cmd_go_internal_modfetch = $(abs_builddir)/libgotool.a
1142extra_check_libs_cmd_go_internal_modfetch_codehost = $(abs_builddir)/libgotool.a
1143extra_check_libs_cmd_go_internal_modfile = $(abs_builddir)/libgotool.a
1144extra_check_libs_cmd_go_internal_modload = $(abs_builddir)/libgotool.a
1145extra_check_libs_cmd_go_internal_module = $(abs_builddir)/libgotool.a
1146extra_check_libs_cmd_go_internal_mvs = $(abs_builddir)/libgotool.a
1147extra_check_libs_cmd_go_internal_search = $(abs_builddir)/libgotool.a
cfcbb422 1148extra_check_libs_cmd_go_internal_str = $(abs_builddir)/libgotool.a
f75af8c1 1149extra_check_libs_cmd_go_internal_test = $(abs_builddir)/libgotool.a
cfcbb422 1150extra_check_libs_cmd_go_internal_vcs = $(abs_builddir)/libgotool.a
dd931d9b 1151extra_check_libs_cmd_go_internal_web2 = $(abs_builddir)/libgotool.a
bc998d03 1152extra_check_libs_cmd_go_internal_work = $(abs_builddir)/libgotool.a
cfcbb422 1153extra_check_libs_cmd_internal_buildid = $(abs_builddir)/libgotool.a
1a2f01ef 1154extra_check_libs_cmd_vet_internal_cfg = $(abs_builddir)/libgotool.a
48e21b40 1155@HAVE_STAT_TIMESPEC_FALSE@@LIBGO_IS_SOLARIS_TRUE@matchargs_os =
7a938933 1156
082fc7e8 1157# Solaris 11.4 changed the type of fields in struct stat.
48e21b40
ILT
1158# Use a build tag, based on a configure check, to cope.
1159@HAVE_STAT_TIMESPEC_TRUE@@LIBGO_IS_SOLARIS_TRUE@matchargs_os = --tag=solaristag
1160@LIBGO_IS_SOLARIS_FALSE@matchargs_os =
aa8901e9 1161@LIBGO_IS_BSD_TRUE@golangorg_x_net_route_lo = \
6949fbef 1162@LIBGO_IS_BSD_TRUE@ golang.org/x/net/route.lo
48e21b40 1163
aa8901e9
ILT
1164@LIBGO_IS_SOLARIS_TRUE@golangorg_x_net_lif_lo = \
1165@LIBGO_IS_SOLARIS_TRUE@ golang.org/x/net/lif.lo
c2047754 1166
efc86492 1167TEST_PACKAGES = $(addsuffix /check,$(shell cat $(srcdir)/check-packages.txt))
f163907e
ILT
1168MOSTLYCLEANFILES = \
1169 s-runtime_sysinfo s-sigtab s-runtime-inc s-zstdpkglist \
1170 s-libcalls s-libcalls-list s-syscall_arch s-gen-sysinfo s-sysinfo \
1171 s-errno s-epoll \
1172 libgo.head libgo.sum.sep libgo.log.sep libgo.var \
433f84bf
ILT
1173 libcalls-list \
1174 runtime.inc runtime.inc.tmp2 runtime.inc.tmp3 runtime.inc.raw
f163907e 1175
bc998d03 1176CLEANFILES = *.go *.c s-* libgo.sum libgo.log runtime.inc
73b6d7a9
ILT
1177MULTISRCTOP =
1178MULTIBUILDTOP =
1179MULTIDIRS =
1180MULTISUBDIR =
1181MULTIDO = true
1182MULTICLEAN = true
83cc5e2b
CC
1183@LIBGO_IS_AIX_FALSE@ALL_LOCAL_DEPS =
1184@LIBGO_IS_AIX_TRUE@ALL_LOCAL_DEPS = add-aix-fat-library
1185MAJOR = $(firstword $(subst :, ,$(libtool_VERSION)))
7a938933
ILT
1186all: config.h
1187 $(MAKE) $(AM_MAKEFLAGS) all-recursive
1188
1189.SUFFIXES:
4d12cf3c 1190.SUFFIXES: .c .go .gox .o .obj .lo .a .S
44c925bd 1191am--refresh: Makefile
7a938933 1192 @:
73b6d7a9 1193$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/../multilib.am $(am__configure_deps)
7a938933
ILT
1194 @for dep in $?; do \
1195 case '$(am__configure_deps)' in \
1196 *$$dep*) \
1197 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
1198 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
1199 && exit 0; \
1200 exit 1;; \
1201 esac; \
1202 done; \
1203 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
1204 $(am__cd) $(top_srcdir) && \
1205 $(AUTOMAKE) --foreign Makefile
7a938933
ILT
1206Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1207 @case '$?' in \
1208 *config.status*) \
1209 echo ' $(SHELL) ./config.status'; \
1210 $(SHELL) ./config.status;; \
1211 *) \
1212 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
1213 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
1214 esac;
73b6d7a9 1215$(top_srcdir)/../multilib.am $(am__empty):
7a938933
ILT
1216
1217$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1218 $(SHELL) ./config.status --recheck
1219
1220$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
1221 $(am__cd) $(srcdir) && $(AUTOCONF)
1222$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
1223 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
1224$(am__aclocal_m4_deps):
1225
1226config.h: stamp-h1
73b6d7a9
ILT
1227 @test -f $@ || rm -f stamp-h1
1228 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
7a938933
ILT
1229
1230stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
1231 @rm -f stamp-h1
1232 cd $(top_builddir) && $(SHELL) ./config.status config.h
1233$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
1234 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
1235 rm -f stamp-h1
1236 touch $@
1237
1238distclean-hdr:
1239 -rm -f config.h stamp-h1
bc998d03
ILT
1240
1241clean-noinstLIBRARIES:
1242 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
7a938933
ILT
1243install-toolexeclibLIBRARIES: $(toolexeclib_LIBRARIES)
1244 @$(NORMAL_INSTALL)
7a938933
ILT
1245 @list='$(toolexeclib_LIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
1246 list2=; for p in $$list; do \
1247 if test -f $$p; then \
1248 list2="$$list2 $$p"; \
1249 else :; fi; \
1250 done; \
1251 test -z "$$list2" || { \
44c925bd
ILT
1252 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibdir)'"; \
1253 $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)" || exit 1; \
7a938933
ILT
1254 echo " $(INSTALL_DATA) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
1255 $(INSTALL_DATA) $$list2 "$(DESTDIR)$(toolexeclibdir)" || exit $$?; }
1256 @$(POST_INSTALL)
1257 @list='$(toolexeclib_LIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
1258 for p in $$list; do \
1259 if test -f $$p; then \
1260 $(am__strip_dir) \
1261 echo " ( cd '$(DESTDIR)$(toolexeclibdir)' && $(RANLIB) $$f )"; \
1262 ( cd "$(DESTDIR)$(toolexeclibdir)" && $(RANLIB) $$f ) || exit $$?; \
1263 else :; fi; \
1264 done
1265
1266uninstall-toolexeclibLIBRARIES:
1267 @$(NORMAL_UNINSTALL)
1268 @list='$(toolexeclib_LIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
1269 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1270 dir='$(DESTDIR)$(toolexeclibdir)'; $(am__uninstall_files_from_dir)
7a938933
ILT
1271
1272clean-toolexeclibLIBRARIES:
1273 -test -z "$(toolexeclib_LIBRARIES)" || rm -f $(toolexeclib_LIBRARIES)
73b6d7a9
ILT
1274runtime/$(am__dirstamp):
1275 @$(MKDIR_P) runtime
1276 @: > runtime/$(am__dirstamp)
1277runtime/$(DEPDIR)/$(am__dirstamp):
1278 @$(MKDIR_P) runtime/$(DEPDIR)
1279 @: > runtime/$(DEPDIR)/$(am__dirstamp)
1280runtime/libgobegin_llgo_a-go-main.$(OBJEXT): runtime/$(am__dirstamp) \
1281 runtime/$(DEPDIR)/$(am__dirstamp)
1282
44c925bd 1283libgobegin-llgo.a: $(libgobegin_llgo_a_OBJECTS) $(libgobegin_llgo_a_DEPENDENCIES) $(EXTRA_libgobegin_llgo_a_DEPENDENCIES)
73b6d7a9
ILT
1284 $(AM_V_at)-rm -f libgobegin-llgo.a
1285 $(AM_V_AR)$(libgobegin_llgo_a_AR) libgobegin-llgo.a $(libgobegin_llgo_a_OBJECTS) $(libgobegin_llgo_a_LIBADD)
1286 $(AM_V_at)$(RANLIB) libgobegin-llgo.a
1287runtime/libgobegin_a-go-main.$(OBJEXT): runtime/$(am__dirstamp) \
1288 runtime/$(DEPDIR)/$(am__dirstamp)
1289
44c925bd 1290libgobegin.a: $(libgobegin_a_OBJECTS) $(libgobegin_a_DEPENDENCIES) $(EXTRA_libgobegin_a_DEPENDENCIES)
73b6d7a9
ILT
1291 $(AM_V_at)-rm -f libgobegin.a
1292 $(AM_V_AR)$(libgobegin_a_AR) libgobegin.a $(libgobegin_a_OBJECTS) $(libgobegin_a_LIBADD)
1293 $(AM_V_at)$(RANLIB) libgobegin.a
1294runtime/libgolibbegin_a-go-libmain.$(OBJEXT): runtime/$(am__dirstamp) \
1295 runtime/$(DEPDIR)/$(am__dirstamp)
1296
44c925bd 1297libgolibbegin.a: $(libgolibbegin_a_OBJECTS) $(libgolibbegin_a_DEPENDENCIES) $(EXTRA_libgolibbegin_a_DEPENDENCIES)
73b6d7a9
ILT
1298 $(AM_V_at)-rm -f libgolibbegin.a
1299 $(AM_V_AR)$(libgolibbegin_a_AR) libgolibbegin.a $(libgolibbegin_a_OBJECTS) $(libgolibbegin_a_LIBADD)
1300 $(AM_V_at)$(RANLIB) libgolibbegin.a
1301
bc998d03 1302libgotool.a: $(libgotool_a_OBJECTS) $(libgotool_a_DEPENDENCIES) $(EXTRA_libgotool_a_DEPENDENCIES)
73b6d7a9
ILT
1303 $(AM_V_at)-rm -f libgotool.a
1304 $(AM_V_AR)$(libgotool_a_AR) libgotool.a $(libgotool_a_OBJECTS) $(libgotool_a_LIBADD)
1305 $(AM_V_at)$(RANLIB) libgotool.a
1306
7a938933
ILT
1307install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
1308 @$(NORMAL_INSTALL)
7a938933
ILT
1309 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
1310 list2=; for p in $$list; do \
1311 if test -f $$p; then \
1312 list2="$$list2 $$p"; \
1313 else :; fi; \
1314 done; \
1315 test -z "$$list2" || { \
44c925bd
ILT
1316 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibdir)'"; \
1317 $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)" || exit 1; \
7a938933
ILT
1318 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
1319 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \
1320 }
1321
1322uninstall-toolexeclibLTLIBRARIES:
1323 @$(NORMAL_UNINSTALL)
1324 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
1325 for p in $$list; do \
1326 $(am__strip_dir) \
1327 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
1328 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \
1329 done
1330
1331clean-toolexeclibLTLIBRARIES:
1332 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
73b6d7a9
ILT
1333 @list='$(toolexeclib_LTLIBRARIES)'; \
1334 locs=`for p in $$list; do echo $$p; done | \
1335 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
1336 sort -u`; \
1337 test -z "$$locs" || { \
1338 echo rm -f $${locs}; \
1339 rm -f $${locs}; \
1340 }
1341runtime/aeshash.lo: runtime/$(am__dirstamp) \
1342 runtime/$(DEPDIR)/$(am__dirstamp)
1343runtime/go-assert.lo: runtime/$(am__dirstamp) \
1344 runtime/$(DEPDIR)/$(am__dirstamp)
1345runtime/go-caller.lo: runtime/$(am__dirstamp) \
1346 runtime/$(DEPDIR)/$(am__dirstamp)
1347runtime/go-callers.lo: runtime/$(am__dirstamp) \
1348 runtime/$(DEPDIR)/$(am__dirstamp)
73b6d7a9
ILT
1349runtime/go-cgo.lo: runtime/$(am__dirstamp) \
1350 runtime/$(DEPDIR)/$(am__dirstamp)
1351runtime/go-construct-map.lo: runtime/$(am__dirstamp) \
1352 runtime/$(DEPDIR)/$(am__dirstamp)
1353runtime/go-ffi.lo: runtime/$(am__dirstamp) \
1354 runtime/$(DEPDIR)/$(am__dirstamp)
1355runtime/go-fieldtrack.lo: runtime/$(am__dirstamp) \
1356 runtime/$(DEPDIR)/$(am__dirstamp)
1357runtime/go-matherr.lo: runtime/$(am__dirstamp) \
1358 runtime/$(DEPDIR)/$(am__dirstamp)
1359runtime/go-memclr.lo: runtime/$(am__dirstamp) \
1360 runtime/$(DEPDIR)/$(am__dirstamp)
73b6d7a9
ILT
1361runtime/go-memequal.lo: runtime/$(am__dirstamp) \
1362 runtime/$(DEPDIR)/$(am__dirstamp)
73b6d7a9
ILT
1363runtime/go-nanotime.lo: runtime/$(am__dirstamp) \
1364 runtime/$(DEPDIR)/$(am__dirstamp)
1365runtime/go-now.lo: runtime/$(am__dirstamp) \
1366 runtime/$(DEPDIR)/$(am__dirstamp)
1367runtime/go-nosys.lo: runtime/$(am__dirstamp) \
1368 runtime/$(DEPDIR)/$(am__dirstamp)
1369runtime/go-reflect-call.lo: runtime/$(am__dirstamp) \
1370 runtime/$(DEPDIR)/$(am__dirstamp)
73b6d7a9
ILT
1371runtime/go-setenv.lo: runtime/$(am__dirstamp) \
1372 runtime/$(DEPDIR)/$(am__dirstamp)
1373runtime/go-signal.lo: runtime/$(am__dirstamp) \
1374 runtime/$(DEPDIR)/$(am__dirstamp)
73b6d7a9
ILT
1375runtime/go-unsafe-pointer.lo: runtime/$(am__dirstamp) \
1376 runtime/$(DEPDIR)/$(am__dirstamp)
1377runtime/go-unsetenv.lo: runtime/$(am__dirstamp) \
1378 runtime/$(DEPDIR)/$(am__dirstamp)
1379runtime/go-unwind.lo: runtime/$(am__dirstamp) \
1380 runtime/$(DEPDIR)/$(am__dirstamp)
1381runtime/go-varargs.lo: runtime/$(am__dirstamp) \
1382 runtime/$(DEPDIR)/$(am__dirstamp)
1383runtime/env_posix.lo: runtime/$(am__dirstamp) \
1384 runtime/$(DEPDIR)/$(am__dirstamp)
1385runtime/panic.lo: runtime/$(am__dirstamp) \
1386 runtime/$(DEPDIR)/$(am__dirstamp)
1387runtime/print.lo: runtime/$(am__dirstamp) \
1388 runtime/$(DEPDIR)/$(am__dirstamp)
1389runtime/proc.lo: runtime/$(am__dirstamp) \
1390 runtime/$(DEPDIR)/$(am__dirstamp)
1391runtime/runtime_c.lo: runtime/$(am__dirstamp) \
1392 runtime/$(DEPDIR)/$(am__dirstamp)
1393runtime/stack.lo: runtime/$(am__dirstamp) \
1394 runtime/$(DEPDIR)/$(am__dirstamp)
73b6d7a9
ILT
1395runtime/yield.lo: runtime/$(am__dirstamp) \
1396 runtime/$(DEPDIR)/$(am__dirstamp)
4d12cf3c
ILT
1397runtime/go-context.lo: runtime/$(am__dirstamp) \
1398 runtime/$(DEPDIR)/$(am__dirstamp)
73b6d7a9
ILT
1399runtime/rtems-task-variable-add.lo: runtime/$(am__dirstamp) \
1400 runtime/$(DEPDIR)/$(am__dirstamp)
73b6d7a9 1401
44c925bd 1402libgo-llgo.la: $(libgo_llgo_la_OBJECTS) $(libgo_llgo_la_DEPENDENCIES) $(EXTRA_libgo_llgo_la_DEPENDENCIES)
73b6d7a9
ILT
1403 $(AM_V_CCLD)$(libgo_llgo_la_LINK) $(am_libgo_llgo_la_rpath) $(libgo_llgo_la_OBJECTS) $(libgo_llgo_la_LIBADD) $(LIBS)
1404
44c925bd 1405libgo.la: $(libgo_la_OBJECTS) $(libgo_la_DEPENDENCIES) $(EXTRA_libgo_la_DEPENDENCIES)
73b6d7a9 1406 $(AM_V_CCLD)$(libgo_la_LINK) $(am_libgo_la_rpath) $(libgo_la_OBJECTS) $(libgo_la_LIBADD) $(LIBS)
7a938933
ILT
1407
1408mostlyclean-compile:
1409 -rm -f *.$(OBJEXT)
73b6d7a9
ILT
1410 -rm -f runtime/*.$(OBJEXT)
1411 -rm -f runtime/*.lo
7a938933
ILT
1412
1413distclean-compile:
1414 -rm -f *.tab.c
1415
73b6d7a9
ILT
1416@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/aeshash.Plo@am__quote@
1417@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/env_posix.Plo@am__quote@
73b6d7a9
ILT
1418@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-assert.Plo@am__quote@
1419@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-caller.Plo@am__quote@
1420@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-callers.Plo@am__quote@
73b6d7a9
ILT
1421@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-cgo.Plo@am__quote@
1422@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-construct-map.Plo@am__quote@
4d12cf3c 1423@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-context.Plo@am__quote@
73b6d7a9
ILT
1424@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-ffi.Plo@am__quote@
1425@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-fieldtrack.Plo@am__quote@
1426@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-matherr.Plo@am__quote@
1427@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-memclr.Plo@am__quote@
73b6d7a9 1428@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-memequal.Plo@am__quote@
73b6d7a9
ILT
1429@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-nanotime.Plo@am__quote@
1430@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-nosys.Plo@am__quote@
1431@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-now.Plo@am__quote@
1432@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-reflect-call.Plo@am__quote@
73b6d7a9
ILT
1433@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-setenv.Plo@am__quote@
1434@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-signal.Plo@am__quote@
73b6d7a9
ILT
1435@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-unsafe-pointer.Plo@am__quote@
1436@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-unsetenv.Plo@am__quote@
1437@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-unwind.Plo@am__quote@
1438@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/go-varargs.Plo@am__quote@
1439@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/libgobegin_a-go-main.Po@am__quote@
1440@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/libgobegin_llgo_a-go-main.Po@am__quote@
1441@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/libgolibbegin_a-go-libmain.Po@am__quote@
1442@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/panic.Plo@am__quote@
1443@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/print.Plo@am__quote@
1444@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/proc.Plo@am__quote@
1445@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/rtems-task-variable-add.Plo@am__quote@
1446@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/runtime_c.Plo@am__quote@
1447@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/stack.Plo@am__quote@
73b6d7a9 1448@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/yield.Plo@am__quote@
7a938933 1449
4d12cf3c
ILT
1450.S.o:
1451@am__fastdepCCAS_TRUE@ $(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
1452@am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1453@am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
1454@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1455@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1456@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ $<
1457
1458.S.obj:
1459@am__fastdepCCAS_TRUE@ $(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
1460@am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
1461@am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
1462@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1463@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1464@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1465
1466.S.lo:
1467@am__fastdepCCAS_TRUE@ $(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
1468@am__fastdepCCAS_TRUE@ $(LTCPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1469@am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
1470@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
1471@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1472@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(LTCPPASCOMPILE) -c -o $@ $<
1473
7a938933 1474.c.o:
73b6d7a9
ILT
1475@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
1476@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1477@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
1478@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
7a938933 1479@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
73b6d7a9 1480@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
7a938933
ILT
1481
1482.c.obj:
73b6d7a9
ILT
1483@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
1484@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
1485@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
1486@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
7a938933 1487@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
73b6d7a9 1488@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
7a938933
ILT
1489
1490.c.lo:
73b6d7a9
ILT
1491@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
1492@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1493@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
1494@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
453060a9 1495@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
73b6d7a9 1496@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
453060a9 1497
73b6d7a9
ILT
1498runtime/libgobegin_llgo_a-go-main.o: runtime/go-main.c
1499@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobegin_llgo_a_CFLAGS) $(CFLAGS) -MT runtime/libgobegin_llgo_a-go-main.o -MD -MP -MF runtime/$(DEPDIR)/libgobegin_llgo_a-go-main.Tpo -c -o runtime/libgobegin_llgo_a-go-main.o `test -f 'runtime/go-main.c' || echo '$(srcdir)/'`runtime/go-main.c
1500@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) runtime/$(DEPDIR)/libgobegin_llgo_a-go-main.Tpo runtime/$(DEPDIR)/libgobegin_llgo_a-go-main.Po
1501@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='runtime/go-main.c' object='runtime/libgobegin_llgo_a-go-main.o' libtool=no @AMDEPBACKSLASH@
7a938933 1502@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
73b6d7a9 1503@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobegin_llgo_a_CFLAGS) $(CFLAGS) -c -o runtime/libgobegin_llgo_a-go-main.o `test -f 'runtime/go-main.c' || echo '$(srcdir)/'`runtime/go-main.c
7a938933 1504
73b6d7a9
ILT
1505runtime/libgobegin_llgo_a-go-main.obj: runtime/go-main.c
1506@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobegin_llgo_a_CFLAGS) $(CFLAGS) -MT runtime/libgobegin_llgo_a-go-main.obj -MD -MP -MF runtime/$(DEPDIR)/libgobegin_llgo_a-go-main.Tpo -c -o runtime/libgobegin_llgo_a-go-main.obj `if test -f 'runtime/go-main.c'; then $(CYGPATH_W) 'runtime/go-main.c'; else $(CYGPATH_W) '$(srcdir)/runtime/go-main.c'; fi`
1507@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) runtime/$(DEPDIR)/libgobegin_llgo_a-go-main.Tpo runtime/$(DEPDIR)/libgobegin_llgo_a-go-main.Po
1508@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='runtime/go-main.c' object='runtime/libgobegin_llgo_a-go-main.obj' libtool=no @AMDEPBACKSLASH@
7a938933 1509@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
73b6d7a9 1510@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobegin_llgo_a_CFLAGS) $(CFLAGS) -c -o runtime/libgobegin_llgo_a-go-main.obj `if test -f 'runtime/go-main.c'; then $(CYGPATH_W) 'runtime/go-main.c'; else $(CYGPATH_W) '$(srcdir)/runtime/go-main.c'; fi`
7a938933 1511
73b6d7a9
ILT
1512runtime/libgobegin_a-go-main.o: runtime/go-main.c
1513@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobegin_a_CFLAGS) $(CFLAGS) -MT runtime/libgobegin_a-go-main.o -MD -MP -MF runtime/$(DEPDIR)/libgobegin_a-go-main.Tpo -c -o runtime/libgobegin_a-go-main.o `test -f 'runtime/go-main.c' || echo '$(srcdir)/'`runtime/go-main.c
1514@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) runtime/$(DEPDIR)/libgobegin_a-go-main.Tpo runtime/$(DEPDIR)/libgobegin_a-go-main.Po
1515@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='runtime/go-main.c' object='runtime/libgobegin_a-go-main.o' libtool=no @AMDEPBACKSLASH@
cbb6491d 1516@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
73b6d7a9 1517@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobegin_a_CFLAGS) $(CFLAGS) -c -o runtime/libgobegin_a-go-main.o `test -f 'runtime/go-main.c' || echo '$(srcdir)/'`runtime/go-main.c
cbb6491d 1518
73b6d7a9
ILT
1519runtime/libgobegin_a-go-main.obj: runtime/go-main.c
1520@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobegin_a_CFLAGS) $(CFLAGS) -MT runtime/libgobegin_a-go-main.obj -MD -MP -MF runtime/$(DEPDIR)/libgobegin_a-go-main.Tpo -c -o runtime/libgobegin_a-go-main.obj `if test -f 'runtime/go-main.c'; then $(CYGPATH_W) 'runtime/go-main.c'; else $(CYGPATH_W) '$(srcdir)/runtime/go-main.c'; fi`
1521@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) runtime/$(DEPDIR)/libgobegin_a-go-main.Tpo runtime/$(DEPDIR)/libgobegin_a-go-main.Po
1522@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='runtime/go-main.c' object='runtime/libgobegin_a-go-main.obj' libtool=no @AMDEPBACKSLASH@
215552ad 1523@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
73b6d7a9 1524@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobegin_a_CFLAGS) $(CFLAGS) -c -o runtime/libgobegin_a-go-main.obj `if test -f 'runtime/go-main.c'; then $(CYGPATH_W) 'runtime/go-main.c'; else $(CYGPATH_W) '$(srcdir)/runtime/go-main.c'; fi`
215552ad 1525
73b6d7a9
ILT
1526runtime/libgolibbegin_a-go-libmain.o: runtime/go-libmain.c
1527@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgolibbegin_a_CFLAGS) $(CFLAGS) -MT runtime/libgolibbegin_a-go-libmain.o -MD -MP -MF runtime/$(DEPDIR)/libgolibbegin_a-go-libmain.Tpo -c -o runtime/libgolibbegin_a-go-libmain.o `test -f 'runtime/go-libmain.c' || echo '$(srcdir)/'`runtime/go-libmain.c
1528@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) runtime/$(DEPDIR)/libgolibbegin_a-go-libmain.Tpo runtime/$(DEPDIR)/libgolibbegin_a-go-libmain.Po
1529@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='runtime/go-libmain.c' object='runtime/libgolibbegin_a-go-libmain.o' libtool=no @AMDEPBACKSLASH@
9a270ad3 1530@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
73b6d7a9 1531@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgolibbegin_a_CFLAGS) $(CFLAGS) -c -o runtime/libgolibbegin_a-go-libmain.o `test -f 'runtime/go-libmain.c' || echo '$(srcdir)/'`runtime/go-libmain.c
9a270ad3 1532
73b6d7a9
ILT
1533runtime/libgolibbegin_a-go-libmain.obj: runtime/go-libmain.c
1534@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgolibbegin_a_CFLAGS) $(CFLAGS) -MT runtime/libgolibbegin_a-go-libmain.obj -MD -MP -MF runtime/$(DEPDIR)/libgolibbegin_a-go-libmain.Tpo -c -o runtime/libgolibbegin_a-go-libmain.obj `if test -f 'runtime/go-libmain.c'; then $(CYGPATH_W) 'runtime/go-libmain.c'; else $(CYGPATH_W) '$(srcdir)/runtime/go-libmain.c'; fi`
1535@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) runtime/$(DEPDIR)/libgolibbegin_a-go-libmain.Tpo runtime/$(DEPDIR)/libgolibbegin_a-go-libmain.Po
1536@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='runtime/go-libmain.c' object='runtime/libgolibbegin_a-go-libmain.obj' libtool=no @AMDEPBACKSLASH@
7a938933 1537@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
73b6d7a9 1538@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgolibbegin_a_CFLAGS) $(CFLAGS) -c -o runtime/libgolibbegin_a-go-libmain.obj `if test -f 'runtime/go-libmain.c'; then $(CYGPATH_W) 'runtime/go-libmain.c'; else $(CYGPATH_W) '$(srcdir)/runtime/go-libmain.c'; fi`
233115ea 1539
7a938933
ILT
1540mostlyclean-libtool:
1541 -rm -f *.lo
1542
1543clean-libtool:
1544 -rm -rf .libs _libs
73b6d7a9 1545 -rm -rf runtime/.libs runtime/_libs
7a938933
ILT
1546
1547distclean-libtool:
1548 -rm -f libtool config.lt
ac819ba5 1549install-toolexeclibgoDATA: $(toolexeclibgo_DATA)
7a938933 1550 @$(NORMAL_INSTALL)
ac819ba5 1551 @list='$(toolexeclibgo_DATA)'; test -n "$(toolexeclibgodir)" || list=; \
44c925bd
ILT
1552 if test -n "$$list"; then \
1553 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgodir)'"; \
1554 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgodir)" || exit 1; \
1555 fi; \
7a938933
ILT
1556 for p in $$list; do \
1557 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1558 echo "$$d$$p"; \
1559 done | $(am__base_list) | \
1560 while read files; do \
ac819ba5
ILT
1561 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgodir)'"; \
1562 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgodir)" || exit $$?; \
7a938933
ILT
1563 done
1564
ac819ba5 1565uninstall-toolexeclibgoDATA:
7a938933 1566 @$(NORMAL_UNINSTALL)
ac819ba5 1567 @list='$(toolexeclibgo_DATA)'; test -n "$(toolexeclibgodir)" || list=; \
7a938933 1568 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1569 dir='$(DESTDIR)$(toolexeclibgodir)'; $(am__uninstall_files_from_dir)
ac819ba5 1570install-toolexeclibgoarchiveDATA: $(toolexeclibgoarchive_DATA)
7a938933 1571 @$(NORMAL_INSTALL)
ac819ba5 1572 @list='$(toolexeclibgoarchive_DATA)'; test -n "$(toolexeclibgoarchivedir)" || list=; \
44c925bd
ILT
1573 if test -n "$$list"; then \
1574 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgoarchivedir)'"; \
1575 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgoarchivedir)" || exit 1; \
1576 fi; \
7a938933
ILT
1577 for p in $$list; do \
1578 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1579 echo "$$d$$p"; \
1580 done | $(am__base_list) | \
1581 while read files; do \
ac819ba5
ILT
1582 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgoarchivedir)'"; \
1583 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgoarchivedir)" || exit $$?; \
7a938933
ILT
1584 done
1585
ac819ba5 1586uninstall-toolexeclibgoarchiveDATA:
7a938933 1587 @$(NORMAL_UNINSTALL)
ac819ba5 1588 @list='$(toolexeclibgoarchive_DATA)'; test -n "$(toolexeclibgoarchivedir)" || list=; \
7a938933 1589 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1590 dir='$(DESTDIR)$(toolexeclibgoarchivedir)'; $(am__uninstall_files_from_dir)
ac819ba5 1591install-toolexeclibgocompressDATA: $(toolexeclibgocompress_DATA)
7a938933 1592 @$(NORMAL_INSTALL)
ac819ba5 1593 @list='$(toolexeclibgocompress_DATA)'; test -n "$(toolexeclibgocompressdir)" || list=; \
44c925bd
ILT
1594 if test -n "$$list"; then \
1595 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgocompressdir)'"; \
1596 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgocompressdir)" || exit 1; \
1597 fi; \
7a938933
ILT
1598 for p in $$list; do \
1599 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1600 echo "$$d$$p"; \
1601 done | $(am__base_list) | \
1602 while read files; do \
ac819ba5
ILT
1603 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgocompressdir)'"; \
1604 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgocompressdir)" || exit $$?; \
7a938933
ILT
1605 done
1606
ac819ba5 1607uninstall-toolexeclibgocompressDATA:
7a938933 1608 @$(NORMAL_UNINSTALL)
ac819ba5 1609 @list='$(toolexeclibgocompress_DATA)'; test -n "$(toolexeclibgocompressdir)" || list=; \
7a938933 1610 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1611 dir='$(DESTDIR)$(toolexeclibgocompressdir)'; $(am__uninstall_files_from_dir)
ac819ba5 1612install-toolexeclibgocontainerDATA: $(toolexeclibgocontainer_DATA)
7a938933 1613 @$(NORMAL_INSTALL)
ac819ba5 1614 @list='$(toolexeclibgocontainer_DATA)'; test -n "$(toolexeclibgocontainerdir)" || list=; \
44c925bd
ILT
1615 if test -n "$$list"; then \
1616 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgocontainerdir)'"; \
1617 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgocontainerdir)" || exit 1; \
1618 fi; \
7a938933
ILT
1619 for p in $$list; do \
1620 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1621 echo "$$d$$p"; \
1622 done | $(am__base_list) | \
1623 while read files; do \
ac819ba5
ILT
1624 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgocontainerdir)'"; \
1625 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgocontainerdir)" || exit $$?; \
7a938933
ILT
1626 done
1627
ac819ba5 1628uninstall-toolexeclibgocontainerDATA:
7a938933 1629 @$(NORMAL_UNINSTALL)
ac819ba5 1630 @list='$(toolexeclibgocontainer_DATA)'; test -n "$(toolexeclibgocontainerdir)" || list=; \
7a938933 1631 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1632 dir='$(DESTDIR)$(toolexeclibgocontainerdir)'; $(am__uninstall_files_from_dir)
ac819ba5 1633install-toolexeclibgocryptoDATA: $(toolexeclibgocrypto_DATA)
7a938933 1634 @$(NORMAL_INSTALL)
ac819ba5 1635 @list='$(toolexeclibgocrypto_DATA)'; test -n "$(toolexeclibgocryptodir)" || list=; \
44c925bd
ILT
1636 if test -n "$$list"; then \
1637 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgocryptodir)'"; \
1638 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgocryptodir)" || exit 1; \
1639 fi; \
7a938933
ILT
1640 for p in $$list; do \
1641 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1642 echo "$$d$$p"; \
1643 done | $(am__base_list) | \
1644 while read files; do \
ac819ba5
ILT
1645 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgocryptodir)'"; \
1646 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgocryptodir)" || exit $$?; \
7a938933
ILT
1647 done
1648
ac819ba5 1649uninstall-toolexeclibgocryptoDATA:
7a938933 1650 @$(NORMAL_UNINSTALL)
ac819ba5 1651 @list='$(toolexeclibgocrypto_DATA)'; test -n "$(toolexeclibgocryptodir)" || list=; \
7a938933 1652 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1653 dir='$(DESTDIR)$(toolexeclibgocryptodir)'; $(am__uninstall_files_from_dir)
adb0401d
ILT
1654install-toolexeclibgocryptox509DATA: $(toolexeclibgocryptox509_DATA)
1655 @$(NORMAL_INSTALL)
adb0401d 1656 @list='$(toolexeclibgocryptox509_DATA)'; test -n "$(toolexeclibgocryptox509dir)" || list=; \
44c925bd
ILT
1657 if test -n "$$list"; then \
1658 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgocryptox509dir)'"; \
1659 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgocryptox509dir)" || exit 1; \
1660 fi; \
adb0401d
ILT
1661 for p in $$list; do \
1662 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1663 echo "$$d$$p"; \
1664 done | $(am__base_list) | \
1665 while read files; do \
1666 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgocryptox509dir)'"; \
1667 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgocryptox509dir)" || exit $$?; \
1668 done
1669
1670uninstall-toolexeclibgocryptox509DATA:
1671 @$(NORMAL_UNINSTALL)
1672 @list='$(toolexeclibgocryptox509_DATA)'; test -n "$(toolexeclibgocryptox509dir)" || list=; \
1673 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1674 dir='$(DESTDIR)$(toolexeclibgocryptox509dir)'; $(am__uninstall_files_from_dir)
af92e385
ILT
1675install-toolexeclibgodatabaseDATA: $(toolexeclibgodatabase_DATA)
1676 @$(NORMAL_INSTALL)
af92e385 1677 @list='$(toolexeclibgodatabase_DATA)'; test -n "$(toolexeclibgodatabasedir)" || list=; \
44c925bd
ILT
1678 if test -n "$$list"; then \
1679 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgodatabasedir)'"; \
1680 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgodatabasedir)" || exit 1; \
1681 fi; \
af92e385
ILT
1682 for p in $$list; do \
1683 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1684 echo "$$d$$p"; \
1685 done | $(am__base_list) | \
1686 while read files; do \
1687 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgodatabasedir)'"; \
1688 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgodatabasedir)" || exit $$?; \
1689 done
1690
1691uninstall-toolexeclibgodatabaseDATA:
1692 @$(NORMAL_UNINSTALL)
1693 @list='$(toolexeclibgodatabase_DATA)'; test -n "$(toolexeclibgodatabasedir)" || list=; \
1694 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1695 dir='$(DESTDIR)$(toolexeclibgodatabasedir)'; $(am__uninstall_files_from_dir)
af92e385
ILT
1696install-toolexeclibgodatabasesqlDATA: $(toolexeclibgodatabasesql_DATA)
1697 @$(NORMAL_INSTALL)
af92e385 1698 @list='$(toolexeclibgodatabasesql_DATA)'; test -n "$(toolexeclibgodatabasesqldir)" || list=; \
44c925bd
ILT
1699 if test -n "$$list"; then \
1700 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgodatabasesqldir)'"; \
1701 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgodatabasesqldir)" || exit 1; \
1702 fi; \
af92e385
ILT
1703 for p in $$list; do \
1704 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1705 echo "$$d$$p"; \
1706 done | $(am__base_list) | \
1707 while read files; do \
1708 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgodatabasesqldir)'"; \
1709 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgodatabasesqldir)" || exit $$?; \
1710 done
1711
1712uninstall-toolexeclibgodatabasesqlDATA:
1713 @$(NORMAL_UNINSTALL)
1714 @list='$(toolexeclibgodatabasesql_DATA)'; test -n "$(toolexeclibgodatabasesqldir)" || list=; \
1715 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1716 dir='$(DESTDIR)$(toolexeclibgodatabasesqldir)'; $(am__uninstall_files_from_dir)
ac819ba5 1717install-toolexeclibgodebugDATA: $(toolexeclibgodebug_DATA)
7a938933 1718 @$(NORMAL_INSTALL)
ac819ba5 1719 @list='$(toolexeclibgodebug_DATA)'; test -n "$(toolexeclibgodebugdir)" || list=; \
44c925bd
ILT
1720 if test -n "$$list"; then \
1721 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgodebugdir)'"; \
1722 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgodebugdir)" || exit 1; \
1723 fi; \
7a938933
ILT
1724 for p in $$list; do \
1725 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1726 echo "$$d$$p"; \
1727 done | $(am__base_list) | \
1728 while read files; do \
ac819ba5
ILT
1729 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgodebugdir)'"; \
1730 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgodebugdir)" || exit $$?; \
7a938933
ILT
1731 done
1732
ac819ba5 1733uninstall-toolexeclibgodebugDATA:
7a938933 1734 @$(NORMAL_UNINSTALL)
ac819ba5 1735 @list='$(toolexeclibgodebug_DATA)'; test -n "$(toolexeclibgodebugdir)" || list=; \
7a938933 1736 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1737 dir='$(DESTDIR)$(toolexeclibgodebugdir)'; $(am__uninstall_files_from_dir)
ac819ba5 1738install-toolexeclibgoencodingDATA: $(toolexeclibgoencoding_DATA)
7a938933 1739 @$(NORMAL_INSTALL)
ac819ba5 1740 @list='$(toolexeclibgoencoding_DATA)'; test -n "$(toolexeclibgoencodingdir)" || list=; \
44c925bd
ILT
1741 if test -n "$$list"; then \
1742 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgoencodingdir)'"; \
1743 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgoencodingdir)" || exit 1; \
1744 fi; \
7a938933
ILT
1745 for p in $$list; do \
1746 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1747 echo "$$d$$p"; \
1748 done | $(am__base_list) | \
1749 while read files; do \
ac819ba5
ILT
1750 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgoencodingdir)'"; \
1751 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgoencodingdir)" || exit $$?; \
7a938933
ILT
1752 done
1753
ac819ba5 1754uninstall-toolexeclibgoencodingDATA:
7a938933 1755 @$(NORMAL_UNINSTALL)
ac819ba5 1756 @list='$(toolexeclibgoencoding_DATA)'; test -n "$(toolexeclibgoencodingdir)" || list=; \
7a938933 1757 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1758 dir='$(DESTDIR)$(toolexeclibgoencodingdir)'; $(am__uninstall_files_from_dir)
ac819ba5 1759install-toolexeclibgogoDATA: $(toolexeclibgogo_DATA)
7a938933 1760 @$(NORMAL_INSTALL)
ac819ba5 1761 @list='$(toolexeclibgogo_DATA)'; test -n "$(toolexeclibgogodir)" || list=; \
44c925bd
ILT
1762 if test -n "$$list"; then \
1763 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgogodir)'"; \
1764 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgogodir)" || exit 1; \
1765 fi; \
7a938933
ILT
1766 for p in $$list; do \
1767 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1768 echo "$$d$$p"; \
1769 done | $(am__base_list) | \
1770 while read files; do \
ac819ba5
ILT
1771 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgogodir)'"; \
1772 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgogodir)" || exit $$?; \
7a938933
ILT
1773 done
1774
ac819ba5 1775uninstall-toolexeclibgogoDATA:
7a938933 1776 @$(NORMAL_UNINSTALL)
ac819ba5 1777 @list='$(toolexeclibgogo_DATA)'; test -n "$(toolexeclibgogodir)" || list=; \
7a938933 1778 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1779 dir='$(DESTDIR)$(toolexeclibgogodir)'; $(am__uninstall_files_from_dir)
ac819ba5 1780install-toolexeclibgohashDATA: $(toolexeclibgohash_DATA)
7a938933 1781 @$(NORMAL_INSTALL)
ac819ba5 1782 @list='$(toolexeclibgohash_DATA)'; test -n "$(toolexeclibgohashdir)" || list=; \
44c925bd
ILT
1783 if test -n "$$list"; then \
1784 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgohashdir)'"; \
1785 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgohashdir)" || exit 1; \
1786 fi; \
7a938933
ILT
1787 for p in $$list; do \
1788 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1789 echo "$$d$$p"; \
1790 done | $(am__base_list) | \
1791 while read files; do \
ac819ba5
ILT
1792 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgohashdir)'"; \
1793 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgohashdir)" || exit $$?; \
7a938933
ILT
1794 done
1795
ac819ba5 1796uninstall-toolexeclibgohashDATA:
7a938933 1797 @$(NORMAL_UNINSTALL)
ac819ba5 1798 @list='$(toolexeclibgohash_DATA)'; test -n "$(toolexeclibgohashdir)" || list=; \
7a938933 1799 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1800 dir='$(DESTDIR)$(toolexeclibgohashdir)'; $(am__uninstall_files_from_dir)
9c63abc9 1801install-toolexeclibgohtmlDATA: $(toolexeclibgohtml_DATA)
7a938933 1802 @$(NORMAL_INSTALL)
9c63abc9 1803 @list='$(toolexeclibgohtml_DATA)'; test -n "$(toolexeclibgohtmldir)" || list=; \
44c925bd
ILT
1804 if test -n "$$list"; then \
1805 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgohtmldir)'"; \
1806 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgohtmldir)" || exit 1; \
1807 fi; \
7a938933
ILT
1808 for p in $$list; do \
1809 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1810 echo "$$d$$p"; \
1811 done | $(am__base_list) | \
1812 while read files; do \
9c63abc9
ILT
1813 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgohtmldir)'"; \
1814 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgohtmldir)" || exit $$?; \
7a938933
ILT
1815 done
1816
9c63abc9 1817uninstall-toolexeclibgohtmlDATA:
7a938933 1818 @$(NORMAL_UNINSTALL)
9c63abc9 1819 @list='$(toolexeclibgohtml_DATA)'; test -n "$(toolexeclibgohtmldir)" || list=; \
7a938933 1820 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1821 dir='$(DESTDIR)$(toolexeclibgohtmldir)'; $(am__uninstall_files_from_dir)
ac819ba5 1822install-toolexeclibgoimageDATA: $(toolexeclibgoimage_DATA)
7a938933 1823 @$(NORMAL_INSTALL)
ac819ba5 1824 @list='$(toolexeclibgoimage_DATA)'; test -n "$(toolexeclibgoimagedir)" || list=; \
44c925bd
ILT
1825 if test -n "$$list"; then \
1826 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgoimagedir)'"; \
1827 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgoimagedir)" || exit 1; \
1828 fi; \
7a938933
ILT
1829 for p in $$list; do \
1830 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1831 echo "$$d$$p"; \
1832 done | $(am__base_list) | \
1833 while read files; do \
ac819ba5
ILT
1834 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgoimagedir)'"; \
1835 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgoimagedir)" || exit $$?; \
7a938933
ILT
1836 done
1837
ac819ba5 1838uninstall-toolexeclibgoimageDATA:
7a938933 1839 @$(NORMAL_UNINSTALL)
ac819ba5 1840 @list='$(toolexeclibgoimage_DATA)'; test -n "$(toolexeclibgoimagedir)" || list=; \
7a938933 1841 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1842 dir='$(DESTDIR)$(toolexeclibgoimagedir)'; $(am__uninstall_files_from_dir)
f038dae6
ILT
1843install-toolexeclibgoimagecolorDATA: $(toolexeclibgoimagecolor_DATA)
1844 @$(NORMAL_INSTALL)
f038dae6 1845 @list='$(toolexeclibgoimagecolor_DATA)'; test -n "$(toolexeclibgoimagecolordir)" || list=; \
44c925bd
ILT
1846 if test -n "$$list"; then \
1847 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgoimagecolordir)'"; \
1848 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgoimagecolordir)" || exit 1; \
1849 fi; \
f038dae6
ILT
1850 for p in $$list; do \
1851 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1852 echo "$$d$$p"; \
1853 done | $(am__base_list) | \
1854 while read files; do \
1855 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgoimagecolordir)'"; \
1856 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgoimagecolordir)" || exit $$?; \
1857 done
1858
1859uninstall-toolexeclibgoimagecolorDATA:
1860 @$(NORMAL_UNINSTALL)
1861 @list='$(toolexeclibgoimagecolor_DATA)'; test -n "$(toolexeclibgoimagecolordir)" || list=; \
1862 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1863 dir='$(DESTDIR)$(toolexeclibgoimagecolordir)'; $(am__uninstall_files_from_dir)
ac819ba5 1864install-toolexeclibgoindexDATA: $(toolexeclibgoindex_DATA)
7a938933 1865 @$(NORMAL_INSTALL)
ac819ba5 1866 @list='$(toolexeclibgoindex_DATA)'; test -n "$(toolexeclibgoindexdir)" || list=; \
44c925bd
ILT
1867 if test -n "$$list"; then \
1868 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgoindexdir)'"; \
1869 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgoindexdir)" || exit 1; \
1870 fi; \
7a938933
ILT
1871 for p in $$list; do \
1872 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1873 echo "$$d$$p"; \
1874 done | $(am__base_list) | \
1875 while read files; do \
ac819ba5
ILT
1876 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgoindexdir)'"; \
1877 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgoindexdir)" || exit $$?; \
7a938933
ILT
1878 done
1879
ac819ba5 1880uninstall-toolexeclibgoindexDATA:
7a938933 1881 @$(NORMAL_UNINSTALL)
ac819ba5 1882 @list='$(toolexeclibgoindex_DATA)'; test -n "$(toolexeclibgoindexdir)" || list=; \
7a938933 1883 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1884 dir='$(DESTDIR)$(toolexeclibgoindexdir)'; $(am__uninstall_files_from_dir)
72700543
ILT
1885install-toolexeclibgointernalDATA: $(toolexeclibgointernal_DATA)
1886 @$(NORMAL_INSTALL)
1887 @list='$(toolexeclibgointernal_DATA)'; test -n "$(toolexeclibgointernaldir)" || list=; \
1888 if test -n "$$list"; then \
1889 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgointernaldir)'"; \
1890 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgointernaldir)" || exit 1; \
1891 fi; \
1892 for p in $$list; do \
1893 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1894 echo "$$d$$p"; \
1895 done | $(am__base_list) | \
1896 while read files; do \
1897 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgointernaldir)'"; \
1898 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgointernaldir)" || exit $$?; \
1899 done
1900
1901uninstall-toolexeclibgointernalDATA:
1902 @$(NORMAL_UNINSTALL)
1903 @list='$(toolexeclibgointernal_DATA)'; test -n "$(toolexeclibgointernaldir)" || list=; \
1904 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1905 dir='$(DESTDIR)$(toolexeclibgointernaldir)'; $(am__uninstall_files_from_dir)
ac819ba5 1906install-toolexeclibgoioDATA: $(toolexeclibgoio_DATA)
7a938933 1907 @$(NORMAL_INSTALL)
ac819ba5 1908 @list='$(toolexeclibgoio_DATA)'; test -n "$(toolexeclibgoiodir)" || list=; \
44c925bd
ILT
1909 if test -n "$$list"; then \
1910 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgoiodir)'"; \
1911 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgoiodir)" || exit 1; \
1912 fi; \
7a938933
ILT
1913 for p in $$list; do \
1914 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1915 echo "$$d$$p"; \
1916 done | $(am__base_list) | \
1917 while read files; do \
ac819ba5
ILT
1918 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgoiodir)'"; \
1919 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgoiodir)" || exit $$?; \
7a938933
ILT
1920 done
1921
ac819ba5 1922uninstall-toolexeclibgoioDATA:
7a938933 1923 @$(NORMAL_UNINSTALL)
ac819ba5 1924 @list='$(toolexeclibgoio_DATA)'; test -n "$(toolexeclibgoiodir)" || list=; \
7a938933 1925 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1926 dir='$(DESTDIR)$(toolexeclibgoiodir)'; $(am__uninstall_files_from_dir)
9c63abc9
ILT
1927install-toolexeclibgologDATA: $(toolexeclibgolog_DATA)
1928 @$(NORMAL_INSTALL)
9c63abc9 1929 @list='$(toolexeclibgolog_DATA)'; test -n "$(toolexeclibgologdir)" || list=; \
44c925bd
ILT
1930 if test -n "$$list"; then \
1931 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgologdir)'"; \
1932 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgologdir)" || exit 1; \
1933 fi; \
9c63abc9
ILT
1934 for p in $$list; do \
1935 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1936 echo "$$d$$p"; \
1937 done | $(am__base_list) | \
1938 while read files; do \
1939 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgologdir)'"; \
1940 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgologdir)" || exit $$?; \
1941 done
1942
1943uninstall-toolexeclibgologDATA:
1944 @$(NORMAL_UNINSTALL)
1945 @list='$(toolexeclibgolog_DATA)'; test -n "$(toolexeclibgologdir)" || list=; \
1946 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1947 dir='$(DESTDIR)$(toolexeclibgologdir)'; $(am__uninstall_files_from_dir)
9c63abc9
ILT
1948install-toolexeclibgomathDATA: $(toolexeclibgomath_DATA)
1949 @$(NORMAL_INSTALL)
9c63abc9 1950 @list='$(toolexeclibgomath_DATA)'; test -n "$(toolexeclibgomathdir)" || list=; \
44c925bd
ILT
1951 if test -n "$$list"; then \
1952 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgomathdir)'"; \
1953 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgomathdir)" || exit 1; \
1954 fi; \
9c63abc9
ILT
1955 for p in $$list; do \
1956 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1957 echo "$$d$$p"; \
1958 done | $(am__base_list) | \
1959 while read files; do \
1960 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgomathdir)'"; \
1961 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgomathdir)" || exit $$?; \
1962 done
1963
1964uninstall-toolexeclibgomathDATA:
1965 @$(NORMAL_UNINSTALL)
1966 @list='$(toolexeclibgomath_DATA)'; test -n "$(toolexeclibgomathdir)" || list=; \
1967 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1968 dir='$(DESTDIR)$(toolexeclibgomathdir)'; $(am__uninstall_files_from_dir)
ac819ba5 1969install-toolexeclibgomimeDATA: $(toolexeclibgomime_DATA)
7a938933 1970 @$(NORMAL_INSTALL)
ac819ba5 1971 @list='$(toolexeclibgomime_DATA)'; test -n "$(toolexeclibgomimedir)" || list=; \
44c925bd
ILT
1972 if test -n "$$list"; then \
1973 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgomimedir)'"; \
1974 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgomimedir)" || exit 1; \
1975 fi; \
7a938933
ILT
1976 for p in $$list; do \
1977 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1978 echo "$$d$$p"; \
1979 done | $(am__base_list) | \
1980 while read files; do \
ac819ba5
ILT
1981 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgomimedir)'"; \
1982 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgomimedir)" || exit $$?; \
7a938933
ILT
1983 done
1984
ac819ba5 1985uninstall-toolexeclibgomimeDATA:
7a938933 1986 @$(NORMAL_UNINSTALL)
ac819ba5 1987 @list='$(toolexeclibgomime_DATA)'; test -n "$(toolexeclibgomimedir)" || list=; \
7a938933 1988 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 1989 dir='$(DESTDIR)$(toolexeclibgomimedir)'; $(am__uninstall_files_from_dir)
ac819ba5 1990install-toolexeclibgonetDATA: $(toolexeclibgonet_DATA)
7a938933 1991 @$(NORMAL_INSTALL)
ac819ba5 1992 @list='$(toolexeclibgonet_DATA)'; test -n "$(toolexeclibgonetdir)" || list=; \
44c925bd
ILT
1993 if test -n "$$list"; then \
1994 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgonetdir)'"; \
1995 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgonetdir)" || exit 1; \
1996 fi; \
7a938933
ILT
1997 for p in $$list; do \
1998 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1999 echo "$$d$$p"; \
2000 done | $(am__base_list) | \
2001 while read files; do \
ac819ba5
ILT
2002 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgonetdir)'"; \
2003 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgonetdir)" || exit $$?; \
7a938933
ILT
2004 done
2005
ac819ba5 2006uninstall-toolexeclibgonetDATA:
7a938933 2007 @$(NORMAL_UNINSTALL)
ac819ba5 2008 @list='$(toolexeclibgonet_DATA)'; test -n "$(toolexeclibgonetdir)" || list=; \
7a938933 2009 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 2010 dir='$(DESTDIR)$(toolexeclibgonetdir)'; $(am__uninstall_files_from_dir)
9c63abc9
ILT
2011install-toolexeclibgonethttpDATA: $(toolexeclibgonethttp_DATA)
2012 @$(NORMAL_INSTALL)
9c63abc9 2013 @list='$(toolexeclibgonethttp_DATA)'; test -n "$(toolexeclibgonethttpdir)" || list=; \
44c925bd
ILT
2014 if test -n "$$list"; then \
2015 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgonethttpdir)'"; \
2016 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgonethttpdir)" || exit 1; \
2017 fi; \
9c63abc9
ILT
2018 for p in $$list; do \
2019 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
2020 echo "$$d$$p"; \
2021 done | $(am__base_list) | \
2022 while read files; do \
2023 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgonethttpdir)'"; \
2024 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgonethttpdir)" || exit $$?; \
2025 done
2026
2027uninstall-toolexeclibgonethttpDATA:
2028 @$(NORMAL_UNINSTALL)
2029 @list='$(toolexeclibgonethttp_DATA)'; test -n "$(toolexeclibgonethttpdir)" || list=; \
2030 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 2031 dir='$(DESTDIR)$(toolexeclibgonethttpdir)'; $(am__uninstall_files_from_dir)
9c63abc9
ILT
2032install-toolexeclibgonetrpcDATA: $(toolexeclibgonetrpc_DATA)
2033 @$(NORMAL_INSTALL)
9c63abc9 2034 @list='$(toolexeclibgonetrpc_DATA)'; test -n "$(toolexeclibgonetrpcdir)" || list=; \
44c925bd
ILT
2035 if test -n "$$list"; then \
2036 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgonetrpcdir)'"; \
2037 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgonetrpcdir)" || exit 1; \
2038 fi; \
9c63abc9
ILT
2039 for p in $$list; do \
2040 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
2041 echo "$$d$$p"; \
2042 done | $(am__base_list) | \
2043 while read files; do \
2044 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgonetrpcdir)'"; \
2045 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgonetrpcdir)" || exit $$?; \
2046 done
2047
2048uninstall-toolexeclibgonetrpcDATA:
2049 @$(NORMAL_UNINSTALL)
2050 @list='$(toolexeclibgonetrpc_DATA)'; test -n "$(toolexeclibgonetrpcdir)" || list=; \
2051 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 2052 dir='$(DESTDIR)$(toolexeclibgonetrpcdir)'; $(am__uninstall_files_from_dir)
ac819ba5 2053install-toolexeclibgoosDATA: $(toolexeclibgoos_DATA)
7a938933 2054 @$(NORMAL_INSTALL)
ac819ba5 2055 @list='$(toolexeclibgoos_DATA)'; test -n "$(toolexeclibgoosdir)" || list=; \
44c925bd
ILT
2056 if test -n "$$list"; then \
2057 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgoosdir)'"; \
2058 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgoosdir)" || exit 1; \
2059 fi; \
7a938933
ILT
2060 for p in $$list; do \
2061 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
2062 echo "$$d$$p"; \
2063 done | $(am__base_list) | \
2064 while read files; do \
ac819ba5
ILT
2065 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgoosdir)'"; \
2066 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgoosdir)" || exit $$?; \
7a938933
ILT
2067 done
2068
ac819ba5 2069uninstall-toolexeclibgoosDATA:
7a938933 2070 @$(NORMAL_UNINSTALL)
ac819ba5 2071 @list='$(toolexeclibgoos_DATA)'; test -n "$(toolexeclibgoosdir)" || list=; \
7a938933 2072 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 2073 dir='$(DESTDIR)$(toolexeclibgoosdir)'; $(am__uninstall_files_from_dir)
8039ca76
ILT
2074install-toolexeclibgopathDATA: $(toolexeclibgopath_DATA)
2075 @$(NORMAL_INSTALL)
8039ca76 2076 @list='$(toolexeclibgopath_DATA)'; test -n "$(toolexeclibgopathdir)" || list=; \
44c925bd
ILT
2077 if test -n "$$list"; then \
2078 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgopathdir)'"; \
2079 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgopathdir)" || exit 1; \
2080 fi; \
8039ca76
ILT
2081 for p in $$list; do \
2082 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
2083 echo "$$d$$p"; \
2084 done | $(am__base_list) | \
2085 while read files; do \
2086 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgopathdir)'"; \
2087 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgopathdir)" || exit $$?; \
2088 done
2089
2090uninstall-toolexeclibgopathDATA:
2091 @$(NORMAL_UNINSTALL)
2092 @list='$(toolexeclibgopath_DATA)'; test -n "$(toolexeclibgopathdir)" || list=; \
2093 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 2094 dir='$(DESTDIR)$(toolexeclibgopathdir)'; $(am__uninstall_files_from_dir)
d8f41257
ILT
2095install-toolexeclibgoregexpDATA: $(toolexeclibgoregexp_DATA)
2096 @$(NORMAL_INSTALL)
d8f41257 2097 @list='$(toolexeclibgoregexp_DATA)'; test -n "$(toolexeclibgoregexpdir)" || list=; \
44c925bd
ILT
2098 if test -n "$$list"; then \
2099 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgoregexpdir)'"; \
2100 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgoregexpdir)" || exit 1; \
2101 fi; \
d8f41257
ILT
2102 for p in $$list; do \
2103 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
2104 echo "$$d$$p"; \
2105 done | $(am__base_list) | \
2106 while read files; do \
2107 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgoregexpdir)'"; \
2108 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgoregexpdir)" || exit $$?; \
2109 done
2110
2111uninstall-toolexeclibgoregexpDATA:
2112 @$(NORMAL_UNINSTALL)
2113 @list='$(toolexeclibgoregexp_DATA)'; test -n "$(toolexeclibgoregexpdir)" || list=; \
2114 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 2115 dir='$(DESTDIR)$(toolexeclibgoregexpdir)'; $(am__uninstall_files_from_dir)
ac819ba5 2116install-toolexeclibgoruntimeDATA: $(toolexeclibgoruntime_DATA)
7a938933 2117 @$(NORMAL_INSTALL)
ac819ba5 2118 @list='$(toolexeclibgoruntime_DATA)'; test -n "$(toolexeclibgoruntimedir)" || list=; \
44c925bd
ILT
2119 if test -n "$$list"; then \
2120 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgoruntimedir)'"; \
2121 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgoruntimedir)" || exit 1; \
2122 fi; \
7a938933
ILT
2123 for p in $$list; do \
2124 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
2125 echo "$$d$$p"; \
2126 done | $(am__base_list) | \
2127 while read files; do \
ac819ba5
ILT
2128 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgoruntimedir)'"; \
2129 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgoruntimedir)" || exit $$?; \
7a938933
ILT
2130 done
2131
ac819ba5 2132uninstall-toolexeclibgoruntimeDATA:
7a938933 2133 @$(NORMAL_UNINSTALL)
ac819ba5 2134 @list='$(toolexeclibgoruntime_DATA)'; test -n "$(toolexeclibgoruntimedir)" || list=; \
7a938933 2135 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 2136 dir='$(DESTDIR)$(toolexeclibgoruntimedir)'; $(am__uninstall_files_from_dir)
5133f00e
ILT
2137install-toolexeclibgosyncDATA: $(toolexeclibgosync_DATA)
2138 @$(NORMAL_INSTALL)
5133f00e 2139 @list='$(toolexeclibgosync_DATA)'; test -n "$(toolexeclibgosyncdir)" || list=; \
44c925bd
ILT
2140 if test -n "$$list"; then \
2141 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgosyncdir)'"; \
2142 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgosyncdir)" || exit 1; \
2143 fi; \
5133f00e
ILT
2144 for p in $$list; do \
2145 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
2146 echo "$$d$$p"; \
2147 done | $(am__base_list) | \
2148 while read files; do \
2149 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgosyncdir)'"; \
2150 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgosyncdir)" || exit $$?; \
2151 done
2152
2153uninstall-toolexeclibgosyncDATA:
2154 @$(NORMAL_UNINSTALL)
2155 @list='$(toolexeclibgosync_DATA)'; test -n "$(toolexeclibgosyncdir)" || list=; \
2156 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 2157 dir='$(DESTDIR)$(toolexeclibgosyncdir)'; $(am__uninstall_files_from_dir)
9c63abc9 2158install-toolexeclibgotestingDATA: $(toolexeclibgotesting_DATA)
adb0401d 2159 @$(NORMAL_INSTALL)
9c63abc9 2160 @list='$(toolexeclibgotesting_DATA)'; test -n "$(toolexeclibgotestingdir)" || list=; \
44c925bd
ILT
2161 if test -n "$$list"; then \
2162 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgotestingdir)'"; \
2163 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgotestingdir)" || exit 1; \
2164 fi; \
adb0401d
ILT
2165 for p in $$list; do \
2166 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
2167 echo "$$d$$p"; \
2168 done | $(am__base_list) | \
2169 while read files; do \
9c63abc9
ILT
2170 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgotestingdir)'"; \
2171 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgotestingdir)" || exit $$?; \
adb0401d
ILT
2172 done
2173
9c63abc9 2174uninstall-toolexeclibgotestingDATA:
adb0401d 2175 @$(NORMAL_UNINSTALL)
9c63abc9 2176 @list='$(toolexeclibgotesting_DATA)'; test -n "$(toolexeclibgotestingdir)" || list=; \
adb0401d 2177 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 2178 dir='$(DESTDIR)$(toolexeclibgotestingdir)'; $(am__uninstall_files_from_dir)
4a5b8060
ILT
2179install-toolexeclibgotestinginternalDATA: $(toolexeclibgotestinginternal_DATA)
2180 @$(NORMAL_INSTALL)
2181 @list='$(toolexeclibgotestinginternal_DATA)'; test -n "$(toolexeclibgotestinginternaldir)" || list=; \
2182 if test -n "$$list"; then \
2183 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgotestinginternaldir)'"; \
2184 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgotestinginternaldir)" || exit 1; \
2185 fi; \
2186 for p in $$list; do \
2187 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
2188 echo "$$d$$p"; \
2189 done | $(am__base_list) | \
2190 while read files; do \
2191 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgotestinginternaldir)'"; \
2192 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgotestinginternaldir)" || exit $$?; \
2193 done
2194
2195uninstall-toolexeclibgotestinginternalDATA:
2196 @$(NORMAL_UNINSTALL)
2197 @list='$(toolexeclibgotestinginternal_DATA)'; test -n "$(toolexeclibgotestinginternaldir)" || list=; \
2198 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
2199 dir='$(DESTDIR)$(toolexeclibgotestinginternaldir)'; $(am__uninstall_files_from_dir)
9c63abc9 2200install-toolexeclibgotextDATA: $(toolexeclibgotext_DATA)
7a938933 2201 @$(NORMAL_INSTALL)
9c63abc9 2202 @list='$(toolexeclibgotext_DATA)'; test -n "$(toolexeclibgotextdir)" || list=; \
44c925bd
ILT
2203 if test -n "$$list"; then \
2204 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgotextdir)'"; \
2205 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgotextdir)" || exit 1; \
2206 fi; \
7a938933
ILT
2207 for p in $$list; do \
2208 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
2209 echo "$$d$$p"; \
2210 done | $(am__base_list) | \
2211 while read files; do \
9c63abc9
ILT
2212 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgotextdir)'"; \
2213 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgotextdir)" || exit $$?; \
7a938933
ILT
2214 done
2215
9c63abc9 2216uninstall-toolexeclibgotextDATA:
7a938933 2217 @$(NORMAL_UNINSTALL)
9c63abc9 2218 @list='$(toolexeclibgotext_DATA)'; test -n "$(toolexeclibgotextdir)" || list=; \
7a938933 2219 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 2220 dir='$(DESTDIR)$(toolexeclibgotextdir)'; $(am__uninstall_files_from_dir)
9c63abc9
ILT
2221install-toolexeclibgotexttemplateDATA: $(toolexeclibgotexttemplate_DATA)
2222 @$(NORMAL_INSTALL)
9c63abc9 2223 @list='$(toolexeclibgotexttemplate_DATA)'; test -n "$(toolexeclibgotexttemplatedir)" || list=; \
44c925bd
ILT
2224 if test -n "$$list"; then \
2225 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgotexttemplatedir)'"; \
2226 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgotexttemplatedir)" || exit 1; \
2227 fi; \
9c63abc9
ILT
2228 for p in $$list; do \
2229 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
2230 echo "$$d$$p"; \
2231 done | $(am__base_list) | \
2232 while read files; do \
2233 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgotexttemplatedir)'"; \
2234 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgotexttemplatedir)" || exit $$?; \
2235 done
2236
2237uninstall-toolexeclibgotexttemplateDATA:
2238 @$(NORMAL_UNINSTALL)
2239 @list='$(toolexeclibgotexttemplate_DATA)'; test -n "$(toolexeclibgotexttemplatedir)" || list=; \
2240 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 2241 dir='$(DESTDIR)$(toolexeclibgotexttemplatedir)'; $(am__uninstall_files_from_dir)
f75af8c1
ILT
2242install-toolexeclibgotimeDATA: $(toolexeclibgotime_DATA)
2243 @$(NORMAL_INSTALL)
2244 @list='$(toolexeclibgotime_DATA)'; test -n "$(toolexeclibgotimedir)" || list=; \
2245 if test -n "$$list"; then \
2246 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgotimedir)'"; \
2247 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgotimedir)" || exit 1; \
2248 fi; \
2249 for p in $$list; do \
2250 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
2251 echo "$$d$$p"; \
2252 done | $(am__base_list) | \
2253 while read files; do \
2254 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgotimedir)'"; \
2255 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgotimedir)" || exit $$?; \
2256 done
2257
2258uninstall-toolexeclibgotimeDATA:
2259 @$(NORMAL_UNINSTALL)
2260 @list='$(toolexeclibgotime_DATA)'; test -n "$(toolexeclibgotimedir)" || list=; \
2261 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
2262 dir='$(DESTDIR)$(toolexeclibgotimedir)'; $(am__uninstall_files_from_dir)
9c63abc9
ILT
2263install-toolexeclibgounicodeDATA: $(toolexeclibgounicode_DATA)
2264 @$(NORMAL_INSTALL)
9c63abc9 2265 @list='$(toolexeclibgounicode_DATA)'; test -n "$(toolexeclibgounicodedir)" || list=; \
44c925bd
ILT
2266 if test -n "$$list"; then \
2267 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibgounicodedir)'"; \
2268 $(MKDIR_P) "$(DESTDIR)$(toolexeclibgounicodedir)" || exit 1; \
2269 fi; \
9c63abc9
ILT
2270 for p in $$list; do \
2271 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
2272 echo "$$d$$p"; \
2273 done | $(am__base_list) | \
2274 while read files; do \
2275 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toolexeclibgounicodedir)'"; \
2276 $(INSTALL_DATA) $$files "$(DESTDIR)$(toolexeclibgounicodedir)" || exit $$?; \
2277 done
2278
2279uninstall-toolexeclibgounicodeDATA:
2280 @$(NORMAL_UNINSTALL)
2281 @list='$(toolexeclibgounicode_DATA)'; test -n "$(toolexeclibgounicodedir)" || list=; \
2282 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
44c925bd 2283 dir='$(DESTDIR)$(toolexeclibgounicodedir)'; $(am__uninstall_files_from_dir)
7a938933
ILT
2284
2285# This directory's subdirectories are mostly independent; you can cd
73b6d7a9
ILT
2286# into them and run 'make' without going through this Makefile.
2287# To change the values of 'make' variables: instead of editing Makefiles,
2288# (1) if the variable is set in 'config.status', edit 'config.status'
2289# (which will cause the Makefiles to be regenerated when you run 'make');
2290# (2) otherwise, pass the desired values on the 'make' command line.
2291$(am__recursive_targets):
2292 @fail=; \
2293 if $(am__make_keepgoing); then \
2294 failcom='fail=yes'; \
2295 else \
2296 failcom='exit 1'; \
2297 fi; \
7a938933
ILT
2298 dot_seen=no; \
2299 target=`echo $@ | sed s/-recursive//`; \
73b6d7a9
ILT
2300 case "$@" in \
2301 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
2302 *) list='$(SUBDIRS)' ;; \
2303 esac; \
2304 for subdir in $$list; do \
7a938933
ILT
2305 echo "Making $$target in $$subdir"; \
2306 if test "$$subdir" = "."; then \
2307 dot_seen=yes; \
2308 local_target="$$target-am"; \
2309 else \
2310 local_target="$$target"; \
2311 fi; \
2312 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
2313 || eval $$failcom; \
2314 done; \
2315 if test "$$dot_seen" = "no"; then \
2316 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
2317 fi; test -z "$$fail"
2318
73b6d7a9
ILT
2319ID: $(am__tagged_files)
2320 $(am__define_uniq_tagged_files); mkid -fID $$unique
2321tags: tags-recursive
2322TAGS: tags
7a938933 2323
73b6d7a9 2324tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
7a938933
ILT
2325 set x; \
2326 here=`pwd`; \
2327 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
2328 include_option=--etags-include; \
2329 empty_fix=.; \
2330 else \
2331 include_option=--include; \
2332 empty_fix=; \
2333 fi; \
2334 list='$(SUBDIRS)'; for subdir in $$list; do \
2335 if test "$$subdir" = .; then :; else \
2336 test ! -f $$subdir/TAGS || \
2337 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
2338 fi; \
2339 done; \
73b6d7a9 2340 $(am__define_uniq_tagged_files); \
7a938933
ILT
2341 shift; \
2342 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
2343 test -n "$$unique" || unique=$$empty_fix; \
2344 if test $$# -gt 0; then \
2345 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
2346 "$$@" $$unique; \
2347 else \
2348 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
2349 $$unique; \
2350 fi; \
2351 fi
73b6d7a9
ILT
2352ctags: ctags-recursive
2353
2354CTAGS: ctags
2355ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
2356 $(am__define_uniq_tagged_files); \
7a938933
ILT
2357 test -z "$(CTAGS_ARGS)$$unique" \
2358 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
2359 $$unique
2360
2361GTAGS:
2362 here=`$(am__cd) $(top_builddir) && pwd` \
2363 && $(am__cd) $(top_srcdir) \
2364 && gtags -i $(GTAGS_ARGS) "$$here"
73b6d7a9
ILT
2365cscope: cscope.files
2366 test ! -s cscope.files \
2367 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
2368clean-cscope:
2369 -rm -f cscope.files
2370cscope.files: clean-cscope cscopelist
2371cscopelist: cscopelist-recursive
2372
2373cscopelist-am: $(am__tagged_files)
2374 list='$(am__tagged_files)'; \
2375 case "$(srcdir)" in \
2376 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
2377 *) sdir=$(subdir)/$(srcdir) ;; \
2378 esac; \
2379 for i in $$list; do \
2380 if test -f "$$i"; then \
2381 echo "$(subdir)/$$i"; \
2382 else \
2383 echo "$$sdir/$$i"; \
2384 fi; \
2385 done >> $(top_builddir)/cscope.files
7a938933
ILT
2386
2387distclean-tags:
2388 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
73b6d7a9 2389 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
7a938933
ILT
2390check-am: all-am
2391check: check-recursive
73b6d7a9
ILT
2392all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) config.h \
2393 all-local
7a938933
ILT
2394installdirs: installdirs-recursive
2395installdirs-am:
f75af8c1 2396 for dir in "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(toolexeclibgodir)" "$(DESTDIR)$(toolexeclibgoarchivedir)" "$(DESTDIR)$(toolexeclibgocompressdir)" "$(DESTDIR)$(toolexeclibgocontainerdir)" "$(DESTDIR)$(toolexeclibgocryptodir)" "$(DESTDIR)$(toolexeclibgocryptox509dir)" "$(DESTDIR)$(toolexeclibgodatabasedir)" "$(DESTDIR)$(toolexeclibgodatabasesqldir)" "$(DESTDIR)$(toolexeclibgodebugdir)" "$(DESTDIR)$(toolexeclibgoencodingdir)" "$(DESTDIR)$(toolexeclibgogodir)" "$(DESTDIR)$(toolexeclibgohashdir)" "$(DESTDIR)$(toolexeclibgohtmldir)" "$(DESTDIR)$(toolexeclibgoimagedir)" "$(DESTDIR)$(toolexeclibgoimagecolordir)" "$(DESTDIR)$(toolexeclibgoindexdir)" "$(DESTDIR)$(toolexeclibgointernaldir)" "$(DESTDIR)$(toolexeclibgoiodir)" "$(DESTDIR)$(toolexeclibgologdir)" "$(DESTDIR)$(toolexeclibgomathdir)" "$(DESTDIR)$(toolexeclibgomimedir)" "$(DESTDIR)$(toolexeclibgonetdir)" "$(DESTDIR)$(toolexeclibgonethttpdir)" "$(DESTDIR)$(toolexeclibgonetrpcdir)" "$(DESTDIR)$(toolexeclibgoosdir)" "$(DESTDIR)$(toolexeclibgopathdir)" "$(DESTDIR)$(toolexeclibgoregexpdir)" "$(DESTDIR)$(toolexeclibgoruntimedir)" "$(DESTDIR)$(toolexeclibgosyncdir)" "$(DESTDIR)$(toolexeclibgotestingdir)" "$(DESTDIR)$(toolexeclibgotestinginternaldir)" "$(DESTDIR)$(toolexeclibgotextdir)" "$(DESTDIR)$(toolexeclibgotexttemplatedir)" "$(DESTDIR)$(toolexeclibgotimedir)" "$(DESTDIR)$(toolexeclibgounicodedir)"; do \
7a938933
ILT
2397 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
2398 done
2399install: install-recursive
2400install-exec: install-exec-recursive
2401install-data: install-data-recursive
2402uninstall: uninstall-recursive
2403
2404install-am: all-am
2405 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
2406
2407installcheck: installcheck-recursive
2408install-strip:
44c925bd
ILT
2409 if test -z '$(STRIP)'; then \
2410 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
2411 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
2412 install; \
2413 else \
2414 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
2415 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
2416 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
2417 fi
7a938933 2418mostlyclean-generic:
f163907e 2419 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
7a938933
ILT
2420
2421clean-generic:
2422 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
2423
2424distclean-generic:
2425 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
2426 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
73b6d7a9
ILT
2427 -rm -f runtime/$(DEPDIR)/$(am__dirstamp)
2428 -rm -f runtime/$(am__dirstamp)
7a938933
ILT
2429
2430maintainer-clean-generic:
2431 @echo "This command is intended for maintainers to use"
2432 @echo "it deletes files that may require special tools to rebuild."
73b6d7a9 2433clean: clean-recursive
7a938933
ILT
2434
2435clean-am: clean-generic clean-libtool clean-local \
bc998d03
ILT
2436 clean-noinstLIBRARIES clean-toolexeclibLIBRARIES \
2437 clean-toolexeclibLTLIBRARIES mostlyclean-am
7a938933 2438
73b6d7a9 2439distclean: distclean-recursive
7a938933 2440 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
73b6d7a9 2441 -rm -rf runtime/$(DEPDIR)
7a938933
ILT
2442 -rm -f Makefile
2443distclean-am: clean-am distclean-compile distclean-generic \
f163907e 2444 distclean-hdr distclean-libtool distclean-local distclean-tags
7a938933
ILT
2445
2446dvi: dvi-recursive
2447
2448dvi-am:
2449
2450html: html-recursive
2451
2452html-am:
2453
2454info: info-recursive
2455
2456info-am:
2457
2458install-data-am:
2459
2460install-dvi: install-dvi-recursive
2461
2462install-dvi-am:
2463
73b6d7a9 2464install-exec-am: install-exec-local install-toolexeclibLIBRARIES \
ac819ba5
ILT
2465 install-toolexeclibLTLIBRARIES install-toolexeclibgoDATA \
2466 install-toolexeclibgoarchiveDATA \
2467 install-toolexeclibgocompressDATA \
2468 install-toolexeclibgocontainerDATA \
ff5f50c5 2469 install-toolexeclibgocryptoDATA \
adb0401d 2470 install-toolexeclibgocryptox509DATA \
af92e385
ILT
2471 install-toolexeclibgodatabaseDATA \
2472 install-toolexeclibgodatabasesqlDATA \
ff5f50c5 2473 install-toolexeclibgodebugDATA \
447fb74d
ILT
2474 install-toolexeclibgoencodingDATA install-toolexeclibgogoDATA \
2475 install-toolexeclibgohashDATA install-toolexeclibgohtmlDATA \
2476 install-toolexeclibgoimageDATA \
f038dae6 2477 install-toolexeclibgoimagecolorDATA \
72700543
ILT
2478 install-toolexeclibgoindexDATA \
2479 install-toolexeclibgointernalDATA install-toolexeclibgoioDATA \
af92e385
ILT
2480 install-toolexeclibgologDATA install-toolexeclibgomathDATA \
2481 install-toolexeclibgomimeDATA install-toolexeclibgonetDATA \
2482 install-toolexeclibgonethttpDATA \
d519aeda
ILT
2483 install-toolexeclibgonetrpcDATA install-toolexeclibgoosDATA \
2484 install-toolexeclibgopathDATA install-toolexeclibgoregexpDATA \
9c63abc9 2485 install-toolexeclibgoruntimeDATA install-toolexeclibgosyncDATA \
4a5b8060
ILT
2486 install-toolexeclibgotestingDATA \
2487 install-toolexeclibgotestinginternalDATA \
2488 install-toolexeclibgotextDATA \
9c63abc9 2489 install-toolexeclibgotexttemplateDATA \
f75af8c1 2490 install-toolexeclibgotimeDATA install-toolexeclibgounicodeDATA
7a938933
ILT
2491
2492install-html: install-html-recursive
2493
2494install-html-am:
2495
2496install-info: install-info-recursive
2497
2498install-info-am:
2499
2500install-man:
2501
2502install-pdf: install-pdf-recursive
2503
2504install-pdf-am:
2505
2506install-ps: install-ps-recursive
2507
2508install-ps-am:
2509
2510installcheck-am:
2511
73b6d7a9 2512maintainer-clean: maintainer-clean-recursive
7a938933
ILT
2513 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
2514 -rm -rf $(top_srcdir)/autom4te.cache
73b6d7a9 2515 -rm -rf runtime/$(DEPDIR)
7a938933 2516 -rm -f Makefile
73b6d7a9
ILT
2517maintainer-clean-am: distclean-am maintainer-clean-generic \
2518 maintainer-clean-local
7a938933 2519
73b6d7a9 2520mostlyclean: mostlyclean-recursive
7a938933
ILT
2521
2522mostlyclean-am: mostlyclean-compile mostlyclean-generic \
2523 mostlyclean-libtool mostlyclean-local
2524
2525pdf: pdf-recursive
2526
2527pdf-am:
2528
2529ps: ps-recursive
2530
2531ps-am:
2532
ac819ba5
ILT
2533uninstall-am: uninstall-toolexeclibLIBRARIES \
2534 uninstall-toolexeclibLTLIBRARIES uninstall-toolexeclibgoDATA \
2535 uninstall-toolexeclibgoarchiveDATA \
2536 uninstall-toolexeclibgocompressDATA \
2537 uninstall-toolexeclibgocontainerDATA \
2538 uninstall-toolexeclibgocryptoDATA \
adb0401d 2539 uninstall-toolexeclibgocryptox509DATA \
af92e385
ILT
2540 uninstall-toolexeclibgodatabaseDATA \
2541 uninstall-toolexeclibgodatabasesqlDATA \
ac819ba5
ILT
2542 uninstall-toolexeclibgodebugDATA \
2543 uninstall-toolexeclibgoencodingDATA \
447fb74d 2544 uninstall-toolexeclibgogoDATA uninstall-toolexeclibgohashDATA \
9c63abc9 2545 uninstall-toolexeclibgohtmlDATA \
ac819ba5 2546 uninstall-toolexeclibgoimageDATA \
f038dae6 2547 uninstall-toolexeclibgoimagecolorDATA \
72700543
ILT
2548 uninstall-toolexeclibgoindexDATA \
2549 uninstall-toolexeclibgointernalDATA \
2550 uninstall-toolexeclibgoioDATA uninstall-toolexeclibgologDATA \
2551 uninstall-toolexeclibgomathDATA \
ac819ba5 2552 uninstall-toolexeclibgomimeDATA uninstall-toolexeclibgonetDATA \
9c63abc9
ILT
2553 uninstall-toolexeclibgonethttpDATA \
2554 uninstall-toolexeclibgonetrpcDATA \
d519aeda 2555 uninstall-toolexeclibgoosDATA uninstall-toolexeclibgopathDATA \
d8f41257 2556 uninstall-toolexeclibgoregexpDATA \
ac819ba5 2557 uninstall-toolexeclibgoruntimeDATA \
5133f00e 2558 uninstall-toolexeclibgosyncDATA \
9c63abc9 2559 uninstall-toolexeclibgotestingDATA \
4a5b8060 2560 uninstall-toolexeclibgotestinginternalDATA \
9c63abc9
ILT
2561 uninstall-toolexeclibgotextDATA \
2562 uninstall-toolexeclibgotexttemplateDATA \
f75af8c1 2563 uninstall-toolexeclibgotimeDATA \
9c63abc9 2564 uninstall-toolexeclibgounicodeDATA
7a938933 2565
73b6d7a9
ILT
2566.MAKE: $(am__recursive_targets) all install-am install-strip
2567
2568.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \
2569 am--refresh check check-am clean clean-cscope clean-generic \
2570 clean-libtool clean-local clean-noinstLIBRARIES \
2571 clean-toolexeclibLIBRARIES clean-toolexeclibLTLIBRARIES cscope \
2572 cscopelist-am ctags ctags-am distclean distclean-compile \
2573 distclean-generic distclean-hdr distclean-libtool \
2574 distclean-local distclean-tags dvi dvi-am html html-am info \
2575 info-am install install-am install-data install-data-am \
2576 install-dvi install-dvi-am install-exec install-exec-am \
2577 install-exec-local install-html install-html-am install-info \
2578 install-info-am install-man install-pdf install-pdf-am \
2579 install-ps install-ps-am install-strip \
2580 install-toolexeclibLIBRARIES install-toolexeclibLTLIBRARIES \
2581 install-toolexeclibgoDATA install-toolexeclibgoarchiveDATA \
ac819ba5
ILT
2582 install-toolexeclibgocompressDATA \
2583 install-toolexeclibgocontainerDATA \
ff5f50c5 2584 install-toolexeclibgocryptoDATA \
adb0401d 2585 install-toolexeclibgocryptox509DATA \
af92e385
ILT
2586 install-toolexeclibgodatabaseDATA \
2587 install-toolexeclibgodatabasesqlDATA \
ff5f50c5 2588 install-toolexeclibgodebugDATA \
447fb74d
ILT
2589 install-toolexeclibgoencodingDATA install-toolexeclibgogoDATA \
2590 install-toolexeclibgohashDATA install-toolexeclibgohtmlDATA \
2591 install-toolexeclibgoimageDATA \
f038dae6 2592 install-toolexeclibgoimagecolorDATA \
72700543
ILT
2593 install-toolexeclibgoindexDATA \
2594 install-toolexeclibgointernalDATA install-toolexeclibgoioDATA \
af92e385
ILT
2595 install-toolexeclibgologDATA install-toolexeclibgomathDATA \
2596 install-toolexeclibgomimeDATA install-toolexeclibgonetDATA \
2597 install-toolexeclibgonethttpDATA \
d519aeda
ILT
2598 install-toolexeclibgonetrpcDATA install-toolexeclibgoosDATA \
2599 install-toolexeclibgopathDATA install-toolexeclibgoregexpDATA \
9c63abc9 2600 install-toolexeclibgoruntimeDATA install-toolexeclibgosyncDATA \
4a5b8060
ILT
2601 install-toolexeclibgotestingDATA \
2602 install-toolexeclibgotestinginternalDATA \
2603 install-toolexeclibgotextDATA \
9c63abc9 2604 install-toolexeclibgotexttemplateDATA \
f75af8c1
ILT
2605 install-toolexeclibgotimeDATA install-toolexeclibgounicodeDATA \
2606 installcheck installcheck-am installdirs installdirs-am \
2607 maintainer-clean maintainer-clean-generic \
2608 maintainer-clean-local mostlyclean mostlyclean-compile \
2609 mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \
2610 pdf-am ps ps-am tags tags-am uninstall uninstall-am \
2611 uninstall-toolexeclibLIBRARIES \
ac819ba5
ILT
2612 uninstall-toolexeclibLTLIBRARIES uninstall-toolexeclibgoDATA \
2613 uninstall-toolexeclibgoarchiveDATA \
2614 uninstall-toolexeclibgocompressDATA \
2615 uninstall-toolexeclibgocontainerDATA \
2616 uninstall-toolexeclibgocryptoDATA \
adb0401d 2617 uninstall-toolexeclibgocryptox509DATA \
af92e385
ILT
2618 uninstall-toolexeclibgodatabaseDATA \
2619 uninstall-toolexeclibgodatabasesqlDATA \
ac819ba5
ILT
2620 uninstall-toolexeclibgodebugDATA \
2621 uninstall-toolexeclibgoencodingDATA \
447fb74d 2622 uninstall-toolexeclibgogoDATA uninstall-toolexeclibgohashDATA \
9c63abc9 2623 uninstall-toolexeclibgohtmlDATA \
ac819ba5 2624 uninstall-toolexeclibgoimageDATA \
f038dae6 2625 uninstall-toolexeclibgoimagecolorDATA \
72700543
ILT
2626 uninstall-toolexeclibgoindexDATA \
2627 uninstall-toolexeclibgointernalDATA \
2628 uninstall-toolexeclibgoioDATA uninstall-toolexeclibgologDATA \
2629 uninstall-toolexeclibgomathDATA \
ac819ba5 2630 uninstall-toolexeclibgomimeDATA uninstall-toolexeclibgonetDATA \
9c63abc9
ILT
2631 uninstall-toolexeclibgonethttpDATA \
2632 uninstall-toolexeclibgonetrpcDATA \
d519aeda 2633 uninstall-toolexeclibgoosDATA uninstall-toolexeclibgopathDATA \
d8f41257 2634 uninstall-toolexeclibgoregexpDATA \
ac819ba5 2635 uninstall-toolexeclibgoruntimeDATA \
5133f00e 2636 uninstall-toolexeclibgosyncDATA \
9c63abc9 2637 uninstall-toolexeclibgotestingDATA \
4a5b8060 2638 uninstall-toolexeclibgotestinginternalDATA \
9c63abc9
ILT
2639 uninstall-toolexeclibgotextDATA \
2640 uninstall-toolexeclibgotexttemplateDATA \
f75af8c1 2641 uninstall-toolexeclibgotimeDATA \
9c63abc9 2642 uninstall-toolexeclibgounicodeDATA
7a938933 2643
73b6d7a9
ILT
2644.PRECIOUS: Makefile
2645
7a938933 2646
7a938933
ILT
2647version.go: s-version; @true
2648s-version: Makefile
2649 rm -f version.go.tmp
a8464243 2650 echo "package sys" > version.go.tmp
c6d6367f 2651 echo 'func init() { DefaultGoroot = "$(prefix)" }' >> version.go.tmp
a8464243 2652 echo 'const TheVersion = "'`cat $(srcdir)/VERSION | sed 1q`' '`$(GOC) --version | sed 1q`'"' >> version.go.tmp
f163907e 2653 echo 'const Goexperiment = ``' >> version.go.tmp
a8464243
ILT
2654 echo 'const GOARCH = "'$(GOARCH)'"' >> version.go.tmp
2655 echo 'const GOOS = "'$(GOOS)'"' >> version.go.tmp
2656 echo 'const GccgoToolDir = "$(libexecsubdir)"' >> version.go.tmp
2657 echo >> version.go.tmp
2658 echo "type ArchFamilyType int" >> version.go.tmp
2659 echo >> version.go.tmp
2660 echo "const (" >> version.go.tmp
2661 echo " UNKNOWN ArchFamilyType = iota" >> version.go.tmp
2662 for a in $(ALLGOARCHFAMILY); do \
2663 echo " $${a}" >> version.go.tmp; \
2664 done
2665 echo ")" >> version.go.tmp
2666 echo >> version.go.tmp
2667 for a in $(ALLGOARCH); do \
2668 f=`echo $${a} | sed -e 's/\(.\).*/\1/' -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`; \
2669 n="$${f}`echo $${a} | sed -e 's/.//'`"; \
2670 if test "$${a}" = "$(GOARCH)"; then \
2671 echo "const Goarch$${n} = 1" >> version.go.tmp; \
2672 else \
2673 echo "const Goarch$${n} = 0" >> version.go.tmp; \
2674 fi; \
2675 done
2676 echo >> version.go.tmp
2677 echo "const (" >> version.go.tmp
ffad1c54
ILT
2678 echo " ArchFamily = `$(SHELL) $(srcdir)/goarch.sh $(GOARCH) family`" >> version.go.tmp
2679 echo " BigEndian = `$(SHELL) $(srcdir)/goarch.sh $(GOARCH) bigendian`" >> version.go.tmp
2680 echo " CacheLineSize = `$(SHELL) $(srcdir)/goarch.sh $(GOARCH) cachelinesize`" >> version.go.tmp
2681 echo " DefaultPhysPageSize = `$(SHELL) $(srcdir)/goarch.sh $(GOARCH) defaultphyspagesize`" >> version.go.tmp
ffad1c54
ILT
2682 echo " Int64Align = `$(SHELL) $(srcdir)/goarch.sh $(GOARCH) int64align`" >> version.go.tmp
2683 echo " MinFrameSize = `$(SHELL) $(srcdir)/goarch.sh $(GOARCH) minframesize`" >> version.go.tmp
2684 echo " PCQuantum = `$(SHELL) $(srcdir)/goarch.sh $(GOARCH) pcquantum`" >> version.go.tmp
a8464243
ILT
2685 echo ")" >> version.go.tmp
2686 echo >> version.go.tmp
2687 for a in $(ALLGOOS); do \
2688 f=`echo $${a} | sed -e 's/\(.\).*/\1/' -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`; \
2689 n="$${f}`echo $${a} | sed -e 's/.//'`"; \
2690 if test "$${a}" = "$(GOOS)"; then \
2691 echo "const Goos$${n} = 1" >> version.go.tmp; \
2692 else \
2693 echo "const Goos$${n} = 0" >> version.go.tmp; \
2694 fi; \
2695 done
2696 echo >> version.go.tmp
2697 echo "type Uintreg uintptr" >> version.go.tmp
4368bc45 2698 $(SHELL) $(srcdir)/mvifdiff.sh version.go.tmp version.go
7a938933
ILT
2699 $(STAMP) $@
2700
f5ec13f1
ILT
2701cpugen.go: s-cpu; @true
2702s-cpu: Makefile
2703 rm -f cpugen.go.tmp
2704 echo "package cpu" > cpugen.go.tmp
4f4a855d 2705 echo "const CacheLinePadSize = `$(SHELL) $(srcdir)/goarch.sh $(GOARCH) cachelinesize`" >> cpugen.go.tmp
cba8a572 2706 echo "const FunctionDescriptors = $(FUNCTION_DESCRIPTORS)" >> cpugen.go.tmp
f5ec13f1
ILT
2707 $(SHELL) $(srcdir)/mvifdiff.sh cpugen.go.tmp cpugen.go
2708 $(STAMP) $@
2709
efc86492
ILT
2710gcpugen.go: s-gcpu; @true
2711s-gcpu: Makefile
2712 rm -f gcpugen.go.tmp
2713 echo "package cpu" > gcpugen.go.tmp
2714 echo "const cacheLineSize = `$(SHELL) $(srcdir)/goarch.sh $(GOARCH) cachelinesize`" >> gcpugen.go.tmp
2715 $(SHELL) $(srcdir)/mvifdiff.sh gcpugen.go.tmp gcpugen.go
2716 $(STAMP) $@
2717
1a2f01ef
ILT
2718objabi.go: s-objabi; @true
2719s-objabi: Makefile
2720 rm -f objabi.go.tmp
2721 echo "package objabi" > objabi.go.tmp
2722 echo "import \"runtime\"" >> objabi.go.tmp
aa8901e9 2723 echo 'func defaultGOROOTValue() string { return `$(prefix)` }' >> objabi.go.tmp
1a2f01ef
ILT
2724 echo 'const defaultGO386 = `sse2`' >> objabi.go.tmp
2725 echo 'const defaultGOARM = `5`' >> objabi.go.tmp
2726 echo 'const defaultGOMIPS = `hardfloat`' >> objabi.go.tmp
dd931d9b 2727 echo 'const defaultGOMIPS64 = `hardfloat`' >> objabi.go.tmp
aa8901e9 2728 echo 'const defaultGOPPC64 = `power8`' >> objabi.go.tmp
1a2f01ef
ILT
2729 echo 'const defaultGOOS = runtime.GOOS' >> objabi.go.tmp
2730 echo 'const defaultGOARCH = runtime.GOARCH' >> objabi.go.tmp
2731 echo 'const defaultGO_EXTLINK_ENABLED = ``' >> objabi.go.tmp
aa8901e9 2732 echo 'const defaultGO_LDSO = ``' >> objabi.go.tmp
1a2f01ef 2733 echo 'const version = `'`cat $(srcdir)/VERSION | sed 1q`' '`$(GOC) --version | sed 1q`'`' >> objabi.go.tmp
4f4a855d 2734 echo 'const stackGuardMultiplierDefault = 1' >> objabi.go.tmp
1a2f01ef
ILT
2735 echo 'const goexperiment = ``' >> objabi.go.tmp
2736 $(SHELL) $(srcdir)/mvifdiff.sh objabi.go.tmp objabi.go
2737 $(STAMP) $@
2738
ffad1c54
ILT
2739gccgosizes.go: s-gccgosizes; @true
2740s-gccgosizes: Makefile goarch.sh
2741 rm -f gccgosizes.go.tmp
2742 echo "package types" > gccgosizes.go.tmp
2743 echo >> gccgosizes.go.tmp
2744 echo "var gccgoArchSizes = map[string]*StdSizes{" >> gccgosizes.go.tmp
2745 for a in $(ALLGOARCH); do \
2746 ptrsize=`$(SHELL) $(srcdir)/goarch.sh $$a ptrsize`; \
2747 maxalign=`$(SHELL) $(srcdir)/goarch.sh $$a maxalign`; \
2748 echo " \"$$a\": {$${ptrsize}, $${maxalign}}," >> gccgosizes.go.tmp; \
2749 done
2750 echo "}" >> gccgosizes.go.tmp
2751 $(SHELL) $(srcdir)/mvifdiff.sh gccgosizes.go.tmp gccgosizes.go
2752 $(STAMP) $@
2753
0cdde1e7
NB
2754os_linknames.go: s-os_linknames; @true
2755s-os_linknames: os-list gen-sysinfo.go $(srcdir)/mklinknames.awk $(srcdir)/go/os/*.go
2756 rm -f os_linknames.go.tmp
2757 $(AWK) -f $(srcdir)/mklinknames.awk -v package=os `cat os-list` > os_linknames.go.tmp
2758 $(SHELL) $(srcdir)/mvifdiff.sh os_linknames.go.tmp os_linknames.go
2759 $(STAMP) $@
2760
2761os-list: s-os-list; @true
2762s-os-list: Makefile $(srcdir)/go/os/*.go
2763 rm -f os-list.tmp
2764 $(SHELL) $(srcdir)/match.sh --goarch=$(GOARCH) --goos=$(GOOS) --srcdir=$(srcdir)/go/os > os-list.tmp
2765 $(SHELL) $(srcdir)/mvifdiff.sh os-list.tmp os-list
2766 $(STAMP) $@
2767
2768os_user_linknames.go: s-os_user_linknames; @true
2769s-os_user_linknames: os-user-list gen-sysinfo.go $(srcdir)/mklinknames.awk $(srcdir)/go/os/user/*.go
2770 rm -f os_user_linknames.go.tmp
2771 $(AWK) -f $(srcdir)/mklinknames.awk -v package=user `cat os-user-list` > os_user_linknames.go.tmp
2772 $(SHELL) $(srcdir)/mvifdiff.sh os_user_linknames.go.tmp os_user_linknames.go
2773 $(STAMP) $@
2774
2775os-user-list: s-os-user-list; @true
2776s-os-user-list: Makefile $(srcdir)/go/os/user/*.go
2777 rm -f os-user-list.tmp
2778 $(SHELL) $(srcdir)/match.sh --goarch=$(GOARCH) --goos=$(GOOS) --srcdir=$(srcdir)/go/os/user > os-user-list.tmp
2779 $(SHELL) $(srcdir)/mvifdiff.sh os-user-list.tmp os-user-list
2780 $(STAMP) $@
2781
2782runtime_linknames.go: s-runtime_linknames; @true
2783s-runtime_linknames: runtime-list gen-sysinfo.go $(srcdir)/mklinknames.awk $(srcdir)/go/runtime/*.go
2784 rm -f runtime_linknames.go.tmp
2785 $(AWK) -f $(srcdir)/mklinknames.awk -v package=runtime `cat runtime-list` > runtime_linknames.go.tmp
2786 $(SHELL) $(srcdir)/mvifdiff.sh runtime_linknames.go.tmp runtime_linknames.go
2787 $(STAMP) $@
2788
2789runtime-list: s-runtime-list; @true
2790s-runtime-list: Makefile $(srcdir)/go/runtime/*.go
2791 rm -f runtime-list.tmp
2792 $(SHELL) $(srcdir)/match.sh --goarch=$(GOARCH) --goos=$(GOOS) --srcdir=$(srcdir)/go/runtime > runtime-list.tmp
2793 $(SHELL) $(srcdir)/mvifdiff.sh runtime-list.tmp runtime-list
2794 $(STAMP) $@
2795
75791bab 2796runtime_sysinfo.go: s-runtime_sysinfo; @true
c0401cf7 2797s-runtime_sysinfo: $(srcdir)/mkrsysinfo.sh gen-sysinfo.go
30bc05cf 2798 GOARCH=$(GOARCH) GOOS=$(GOOS) $(SHELL) $(srcdir)/mkrsysinfo.sh
75791bab
ILT
2799 $(SHELL) $(srcdir)/mvifdiff.sh tmp-runtime_sysinfo.go runtime_sysinfo.go
2800 $(STAMP) $@
2801
980f9a0a
ILT
2802sigtab.go: s-sigtab; @true
2803s-sigtab: $(srcdir)/mksigtab.sh gen-sysinfo.go
2804 GOOS=$(GOOS) $(SHELL) $(srcdir)/mksigtab.sh > tmp-sigtab.go
2805 $(SHELL) $(srcdir)/mvifdiff.sh tmp-sigtab.go sigtab.go
2806 $(STAMP) $@
2807
bc998d03
ILT
2808zdefaultcc.go: s-zdefaultcc; @true
2809s-zdefaultcc: Makefile
2810 echo 'package cfg' > zdefaultcc.go.tmp
2811 echo >> zdefaultcc.go.tmp
1a2f01ef
ILT
2812 echo 'func DefaultGCCGO(goos, goarch string) string { return "$(bindir)/$(GCCGO_INSTALL_NAME)" }' >> zdefaultcc.go.tmp
2813 echo 'func DefaultCC(goos, goarch string) string { return "$(GCC_INSTALL_NAME)" }' >> zdefaultcc.go.tmp
2814 echo 'func DefaultCXX(goos, goarch string) string { return "$(GXX_INSTALL_NAME)" }' >> zdefaultcc.go.tmp
bc998d03 2815 echo 'const DefaultPkgConfig = "pkg-config"' >> zdefaultcc.go.tmp
1a2f01ef 2816 echo 'var OSArchSupportsCgo = map[string]bool{}' >> zdefaultcc.go.tmp
bc998d03
ILT
2817 $(SHELL) $(srcdir)/../move-if-change zdefaultcc.go.tmp zdefaultcc.go
2818 $(STAMP) $@
2819
cec9701b
ILT
2820# Post-process runtime.inc.raw (raw output of -fgo-c-header option when
2821# compiling runtime) to prune out certain types that should not be
2822# exported back to C. See comments in mkruntimeinc.sh for more details.
48e21b40 2823runtime.inc: s-runtime-inc; @true
433f84bf 2824s-runtime-inc: runtime.lo mkruntimeinc.sh Makefile
cec9701b
ILT
2825 $(SHELL) $(srcdir)/mkruntimeinc.sh
2826 $(SHELL) $(srcdir)/mvifdiff.sh tmp-runtime.inc runtime.inc
48e21b40
ILT
2827 $(STAMP) $@
2828
ab24432b
ILT
2829# Generate the list of go std packages that were included in libgo
2830zstdpkglist.go: s-zstdpkglist; @true
2831s-zstdpkglist: Makefile
2832 rm -f zstdpkglist.go.tmp
dd931d9b 2833 echo 'package goroot' > zstdpkglist.go.tmp
ab24432b
ILT
2834 echo "" >> zstdpkglist.go.tmp
2835 echo 'var stdpkg = map[string]bool{' >> zstdpkglist.go.tmp
68402af1 2836 echo $(libgo_go_objs) 'unsafe.lo' 'runtime/cgo.lo' | sed 's|[a-z0-9_./]*_c\.lo||g' | sed 's|golang\.org/[a-z0-9_./]*\.lo||g' | sed 's|\([a-z0-9_./]*\)\.lo|"\1": true,|g' >> zstdpkglist.go.tmp
ab24432b
ILT
2837 echo '}' >> zstdpkglist.go.tmp
2838 $(SHELL) $(srcdir)/mvifdiff.sh zstdpkglist.go.tmp zstdpkglist.go
2839 $(STAMP) $@
2840
de27caac 2841libcalls.go: s-libcalls; @true
e0f69f36 2842s-libcalls: libcalls-list go/syscall/mksyscall.awk $(srcdir)/go/syscall/*.go
de27caac 2843 rm -f libcalls.go.tmp
e0f69f36 2844 $(AWK) -f $(srcdir)/go/syscall/mksyscall.awk `cat libcalls-list` > libcalls.go.tmp
4368bc45 2845 $(SHELL) $(srcdir)/mvifdiff.sh libcalls.go.tmp libcalls.go
de27caac
ILT
2846 $(STAMP) $@
2847
f46d686e 2848libcalls-list: s-libcalls-list; @true
e0f69f36 2849s-libcalls-list: Makefile $(srcdir)/go/syscall/*.go
f46d686e 2850 rm -f libcalls-list.tmp
e0f69f36 2851 $(SHELL) $(srcdir)/match.sh --goarch=$(GOARCH) --goos=$(GOOS) --srcdir=$(srcdir)/go/syscall $(matchargs_syscall) > libcalls-list.tmp
4368bc45 2852 $(SHELL) $(srcdir)/mvifdiff.sh libcalls-list.tmp libcalls-list
f46d686e
ILT
2853 $(STAMP) $@
2854
c3b5b97b
ILT
2855syscall_arch.go: s-syscall_arch; @true
2856s-syscall_arch: Makefile
2857 rm -f syscall_arch.go.tmp
2858 echo "package syscall" > syscall_arch.go.tmp
2859 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
cff0c39d 2860 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
4368bc45 2861 $(SHELL) $(srcdir)/mvifdiff.sh syscall_arch.go.tmp syscall_arch.go
c3b5b97b
ILT
2862 $(STAMP) $@
2863
0cdde1e7
NB
2864syscall_linknames.go: s-syscall_linknames; @true
2865s-syscall_linknames: libcalls.go gen-sysinfo.go $(srcdir)/mklinknames.awk
2866 rm -f syscall_linknames.go.tmp
2867 $(AWK) -v package=syscall -f $(srcdir)/mklinknames.awk libcalls.go > syscall_linknames.go.tmp
2868 $(SHELL) $(srcdir)/mvifdiff.sh syscall_linknames.go.tmp syscall_linknames.go
2869 $(STAMP) $@
2870
14cda8a1
ILT
2871gen-sysinfo.go: s-gen-sysinfo; @true
2872s-gen-sysinfo: $(srcdir)/sysinfo.c config.h
2873 $(CC) $(SYSINFO_FLAGS) -fdump-go-spec=tmp-gen-sysinfo.go -std=gnu99 -S -o sysinfo.s $(srcdir)/sysinfo.c
2874 rm -f sysinfo.s
2875 $(SHELL) $(srcdir)/mvifdiff.sh tmp-gen-sysinfo.go gen-sysinfo.go
2876 $(STAMP) $@
2877
2878errno.i: s-errno; @true
2879s-errno:
2880 echo '#include <errno.h>' | $(CC) $(SYSINFO_FLAGS) -x c - -E -dM > tmp-errno.i
2881 $(SHELL) $(srcdir)/mvifdiff.sh tmp-errno.i errno.i
2882 $(STAMP) $@
2883
de27caac 2884sysinfo.go: s-sysinfo; @true
14cda8a1 2885s-sysinfo: $(srcdir)/mksysinfo.sh gen-sysinfo.go errno.i
2a3abc86 2886 GOARCH=$(GOARCH) GOOS=$(GOOS) $(SHELL) $(srcdir)/mksysinfo.sh
4368bc45 2887 $(SHELL) $(srcdir)/mvifdiff.sh tmp-sysinfo.go sysinfo.go
de27caac 2888 $(STAMP) $@
207c35fa
ILT
2889
2890# The epoll struct has an embedded union and is packed on x86_64,
2891# which is too complicated for mksysinfo.sh. We find the offset of
2892# the only field we care about in configure.ac, and generate the
2893# struct here.
2894epoll.go: s-epoll; @true
2895s-epoll: Makefile
2896 rm -f epoll.go.tmp
2897 echo 'package syscall' > epoll.go.tmp
2898 echo 'type EpollEvent struct {' >> epoll.go.tmp
2899 echo ' Events uint32' >> epoll.go.tmp
2900 case "$(SIZEOF_STRUCT_EPOLL_EVENT),$(STRUCT_EPOLL_EVENT_FD_OFFSET)" in \
2901 0,0) echo 1>&2 "*** struct epoll_event data.fd offset unknown"; \
2902 exit 1; ;; \
2903 8,4) echo ' Fd int32' >> epoll.go.tmp; ;; \
2904 12,4) echo ' Fd int32' >> epoll.go.tmp; \
2905 echo ' Pad [4]byte' >> epoll.go.tmp; ;; \
2906 12,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
2907 echo ' Fd int32' >> epoll.go.tmp; ;; \
2908 16,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
2909 echo ' Fd int32' >> epoll.go.tmp; \
2910 echo ' Pad2 [4]byte' >> epoll.go.tmp; ;; \
2911 *) echo 1>&2 "*** struct epoll_event unsupported"; \
2912 exit 1; ;; \
2913 esac
2914 echo '}' >> epoll.go.tmp
4368bc45 2915 $(SHELL) $(srcdir)/mvifdiff.sh epoll.go.tmp epoll.go
207c35fa 2916 $(STAMP) $@
de27caac 2917
7399e345
ILT
2918define STATIC_template
2919$(subst -,_,$(subst .,_,$(subst /,_,$(1))))_GOCFLAGS = -static
2920endef
2921
2922$(foreach package,$(GOTOOL_PACKAGES),$(eval $(call STATIC_template,$(package).lo)))
2923
75791bab
ILT
2924# Make sure runtime.inc is built before compiling any .c file.
2925$(libgo_la_OBJECTS): runtime.inc
2926$(libgo_llgo_la_OBJECTS): runtime.inc
2927$(libgobegin_a_OBJECTS): runtime.inc
2928$(libgobegin_llgo_a_OBJECTS): runtime.inc
2929$(libgolibbegin_a_OBJECTS): runtime.inc
2930
48e21b40
ILT
2931# PACKAGE_template defines the rules for each package.
2932# For example, for the package bufio, it produces:
2933#
2934# @go_include@ bufio.lo.dep
2935# bufio.lo.dep: $(srcdir)/go/bufio/*.go
2936# $(BUILDDEPS)
2937# bufio.lo:
2938# $(BUILDPACKAGE)
2939# bufio/check: $(CHECK_DEPS)
2940# @$(CHECK)
2941# .PHONY: bufio/check
2942#
2943# This is invoked with $(1) set to a package, which is a directory name,
2944# such as "bufio" or "archive/tar".
2945define PACKAGE_template
2946@go_include@ $(1).lo.dep
2947$(1).lo.dep: $(srcdir)/go/$(1)/*.go
2948 $$(BUILDDEPS)
2949$(1).lo:
2950 $$(BUILDPACKAGE)
2951$(1)/check: $$(CHECK_DEPS)
2952 @$$(CHECK)
2953.PHONY: $(1)/check
f94a3edc
ILT
2954$(1).gox: $(1).s-gox; @true
2955$(1).s-gox: $(1).lo
48e21b40 2956 $$(BUILDGOX)
f94a3edc 2957 $$(STAMP) $$@
48e21b40
ILT
2958endef
2959
2960# This line expands PACKAGE_template once for each package name listed
2961# in $(PACKAGES).
2962$(foreach package,$(PACKAGES),$(eval $(call PACKAGE_template,$(package))))
bc998d03 2963$(foreach package,$(GOTOOL_PACKAGES),$(eval $(call PACKAGE_template,$(package))))
48e21b40
ILT
2964runtime.lo.dep: $(extra_go_files_runtime)
2965syscall.lo.dep: $(extra_go_files_syscall)
2966runtime/internal/sys.lo.dep: $(extra_go_files_runtime_internal_sys)
f5ec13f1 2967internal/cpu.lo.dep: $(extra_go_files_internal_cpu)
efc86492 2968golang.org/x/sys/cpu.lo.dep: $(extra_go_files_golang_org_x_sys_cpu)
dd931d9b 2969internal/goroot.lo.dep: $(extra_go_files_internal_goroot)
ffad1c54 2970go/types.lo.dep: $(extra_go_files_go_types)
1a2f01ef 2971cmd/internal/objabi.lo.dep: $(extra_go_files_cmd_internal_objabi)
bc998d03 2972cmd/go/internal/cfg.lo.dep: $(extra_go_files_cmd_go_internal_cfg)
0cdde1e7
NB
2973os.lo.dep: $(extra_go_files_os)
2974os/user.lo.dep: $(extra_go_files_os_user)
48e21b40
ILT
2975
2976# FIXME: The following C files may as well move to the runtime
2977# directory and be treated like other C files.
2978
4f4a855d 2979# Use C code to speed up internal/bytealg.IndexByte and friends.
dd931d9b
ILT
2980internal/bytealg/bytealg.lo: go/internal/bytealg/bytealg.c runtime.inc
2981 @$(MKDIR_P) internal/bytealg
2982 $(LTCOMPILE) -c -o $@ $(srcdir)/go/internal/bytealg/bytealg.c
48e21b40
ILT
2983
2984# Use a C function with a fixed number of arguments to call a C
2985# varargs function.
2986log/syslog/syslog_c.lo: go/log/syslog/syslog_c.c runtime.inc
6eea7709 2987 @$(MKDIR_P) log/syslog
9c63abc9 2988 $(LTCOMPILE) -c -o $@ $(srcdir)/go/log/syslog/syslog_c.c
48e21b40
ILT
2989
2990# The interface to libffi from the reflect package is written in C.
2991reflect/makefunc_ffi_c.lo: go/reflect/makefunc_ffi_c.c runtime.inc
2992 @$(MKDIR_P) reflect
2993 $(LTCOMPILE) -c -o $@ $(srcdir)/go/reflect/makefunc_ffi_c.c
2994
2995# The atomic functions are written in C.
2996runtime/internal/atomic_c.lo: go/runtime/internal/atomic/atomic.c runtime.inc
2997 @$(MKDIR_P) runtime/internal
337fa50b 2998 $(LTCOMPILE) -c -o $@ $(srcdir)/go/runtime/internal/atomic/atomic.c
48e21b40
ILT
2999sync/atomic_c.lo: go/sync/atomic/atomic.c runtime.inc
3000 @$(MKDIR_P) sync
5133f00e 3001 $(LTCOMPILE) -c -o $@ $(srcdir)/go/sync/atomic/atomic.c
48e21b40
ILT
3002
3003# A few syscall functions are written in C.
c8dc49fb
ILT
3004syscall/clone_linux.lo: go/syscall/clone_linux.c runtime.inc
3005 @$(MKDIR_P) syscall
48e21b40 3006 $(LTCOMPILE) -c -o $@ $(srcdir)/go/syscall/clone_linux.c
75791bab 3007syscall/errno.lo: go/syscall/errno.c runtime.inc
f3ab5720 3008 @$(MKDIR_P) syscall
48e21b40 3009 $(LTCOMPILE) -c -o $@ $(srcdir)/go/syscall/errno.c
75791bab 3010syscall/signame.lo: go/syscall/signame.c runtime.inc
f3ab5720 3011 @$(MKDIR_P) syscall
48e21b40 3012 $(LTCOMPILE) -c -o $@ $(srcdir)/go/syscall/signame.c
75791bab 3013syscall/wait.lo: go/syscall/wait.c runtime.inc
f3ab5720 3014 @$(MKDIR_P) syscall
48e21b40
ILT
3015 $(LTCOMPILE) -c -o $@ $(srcdir)/go/syscall/wait.c
3016
cfcbb422
ILT
3017# An os function is written in C.
3018os/dir_gccgo_c.lo: go/os/dir_gccgo_c.c runtime.inc
3019 @$(MKDIR_P) os
3020 $(LTCOMPILE) -c -o $@ $(srcdir)/go/os/dir_gccgo_c.c
3021
dd931d9b
ILT
3022# internal/cpu needs some C code.
3023internal/cpu/cpu_gccgo.lo: go/internal/cpu/cpu_gccgo.c runtime.inc
3024 @$(MKDIR_P) internal/cpu
3025 $(LTCOMPILE) -c -o $@ $(srcdir)/go/internal/cpu/cpu_gccgo.c
3026
aa8901e9 3027# Similarly, golang.org/x/sys/cpu needs some C code.
f75af8c1 3028golang.org/x/sys/cpu_gccgo_x86.lo: go/golang.org/x/sys/cpu/cpu_gccgo_x86.c runtime.inc
aa8901e9 3029 @$(MKDIR_P) golang.org/x/sys
f75af8c1 3030 $(LTCOMPILE) -c -o $@ $(srcdir)/go/golang.org/x/sys/cpu/cpu_gccgo_x86.c
aa8901e9 3031
efc86492 3032# Build golang.org/x/net/route only on BSD systems.
48e21b40 3033
efc86492 3034@LIBGO_IS_BSD_TRUE@$(eval $(call PACKAGE_template,golang.org/x/net/route))
c2047754 3035
efc86492 3036# Build golang.org/x/net/lif only on Solaris systems.
c2047754 3037
efc86492 3038@LIBGO_IS_SOLARIS_TRUE@$(eval $(call PACKAGE_template,golang.org/x/net/lif))
9c63abc9 3039
aa5b0a0d
ILT
3040check: check-tail
3041check-recursive: check-head
3042
3043check-head:
3044 @echo "Test Run By $${USER} on `date`" > libgo.head
3045 @echo "Native configuration is $(host_triplet)" >> libgo.head
3046 @echo >> libgo.head
3047 @echo " === libgo tests ===" >> libgo.head
3048 @echo >> libgo.head
3049
3050check-tail: check-recursive check-multi
d3deca39
ILT
3051 @if test "$(USE_DEJAGNU)" = "yes"; then \
3052 exit 0; \
3053 fi; \
3054 lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
aa5b0a0d
ILT
3055 for dir in . $(MULTIDIRS); do \
3056 mv ../$${dir}/$${lib}/libgo.sum ../$${dir}/$${lib}/libgo.sum.sep; \
3057 mv ../$${dir}/$${lib}/libgo.log ../$${dir}/$${lib}/libgo.log.sep; \
3058 done; \
3059 mv libgo.head libgo.sum; \
3060 cp libgo.sum libgo.log; \
3061 echo "Schedule of variations:" >> libgo.sum; \
3062 for dir in . $(MULTIDIRS); do \
3063 multidir=../$${dir}/$${lib}; \
3064 multivar=`cat $${multidir}/libgo.var`; \
3065 echo " $${multivar}" >> libgo.sum; \
3066 done; \
3067 echo >> libgo.sum; \
3068 pass=0; fail=0; untested=0; \
3069 for dir in . $(MULTIDIRS); do \
3070 multidir=../$${dir}/$${lib}; \
3071 multivar=`cat $${multidir}/libgo.var`; \
3072 echo "Running target $${multivar}" >> libgo.sum; \
3073 echo "Running $(srcdir)/libgo.exp ..." >> libgo.sum; \
3074 cat $${multidir}/libgo.sum.sep >> libgo.sum; \
3075 cat $${multidir}/libgo.log.sep >> libgo.log; \
3076 if test -n "${MULTIDIRS}"; then \
3077 echo " === libgo Summary for $${multivar} ===" >> libgo.sum; \
3078 echo >> libgo.sum; \
3079 fi; \
3080 p=`grep -c PASS $${multidir}/libgo.sum.sep`; \
3081 pass=`expr $$pass + $$p`; \
3082 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3083 echo "# of expected passes $$p" >> libgo.sum; \
3084 fi; \
3085 p=`grep -c FAIL $${multidir}/libgo.sum.sep`; \
3086 fail=`expr $$fail + $$p`; \
3087 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3088 echo "# of unexpected failures $$p" >> libgo.sum; \
3089 fi; \
3090 p=`grep -c UNTESTED $${multidir}/libgo.sum.sep`; \
3091 untested=`expr $$untested + $$p`; \
3092 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3093 echo "# of untested testcases $$p" >> libgo.sum; \
3094 fi; \
3095 done; \
3096 echo >> libgo.sum; \
3097 echo " === libgo Summary ===" >> libgo.sum; \
3098 echo >> libgo.sum; \
3099 if test "$$pass" -ne "0"; then \
3100 echo "# of expected passes $$pass" >> libgo.sum; \
3101 fi; \
3102 if test "$$fail" -ne "0"; then \
3103 echo "# of unexpected failures $$fail" >> libgo.sum; \
3104 fi; \
3105 if test "$$untested" -ne "0"; then \
3106 echo "# of untested testcases $$untested" >> libgo.sum; \
3107 fi; \
3108 echo `echo $(GOC) | sed -e 's/ .*//'` `$(GOC) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> libgo.sum; \
3109 echo >> libgo.log; \
3110 echo "runtest completed at `date`" >> libgo.log; \
3111 if test "$$fail" -ne "0"; then \
3112 status=1; \
3113 else \
3114 status=0; \
3115 fi; \
3116 exit $$status
3117
34ccb9c0 3118check-am:
bb0ce33a 3119 @rm -f libgo.sum libgo.log libgo.tail
aa5b0a0d
ILT
3120 @multivar="unix"; \
3121 [ -z "$(MULTIFLAGS)" ] || multivar="$${multivar}/$(MULTIFLAGS)"; \
3122 echo "$${multivar}" > libgo.var
bb0ce33a
ILT
3123 @for f in $(TEST_PACKAGES); do \
3124 rm -f $$f-testsum $$f-testlog; \
3125 done
ce995d1c 3126 -@$(MAKE) $(AM_MAKEFLAGS) -k $(TEST_PACKAGES)
aa5b0a0d 3127 @for f in $(TEST_PACKAGES); do \
bb0ce33a
ILT
3128 if test -f $$f-testsum; then \
3129 cat $$f-testsum >> libgo.sum; \
3130 fi; \
3131 if test -f $$f-testlog; then \
3132 cat $$f-testlog >> libgo.log; \
3133 fi; \
aa5b0a0d
ILT
3134 done
3135
3136check-multi:
3137 $(MULTIDO) $(AM_MAKEFLAGS) DO=check-am multi-do # $(MAKE)
7a938933 3138
ffa98da4 3139bench:
ce995d1c 3140 -@$(MAKE) $(AM_MAKEFLAGS) -k $(TEST_PACKAGES) GOBENCH=.
ffa98da4 3141
7a938933
ILT
3142mostlyclean-local:
3143 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
3144 find . -name '*.$(OBJEXT)' -print | xargs rm -f
bb0ce33a 3145 find . -name '*-testsum' -print | xargs rm -f
34ccb9c0 3146 find . -name '*-testlog' -print | xargs rm -f
7a938933
ILT
3147
3148clean-local:
3149 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
3150 find . -name '*.a' -print | xargs rm -f
f163907e
ILT
3151 find . -name '*.gox' -print | xargs rm -f
3152 find . -name '*.s-gox' -print | xargs rm -f
3153
3154distclean-local:
3155 find . -name '*.lo.dep' -print | xargs rm -f
7a938933 3156
73b6d7a9
ILT
3157# GNU Make needs to see an explicit $(MAKE) variable in the command it
3158# runs to enable its job server during parallel builds. Hence the
3159# comments below.
3160all-multi:
3161 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
3162install-multi:
3163 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
3164mostlyclean-multi:
3165 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
3166clean-multi:
3167 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
3168distclean-multi:
3169 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
3170maintainer-clean-multi:
3171 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
3172
3173.MAKE .PHONY: all-multi clean-multi distclean-multi install-am \
3174 install-multi maintainer-clean-multi mostlyclean-multi
3175
3176install-exec-local: install-multi
3177
3178all-local: all-multi
3179mostlyclean-local: mostlyclean-multi
3180clean-local: clean-multi
3181distclean-local: distclean-multi
3182maintainer-clean-local: maintainer-clean-multi
83cc5e2b 3183all-local: $(ALL_LOCAL_DEPS)
d040555a
CC
3184
3185# If we want to use "AR -r" when creating AIX FAT archives,
3186# AR must be stripped of all its -X flags.
3187# Otherwize, if AR was defined with -X32_64, the replace option would
3188# erase the default .so when adding the extra one. There is no
3189# order priority within -X flags.
83cc5e2b
CC
3190add-aix-fat-library: all-multi
3191 @if test "$(MULTIBUILDTOP)" = ""; then \
d040555a
CC
3192 arx=`echo $(AR) | sed -e 's/-X[^ ]*//g'`; \
3193 $${arx} -X$(AIX_EXTRA_ARCH) rc .libs/$(PACKAGE).a ../ppc$(AIX_EXTRA_ARCH)/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR); \
3194 $${arx} -X$(AIX_EXTRA_ARCH) rc ../pthread/$(PACKAGE)/.libs/$(PACKAGE).a ../pthread/ppc$(AIX_EXTRA_ARCH)/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR); \
6b0b6a38
CC
3195 $${arx} -X$(AIX_EXTRA_ARCH) rc libgobegin.a ../ppc$(AIX_EXTRA_ARCH)/$(PACKAGE)/$(libgobegin_a_OBJECTS); \
3196 $${arx} -X$(AIX_EXTRA_ARCH) rc ../pthread/$(PACKAGE)/libgobegin.a ../pthread/ppc$(AIX_EXTRA_ARCH)/$(PACKAGE)/$(libgobegin_a_OBJECTS); \
3197 $${arx} -X$(AIX_EXTRA_ARCH) rc libgolibbegin.a ../ppc$(AIX_EXTRA_ARCH)/$(PACKAGE)/$(libgolibbegin_a_OBJECTS); \
3198 $${arx} -X$(AIX_EXTRA_ARCH) rc ../pthread/$(PACKAGE)/libgolibbegin.a ../pthread/ppc$(AIX_EXTRA_ARCH)/$(PACKAGE)/$(libgolibbegin_a_OBJECTS); \
83cc5e2b 3199 fi
73b6d7a9 3200
7a938933
ILT
3201# Tell versions [3.59,3.63) of GNU make to not export all variables.
3202# Otherwise a system limit (for SysV at least) may be exceeded.
3203.NOEXPORT: