2015-01-13 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gotools / Makefile.in
blobb108d9d916cc08e544e398e45c594140b8c76f21
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)$(libexecsubdir)"
73 PROGRAMS = $(bin_PROGRAMS) $(libexecsub_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 ETAGS = etags
93 CTAGS = ctags
94 ACLOCAL = @ACLOCAL@
95 AMTAR = @AMTAR@
96 AUTOCONF = @AUTOCONF@
97 AUTOHEADER = @AUTOHEADER@
98 AUTOMAKE = @AUTOMAKE@
99 AWK = @AWK@
100 CC = @CC@
101 CCDEPMODE = @CCDEPMODE@
102 CFLAGS = @CFLAGS@
103 CPPFLAGS = @CPPFLAGS@
104 CYGPATH_W = @CYGPATH_W@
105 DEFS = @DEFS@
106 DEPDIR = @DEPDIR@
107 ECHO_C = @ECHO_C@
108 ECHO_N = @ECHO_N@
109 ECHO_T = @ECHO_T@
110 EXEEXT = @EXEEXT@
111 GOC = @GOC@
112 GOCFLAGS = $(CFLAGS_FOR_TARGET)
113 INSTALL = @INSTALL@
114 INSTALL_DATA = @INSTALL_DATA@
115 INSTALL_PROGRAM = @INSTALL_PROGRAM@
116 INSTALL_SCRIPT = @INSTALL_SCRIPT@
117 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
118 LDFLAGS = @LDFLAGS@
119 LIBOBJS = @LIBOBJS@
120 LIBS = @LIBS@
121 LTLIBOBJS = @LTLIBOBJS@
122 MAINT = @MAINT@
123 MAKEINFO = @MAKEINFO@
124 MKDIR_P = @MKDIR_P@
125 OBJEXT = @OBJEXT@
126 PACKAGE = @PACKAGE@
127 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
128 PACKAGE_NAME = @PACKAGE_NAME@
129 PACKAGE_STRING = @PACKAGE_STRING@
130 PACKAGE_TARNAME = @PACKAGE_TARNAME@
131 PACKAGE_URL = @PACKAGE_URL@
132 PACKAGE_VERSION = @PACKAGE_VERSION@
133 PATH_SEPARATOR = @PATH_SEPARATOR@
134 SET_MAKE = @SET_MAKE@
135 SHELL = @SHELL@
136 STRIP = @STRIP@
137 VERSION = @VERSION@
138 abs_builddir = @abs_builddir@
139 abs_srcdir = @abs_srcdir@
140 abs_top_builddir = @abs_top_builddir@
141 abs_top_srcdir = @abs_top_srcdir@
142 ac_ct_CC = @ac_ct_CC@
143 am__include = @am__include@
144 am__leading_dot = @am__leading_dot@
145 am__quote = @am__quote@
146 am__tar = @am__tar@
147 am__untar = @am__untar@
148 bindir = @bindir@
149 build = @build@
150 build_alias = @build_alias@
151 build_cpu = @build_cpu@
152 build_noncanonical = @build_noncanonical@
153 build_os = @build_os@
154 build_vendor = @build_vendor@
155 builddir = @builddir@
156 datadir = @datadir@
157 datarootdir = @datarootdir@
158 docdir = @docdir@
159 dvidir = @dvidir@
160 exec_prefix = @exec_prefix@
161 host = @host@
162 host_alias = @host_alias@
163 host_cpu = @host_cpu@
164 host_noncanonical = @host_noncanonical@
165 host_os = @host_os@
166 host_vendor = @host_vendor@
167 htmldir = @htmldir@
168 includedir = @includedir@
169 infodir = @infodir@
170 install_sh = @install_sh@
171 libdir = @libdir@
172 libexecdir = @libexecdir@
173 localedir = @localedir@
174 localstatedir = @localstatedir@
175 mandir = @mandir@
176 mkdir_p = @mkdir_p@
177 oldincludedir = @oldincludedir@
178 pdfdir = @pdfdir@
179 prefix = @prefix@
180 program_transform_name = @program_transform_name@
181 psdir = @psdir@
182 sbindir = @sbindir@
183 sharedstatedir = @sharedstatedir@
184 srcdir = @srcdir@
185 sysconfdir = @sysconfdir@
186 target = @target@
187 target_alias = @target_alias@
188 target_cpu = @target_cpu@
189 target_noncanonical = @target_noncanonical@
190 target_os = @target_os@
191 target_vendor = @target_vendor@
192 top_build_prefix = @top_build_prefix@
193 top_builddir = @top_builddir@
194 top_srcdir = @top_srcdir@
195 ACLOCAL_AMFLAGS = -I ./config -I ../config
196 gcc_version := $(shell $(GCC_FOR_TARGET) -dumpversion)
197 libexecsubdir = $(libexecdir)/gcc/$(target_noncanonical)/$(gcc_version)
198 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
199 PWD_COMMAND = $${PWDCMD-pwd}
200 STAMP = echo timestamp >
201 libgodir = ../$(target_noncanonical)/libgo
202 LIBGODEP = $(libgodir)/libgo.la
203 @NATIVE_FALSE@GOCOMPILER = $(GOC)
205 # Use the compiler we just built.
206 @NATIVE_TRUE@GOCOMPILER = $(GOC_FOR_TARGET)
207 GOCOMPILE = $(GOCOMPILER) $(GOCFLAGS)
208 AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs -static-libgo
209 GOLINK = $(GOCOMPILER) $(AM_GOCFLAGS) $(LDFLAGS) $(AM_LDFLAGS) -o $@
210 cmdsrcdir = $(srcdir)/../libgo/go/cmd
211 go_cmd_go_files = \
212 $(cmdsrcdir)/go/build.go \
213 $(cmdsrcdir)/go/clean.go \
214 $(cmdsrcdir)/go/main.go \
215 $(cmdsrcdir)/go/signal.go \
216 $(cmdsrcdir)/go/version.go \
217 $(cmdsrcdir)/go/env.go \
218 $(cmdsrcdir)/go/help.go \
219 $(cmdsrcdir)/go/run.go \
220 $(cmdsrcdir)/go/tool.go \
221 $(cmdsrcdir)/go/vet.go \
222 $(cmdsrcdir)/go/context.go \
223 $(cmdsrcdir)/go/fix.go \
224 $(cmdsrcdir)/go/get.go \
225 $(cmdsrcdir)/go/http.go \
226 $(cmdsrcdir)/go/signal_unix.go \
227 $(cmdsrcdir)/go/vcs.go \
228 $(cmdsrcdir)/go/discovery.go \
229 $(cmdsrcdir)/go/fmt.go \
230 $(cmdsrcdir)/go/go11.go \
231 $(cmdsrcdir)/go/list.go \
232 $(cmdsrcdir)/go/pkg.go \
233 $(cmdsrcdir)/go/test.go \
234 $(cmdsrcdir)/go/testflag.go
236 go_cmd_gofmt_files = \
237 $(cmdsrcdir)/gofmt/doc.go \
238 $(cmdsrcdir)/gofmt/gofmt.go \
239 $(cmdsrcdir)/gofmt/rewrite.go \
240 $(cmdsrcdir)/gofmt/simplify.go
242 go_cmd_cgo_files = \
243 $(cmdsrcdir)/cgo/ast.go \
244 $(cmdsrcdir)/cgo/doc.go \
245 $(cmdsrcdir)/cgo/gcc.go \
246 $(cmdsrcdir)/cgo/godefs.go \
247 $(cmdsrcdir)/cgo/main.go \
248 $(cmdsrcdir)/cgo/out.go \
249 $(cmdsrcdir)/cgo/util.go
251 GCCGO_INSTALL_NAME := $(shell echo gccgo|sed '$(program_transform_name)')
252 GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)')
253 GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)')
254 MOSTLYCLEANFILES = zdefaultcc.go s-zdefaultcc
256 # For a native build we build the programs using the newly built libgo
257 # and install them as regular programs.
258 @NATIVE_TRUE@bin_PROGRAMS = go$(EXEEXT) gofmt$(EXEEXT)
259 @NATIVE_TRUE@libexecsub_PROGRAMS = cgo$(EXEEXT)
260 all: all-am
262 .SUFFIXES:
263 .SUFFIXES: .c .o .obj
264 am--refresh:
266 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
267 @for dep in $?; do \
268 case '$(am__configure_deps)' in \
269 *$$dep*) \
270 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
271 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
272 && exit 0; \
273 exit 1;; \
274 esac; \
275 done; \
276 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
277 $(am__cd) $(top_srcdir) && \
278 $(AUTOMAKE) --foreign Makefile
279 .PRECIOUS: Makefile
280 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
281 @case '$?' in \
282 *config.status*) \
283 echo ' $(SHELL) ./config.status'; \
284 $(SHELL) ./config.status;; \
285 *) \
286 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
287 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
288 esac;
290 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
291 $(SHELL) ./config.status --recheck
293 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
294 $(am__cd) $(srcdir) && $(AUTOCONF)
295 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
296 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
297 $(am__aclocal_m4_deps):
298 install-binPROGRAMS: $(bin_PROGRAMS)
299 @$(NORMAL_INSTALL)
300 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
301 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
302 for p in $$list; do echo "$$p $$p"; done | \
303 sed 's/$(EXEEXT)$$//' | \
304 while read p p1; do if test -f $$p; \
305 then echo "$$p"; echo "$$p"; else :; fi; \
306 done | \
307 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
308 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
309 sed 'N;N;N;s,\n, ,g' | \
310 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
311 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
312 if ($$2 == $$4) files[d] = files[d] " " $$1; \
313 else { print "f", $$3 "/" $$4, $$1; } } \
314 END { for (d in files) print "f", d, files[d] }' | \
315 while read type dir files; do \
316 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
317 test -z "$$files" || { \
318 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
319 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
321 ; done
323 uninstall-binPROGRAMS:
324 @$(NORMAL_UNINSTALL)
325 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
326 files=`for p in $$list; do echo "$$p"; done | \
327 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
328 -e 's/$$/$(EXEEXT)/' `; \
329 test -n "$$list" || exit 0; \
330 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
331 cd "$(DESTDIR)$(bindir)" && rm -f $$files
333 clean-binPROGRAMS:
334 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
335 install-libexecsubPROGRAMS: $(libexecsub_PROGRAMS)
336 @$(NORMAL_INSTALL)
337 test -z "$(libexecsubdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecsubdir)"
338 @list='$(libexecsub_PROGRAMS)'; test -n "$(libexecsubdir)" || list=; \
339 for p in $$list; do echo "$$p $$p"; done | \
340 sed 's/$(EXEEXT)$$//' | \
341 while read p p1; do if test -f $$p; \
342 then echo "$$p"; echo "$$p"; else :; fi; \
343 done | \
344 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
345 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
346 sed 'N;N;N;s,\n, ,g' | \
347 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
348 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
349 if ($$2 == $$4) files[d] = files[d] " " $$1; \
350 else { print "f", $$3 "/" $$4, $$1; } } \
351 END { for (d in files) print "f", d, files[d] }' | \
352 while read type dir files; do \
353 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
354 test -z "$$files" || { \
355 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecsubdir)$$dir'"; \
356 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecsubdir)$$dir" || exit $$?; \
358 ; done
360 uninstall-libexecsubPROGRAMS:
361 @$(NORMAL_UNINSTALL)
362 @list='$(libexecsub_PROGRAMS)'; test -n "$(libexecsubdir)" || list=; \
363 files=`for p in $$list; do echo "$$p"; done | \
364 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
365 -e 's/$$/$(EXEEXT)/' `; \
366 test -n "$$list" || exit 0; \
367 echo " ( cd '$(DESTDIR)$(libexecsubdir)' && rm -f" $$files ")"; \
368 cd "$(DESTDIR)$(libexecsubdir)" && rm -f $$files
370 clean-libexecsubPROGRAMS:
371 -test -z "$(libexecsub_PROGRAMS)" || rm -f $(libexecsub_PROGRAMS)
372 @NATIVE_FALSE@cgo$(EXEEXT): $(cgo_OBJECTS) $(cgo_DEPENDENCIES)
373 @NATIVE_FALSE@ @rm -f cgo$(EXEEXT)
374 @NATIVE_FALSE@ $(LINK) $(cgo_OBJECTS) $(cgo_LDADD) $(LIBS)
375 @NATIVE_FALSE@go$(EXEEXT): $(go_OBJECTS) $(go_DEPENDENCIES)
376 @NATIVE_FALSE@ @rm -f go$(EXEEXT)
377 @NATIVE_FALSE@ $(LINK) $(go_OBJECTS) $(go_LDADD) $(LIBS)
378 @NATIVE_FALSE@gofmt$(EXEEXT): $(gofmt_OBJECTS) $(gofmt_DEPENDENCIES)
379 @NATIVE_FALSE@ @rm -f gofmt$(EXEEXT)
380 @NATIVE_FALSE@ $(LINK) $(gofmt_OBJECTS) $(gofmt_LDADD) $(LIBS)
382 mostlyclean-compile:
383 -rm -f *.$(OBJEXT)
385 distclean-compile:
386 -rm -f *.tab.c
388 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgo.Po@am__quote@
389 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/go.Po@am__quote@
390 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gofmt.Po@am__quote@
392 .c.o:
393 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
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 $<
399 .c.obj:
400 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
401 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
402 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
403 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
404 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
406 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
407 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
408 unique=`for i in $$list; do \
409 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
410 done | \
411 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
412 END { if (nonempty) { for (i in files) print i; }; }'`; \
413 mkid -fID $$unique
414 tags: TAGS
416 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
417 $(TAGS_FILES) $(LISP)
418 set x; \
419 here=`pwd`; \
420 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
421 unique=`for i in $$list; do \
422 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
423 done | \
424 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
425 END { if (nonempty) { for (i in files) print i; }; }'`; \
426 shift; \
427 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
428 test -n "$$unique" || unique=$$empty_fix; \
429 if test $$# -gt 0; then \
430 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
431 "$$@" $$unique; \
432 else \
433 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
434 $$unique; \
435 fi; \
437 ctags: CTAGS
438 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
439 $(TAGS_FILES) $(LISP)
440 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
441 unique=`for i in $$list; do \
442 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
443 done | \
444 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
445 END { if (nonempty) { for (i in files) print i; }; }'`; \
446 test -z "$(CTAGS_ARGS)$$unique" \
447 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
448 $$unique
450 GTAGS:
451 here=`$(am__cd) $(top_builddir) && pwd` \
452 && $(am__cd) $(top_srcdir) \
453 && gtags -i $(GTAGS_ARGS) "$$here"
455 distclean-tags:
456 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
457 check-am: all-am
458 check: check-am
459 all-am: Makefile $(PROGRAMS)
460 installdirs:
461 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecsubdir)"; do \
462 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
463 done
464 install: install-am
465 install-exec: install-exec-am
466 install-data: install-data-am
467 uninstall: uninstall-am
469 install-am: all-am
470 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
472 installcheck: installcheck-am
473 install-strip:
474 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
475 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
476 `test -z '$(STRIP)' || \
477 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
478 mostlyclean-generic:
479 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
481 clean-generic:
483 distclean-generic:
484 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
485 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
487 maintainer-clean-generic:
488 @echo "This command is intended for maintainers to use"
489 @echo "it deletes files that may require special tools to rebuild."
490 clean: clean-am
492 clean-am: clean-binPROGRAMS clean-generic clean-libexecsubPROGRAMS \
493 mostlyclean-am
495 distclean: distclean-am
496 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
497 -rm -rf ./$(DEPDIR)
498 -rm -f Makefile
499 distclean-am: clean-am distclean-compile distclean-generic \
500 distclean-tags
502 dvi: dvi-am
504 dvi-am:
506 html: html-am
508 html-am:
510 info: info-am
512 info-am:
514 install-data-am:
516 install-dvi: install-dvi-am
518 install-dvi-am:
520 install-exec-am: install-binPROGRAMS install-libexecsubPROGRAMS
522 install-html: install-html-am
524 install-html-am:
526 install-info: install-info-am
528 install-info-am:
530 install-man:
532 install-pdf: install-pdf-am
534 install-pdf-am:
536 install-ps: install-ps-am
538 install-ps-am:
540 installcheck-am:
542 maintainer-clean: maintainer-clean-am
543 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
544 -rm -rf $(top_srcdir)/autom4te.cache
545 -rm -rf ./$(DEPDIR)
546 -rm -f Makefile
547 maintainer-clean-am: distclean-am maintainer-clean-generic
549 mostlyclean: mostlyclean-am
551 mostlyclean-am: mostlyclean-compile mostlyclean-generic
553 pdf: pdf-am
555 pdf-am:
557 ps: ps-am
559 ps-am:
561 uninstall-am: uninstall-binPROGRAMS uninstall-libexecsubPROGRAMS
563 .MAKE: install-am install-strip
565 .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
566 clean-binPROGRAMS clean-generic clean-libexecsubPROGRAMS ctags \
567 distclean distclean-compile distclean-generic distclean-tags \
568 dvi dvi-am html html-am info info-am install install-am \
569 install-binPROGRAMS install-data install-data-am install-dvi \
570 install-dvi-am install-exec install-exec-am install-html \
571 install-html-am install-info install-info-am \
572 install-libexecsubPROGRAMS install-man install-pdf \
573 install-pdf-am install-ps install-ps-am install-strip \
574 installcheck installcheck-am installdirs maintainer-clean \
575 maintainer-clean-generic mostlyclean mostlyclean-compile \
576 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
577 uninstall-am uninstall-binPROGRAMS \
578 uninstall-libexecsubPROGRAMS
581 zdefaultcc.go: s-zdefaultcc; @true
582 s-zdefaultcc: Makefile
583 echo 'package main' > zdefaultcc.go.tmp
584 echo 'const defaultGCCGO = "$(bindir)/$(GCCGO_INSTALL_NAME)"' >> zdefaultcc.go.tmp
585 echo 'const defaultCC = "$(bindir)/$(GCC_INSTALL_NAME)"' >> zdefaultcc.go.tmp
586 echo 'const defaultCXX = "$(bindir)/$(GXX_INSTALL_NAME)"' >> zdefaultcc.go.tmp
587 $(SHELL) $(srcdir)/../move-if-change zdefaultcc.go.tmp zdefaultcc.go
588 $(STAMP) $@
590 @NATIVE_TRUE@go$(EXEEXT): $(go_cmd_go_files) zdefaultcc.go $(LIBGODEP)
591 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_go_files) zdefaultcc.go
592 @NATIVE_TRUE@gofmt$(EXEEXT): $(go_cmd_gofmt_files) $(LIBGODEP)
593 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_gofmt_files)
594 @NATIVE_TRUE@cgo$(EXEEXT): $(go_cmd_cgo_files) zdefaultcc.go $(LIBGODEP)
595 @NATIVE_TRUE@ $(GOLINK) $(go_cmd_cgo_files) zdefaultcc.go
597 # For a non-native build we have to build the programs using a
598 # previously built host (or build -> host) Go compiler. We should
599 # only do this if such a compiler is available. We also need to get
600 # the right values for GOARCH and GOOS in the default build context in
601 # the go/build package. Figure this out later.
603 # Tell versions [3.59,3.63) of GNU make to not export all variables.
604 # Otherwise a system limit (for SysV at least) may be exceeded.
605 .NOEXPORT: