2015-05-12 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git] / gotools / Makefile.in
blobd08a597a85c17f55483b813281018e48af3c2dc8
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) $(GOCFLAGS) $(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 \
261 $(libgodir)/zstdpkglist.go
263 go_cmd_gofmt_files = \
264 $(cmdsrcdir)/gofmt/doc.go \
265 $(cmdsrcdir)/gofmt/gofmt.go \
266 $(cmdsrcdir)/gofmt/rewrite.go \
267 $(cmdsrcdir)/gofmt/simplify.go
269 go_cmd_cgo_files = \
270 $(cmdsrcdir)/cgo/ast.go \
271 $(cmdsrcdir)/cgo/doc.go \
272 $(cmdsrcdir)/cgo/gcc.go \
273 $(cmdsrcdir)/cgo/godefs.go \
274 $(cmdsrcdir)/cgo/main.go \
275 $(cmdsrcdir)/cgo/out.go \
276 $(cmdsrcdir)/cgo/util.go
278 GCCGO_INSTALL_NAME := $(shell echo gccgo|sed '$(program_transform_name)')
279 GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)')
280 GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)')
281 MOSTLYCLEANFILES = zdefaultcc.go s-zdefaultcc
283 # For a native build we build the programs using the newly built libgo
284 # and install them as regular programs.
285 @NATIVE_TRUE@bin_PROGRAMS = go$(EXEEXT) gofmt$(EXEEXT)
286 @NATIVE_TRUE@noinst_PROGRAMS = cgo$(EXEEXT)
287 @NATIVE_TRUE@man_MANS = go.1 gofmt.1
288 all: all-am
290 .SUFFIXES:
291 .SUFFIXES: .c .o .obj
292 am--refresh:
294 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
295 @for dep in $?; do \
296 case '$(am__configure_deps)' in \
297 *$$dep*) \
298 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
299 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
300 && exit 0; \
301 exit 1;; \
302 esac; \
303 done; \
304 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
305 $(am__cd) $(top_srcdir) && \
306 $(AUTOMAKE) --foreign Makefile
307 .PRECIOUS: Makefile
308 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
309 @case '$?' in \
310 *config.status*) \
311 echo ' $(SHELL) ./config.status'; \
312 $(SHELL) ./config.status;; \
313 *) \
314 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
315 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
316 esac;
318 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
319 $(SHELL) ./config.status --recheck
321 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
322 $(am__cd) $(srcdir) && $(AUTOCONF)
323 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
324 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
325 $(am__aclocal_m4_deps):
326 install-binPROGRAMS: $(bin_PROGRAMS)
327 @$(NORMAL_INSTALL)
328 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
329 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
330 for p in $$list; do echo "$$p $$p"; done | \
331 sed 's/$(EXEEXT)$$//' | \
332 while read p p1; do if test -f $$p; \
333 then echo "$$p"; echo "$$p"; else :; fi; \
334 done | \
335 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
336 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
337 sed 'N;N;N;s,\n, ,g' | \
338 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
339 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
340 if ($$2 == $$4) files[d] = files[d] " " $$1; \
341 else { print "f", $$3 "/" $$4, $$1; } } \
342 END { for (d in files) print "f", d, files[d] }' | \
343 while read type dir files; do \
344 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
345 test -z "$$files" || { \
346 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
347 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
349 ; done
351 uninstall-binPROGRAMS:
352 @$(NORMAL_UNINSTALL)
353 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
354 files=`for p in $$list; do echo "$$p"; done | \
355 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
356 -e 's/$$/$(EXEEXT)/' `; \
357 test -n "$$list" || exit 0; \
358 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
359 cd "$(DESTDIR)$(bindir)" && rm -f $$files
361 clean-binPROGRAMS:
362 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
364 clean-noinstPROGRAMS:
365 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
366 @NATIVE_FALSE@cgo$(EXEEXT): $(cgo_OBJECTS) $(cgo_DEPENDENCIES)
367 @NATIVE_FALSE@ @rm -f cgo$(EXEEXT)
368 @NATIVE_FALSE@ $(LINK) $(cgo_OBJECTS) $(cgo_LDADD) $(LIBS)
369 @NATIVE_FALSE@go$(EXEEXT): $(go_OBJECTS) $(go_DEPENDENCIES)
370 @NATIVE_FALSE@ @rm -f go$(EXEEXT)
371 @NATIVE_FALSE@ $(LINK) $(go_OBJECTS) $(go_LDADD) $(LIBS)
372 @NATIVE_FALSE@gofmt$(EXEEXT): $(gofmt_OBJECTS) $(gofmt_DEPENDENCIES)
373 @NATIVE_FALSE@ @rm -f gofmt$(EXEEXT)
374 @NATIVE_FALSE@ $(LINK) $(gofmt_OBJECTS) $(gofmt_LDADD) $(LIBS)
376 mostlyclean-compile:
377 -rm -f *.$(OBJEXT)
379 distclean-compile:
380 -rm -f *.tab.c
382 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgo.Po@am__quote@
383 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/go.Po@am__quote@
384 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gofmt.Po@am__quote@
386 .c.o:
387 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
388 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
389 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
390 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
391 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
393 .c.obj:
394 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
395 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
396 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
397 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
398 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
399 install-man1: $(man_MANS)
400 @$(NORMAL_INSTALL)
401 test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
402 @list=''; test -n "$(man1dir)" || exit 0; \
403 { for i in $$list; do echo "$$i"; done; \
404 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
405 sed -n '/\.1[a-z]*$$/p'; \
406 } | while read p; do \
407 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
408 echo "$$d$$p"; echo "$$p"; \
409 done | \
410 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
411 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
412 sed 'N;N;s,\n, ,g' | { \
413 list=; while read file base inst; do \
414 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
415 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
416 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
417 fi; \
418 done; \
419 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
420 while read files; do \
421 test -z "$$files" || { \
422 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
423 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
424 done; }
426 uninstall-man1:
427 @$(NORMAL_UNINSTALL)
428 @list=''; test -n "$(man1dir)" || exit 0; \
429 files=`{ for i in $$list; do echo "$$i"; done; \
430 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
431 sed -n '/\.1[a-z]*$$/p'; \
432 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
433 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
434 test -z "$$files" || { \
435 echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
436 cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
438 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
439 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
440 unique=`for i in $$list; do \
441 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
442 done | \
443 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
444 END { if (nonempty) { for (i in files) print i; }; }'`; \
445 mkid -fID $$unique
446 tags: TAGS
448 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
449 $(TAGS_FILES) $(LISP)
450 set x; \
451 here=`pwd`; \
452 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
453 unique=`for i in $$list; do \
454 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
455 done | \
456 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
457 END { if (nonempty) { for (i in files) print i; }; }'`; \
458 shift; \
459 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
460 test -n "$$unique" || unique=$$empty_fix; \
461 if test $$# -gt 0; then \
462 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
463 "$$@" $$unique; \
464 else \
465 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
466 $$unique; \
467 fi; \
469 ctags: CTAGS
470 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
471 $(TAGS_FILES) $(LISP)
472 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
473 unique=`for i in $$list; do \
474 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
475 done | \
476 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
477 END { if (nonempty) { for (i in files) print i; }; }'`; \
478 test -z "$(CTAGS_ARGS)$$unique" \
479 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
480 $$unique
482 GTAGS:
483 here=`$(am__cd) $(top_builddir) && pwd` \
484 && $(am__cd) $(top_srcdir) \
485 && gtags -i $(GTAGS_ARGS) "$$here"
487 distclean-tags:
488 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
489 check-am: all-am
490 check: check-am
491 all-am: Makefile $(PROGRAMS) $(MANS)
492 installdirs:
493 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
494 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
495 done
496 install: install-am
497 install-exec: install-exec-am
498 install-data: install-data-am
499 uninstall: uninstall-am
501 install-am: all-am
502 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
504 installcheck: installcheck-am
505 install-strip:
506 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
507 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
508 `test -z '$(STRIP)' || \
509 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
510 mostlyclean-generic:
511 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
513 clean-generic:
515 distclean-generic:
516 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
517 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
519 maintainer-clean-generic:
520 @echo "This command is intended for maintainers to use"
521 @echo "it deletes files that may require special tools to rebuild."
522 @NATIVE_FALSE@uninstall-local:
523 @NATIVE_FALSE@install-exec-local:
524 clean: clean-am
526 clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \
527 mostlyclean-am
529 distclean: distclean-am
530 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
531 -rm -rf ./$(DEPDIR)
532 -rm -f Makefile
533 distclean-am: clean-am distclean-compile distclean-generic \
534 distclean-tags
536 dvi: dvi-am
538 dvi-am:
540 html: html-am
542 html-am:
544 info: info-am
546 info-am:
548 install-data-am: install-man
550 install-dvi: install-dvi-am
552 install-dvi-am:
554 install-exec-am: install-binPROGRAMS install-exec-local
556 install-html: install-html-am
558 install-html-am:
560 install-info: install-info-am
562 install-info-am:
564 install-man: install-man1
566 install-pdf: install-pdf-am
568 install-pdf-am:
570 install-ps: install-ps-am
572 install-ps-am:
574 installcheck-am:
576 maintainer-clean: maintainer-clean-am
577 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
578 -rm -rf $(top_srcdir)/autom4te.cache
579 -rm -rf ./$(DEPDIR)
580 -rm -f Makefile
581 maintainer-clean-am: distclean-am maintainer-clean-generic
583 mostlyclean: mostlyclean-am
585 mostlyclean-am: mostlyclean-compile mostlyclean-generic
587 pdf: pdf-am
589 pdf-am:
591 ps: ps-am
593 ps-am:
595 uninstall-am: uninstall-binPROGRAMS uninstall-local uninstall-man
597 uninstall-man: uninstall-man1
599 .MAKE: install-am install-strip
601 .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
602 clean-binPROGRAMS clean-generic clean-noinstPROGRAMS ctags \
603 distclean distclean-compile distclean-generic distclean-tags \
604 dvi dvi-am html html-am info info-am install install-am \
605 install-binPROGRAMS install-data install-data-am install-dvi \
606 install-dvi-am install-exec install-exec-am install-exec-local \
607 install-html install-html-am install-info install-info-am \
608 install-man install-man1 install-pdf install-pdf-am install-ps \
609 install-ps-am install-strip installcheck installcheck-am \
610 installdirs maintainer-clean maintainer-clean-generic \
611 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
612 ps ps-am tags uninstall uninstall-am uninstall-binPROGRAMS \
613 uninstall-local uninstall-man uninstall-man1
616 zdefaultcc.go: s-zdefaultcc; @true
617 s-zdefaultcc: Makefile
618 echo 'package main' > zdefaultcc.go.tmp
619 echo 'const defaultGCCGO = "$(bindir)/$(GCCGO_INSTALL_NAME)"' >> zdefaultcc.go.tmp
620 echo 'const defaultCC = "$(bindir)/$(GCC_INSTALL_NAME)"' >> zdefaultcc.go.tmp
621 echo 'const defaultCXX = "$(bindir)/$(GXX_INSTALL_NAME)"' >> zdefaultcc.go.tmp
622 $(SHELL) $(srcdir)/../move-if-change zdefaultcc.go.tmp zdefaultcc.go
623 $(STAMP) $@
625 @NATIVE_TRUE@go$(EXEEXT): $(go_cmd_go_files) zdefaultcc.go $(LIBGODEP)
626 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_go_files) zdefaultcc.go $(LIBS) $(NET_LIBS)
627 @NATIVE_TRUE@gofmt$(EXEEXT): $(go_cmd_gofmt_files) $(LIBGODEP)
628 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_gofmt_files) $(LIBS) $(NET_LIBS)
629 @NATIVE_TRUE@cgo$(EXEEXT): $(go_cmd_cgo_files) zdefaultcc.go $(LIBGODEP)
630 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_cgo_files) zdefaultcc.go $(LIBS) $(NET_LIBS)
632 @NATIVE_TRUE@install-exec-local: cgo$(EXEEXT)
633 @NATIVE_TRUE@ $(MKDIR_P) $(DESTDIR)$(libexecsubdir)
634 @NATIVE_TRUE@ rm -f $(DESTDIR)$(libexecsubdir)/cgo$(exeext)
635 @NATIVE_TRUE@ $(INSTALL_PROGRAM) cgo$(exeext) $(DESTDIR)$(libexecsubdir)/cgo$(exeext)
637 @NATIVE_TRUE@uninstall-local:
638 @NATIVE_TRUE@ rm -f $(DESTDIR)$(libexecsubdir)/cgo$(exeext)
640 # For a non-native build we have to build the programs using a
641 # previously built host (or build -> host) Go compiler. We should
642 # only do this if such a compiler is available. We also need to get
643 # the right values for GOARCH and GOOS in the default build context in
644 # the go/build package. Figure this out later.
646 # Tell versions [3.59,3.63) of GNU make to not export all variables.
647 # Otherwise a system limit (for SysV at least) may be exceeded.
648 .NOEXPORT: