* config/i386/i386.c (ix86_mode_after): Make static.
[official-gcc.git] / gotools / Makefile.in
blobd56e224781f3910efda5ad10d965b2d6b9ec16c6
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6 # Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
16 @SET_MAKE@
18 # Makefile for gotools
19 # Copyright 2015 Free Software Foundation, Inc.
21 # This file is free software; you can redistribute it and/or modify
22 # it under the terms of the GNU General Public License as published by
23 # the Free Software Foundation; either version 3 of the License, or
24 # (at your option) any later version.
26 # This program is distributed in the hope that it will be useful,
27 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 # GNU General Public License for more details.
31 # You should have received a copy of the GNU General Public License
32 # along with this program; see the file COPYING3. If not see
33 # <http://www.gnu.org/licenses/>.
35 VPATH = @srcdir@
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkgincludedir = $(includedir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkglibexecdir = $(libexecdir)/@PACKAGE@
40 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41 install_sh_DATA = $(install_sh) -c -m 644
42 install_sh_PROGRAM = $(install_sh) -c
43 install_sh_SCRIPT = $(install_sh) -c
44 INSTALL_HEADER = $(INSTALL_DATA)
45 transform = $(program_transform_name)
46 NORMAL_INSTALL = :
47 PRE_INSTALL = :
48 POST_INSTALL = :
49 NORMAL_UNINSTALL = :
50 PRE_UNINSTALL = :
51 POST_UNINSTALL = :
52 build_triplet = @build@
53 host_triplet = @host@
54 target_triplet = @target@
55 subdir = .
56 DIST_COMMON = README ChangeLog $(srcdir)/Makefile.in \
57 $(srcdir)/Makefile.am $(top_srcdir)/configure \
58 $(am__configure_deps) $(srcdir)/../mkinstalldirs \
59 $(srcdir)/../depcomp
60 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
61 am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
62 $(top_srcdir)/../config/depstand.m4 \
63 $(top_srcdir)/../config/lead-dot.m4 \
64 $(top_srcdir)/../config/override.m4 $(top_srcdir)/config/go.m4 \
65 $(top_srcdir)/configure.ac
66 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
67 $(ACLOCAL_M4)
68 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
69 configure.lineno config.status.lineno
70 CONFIG_CLEAN_FILES =
71 CONFIG_CLEAN_VPATH_FILES =
72 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
73 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
74 cgo_SOURCES = cgo.c
75 cgo_OBJECTS = cgo.$(OBJEXT)
76 cgo_LDADD = $(LDADD)
77 go_SOURCES = go.c
78 go_OBJECTS = go.$(OBJEXT)
79 go_LDADD = $(LDADD)
80 gofmt_SOURCES = gofmt.c
81 gofmt_OBJECTS = gofmt.$(OBJEXT)
82 gofmt_LDADD = $(LDADD)
83 DEFAULT_INCLUDES = -I.@am__isrc@
84 depcomp = $(SHELL) $(top_srcdir)/../depcomp
85 am__depfiles_maybe = depfiles
86 am__mv = mv -f
87 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
88 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
89 CCLD = $(CC)
90 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
91 SOURCES = cgo.c go.c gofmt.c
92 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
93 am__vpath_adj = case $$p in \
94 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
95 *) f=$$p;; \
96 esac;
97 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
98 am__install_max = 40
99 am__nobase_strip_setup = \
100 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
101 am__nobase_strip = \
102 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
103 am__nobase_list = $(am__nobase_strip_setup); \
104 for p in $$list; do echo "$$p $$p"; done | \
105 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
106 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
107 if (++n[$$2] == $(am__install_max)) \
108 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
109 END { for (dir in files) print dir, files[dir] }'
110 am__base_list = \
111 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
112 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
113 man1dir = $(mandir)/man1
114 NROFF = nroff
115 MANS = $(man_MANS)
116 ETAGS = etags
117 CTAGS = ctags
118 ACLOCAL = @ACLOCAL@
119 AMTAR = @AMTAR@
120 AUTOCONF = @AUTOCONF@
121 AUTOHEADER = @AUTOHEADER@
122 AUTOMAKE = @AUTOMAKE@
123 AWK = @AWK@
124 CC = @CC@
125 CCDEPMODE = @CCDEPMODE@
126 CFLAGS = @CFLAGS@
127 CPPFLAGS = @CPPFLAGS@
128 CYGPATH_W = @CYGPATH_W@
129 DEFS = @DEFS@
130 DEPDIR = @DEPDIR@
131 ECHO_C = @ECHO_C@
132 ECHO_N = @ECHO_N@
133 ECHO_T = @ECHO_T@
134 EXEEXT = @EXEEXT@
135 GOC = @GOC@
136 GOCFLAGS = $(CFLAGS_FOR_TARGET)
137 INSTALL = @INSTALL@
138 INSTALL_DATA = @INSTALL_DATA@
139 INSTALL_PROGRAM = @INSTALL_PROGRAM@
140 INSTALL_SCRIPT = @INSTALL_SCRIPT@
141 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
142 LDFLAGS = @LDFLAGS@
143 LIBOBJS = @LIBOBJS@
144 LIBS = @LIBS@
145 LTLIBOBJS = @LTLIBOBJS@
146 MAINT = @MAINT@
147 MAKEINFO = @MAKEINFO@
148 MKDIR_P = @MKDIR_P@
149 NET_LIBS = @NET_LIBS@
150 OBJEXT = @OBJEXT@
151 PACKAGE = @PACKAGE@
152 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
153 PACKAGE_NAME = @PACKAGE_NAME@
154 PACKAGE_STRING = @PACKAGE_STRING@
155 PACKAGE_TARNAME = @PACKAGE_TARNAME@
156 PACKAGE_URL = @PACKAGE_URL@
157 PACKAGE_VERSION = @PACKAGE_VERSION@
158 PATH_SEPARATOR = @PATH_SEPARATOR@
159 SET_MAKE = @SET_MAKE@
160 SHELL = @SHELL@
161 STRIP = @STRIP@
162 VERSION = @VERSION@
163 abs_builddir = @abs_builddir@
164 abs_srcdir = @abs_srcdir@
165 abs_top_builddir = @abs_top_builddir@
166 abs_top_srcdir = @abs_top_srcdir@
167 ac_ct_CC = @ac_ct_CC@
168 am__include = @am__include@
169 am__leading_dot = @am__leading_dot@
170 am__quote = @am__quote@
171 am__tar = @am__tar@
172 am__untar = @am__untar@
173 bindir = @bindir@
174 build = @build@
175 build_alias = @build_alias@
176 build_cpu = @build_cpu@
177 build_noncanonical = @build_noncanonical@
178 build_os = @build_os@
179 build_vendor = @build_vendor@
180 builddir = @builddir@
181 datadir = @datadir@
182 datarootdir = @datarootdir@
183 docdir = @docdir@
184 dvidir = @dvidir@
185 exec_prefix = @exec_prefix@
186 host = @host@
187 host_alias = @host_alias@
188 host_cpu = @host_cpu@
189 host_noncanonical = @host_noncanonical@
190 host_os = @host_os@
191 host_vendor = @host_vendor@
192 htmldir = @htmldir@
193 includedir = @includedir@
194 infodir = @infodir@
195 install_sh = @install_sh@
196 libdir = @libdir@
197 libexecdir = @libexecdir@
198 localedir = @localedir@
199 localstatedir = @localstatedir@
200 mandir = @mandir@
201 mkdir_p = @mkdir_p@
202 oldincludedir = @oldincludedir@
203 pdfdir = @pdfdir@
204 prefix = @prefix@
205 program_transform_name = @program_transform_name@
206 psdir = @psdir@
207 sbindir = @sbindir@
208 sharedstatedir = @sharedstatedir@
209 srcdir = @srcdir@
210 sysconfdir = @sysconfdir@
211 target = @target@
212 target_alias = @target_alias@
213 target_cpu = @target_cpu@
214 target_noncanonical = @target_noncanonical@
215 target_os = @target_os@
216 target_vendor = @target_vendor@
217 top_build_prefix = @top_build_prefix@
218 top_builddir = @top_builddir@
219 top_srcdir = @top_srcdir@
220 ACLOCAL_AMFLAGS = -I ./config -I ../config
221 gcc_version := $(shell $(GCC_FOR_TARGET) -dumpversion)
222 libexecsubdir = $(libexecdir)/gcc/$(target_noncanonical)/$(gcc_version)
223 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
224 PWD_COMMAND = $${PWDCMD-pwd}
225 STAMP = echo timestamp >
226 libgodir = ../$(target_noncanonical)/libgo
227 LIBGODEP = $(libgodir)/libgo.la
228 @NATIVE_FALSE@GOCOMPILER = $(GOC)
230 # Use the compiler we just built.
231 @NATIVE_TRUE@GOCOMPILER = $(GOC_FOR_TARGET)
232 GOCOMPILE = $(GOCOMPILER) $(GOCFLAGS)
233 AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs
234 GOLINK = $(GOCOMPILER) $(AM_GOCFLAGS) $(LDFLAGS) $(AM_LDFLAGS) -o $@
235 cmdsrcdir = $(srcdir)/../libgo/go/cmd
236 go_cmd_go_files = \
237 $(cmdsrcdir)/go/build.go \
238 $(cmdsrcdir)/go/clean.go \
239 $(cmdsrcdir)/go/context.go \
240 $(cmdsrcdir)/go/discovery.go \
241 $(cmdsrcdir)/go/env.go \
242 $(cmdsrcdir)/go/fix.go \
243 $(cmdsrcdir)/go/fmt.go \
244 $(cmdsrcdir)/go/generate.go \
245 $(cmdsrcdir)/go/get.go \
246 $(cmdsrcdir)/go/go11.go \
247 $(cmdsrcdir)/go/help.go \
248 $(cmdsrcdir)/go/http.go \
249 $(cmdsrcdir)/go/list.go \
250 $(cmdsrcdir)/go/main.go \
251 $(cmdsrcdir)/go/pkg.go \
252 $(cmdsrcdir)/go/run.go \
253 $(cmdsrcdir)/go/signal.go \
254 $(cmdsrcdir)/go/signal_unix.go \
255 $(cmdsrcdir)/go/test.go \
256 $(cmdsrcdir)/go/testflag.go \
257 $(cmdsrcdir)/go/tool.go \
258 $(cmdsrcdir)/go/vcs.go \
259 $(cmdsrcdir)/go/version.go \
260 $(cmdsrcdir)/go/vet.go
262 go_cmd_gofmt_files = \
263 $(cmdsrcdir)/gofmt/doc.go \
264 $(cmdsrcdir)/gofmt/gofmt.go \
265 $(cmdsrcdir)/gofmt/rewrite.go \
266 $(cmdsrcdir)/gofmt/simplify.go
268 go_cmd_cgo_files = \
269 $(cmdsrcdir)/cgo/ast.go \
270 $(cmdsrcdir)/cgo/doc.go \
271 $(cmdsrcdir)/cgo/gcc.go \
272 $(cmdsrcdir)/cgo/godefs.go \
273 $(cmdsrcdir)/cgo/main.go \
274 $(cmdsrcdir)/cgo/out.go \
275 $(cmdsrcdir)/cgo/util.go
277 GCCGO_INSTALL_NAME := $(shell echo gccgo|sed '$(program_transform_name)')
278 GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)')
279 GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)')
280 MOSTLYCLEANFILES = zdefaultcc.go s-zdefaultcc
282 # For a native build we build the programs using the newly built libgo
283 # and install them as regular programs.
284 @NATIVE_TRUE@bin_PROGRAMS = go$(EXEEXT) gofmt$(EXEEXT)
285 @NATIVE_TRUE@noinst_PROGRAMS = cgo$(EXEEXT)
286 @NATIVE_TRUE@man_MANS = go.1 gofmt.1
287 all: all-am
289 .SUFFIXES:
290 .SUFFIXES: .c .o .obj
291 am--refresh:
293 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
294 @for dep in $?; do \
295 case '$(am__configure_deps)' in \
296 *$$dep*) \
297 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
298 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
299 && exit 0; \
300 exit 1;; \
301 esac; \
302 done; \
303 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
304 $(am__cd) $(top_srcdir) && \
305 $(AUTOMAKE) --foreign Makefile
306 .PRECIOUS: Makefile
307 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
308 @case '$?' in \
309 *config.status*) \
310 echo ' $(SHELL) ./config.status'; \
311 $(SHELL) ./config.status;; \
312 *) \
313 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
314 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
315 esac;
317 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
318 $(SHELL) ./config.status --recheck
320 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
321 $(am__cd) $(srcdir) && $(AUTOCONF)
322 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
323 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
324 $(am__aclocal_m4_deps):
325 install-binPROGRAMS: $(bin_PROGRAMS)
326 @$(NORMAL_INSTALL)
327 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
328 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
329 for p in $$list; do echo "$$p $$p"; done | \
330 sed 's/$(EXEEXT)$$//' | \
331 while read p p1; do if test -f $$p; \
332 then echo "$$p"; echo "$$p"; else :; fi; \
333 done | \
334 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
335 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
336 sed 'N;N;N;s,\n, ,g' | \
337 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
338 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
339 if ($$2 == $$4) files[d] = files[d] " " $$1; \
340 else { print "f", $$3 "/" $$4, $$1; } } \
341 END { for (d in files) print "f", d, files[d] }' | \
342 while read type dir files; do \
343 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
344 test -z "$$files" || { \
345 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
346 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
348 ; done
350 uninstall-binPROGRAMS:
351 @$(NORMAL_UNINSTALL)
352 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
353 files=`for p in $$list; do echo "$$p"; done | \
354 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
355 -e 's/$$/$(EXEEXT)/' `; \
356 test -n "$$list" || exit 0; \
357 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
358 cd "$(DESTDIR)$(bindir)" && rm -f $$files
360 clean-binPROGRAMS:
361 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
363 clean-noinstPROGRAMS:
364 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
365 @NATIVE_FALSE@cgo$(EXEEXT): $(cgo_OBJECTS) $(cgo_DEPENDENCIES)
366 @NATIVE_FALSE@ @rm -f cgo$(EXEEXT)
367 @NATIVE_FALSE@ $(LINK) $(cgo_OBJECTS) $(cgo_LDADD) $(LIBS)
368 @NATIVE_FALSE@go$(EXEEXT): $(go_OBJECTS) $(go_DEPENDENCIES)
369 @NATIVE_FALSE@ @rm -f go$(EXEEXT)
370 @NATIVE_FALSE@ $(LINK) $(go_OBJECTS) $(go_LDADD) $(LIBS)
371 @NATIVE_FALSE@gofmt$(EXEEXT): $(gofmt_OBJECTS) $(gofmt_DEPENDENCIES)
372 @NATIVE_FALSE@ @rm -f gofmt$(EXEEXT)
373 @NATIVE_FALSE@ $(LINK) $(gofmt_OBJECTS) $(gofmt_LDADD) $(LIBS)
375 mostlyclean-compile:
376 -rm -f *.$(OBJEXT)
378 distclean-compile:
379 -rm -f *.tab.c
381 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgo.Po@am__quote@
382 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/go.Po@am__quote@
383 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gofmt.Po@am__quote@
385 .c.o:
386 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
387 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
388 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
389 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
390 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
392 .c.obj:
393 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
394 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
395 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
396 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
397 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
398 install-man1: $(man_MANS)
399 @$(NORMAL_INSTALL)
400 test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
401 @list=''; test -n "$(man1dir)" || exit 0; \
402 { for i in $$list; do echo "$$i"; done; \
403 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
404 sed -n '/\.1[a-z]*$$/p'; \
405 } | while read p; do \
406 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
407 echo "$$d$$p"; echo "$$p"; \
408 done | \
409 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
410 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
411 sed 'N;N;s,\n, ,g' | { \
412 list=; while read file base inst; do \
413 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
414 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
415 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
416 fi; \
417 done; \
418 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
419 while read files; do \
420 test -z "$$files" || { \
421 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
422 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
423 done; }
425 uninstall-man1:
426 @$(NORMAL_UNINSTALL)
427 @list=''; test -n "$(man1dir)" || exit 0; \
428 files=`{ for i in $$list; do echo "$$i"; done; \
429 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
430 sed -n '/\.1[a-z]*$$/p'; \
431 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
432 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
433 test -z "$$files" || { \
434 echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
435 cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
437 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
438 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
439 unique=`for i in $$list; do \
440 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
441 done | \
442 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
443 END { if (nonempty) { for (i in files) print i; }; }'`; \
444 mkid -fID $$unique
445 tags: TAGS
447 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
448 $(TAGS_FILES) $(LISP)
449 set x; \
450 here=`pwd`; \
451 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
452 unique=`for i in $$list; do \
453 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
454 done | \
455 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
456 END { if (nonempty) { for (i in files) print i; }; }'`; \
457 shift; \
458 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
459 test -n "$$unique" || unique=$$empty_fix; \
460 if test $$# -gt 0; then \
461 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
462 "$$@" $$unique; \
463 else \
464 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
465 $$unique; \
466 fi; \
468 ctags: CTAGS
469 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
470 $(TAGS_FILES) $(LISP)
471 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
472 unique=`for i in $$list; do \
473 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
474 done | \
475 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
476 END { if (nonempty) { for (i in files) print i; }; }'`; \
477 test -z "$(CTAGS_ARGS)$$unique" \
478 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
479 $$unique
481 GTAGS:
482 here=`$(am__cd) $(top_builddir) && pwd` \
483 && $(am__cd) $(top_srcdir) \
484 && gtags -i $(GTAGS_ARGS) "$$here"
486 distclean-tags:
487 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
488 check-am: all-am
489 check: check-am
490 all-am: Makefile $(PROGRAMS) $(MANS)
491 installdirs:
492 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
493 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
494 done
495 install: install-am
496 install-exec: install-exec-am
497 install-data: install-data-am
498 uninstall: uninstall-am
500 install-am: all-am
501 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
503 installcheck: installcheck-am
504 install-strip:
505 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
506 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
507 `test -z '$(STRIP)' || \
508 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
509 mostlyclean-generic:
510 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
512 clean-generic:
514 distclean-generic:
515 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
516 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
518 maintainer-clean-generic:
519 @echo "This command is intended for maintainers to use"
520 @echo "it deletes files that may require special tools to rebuild."
521 @NATIVE_FALSE@uninstall-local:
522 @NATIVE_FALSE@install-exec-local:
523 clean: clean-am
525 clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \
526 mostlyclean-am
528 distclean: distclean-am
529 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
530 -rm -rf ./$(DEPDIR)
531 -rm -f Makefile
532 distclean-am: clean-am distclean-compile distclean-generic \
533 distclean-tags
535 dvi: dvi-am
537 dvi-am:
539 html: html-am
541 html-am:
543 info: info-am
545 info-am:
547 install-data-am: install-man
549 install-dvi: install-dvi-am
551 install-dvi-am:
553 install-exec-am: install-binPROGRAMS install-exec-local
555 install-html: install-html-am
557 install-html-am:
559 install-info: install-info-am
561 install-info-am:
563 install-man: install-man1
565 install-pdf: install-pdf-am
567 install-pdf-am:
569 install-ps: install-ps-am
571 install-ps-am:
573 installcheck-am:
575 maintainer-clean: maintainer-clean-am
576 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
577 -rm -rf $(top_srcdir)/autom4te.cache
578 -rm -rf ./$(DEPDIR)
579 -rm -f Makefile
580 maintainer-clean-am: distclean-am maintainer-clean-generic
582 mostlyclean: mostlyclean-am
584 mostlyclean-am: mostlyclean-compile mostlyclean-generic
586 pdf: pdf-am
588 pdf-am:
590 ps: ps-am
592 ps-am:
594 uninstall-am: uninstall-binPROGRAMS uninstall-local uninstall-man
596 uninstall-man: uninstall-man1
598 .MAKE: install-am install-strip
600 .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
601 clean-binPROGRAMS clean-generic clean-noinstPROGRAMS ctags \
602 distclean distclean-compile distclean-generic distclean-tags \
603 dvi dvi-am html html-am info info-am install install-am \
604 install-binPROGRAMS install-data install-data-am install-dvi \
605 install-dvi-am install-exec install-exec-am install-exec-local \
606 install-html install-html-am install-info install-info-am \
607 install-man install-man1 install-pdf install-pdf-am install-ps \
608 install-ps-am install-strip installcheck installcheck-am \
609 installdirs maintainer-clean maintainer-clean-generic \
610 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
611 ps ps-am tags uninstall uninstall-am uninstall-binPROGRAMS \
612 uninstall-local uninstall-man uninstall-man1
615 zdefaultcc.go: s-zdefaultcc; @true
616 s-zdefaultcc: Makefile
617 echo 'package main' > zdefaultcc.go.tmp
618 echo 'const defaultGCCGO = "$(bindir)/$(GCCGO_INSTALL_NAME)"' >> zdefaultcc.go.tmp
619 echo 'const defaultCC = "$(bindir)/$(GCC_INSTALL_NAME)"' >> zdefaultcc.go.tmp
620 echo 'const defaultCXX = "$(bindir)/$(GXX_INSTALL_NAME)"' >> zdefaultcc.go.tmp
621 $(SHELL) $(srcdir)/../move-if-change zdefaultcc.go.tmp zdefaultcc.go
622 $(STAMP) $@
624 @NATIVE_TRUE@go$(EXEEXT): $(go_cmd_go_files) zdefaultcc.go $(LIBGODEP)
625 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_go_files) zdefaultcc.go $(LIBS) $(NET_LIBS)
626 @NATIVE_TRUE@gofmt$(EXEEXT): $(go_cmd_gofmt_files) $(LIBGODEP)
627 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_gofmt_files) $(LIBS) $(NET_LIBS)
628 @NATIVE_TRUE@cgo$(EXEEXT): $(go_cmd_cgo_files) zdefaultcc.go $(LIBGODEP)
629 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_cgo_files) zdefaultcc.go $(LIBS) $(NET_LIBS)
631 @NATIVE_TRUE@install-exec-local: cgo$(EXEEXT)
632 @NATIVE_TRUE@ $(MKDIR_P) $(DESTDIR)$(libexecsubdir)
633 @NATIVE_TRUE@ rm -f $(DESTDIR)$(libexecsubdir)/cgo$(exeext)
634 @NATIVE_TRUE@ $(INSTALL_PROGRAM) cgo$(exeext) $(DESTDIR)$(libexecsubdir)/cgo$(exeext)
636 @NATIVE_TRUE@uninstall-local:
637 @NATIVE_TRUE@ rm -f $(DESTDIR)$(libexecsubdir)/cgo$(exeext)
639 # For a non-native build we have to build the programs using a
640 # previously built host (or build -> host) Go compiler. We should
641 # only do this if such a compiler is available. We also need to get
642 # the right values for GOARCH and GOOS in the default build context in
643 # the go/build package. Figure this out later.
645 # Tell versions [3.59,3.63) of GNU make to not export all variables.
646 # Otherwise a system limit (for SysV at least) may be exceeded.
647 .NOEXPORT: