summaryrefslogtreecommitdiff
path: root/mbld/bld.sub
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-04-15 10:32:23 -0700
committerOri Bernstein <ori@eigenstate.org>2015-04-15 10:36:38 -0700
commit4c676e772d94515b4e13248d82da7597c6cecc9e (patch)
tree4f11562216e2fee792b810a528fb02b6f0bfd4a9 /mbld/bld.sub
parentd7d976b9e1b50fc1fd761e560fe3990f2399db4f (diff)
downloadmc-4c676e772d94515b4e13248d82da7597c6cecc9e.tar.gz
Rename bldfiles.
We now consume bld.proj/bld.sub over bldfile.
Diffstat (limited to 'mbld/bld.sub')
-rw-r--r--mbld/bld.sub32
1 files changed, 32 insertions, 0 deletions
diff --git a/mbld/bld.sub b/mbld/bld.sub
new file mode 100644
index 0000000..3c99968
--- /dev/null
+++ b/mbld/bld.sub
@@ -0,0 +1,32 @@
+# the mbld binary
+bin mbld =
+ build.myr
+ clean.myr
+ config.myr # config, as generated by the ./configure script
+ config+plan9-x64.myr # config, as hardcoded for Plan 9
+ deps.myr
+ fsel.myr
+ install.myr
+ main.myr
+ opts.myr
+ parse.myr
+ subdir.myr
+ test.myr
+ types.myr
+ util.myr
+
+ # Currently, mbld doesn't add all deps transitively.
+ # Until this gets fixed, we need to list all dependent
+ # libraries here explicitly.
+ lib @/libstd:sys
+ lib @/libstd:std
+ lib @/libbio:bio
+ lib @/libregex:regex
+;;
+
+gen config.myr {durable} =
+ sh -c "cd .. && ./configure --redo"
+;;
+
+man = mbld.1;;
+