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 35VPATH = @srcdir@ 36pkgdatadir = $(datadir)/@PACKAGE@ 37pkgincludedir = $(includedir)/@PACKAGE@ 38pkglibdir = $(libdir)/@PACKAGE@ 39pkglibexecdir = $(libexecdir)/@PACKAGE@ 40am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 41install_sh_DATA = $(install_sh) -c -m 644 42install_sh_PROGRAM = $(install_sh) -c 43install_sh_SCRIPT = $(install_sh) -c 44INSTALL_HEADER = $(INSTALL_DATA) 45transform = $(program_transform_name) 46NORMAL_INSTALL = : 47PRE_INSTALL = : 48POST_INSTALL = : 49NORMAL_UNINSTALL = : 50PRE_UNINSTALL = : 51POST_UNINSTALL = : 52build_triplet = @build@ 53host_triplet = @host@ 54target_triplet = @target@ 55subdir = . 56DIST_COMMON = README ChangeLog $(srcdir)/Makefile.in \ 57 $(srcdir)/Makefile.am $(top_srcdir)/configure \ 58 $(am__configure_deps) $(srcdir)/../mkinstalldirs \ 59 $(srcdir)/../depcomp 60ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 61am__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 66am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 67 $(ACLOCAL_M4) 68am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 69 configure.lineno config.status.lineno 70CONFIG_CLEAN_FILES = 71CONFIG_CLEAN_VPATH_FILES = 72am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" 73PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) 74cgo_SOURCES = cgo.c 75cgo_OBJECTS = cgo.$(OBJEXT) 76cgo_LDADD = $(LDADD) 77go_SOURCES = go.c 78go_OBJECTS = go.$(OBJEXT) 79go_LDADD = $(LDADD) 80gofmt_SOURCES = gofmt.c 81gofmt_OBJECTS = gofmt.$(OBJEXT) 82gofmt_LDADD = $(LDADD) 83DEFAULT_INCLUDES = -I.@am__isrc@ 84depcomp = $(SHELL) $(top_srcdir)/../depcomp 85am__depfiles_maybe = depfiles 86am__mv = mv -f 87COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 88 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 89CCLD = $(CC) 90LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 91SOURCES = cgo.c go.c gofmt.c 92am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; 93am__vpath_adj = case $$p in \ 94 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ 95 *) f=$$p;; \ 96 esac; 97am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; 98am__install_max = 40 99am__nobase_strip_setup = \ 100 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` 101am__nobase_strip = \ 102 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" 103am__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] }' 110am__base_list = \ 111 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ 112 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' 113man1dir = $(mandir)/man1 114NROFF = nroff 115MANS = $(man_MANS) 116ETAGS = etags 117CTAGS = ctags 118ACLOCAL = @ACLOCAL@ 119AMTAR = @AMTAR@ 120AUTOCONF = @AUTOCONF@ 121AUTOHEADER = @AUTOHEADER@ 122AUTOMAKE = @AUTOMAKE@ 123AWK = @AWK@ 124CC = @CC@ 125CCDEPMODE = @CCDEPMODE@ 126CFLAGS = @CFLAGS@ 127CPPFLAGS = @CPPFLAGS@ 128CYGPATH_W = @CYGPATH_W@ 129DEFS = @DEFS@ 130DEPDIR = @DEPDIR@ 131ECHO_C = @ECHO_C@ 132ECHO_N = @ECHO_N@ 133ECHO_T = @ECHO_T@ 134EXEEXT = @EXEEXT@ 135GOC = @GOC@ 136GOCFLAGS = $(CFLAGS_FOR_TARGET) 137INSTALL = @INSTALL@ 138INSTALL_DATA = @INSTALL_DATA@ 139INSTALL_PROGRAM = @INSTALL_PROGRAM@ 140INSTALL_SCRIPT = @INSTALL_SCRIPT@ 141INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 142LDFLAGS = @LDFLAGS@ 143LIBOBJS = @LIBOBJS@ 144LIBS = @LIBS@ 145LTLIBOBJS = @LTLIBOBJS@ 146MAINT = @MAINT@ 147MAKEINFO = @MAKEINFO@ 148MKDIR_P = @MKDIR_P@ 149NET_LIBS = @NET_LIBS@ 150OBJEXT = @OBJEXT@ 151PACKAGE = @PACKAGE@ 152PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 153PACKAGE_NAME = @PACKAGE_NAME@ 154PACKAGE_STRING = @PACKAGE_STRING@ 155PACKAGE_TARNAME = @PACKAGE_TARNAME@ 156PACKAGE_URL = @PACKAGE_URL@ 157PACKAGE_VERSION = @PACKAGE_VERSION@ 158PATH_SEPARATOR = @PATH_SEPARATOR@ 159SET_MAKE = @SET_MAKE@ 160SHELL = @SHELL@ 161STRIP = @STRIP@ 162VERSION = @VERSION@ 163abs_builddir = @abs_builddir@ 164abs_srcdir = @abs_srcdir@ 165abs_top_builddir = @abs_top_builddir@ 166abs_top_srcdir = @abs_top_srcdir@ 167ac_ct_CC = @ac_ct_CC@ 168am__include = @am__include@ 169am__leading_dot = @am__leading_dot@ 170am__quote = @am__quote@ 171am__tar = @am__tar@ 172am__untar = @am__untar@ 173bindir = @bindir@ 174build = @build@ 175build_alias = @build_alias@ 176build_cpu = @build_cpu@ 177build_noncanonical = @build_noncanonical@ 178build_os = @build_os@ 179build_vendor = @build_vendor@ 180builddir = @builddir@ 181datadir = @datadir@ 182datarootdir = @datarootdir@ 183docdir = @docdir@ 184dvidir = @dvidir@ 185exec_prefix = @exec_prefix@ 186host = @host@ 187host_alias = @host_alias@ 188host_cpu = @host_cpu@ 189host_noncanonical = @host_noncanonical@ 190host_os = @host_os@ 191host_vendor = @host_vendor@ 192htmldir = @htmldir@ 193includedir = @includedir@ 194infodir = @infodir@ 195install_sh = @install_sh@ 196libdir = @libdir@ 197libexecdir = @libexecdir@ 198localedir = @localedir@ 199localstatedir = @localstatedir@ 200mandir = @mandir@ 201mkdir_p = @mkdir_p@ 202oldincludedir = @oldincludedir@ 203pdfdir = @pdfdir@ 204prefix = @prefix@ 205program_transform_name = @program_transform_name@ 206psdir = @psdir@ 207sbindir = @sbindir@ 208sharedstatedir = @sharedstatedir@ 209srcdir = @srcdir@ 210sysconfdir = @sysconfdir@ 211target = @target@ 212target_alias = @target_alias@ 213target_cpu = @target_cpu@ 214target_noncanonical = @target_noncanonical@ 215target_os = @target_os@ 216target_vendor = @target_vendor@ 217top_build_prefix = @top_build_prefix@ 218top_builddir = @top_builddir@ 219top_srcdir = @top_srcdir@ 220ACLOCAL_AMFLAGS = -I ./config -I ../config 221gcc_version := $(shell $(GCC_FOR_TARGET) -dumpversion) 222libexecsubdir = $(libexecdir)/gcc/$(target_noncanonical)/$(gcc_version) 223mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs 224PWD_COMMAND = $${PWDCMD-pwd} 225STAMP = echo timestamp > 226libgodir = ../$(target_noncanonical)/libgo 227LIBGODEP = $(libgodir)/libgo.la 228@NATIVE_FALSE@GOCOMPILER = $(GOC) 229 230# Use the compiler we just built. 231@NATIVE_TRUE@GOCOMPILER = $(GOC_FOR_TARGET) 232GOCOMPILE = $(GOCOMPILER) $(GOCFLAGS) 233AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs 234GOLINK = $(GOCOMPILER) $(GOCFLAGS) $(AM_GOCFLAGS) $(LDFLAGS) $(AM_LDFLAGS) -o $@ 235cmdsrcdir = $(srcdir)/../libgo/go/cmd 236go_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 262 263go_cmd_gofmt_files = \ 264 $(cmdsrcdir)/gofmt/doc.go \ 265 $(cmdsrcdir)/gofmt/gofmt.go \ 266 $(cmdsrcdir)/gofmt/rewrite.go \ 267 $(cmdsrcdir)/gofmt/simplify.go 268 269go_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 277 278GCCGO_INSTALL_NAME := $(shell echo gccgo|sed '$(program_transform_name)') 279GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)') 280GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)') 281MOSTLYCLEANFILES = zdefaultcc.go s-zdefaultcc 282 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 288all: all-am 289 290.SUFFIXES: 291.SUFFIXES: .c .o .obj 292am--refresh: 293 @: 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 308Makefile: $(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; 317 318$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 319 $(SHELL) ./config.status --recheck 320 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): 326install-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 $$?; \ 348 } \ 349 ; done 350 351uninstall-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 360 361clean-binPROGRAMS: 362 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) 363 364clean-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) 375 376mostlyclean-compile: 377 -rm -f *.$(OBJEXT) 378 379distclean-compile: 380 -rm -f *.tab.c 381 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@ 385 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 $< 392 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) '$<'` 399install-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; } 425 426uninstall-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; } 437 438ID: $(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 446tags: TAGS 447 448TAGS: $(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; \ 468 fi 469ctags: CTAGS 470CTAGS: $(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 481 482GTAGS: 483 here=`$(am__cd) $(top_builddir) && pwd` \ 484 && $(am__cd) $(top_srcdir) \ 485 && gtags -i $(GTAGS_ARGS) "$$here" 486 487distclean-tags: 488 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 489check-am: all-am 490check: check-am 491all-am: Makefile $(PROGRAMS) $(MANS) 492installdirs: 493 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ 494 test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 495 done 496install: install-am 497install-exec: install-exec-am 498install-data: install-data-am 499uninstall: uninstall-am 500 501install-am: all-am 502 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 503 504installcheck: installcheck-am 505install-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 510mostlyclean-generic: 511 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) 512 513clean-generic: 514 515distclean-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) 518 519maintainer-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: 524clean: clean-am 525 526clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \ 527 mostlyclean-am 528 529distclean: distclean-am 530 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 531 -rm -rf ./$(DEPDIR) 532 -rm -f Makefile 533distclean-am: clean-am distclean-compile distclean-generic \ 534 distclean-tags 535 536dvi: dvi-am 537 538dvi-am: 539 540html: html-am 541 542html-am: 543 544info: info-am 545 546info-am: 547 548install-data-am: install-man 549 550install-dvi: install-dvi-am 551 552install-dvi-am: 553 554install-exec-am: install-binPROGRAMS install-exec-local 555 556install-html: install-html-am 557 558install-html-am: 559 560install-info: install-info-am 561 562install-info-am: 563 564install-man: install-man1 565 566install-pdf: install-pdf-am 567 568install-pdf-am: 569 570install-ps: install-ps-am 571 572install-ps-am: 573 574installcheck-am: 575 576maintainer-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 581maintainer-clean-am: distclean-am maintainer-clean-generic 582 583mostlyclean: mostlyclean-am 584 585mostlyclean-am: mostlyclean-compile mostlyclean-generic 586 587pdf: pdf-am 588 589pdf-am: 590 591ps: ps-am 592 593ps-am: 594 595uninstall-am: uninstall-binPROGRAMS uninstall-local uninstall-man 596 597uninstall-man: uninstall-man1 598 599.MAKE: install-am install-strip 600 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 614 615 616zdefaultcc.go: s-zdefaultcc; @true 617s-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) $@ 624 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) 631 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) 636 637@NATIVE_TRUE@uninstall-local: 638@NATIVE_TRUE@ rm -f $(DESTDIR)$(libexecsubdir)/cgo$(exeext) 639 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. 645 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: 649