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