2014-05-28 01:34:41 +02:00
|
|
|
# ******************************************************************************
|
|
|
|
# *** This file is generated and should not be edited ***
|
|
|
|
# ******************************************************************************
|
|
|
|
#
|
|
|
|
# This file contains variables, rules, and pools with name prefixes indicating
|
|
|
|
# they were generated by the following Go packages:
|
|
|
|
#
|
|
|
|
# bootstrap [from Go package blueprint/bootstrap]
|
|
|
|
#
|
|
|
|
ninja_required_version = 1.1.0
|
|
|
|
|
2014-11-09 20:52:56 +01:00
|
|
|
g.bootstrap.bootstrapCmd = @@Bootstrap@@
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-11-09 20:52:56 +01:00
|
|
|
g.bootstrap.bootstrapManifest = @@BootstrapManifest@@
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-11-09 20:52:56 +01:00
|
|
|
g.bootstrap.goRoot = @@GoRoot@@
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-11-09 20:52:56 +01:00
|
|
|
g.bootstrap.goOS = @@GoOS@@
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-11-09 20:52:56 +01:00
|
|
|
g.bootstrap.goArch = @@GoArch@@
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-11-09 20:52:56 +01:00
|
|
|
g.bootstrap.goToolDir = ${g.bootstrap.goRoot}/pkg/tool/${g.bootstrap.goOS}_${g.bootstrap.goArch}
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-11-09 20:52:56 +01:00
|
|
|
g.bootstrap.goChar = @@GoChar@@
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-11-09 20:52:56 +01:00
|
|
|
g.bootstrap.gcCmd = ${g.bootstrap.goToolDir}/${g.bootstrap.goChar}g
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-11-09 20:52:56 +01:00
|
|
|
g.bootstrap.linkCmd = ${g.bootstrap.goToolDir}/${g.bootstrap.goChar}l
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-11-09 20:52:56 +01:00
|
|
|
g.bootstrap.srcDir = @@SrcDir@@
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-06-06 23:21:57 +02:00
|
|
|
builddir = .bootstrap
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-09-25 05:26:52 +02:00
|
|
|
rule g.bootstrap.bootstrap
|
2014-11-09 20:52:56 +01:00
|
|
|
command = ${g.bootstrap.bootstrapCmd} -i ${in}
|
2014-09-25 05:26:52 +02:00
|
|
|
description = bootstrap ${in}
|
|
|
|
generator = true
|
|
|
|
|
|
|
|
rule g.bootstrap.cp
|
|
|
|
command = cp ${in} ${out}
|
|
|
|
description = cp ${out}
|
|
|
|
|
2014-05-28 01:34:41 +02:00
|
|
|
rule g.bootstrap.gc
|
2014-11-09 20:52:56 +01:00
|
|
|
command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.gcCmd} -o ${out} -p ${pkgPath} -complete ${incFlags} -pack ${in}
|
|
|
|
description = ${g.bootstrap.goChar}g ${out}
|
2014-05-28 01:34:41 +02:00
|
|
|
|
|
|
|
rule g.bootstrap.link
|
2014-11-09 20:52:56 +01:00
|
|
|
command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.linkCmd} -o ${out} ${libDirFlags} ${in}
|
|
|
|
description = ${g.bootstrap.goChar}l ${out}
|
2014-05-28 01:34:41 +02:00
|
|
|
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
|
|
# Module: blueprint
|
|
|
|
# Type: bootstrap_go_package
|
2014-09-25 02:51:52 +02:00
|
|
|
# Factory: blueprint/bootstrap.newGoPackageModule
|
2014-06-05 00:33:08 +02:00
|
|
|
# Defined: Blueprints:1:1
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-10-28 06:34:56 +01:00
|
|
|
build .bootstrap/blueprint/pkg/blueprint.a: g.bootstrap.gc $
|
2014-11-09 20:52:56 +01:00
|
|
|
${g.bootstrap.srcDir}/blueprint/context.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/live_tracker.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/mangle.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/module_ctx.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/ninja_defs.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/ninja_strings.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/ninja_writer.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/package_ctx.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/scope.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/singleton_ctx.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/unpack.go | ${g.bootstrap.gcCmd} $
|
2014-09-30 20:38:25 +02:00
|
|
|
.bootstrap/blueprint-parser/pkg/blueprint/parser.a $
|
|
|
|
.bootstrap/blueprint-proptools/pkg/blueprint/proptools.a
|
|
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg
|
2014-10-24 19:42:57 +02:00
|
|
|
pkgPath = blueprint
|
2014-11-09 20:52:56 +01:00
|
|
|
default .bootstrap/blueprint/pkg/blueprint.a
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-06-12 01:27:16 +02:00
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
|
|
# Module: blueprint-bootstrap
|
|
|
|
# Type: bootstrap_go_package
|
2014-09-25 02:51:52 +02:00
|
|
|
# Factory: blueprint/bootstrap.newGoPackageModule
|
2014-10-24 19:42:57 +02:00
|
|
|
# Defined: Blueprints:44:1
|
2014-06-12 01:27:16 +02:00
|
|
|
|
2014-10-28 06:34:56 +01:00
|
|
|
build .bootstrap/blueprint-bootstrap/pkg/blueprint/bootstrap.a: g.bootstrap.gc $
|
2014-11-09 20:52:56 +01:00
|
|
|
${g.bootstrap.srcDir}/blueprint/bootstrap/bootstrap.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/bootstrap/cleanup.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/bootstrap/command.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/bootstrap/config.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/bootstrap/doc.go | $
|
2014-10-28 06:34:56 +01:00
|
|
|
${g.bootstrap.gcCmd} $
|
2014-06-12 01:27:16 +02:00
|
|
|
.bootstrap/blueprint-parser/pkg/blueprint/parser.a $
|
2014-09-30 20:38:25 +02:00
|
|
|
.bootstrap/blueprint-proptools/pkg/blueprint/proptools.a $
|
2014-06-12 01:27:16 +02:00
|
|
|
.bootstrap/blueprint/pkg/blueprint.a $
|
2014-10-24 19:42:57 +02:00
|
|
|
.bootstrap/blueprint-deptools/pkg/blueprint/deptools.a $
|
2014-06-12 01:27:16 +02:00
|
|
|
.bootstrap/blueprint-pathtools/pkg/blueprint/pathtools.a
|
2014-10-24 19:42:57 +02:00
|
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-pathtools/pkg
|
2014-06-12 01:27:16 +02:00
|
|
|
pkgPath = blueprint/bootstrap
|
2014-11-09 20:52:56 +01:00
|
|
|
default .bootstrap/blueprint-bootstrap/pkg/blueprint/bootstrap.a
|
2014-06-12 01:27:16 +02:00
|
|
|
|
2014-10-24 19:42:57 +02:00
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
|
|
# Module: blueprint-deptools
|
|
|
|
# Type: bootstrap_go_package
|
|
|
|
# Factory: blueprint/bootstrap.newGoPackageModule
|
|
|
|
# Defined: Blueprints:25:1
|
|
|
|
|
2014-10-28 06:34:56 +01:00
|
|
|
build .bootstrap/blueprint-deptools/pkg/blueprint/deptools.a: g.bootstrap.gc $
|
2014-11-09 20:52:56 +01:00
|
|
|
${g.bootstrap.srcDir}/blueprint/deptools/depfile.go | $
|
2014-10-28 06:34:56 +01:00
|
|
|
${g.bootstrap.gcCmd}
|
2014-10-24 19:42:57 +02:00
|
|
|
pkgPath = blueprint/deptools
|
2014-11-09 20:52:56 +01:00
|
|
|
default .bootstrap/blueprint-deptools/pkg/blueprint/deptools.a
|
2014-10-24 19:42:57 +02:00
|
|
|
|
2014-05-28 01:34:41 +02:00
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
|
|
# Module: blueprint-parser
|
|
|
|
# Type: bootstrap_go_package
|
2014-09-25 02:51:52 +02:00
|
|
|
# Factory: blueprint/bootstrap.newGoPackageModule
|
2014-09-30 20:38:25 +02:00
|
|
|
# Defined: Blueprints:19:1
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-10-28 06:34:56 +01:00
|
|
|
build .bootstrap/blueprint-parser/pkg/blueprint/parser.a: g.bootstrap.gc $
|
2014-11-09 20:52:56 +01:00
|
|
|
${g.bootstrap.srcDir}/blueprint/parser/parser.go | $
|
2014-10-28 06:34:56 +01:00
|
|
|
${g.bootstrap.gcCmd}
|
2014-05-28 01:34:41 +02:00
|
|
|
pkgPath = blueprint/parser
|
2014-11-09 20:52:56 +01:00
|
|
|
default .bootstrap/blueprint-parser/pkg/blueprint/parser.a
|
2014-05-28 01:34:41 +02:00
|
|
|
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
2014-06-06 23:37:07 +02:00
|
|
|
# Module: blueprint-pathtools
|
2014-05-28 01:34:41 +02:00
|
|
|
# Type: bootstrap_go_package
|
2014-09-25 02:51:52 +02:00
|
|
|
# Factory: blueprint/bootstrap.newGoPackageModule
|
2014-10-24 19:42:57 +02:00
|
|
|
# Defined: Blueprints:31:1
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-10-28 06:34:56 +01:00
|
|
|
build .bootstrap/blueprint-pathtools/pkg/blueprint/pathtools.a: g.bootstrap.gc $
|
2014-11-09 20:52:56 +01:00
|
|
|
${g.bootstrap.srcDir}/blueprint/pathtools/lists.go $
|
|
|
|
${g.bootstrap.srcDir}/blueprint/pathtools/glob.go | $
|
2014-10-28 06:34:56 +01:00
|
|
|
${g.bootstrap.gcCmd}
|
2014-06-06 23:37:07 +02:00
|
|
|
pkgPath = blueprint/pathtools
|
2014-11-09 20:52:56 +01:00
|
|
|
default .bootstrap/blueprint-pathtools/pkg/blueprint/pathtools.a
|
2014-06-06 23:37:07 +02:00
|
|
|
|
2014-10-03 03:36:13 +02:00
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
|
|
# Module: blueprint-proptools
|
|
|
|
# Type: bootstrap_go_package
|
|
|
|
# Factory: blueprint/bootstrap.newGoPackageModule
|
2014-10-24 19:42:57 +02:00
|
|
|
# Defined: Blueprints:38:1
|
2014-10-03 03:36:13 +02:00
|
|
|
|
2014-10-28 06:34:56 +01:00
|
|
|
build .bootstrap/blueprint-proptools/pkg/blueprint/proptools.a: g.bootstrap.gc $
|
2014-11-09 20:52:56 +01:00
|
|
|
${g.bootstrap.srcDir}/blueprint/proptools/proptools.go | $
|
2014-10-28 06:34:56 +01:00
|
|
|
${g.bootstrap.gcCmd}
|
2014-10-03 03:36:13 +02:00
|
|
|
pkgPath = blueprint/proptools
|
2014-11-09 20:52:56 +01:00
|
|
|
default .bootstrap/blueprint-proptools/pkg/blueprint/proptools.a
|
2014-10-03 03:36:13 +02:00
|
|
|
|
2014-05-28 01:34:41 +02:00
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
|
|
# Module: minibp
|
|
|
|
# Type: bootstrap_go_binary
|
2014-09-25 02:51:52 +02:00
|
|
|
# Factory: blueprint/bootstrap.newGoBinaryModule
|
2014-10-28 06:34:56 +01:00
|
|
|
# Defined: Blueprints:57:1
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-10-28 06:34:56 +01:00
|
|
|
build .bootstrap/minibp/obj/minibp.a: g.bootstrap.gc $
|
2014-11-09 20:52:56 +01:00
|
|
|
${g.bootstrap.srcDir}/blueprint/bootstrap/minibp/main.go | $
|
2014-10-28 06:34:56 +01:00
|
|
|
${g.bootstrap.gcCmd} $
|
2014-06-06 23:21:57 +02:00
|
|
|
.bootstrap/blueprint-parser/pkg/blueprint/parser.a $
|
2014-09-30 20:38:25 +02:00
|
|
|
.bootstrap/blueprint-proptools/pkg/blueprint/proptools.a $
|
2014-06-06 23:21:57 +02:00
|
|
|
.bootstrap/blueprint/pkg/blueprint.a $
|
2014-10-24 19:42:57 +02:00
|
|
|
.bootstrap/blueprint-deptools/pkg/blueprint/deptools.a $
|
2014-06-06 23:37:07 +02:00
|
|
|
.bootstrap/blueprint-pathtools/pkg/blueprint/pathtools.a $
|
2014-06-06 23:21:57 +02:00
|
|
|
.bootstrap/blueprint-bootstrap/pkg/blueprint/bootstrap.a
|
2014-10-24 19:42:57 +02:00
|
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-bootstrap/pkg
|
2014-05-28 01:34:41 +02:00
|
|
|
pkgPath = minibp
|
2014-11-09 20:52:56 +01:00
|
|
|
default .bootstrap/minibp/obj/minibp.a
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-06-06 23:21:57 +02:00
|
|
|
build .bootstrap/minibp/obj/a.out: g.bootstrap.link $
|
2014-10-28 06:34:56 +01:00
|
|
|
.bootstrap/minibp/obj/minibp.a | ${g.bootstrap.linkCmd}
|
2014-10-24 19:42:57 +02:00
|
|
|
libDirFlags = -L .bootstrap/blueprint-parser/pkg -L .bootstrap/blueprint-proptools/pkg -L .bootstrap/blueprint/pkg -L .bootstrap/blueprint-deptools/pkg -L .bootstrap/blueprint-pathtools/pkg -L .bootstrap/blueprint-bootstrap/pkg
|
2014-11-09 20:52:56 +01:00
|
|
|
default .bootstrap/minibp/obj/a.out
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2014-06-06 23:21:57 +02:00
|
|
|
build .bootstrap/bin/minibp: g.bootstrap.cp .bootstrap/minibp/obj/a.out
|
2014-11-09 20:52:56 +01:00
|
|
|
default .bootstrap/bin/minibp
|
2014-05-28 01:34:41 +02:00
|
|
|
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
|
|
# Singleton: bootstrap
|
2014-09-25 02:51:52 +02:00
|
|
|
# Factory: blueprint/bootstrap.newSingleton
|
2014-05-28 01:34:41 +02:00
|
|
|
|
|
|
|
rule s.bootstrap.bigbp
|
2014-11-09 20:58:40 +01:00
|
|
|
command = .bootstrap/bin/minibp -p -d .bootstrap/main.ninja.in.d -m ${g.bootstrap.bootstrapManifest} -o ${out} ${in}
|
2014-06-12 00:51:08 +02:00
|
|
|
depfile = .bootstrap/main.ninja.in.d
|
2014-05-28 01:34:41 +02:00
|
|
|
description = minibp ${out}
|
|
|
|
|
2014-06-06 05:00:22 +02:00
|
|
|
rule s.bootstrap.minibp
|
2014-11-09 20:58:40 +01:00
|
|
|
command = .bootstrap/bin/minibp -c ${checkFile} -m ${g.bootstrap.bootstrapManifest} -d ${out}.d -o ${out} ${in}
|
2014-06-06 05:00:22 +02:00
|
|
|
depfile = ${out}.d
|
|
|
|
description = minibp ${out}
|
|
|
|
generator = true
|
|
|
|
|
2014-06-12 00:51:08 +02:00
|
|
|
build .bootstrap/main.ninja.in: s.bootstrap.bigbp $
|
2014-11-09 20:52:56 +01:00
|
|
|
${g.bootstrap.srcDir}/Blueprints | .bootstrap/bin/minibp
|
|
|
|
default .bootstrap/main.ninja.in
|
2014-06-06 23:21:57 +02:00
|
|
|
build .bootstrap/notAFile: phony
|
2014-11-09 20:52:56 +01:00
|
|
|
default .bootstrap/notAFile
|
2014-06-12 00:51:08 +02:00
|
|
|
build build.ninja: g.bootstrap.bootstrap .bootstrap/main.ninja.in | $
|
2014-11-09 20:52:56 +01:00
|
|
|
${g.bootstrap.bootstrapCmd} .bootstrap/notAFile $
|
2014-06-06 23:21:57 +02:00
|
|
|
.bootstrap/bootstrap.ninja.in
|
2014-11-09 20:52:56 +01:00
|
|
|
default build.ninja
|
2014-06-06 23:21:57 +02:00
|
|
|
build .bootstrap/bootstrap.ninja.in: s.bootstrap.minibp $
|
2014-11-09 20:52:56 +01:00
|
|
|
${g.bootstrap.srcDir}/Blueprints | .bootstrap/bin/minibp
|
|
|
|
checkFile = ${g.bootstrap.bootstrapManifest}
|
|
|
|
default .bootstrap/bootstrap.ninja.in
|
2014-05-28 01:34:41 +02:00
|
|
|
|