1 # Makefile.in generated by automake 1.11.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
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
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/>.
41 echo
'am--echo: ; @echo "AM" OK' |
$(MAKE
) -f
- 2>/dev
/null \
42 | grep
'^AM OK$$' >/dev
/null || am__dry
=yes
;; \
44 for am__flg in
$$MAKEFLAGS; do \
47 *n
*) am__dry
=yes
; break
;; \
51 test $$am__dry = yes
; \
53 pkgdatadir
= $(datadir)/@PACKAGE@
54 pkgincludedir
= $(includedir)/@PACKAGE@
55 pkglibdir
= $(libdir)/@PACKAGE@
56 pkglibexecdir
= $(libexecdir
)/@PACKAGE@
57 am__cd
= CDPATH
="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
58 install_sh_DATA
= $(install_sh
) -c
-m
644
59 install_sh_PROGRAM
= $(install_sh
) -c
60 install_sh_SCRIPT
= $(install_sh
) -c
61 INSTALL_HEADER
= $(INSTALL_DATA
)
62 transform
= $(program_transform_name
)
69 build_triplet
= @build@
71 target_triplet
= @target@
73 DIST_COMMON
= README ChangeLog
$(srcdir)/Makefile.in \
74 $(srcdir)/Makefile.am
$(top_srcdir
)/configure \
75 $(am__configure_deps
) $(srcdir)/..
/mkinstalldirs \
77 ACLOCAL_M4
= $(top_srcdir
)/aclocal.m4
78 am__aclocal_m4_deps
= $(top_srcdir
)/..
/config
/acx.m4 \
79 $(top_srcdir
)/..
/config
/depstand.m4 \
80 $(top_srcdir
)/..
/config
/lead-dot.m4 \
81 $(top_srcdir
)/..
/config
/override.m4
$(top_srcdir
)/config
/go.m4 \
82 $(top_srcdir
)/configure.ac
83 am__configure_deps
= $(am__aclocal_m4_deps
) $(CONFIGURE_DEPENDENCIES
) \
85 am__CONFIG_DISTCLEAN_FILES
= config.status config.cache config.log \
86 configure.lineno config.status.lineno
88 CONFIG_CLEAN_VPATH_FILES
=
89 am__installdirs
= "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
90 PROGRAMS
= $(bin_PROGRAMS
) $(noinst_PROGRAMS
)
92 cgo_OBJECTS
= cgo.
$(OBJEXT
)
95 go_OBJECTS
= go.
$(OBJEXT
)
97 gofmt_SOURCES
= gofmt.c
98 gofmt_OBJECTS
= gofmt.
$(OBJEXT
)
99 gofmt_LDADD
= $(LDADD
)
100 DEFAULT_INCLUDES
= -I.@am__isrc@
101 depcomp
= $(SHELL
) $(top_srcdir
)/..
/depcomp
102 am__depfiles_maybe
= depfiles
104 COMPILE
= $(CC
) $(DEFS
) $(DEFAULT_INCLUDES
) $(INCLUDES
) $(AM_CPPFLAGS
) \
105 $(CPPFLAGS
) $(AM_CFLAGS
) $(CFLAGS
)
107 LINK
= $(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) $(AM_LDFLAGS
) $(LDFLAGS
) -o
$@
108 SOURCES
= cgo.c go.c gofmt.c
109 am__can_run_installinfo
= \
110 case
$$AM_UPDATE_INFO_DIR in \
112 *) (install-info
--version
) >/dev
/null
2>&1;; \
114 am__vpath_adj_setup
= srcdirstrip
=`echo "$(srcdir)" | sed 's|.|.|g'`;
115 am__vpath_adj
= case
$$p in \
116 $(srcdir)/*) f
=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
119 am__strip_dir
= f
=`echo $$p | sed -e 's|^.*/||'`;
121 am__nobase_strip_setup
= \
122 srcdirstrip
=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
124 for p in
$$list; do echo
"$$p"; done | sed
-e
"s|$$srcdirstrip/||"
125 am__nobase_list
= $(am__nobase_strip_setup
); \
126 for p in
$$list; do echo
"$$p $$p"; done | \
127 sed
"s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
128 $(AWK
) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
129 if (++n[$$2] == $(am__install_max)) \
130 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
131 END { for (dir in files) print dir, files[dir] }'
133 sed
'$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
134 sed
'$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
135 am__uninstall_files_from_dir
= { \
137 ||
{ test ! -d
"$$dir" && test ! -f
"$$dir" && test ! -r
"$$dir"; } \
138 ||
{ echo
" ( cd '$$dir' && rm -f" $$files ")"; \
139 $(am__cd
) "$$dir" && rm -f
$$files; }; \
141 man1dir = $(mandir)/man1
148 AUTOCONF
= @AUTOCONF@
149 AUTOHEADER
= @AUTOHEADER@
150 AUTOMAKE
= @AUTOMAKE@
153 CCDEPMODE
= @CCDEPMODE@
155 CPPFLAGS
= @CPPFLAGS@
156 CYGPATH_W
= @CYGPATH_W@
164 GOCFLAGS
= $(CFLAGS_FOR_TARGET
)
166 INSTALL_DATA
= @INSTALL_DATA@
167 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
168 INSTALL_SCRIPT
= @INSTALL_SCRIPT@
169 INSTALL_STRIP_PROGRAM
= @INSTALL_STRIP_PROGRAM@
173 LTLIBOBJS
= @LTLIBOBJS@
175 MAKEINFO
= @MAKEINFO@
177 NET_LIBS
= @NET_LIBS@
180 PACKAGE_BUGREPORT
= @PACKAGE_BUGREPORT@
181 PACKAGE_NAME
= @PACKAGE_NAME@
182 PACKAGE_STRING
= @PACKAGE_STRING@
183 PACKAGE_TARNAME
= @PACKAGE_TARNAME@
184 PACKAGE_URL
= @PACKAGE_URL@
185 PACKAGE_VERSION
= @PACKAGE_VERSION@
186 PATH_SEPARATOR
= @PATH_SEPARATOR@
187 SET_MAKE
= @SET_MAKE@
191 abs_builddir
= @abs_builddir@
192 abs_srcdir
= @abs_srcdir@
193 abs_top_builddir
= @abs_top_builddir@
194 abs_top_srcdir
= @abs_top_srcdir@
195 ac_ct_CC
= @ac_ct_CC@
196 am__include
= @am__include@
197 am__leading_dot
= @am__leading_dot@
198 am__quote
= @am__quote@
200 am__untar
= @am__untar@
203 build_alias
= @build_alias@
204 build_cpu
= @build_cpu@
205 build_noncanonical
= @build_noncanonical@
206 build_os
= @build_os@
207 build_vendor
= @build_vendor@
208 builddir
= @builddir@
210 datarootdir
= @datarootdir@
213 exec_prefix = @
exec_prefix@
215 host_alias
= @host_alias@
216 host_cpu
= @host_cpu@
217 host_noncanonical
= @host_noncanonical@
219 host_vendor
= @host_vendor@
221 includedir = @
includedir@
223 install_sh
= @install_sh@
225 libexecdir
= @libexecdir@
226 localedir
= @localedir@
227 localstatedir
= @localstatedir@
230 oldincludedir = @
oldincludedir@
233 program_transform_name
= @program_transform_name@
236 sharedstatedir
= @sharedstatedir@
238 sysconfdir
= @sysconfdir@
240 target_alias
= @target_alias@
241 target_cpu
= @target_cpu@
242 target_noncanonical
= @target_noncanonical@
243 target_os
= @target_os@
244 target_vendor
= @target_vendor@
245 top_build_prefix
= @top_build_prefix@
246 top_builddir
= @top_builddir@
247 top_srcdir
= @top_srcdir@
248 ACLOCAL_AMFLAGS
= -I .
/config
-I ..
/config
249 gcc_version
:= $(shell $(GCC_FOR_TARGET
) -dumpversion
)
250 libexecsubdir
= $(libexecdir
)/gcc
/$(target_noncanonical
)/$(gcc_version
)
251 mkinstalldirs
= $(SHELL
) $(toplevel_srcdir
)/mkinstalldirs
252 PWD_COMMAND
= $${PWDCMD-pwd
}
253 STAMP
= echo timestamp
>
254 libgodir
= ..
/$(target_noncanonical
)/libgo
255 LIBGODEP
= $(libgodir
)/libgo.la
256 @NATIVE_FALSE@GOCOMPILER
= $(GOC
)
258 # Use the compiler we just built.
259 @NATIVE_TRUE@GOCOMPILER
= $(GOC_FOR_TARGET
)
260 GOCOMPILE
= $(GOCOMPILER
) $(GOCFLAGS
)
261 AM_LDFLAGS
= -L
$(libgodir
) -L
$(libgodir
)/.libs
262 GOLINK
= $(GOCOMPILER
) $(GOCFLAGS
) $(AM_GOCFLAGS
) $(LDFLAGS
) $(AM_LDFLAGS
) -o
$@
263 cmdsrcdir
= $(srcdir)/..
/libgo
/go
/cmd
265 $(cmdsrcdir
)/go
/alldocs.go \
266 $(cmdsrcdir
)/go
/build.go \
267 $(cmdsrcdir
)/go
/clean.go \
268 $(cmdsrcdir
)/go
/context.go \
269 $(cmdsrcdir
)/go
/discovery.go \
270 $(cmdsrcdir
)/go
/doc.go \
271 $(cmdsrcdir
)/go
/env.go \
272 $(cmdsrcdir
)/go
/fix.go \
273 $(cmdsrcdir
)/go
/fmt.go \
274 $(cmdsrcdir
)/go
/generate.go \
275 $(cmdsrcdir
)/go
/get.go \
276 $(cmdsrcdir
)/go
/go11.go \
277 $(cmdsrcdir
)/go
/help.go \
278 $(cmdsrcdir
)/go
/http.go \
279 $(cmdsrcdir
)/go
/list.go \
280 $(cmdsrcdir
)/go
/main.go \
281 $(cmdsrcdir
)/go
/note.go \
282 $(cmdsrcdir
)/go
/pkg.go \
283 $(cmdsrcdir
)/go
/run.go \
284 $(cmdsrcdir
)/go
/signal.go \
285 $(cmdsrcdir
)/go
/signal_unix.go \
286 $(cmdsrcdir
)/go
/test.go \
287 $(cmdsrcdir
)/go
/testflag.go \
288 $(cmdsrcdir
)/go
/tool.go \
289 $(cmdsrcdir
)/go
/vcs.go \
290 $(cmdsrcdir
)/go
/version.go \
291 $(cmdsrcdir
)/go
/vet.go \
292 $(libgodir
)/zstdpkglist.go
294 go_cmd_gofmt_files
= \
295 $(cmdsrcdir
)/gofmt
/doc.go \
296 $(cmdsrcdir
)/gofmt
/gofmt.go \
297 $(cmdsrcdir
)/gofmt
/rewrite.go \
298 $(cmdsrcdir
)/gofmt
/simplify.go
301 $(cmdsrcdir
)/cgo
/ast.go \
302 $(cmdsrcdir
)/cgo
/doc.go \
303 $(cmdsrcdir
)/cgo
/gcc.go \
304 $(cmdsrcdir
)/cgo
/godefs.go \
305 $(cmdsrcdir
)/cgo
/main.go \
306 $(cmdsrcdir
)/cgo
/out.go \
307 $(cmdsrcdir
)/cgo
/util.go
309 GCCGO_INSTALL_NAME
:= $(shell echo gccgo|sed
'$(program_transform_name)')
310 GCC_INSTALL_NAME
:= $(shell echo gcc|sed
'$(program_transform_name)')
311 GXX_INSTALL_NAME
:= $(shell echo g
++|sed
'$(program_transform_name)')
312 MOSTLYCLEANFILES
= zdefaultcc.go s-zdefaultcc
314 # For a native build we build the programs using the newly built libgo
315 # and install them as regular programs.
316 @NATIVE_TRUE@bin_PROGRAMS
= go
$(EXEEXT
) gofmt
$(EXEEXT
)
317 @NATIVE_TRUE@noinst_PROGRAMS
= cgo
$(EXEEXT
)
318 @NATIVE_TRUE@man_MANS
= go
.1 gofmt
.1
322 .SUFFIXES
: .c .o .obj
323 am--refresh
: Makefile
325 $(srcdir)/Makefile.in
: @MAINTAINER_MODE_TRUE@
$(srcdir)/Makefile.am
$(am__configure_deps
)
327 case
'$(am__configure_deps)' in \
329 echo
' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
330 $(am__cd
) $(srcdir) && $(AUTOMAKE
) --foreign \
335 echo
' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
336 $(am__cd
) $(top_srcdir
) && \
337 $(AUTOMAKE
) --foreign Makefile
339 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
342 echo
' $(SHELL) ./config.status'; \
343 $(SHELL
) .
/config.status
;; \
345 echo
' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
346 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
$(am__depfiles_maybe
);; \
349 $(top_builddir
)/config.status
: $(top_srcdir
)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
350 $(SHELL
) .
/config.status
--recheck
352 $(top_srcdir
)/configure
: @MAINTAINER_MODE_TRUE@
$(am__configure_deps
)
353 $(am__cd
) $(srcdir) && $(AUTOCONF
)
354 $(ACLOCAL_M4
): @MAINTAINER_MODE_TRUE@
$(am__aclocal_m4_deps
)
355 $(am__cd
) $(srcdir) && $(ACLOCAL
) $(ACLOCAL_AMFLAGS
)
356 $(am__aclocal_m4_deps
):
357 install-binPROGRAMS
: $(bin_PROGRAMS
)
359 @list
='$(bin_PROGRAMS)'; test -n
"$(bindir)" || list
=; \
360 if
test -n
"$$list"; then \
361 echo
" $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
362 $(MKDIR_P
) "$(DESTDIR)$(bindir)" || exit
1; \
364 for p in
$$list; do echo
"$$p $$p"; done | \
365 sed
's/$(EXEEXT)$$//' | \
366 while read p p1
; do if
test -f
$$p; \
367 then echo
"$$p"; echo
"$$p"; else :; fi
; \
369 sed
-e
'p;s,.*/,,;n;h' -e
's|.*|.|' \
370 -e
'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
371 sed
'N;N;N;s,\n, ,g' | \
372 $(AWK
) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
373 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
374 if ($$2 == $$4) files[d] = files[d] " " $$1; \
375 else { print "f", $$3 "/" $$4, $$1; } } \
376 END { for (d in files) print "f", d, files[d] }' | \
377 while read type
dir files
; do \
378 if
test "$$dir" = .
; then
dir=; else dir=/$$dir; fi
; \
379 test -z
"$$files" ||
{ \
380 echo
" $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
381 $(INSTALL_PROGRAM_ENV
) $(INSTALL_PROGRAM
) $$files "$(DESTDIR)$(bindir)$$dir" || exit
$$?
; \
385 uninstall-binPROGRAMS
:
387 @list
='$(bin_PROGRAMS)'; test -n
"$(bindir)" || list
=; \
388 files
=`for p in $$list; do echo "$$p"; done | \
389 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
390 -e 's/$$/$(EXEEXT)/' `; \
391 test -n
"$$list" || exit
0; \
392 echo
" ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
393 cd
"$(DESTDIR)$(bindir)" && rm -f
$$files
396 -test -z
"$(bin_PROGRAMS)" ||
rm -f
$(bin_PROGRAMS
)
398 clean-noinstPROGRAMS
:
399 -test -z
"$(noinst_PROGRAMS)" ||
rm -f
$(noinst_PROGRAMS
)
400 @NATIVE_FALSE@cgo
$(EXEEXT
): $(cgo_OBJECTS
) $(cgo_DEPENDENCIES
) $(EXTRA_cgo_DEPENDENCIES
)
401 @NATIVE_FALSE@ @
rm -f cgo
$(EXEEXT
)
402 @NATIVE_FALSE@
$(LINK
) $(cgo_OBJECTS
) $(cgo_LDADD
) $(LIBS
)
403 @NATIVE_FALSE@go
$(EXEEXT
): $(go_OBJECTS
) $(go_DEPENDENCIES
) $(EXTRA_go_DEPENDENCIES
)
404 @NATIVE_FALSE@ @
rm -f go
$(EXEEXT
)
405 @NATIVE_FALSE@
$(LINK
) $(go_OBJECTS
) $(go_LDADD
) $(LIBS
)
406 @NATIVE_FALSE@gofmt
$(EXEEXT
): $(gofmt_OBJECTS
) $(gofmt_DEPENDENCIES
) $(EXTRA_gofmt_DEPENDENCIES
)
407 @NATIVE_FALSE@ @
rm -f gofmt
$(EXEEXT
)
408 @NATIVE_FALSE@
$(LINK
) $(gofmt_OBJECTS
) $(gofmt_LDADD
) $(LIBS
)
416 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/cgo.Po@am__quote@
417 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/go.Po@am__quote@
418 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/gofmt.Po@am__quote@
421 @am__fastdepCC_TRUE@
$(COMPILE
) -MT
$@
-MD
-MP
-MF
$(DEPDIR
)/$*.Tpo
-c
-o
$@
$<
422 @am__fastdepCC_TRUE@
$(am__mv
) $(DEPDIR
)/$*.Tpo
$(DEPDIR
)/$*.Po
423 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source
='$<' object
='$@' libtool
=no @AMDEPBACKSLASH@
424 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR
=$(DEPDIR
) $(CCDEPMODE
) $(depcomp
) @AMDEPBACKSLASH@
425 @am__fastdepCC_FALSE@
$(COMPILE
) -c
$<
428 @am__fastdepCC_TRUE@
$(COMPILE
) -MT
$@
-MD
-MP
-MF
$(DEPDIR
)/$*.Tpo
-c
-o
$@
`$(CYGPATH_W) '$<'`
429 @am__fastdepCC_TRUE@
$(am__mv
) $(DEPDIR
)/$*.Tpo
$(DEPDIR
)/$*.Po
430 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source
='$<' object
='$@' libtool
=no @AMDEPBACKSLASH@
431 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR
=$(DEPDIR
) $(CCDEPMODE
) $(depcomp
) @AMDEPBACKSLASH@
432 @am__fastdepCC_FALSE@
$(COMPILE
) -c
`$(CYGPATH_W) '$<'`
433 install-man1
: $(man_MANS
)
436 list2
='$(man_MANS)'; \
437 test -n
"$(man1dir)" \
438 && test -n
"`echo $$list1$$list2`" \
440 echo
" $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
441 $(MKDIR_P
) "$(DESTDIR)$(man1dir)" || exit
1; \
442 { for i in
$$list1; do echo
"$$i"; done
; \
443 if
test -n
"$$list2"; then \
444 for i in
$$list2; do echo
"$$i"; done \
445 | sed
-n
'/\.1[a-z]*$$/p'; \
447 } | while read p
; do \
448 if
test -f
$$p; then d
=; else d
="$(srcdir)/"; fi
; \
449 echo
"$$d$$p"; echo
"$$p"; \
451 sed
-e
'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
452 -e
's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
453 sed
'N;N;s,\n, ,g' |
{ \
454 list
=; while read file base inst
; do \
455 if
test "$$base" = "$$inst"; then list
="$$list $$file"; else \
456 echo
" $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
457 $(INSTALL_DATA
) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit
$$?
; \
460 for i in
$$list; do echo
"$$i"; done |
$(am__base_list
) | \
461 while read files
; do \
462 test -z
"$$files" ||
{ \
463 echo
" $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
464 $(INSTALL_DATA
) $$files "$(DESTDIR)$(man1dir)" || exit
$$?
; }; \
469 @list
=''; test -n
"$(man1dir)" || exit
0; \
470 files
=`{ for i in $$list; do echo "$$i"; done; \
471 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
472 sed -n '/\.1[a-z]*$$/p'; \
473 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
474 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
475 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir
)
477 ID
: $(HEADERS
) $(SOURCES
) $(LISP
) $(TAGS_FILES
)
478 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
479 unique
=`for i in $$list; do \
480 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
482 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
483 END { if (nonempty) { for (i in files) print i; }; }'`; \
487 TAGS
: $(HEADERS
) $(SOURCES
) $(TAGS_DEPENDENCIES
) \
488 $(TAGS_FILES
) $(LISP
)
491 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
492 unique
=`for i in $$list; do \
493 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
495 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
496 END { if (nonempty) { for (i in files) print i; }; }'`; \
498 if
test -z
"$(ETAGS_ARGS)$$*$$unique"; then
:; else \
499 test -n
"$$unique" || unique
=$$empty_fix; \
500 if
test $$# -gt 0; then \
501 $(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
504 $(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
509 CTAGS
: $(HEADERS
) $(SOURCES
) $(TAGS_DEPENDENCIES
) \
510 $(TAGS_FILES
) $(LISP
)
511 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
512 unique
=`for i in $$list; do \
513 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
515 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
516 END { if (nonempty) { for (i in files) print i; }; }'`; \
517 test -z
"$(CTAGS_ARGS)$$unique" \
518 ||
$(CTAGS
) $(CTAGSFLAGS
) $(AM_CTAGSFLAGS
) $(CTAGS_ARGS
) \
522 here
=`$(am__cd) $(top_builddir) && pwd` \
523 && $(am__cd
) $(top_srcdir
) \
524 && gtags
-i
$(GTAGS_ARGS
) "$$here"
527 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
tags
530 all-am
: Makefile
$(PROGRAMS
) $(MANS
)
532 for
dir in
"$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
533 test -z
"$$dir" ||
$(MKDIR_P
) "$$dir"; \
536 install-exec
: install-exec-am
537 install-data
: install-data-am
538 uninstall: uninstall-am
541 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
543 installcheck: installcheck-am
545 if
test -z
'$(STRIP)'; then \
546 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
547 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
550 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
551 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
552 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
555 -test -z
"$(MOSTLYCLEANFILES)" ||
rm -f
$(MOSTLYCLEANFILES
)
560 -test -z
"$(CONFIG_CLEAN_FILES)" ||
rm -f
$(CONFIG_CLEAN_FILES
)
561 -test .
= "$(srcdir)" ||
test -z
"$(CONFIG_CLEAN_VPATH_FILES)" ||
rm -f
$(CONFIG_CLEAN_VPATH_FILES
)
563 maintainer-clean-generic
:
564 @echo
"This command is intended for maintainers to use"
565 @echo
"it deletes files that may require special tools to rebuild."
566 @NATIVE_FALSE@uninstall-local
:
567 @NATIVE_FALSE@install-exec-local
:
570 clean-am
: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \
573 distclean: distclean-am
574 -rm -f
$(am__CONFIG_DISTCLEAN_FILES
)
577 distclean-am
: clean-am distclean-compile distclean-generic \
592 install-data-am
: install-man
594 install-dvi
: install-dvi-am
598 install-exec-am
: install-binPROGRAMS install-exec-local
600 install-html
: install-html-am
604 install-info
: install-info-am
608 install-man
: install-man1
610 install-pdf
: install-pdf-am
614 install-ps
: install-ps-am
620 maintainer-clean
: maintainer-clean-am
621 -rm -f
$(am__CONFIG_DISTCLEAN_FILES
)
622 -rm -rf
$(top_srcdir
)/autom4te.cache
625 maintainer-clean-am
: distclean-am maintainer-clean-generic
627 mostlyclean: mostlyclean-am
629 mostlyclean-am
: mostlyclean-compile mostlyclean-generic
639 uninstall-am
: uninstall-binPROGRAMS uninstall-local uninstall-man
641 uninstall-man
: uninstall-man1
643 .MAKE
: install-am install-strip
645 .PHONY
: CTAGS GTAGS
all all-am am--refresh
check check-am
clean \
646 clean-binPROGRAMS clean-generic clean-noinstPROGRAMS ctags \
647 distclean distclean-compile distclean-generic distclean-tags \
648 dvi dvi-am html html-am
info info-am
install install-am \
649 install-binPROGRAMS install-data install-data-am install-dvi \
650 install-dvi-am install-exec install-exec-am install-exec-local \
651 install-html install-html-am install-info install-info-am \
652 install-man install-man1 install-pdf install-pdf-am install-ps \
653 install-ps-am install-strip
installcheck installcheck-am \
654 installdirs maintainer-clean maintainer-clean-generic \
655 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
656 ps ps-am
tags uninstall uninstall-am uninstall-binPROGRAMS \
657 uninstall-local uninstall-man uninstall-man1
660 zdefaultcc.go
: s-zdefaultcc
; @true
661 s-zdefaultcc
: Makefile
662 echo
'package main' > zdefaultcc.go.tmp
663 echo
'const defaultGCCGO = "$(bindir)/$(GCCGO_INSTALL_NAME)"' >> zdefaultcc.go.tmp
664 echo
'const defaultCC = "$(bindir)/$(GCC_INSTALL_NAME)"' >> zdefaultcc.go.tmp
665 echo
'const defaultCXX = "$(bindir)/$(GXX_INSTALL_NAME)"' >> zdefaultcc.go.tmp
666 $(SHELL
) $(srcdir)/..
/move-if-change zdefaultcc.go.tmp zdefaultcc.go
669 @NATIVE_TRUE@go
$(EXEEXT
): $(go_cmd_go_files
) zdefaultcc.go
$(LIBGODEP
)
670 @NATIVE_TRUE@
$(GOLINK
) $(go_cmd_go_files
) zdefaultcc.go
$(LIBS
) $(NET_LIBS
)
671 @NATIVE_TRUE@gofmt
$(EXEEXT
): $(go_cmd_gofmt_files
) $(LIBGODEP
)
672 @NATIVE_TRUE@
$(GOLINK
) $(go_cmd_gofmt_files
) $(LIBS
) $(NET_LIBS
)
673 @NATIVE_TRUE@cgo
$(EXEEXT
): $(go_cmd_cgo_files
) zdefaultcc.go
$(LIBGODEP
)
674 @NATIVE_TRUE@
$(GOLINK
) $(go_cmd_cgo_files
) zdefaultcc.go
$(LIBS
) $(NET_LIBS
)
676 @NATIVE_TRUE@install-exec-local
: cgo
$(EXEEXT
)
677 @NATIVE_TRUE@
$(MKDIR_P
) $(DESTDIR
)$(libexecsubdir
)
678 @NATIVE_TRUE@
rm -f
$(DESTDIR
)$(libexecsubdir
)/cgo
$(exeext
)
679 @NATIVE_TRUE@
$(INSTALL_PROGRAM
) cgo
$(exeext
) $(DESTDIR
)$(libexecsubdir
)/cgo
$(exeext
)
681 @NATIVE_TRUE@uninstall-local
:
682 @NATIVE_TRUE@
rm -f
$(DESTDIR
)$(libexecsubdir
)/cgo
$(exeext
)
684 # For a non-native build we have to build the programs using a
685 # previously built host (or build -> host) Go compiler. We should
686 # only do this if such a compiler is available. We also need to get
687 # the right values for GOARCH and GOOS in the default build context in
688 # the go/build package. Figure this out later.
690 # Tell versions [3.59,3.63) of GNU make to not export all variables.
691 # Otherwise a system limit (for SysV at least) may be exceeded.