summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/cat/cat.gpr6
-rw-r--r--bin/chmod/chmod.gpr11
-rw-r--r--bin/chown/chown.gpr11
-rw-r--r--bin/cp/cp.gpr11
-rw-r--r--bin/date/date.gpr6
-rw-r--r--bin/dd/dd.gpr6
-rw-r--r--bin/df/df.gpr6
-rw-r--r--bin/echo/echo.gpr6
-rw-r--r--bin/expr/expr.gpr6
-rw-r--r--bin/ln/ln.gpr6
-rw-r--r--bin/ls/ls.gpr6
-rw-r--r--bin/mkdir/mkdir.gpr6
-rw-r--r--bin/mv/mv.gpr6
-rw-r--r--bin/pwd/pwd.gpr6
-rw-r--r--bin/rm/rm.gpr11
-rw-r--r--bin/rmdir/rmdir.gpr6
-rw-r--r--bin/sleep/sleep.gpr6
-rw-r--r--bin/sync/sync.gpr6
-rw-r--r--bin/test/test.gpr6
-rw-r--r--later/ed.gpr12
-rw-r--r--template/bin.gpr22
-rw-r--r--template/usr_bin.gpr7
-rw-r--r--usr.bin/asa/asa.gpr6
-rw-r--r--usr.bin/basename/basename.gpr6
-rw-r--r--usr.bin/cal/cal.gpr6
-rw-r--r--usr.bin/cksum/cksum.gpr6
-rw-r--r--usr.bin/cmp/cmp.gpr6
-rw-r--r--usr.bin/comm/comm.gpr6
-rw-r--r--usr.bin/csplit/csplit.gpr6
-rw-r--r--usr.bin/cut/cut.gpr6
-rw-r--r--usr.bin/dirname/dirname.gpr6
-rw-r--r--usr.bin/du/du.gpr11
-rw-r--r--usr.bin/env/env.gpr6
-rw-r--r--usr.bin/expand/expand.gpr6
-rw-r--r--usr.bin/find/find.gpr6
-rw-r--r--usr.bin/fold/fold.gpr6
-rw-r--r--usr.bin/getconf/getconf.gpr6
-rw-r--r--usr.bin/grep/grep.gpr11
-rw-r--r--usr.bin/head/head.gpr6
-rw-r--r--usr.bin/id/id.gpr6
-rw-r--r--usr.bin/ipcrm/ipcrm.gpr6
-rw-r--r--usr.bin/ipcs/ipcs.gpr6
-rw-r--r--usr.bin/join/join.gpr6
-rw-r--r--usr.bin/link/link.gpr6
-rw-r--r--usr.bin/logname/logname.gpr6
-rw-r--r--usr.bin/mkfifo/mkfifo.gpr6
-rw-r--r--usr.bin/newgrp/newgrp.gpr6
-rw-r--r--usr.bin/nice/nice.gpr6
-rw-r--r--usr.bin/nl/nl.gpr6
-rw-r--r--usr.bin/nohup/nohup.gpr6
-rw-r--r--usr.bin/paste/paste.gpr6
-rw-r--r--usr.bin/patch/patch.gpr6
-rw-r--r--usr.bin/pathchk/pathchk.gpr6
-rw-r--r--usr.bin/pr/pr.gpr6
-rw-r--r--usr.bin/printf/printf.gpr6
-rw-r--r--usr.bin/sed/sed.gpr10
-rw-r--r--usr.bin/sort/sort.gpr6
-rw-r--r--usr.bin/split/split.gpr6
-rw-r--r--usr.bin/tabs/tabs.gpr6
-rw-r--r--usr.bin/tail/tail.gpr6
-rw-r--r--usr.bin/talk/talk.gpr6
-rw-r--r--usr.bin/tee/tee.gpr6
-rw-r--r--usr.bin/time/time.gpr6
-rw-r--r--usr.bin/touch/touch.gpr6
-rw-r--r--usr.bin/tput/tput.gpr6
-rw-r--r--usr.bin/tr/tr.gpr6
-rw-r--r--usr.bin/tsort/tsort.gpr6
-rw-r--r--usr.bin/tty/tty.gpr6
-rw-r--r--usr.bin/uname/uname.gpr6
-rw-r--r--usr.bin/unexpand/unexpand.gpr6
-rw-r--r--usr.bin/uniq/uniq.gpr6
-rw-r--r--usr.bin/unlink/unlink.gpr6
-rw-r--r--usr.bin/uudecode/uudecode.gpr6
-rw-r--r--usr.bin/uuencode/uuencode.gpr6
-rw-r--r--usr.bin/wc/wc.gpr6
-rw-r--r--usr.bin/what/what.gpr6
-rw-r--r--usr.bin/who/who.gpr6
-rw-r--r--usr.bin/write/write.gpr6
-rw-r--r--usr.bin/xargs/xargs.gpr6
79 files changed, 531 insertions, 0 deletions
diff --git a/bin/cat/cat.gpr b/bin/cat/cat.gpr
new file mode 100644
index 0000000..78655d8
--- /dev/null
+++ b/bin/cat/cat.gpr
@@ -0,0 +1,6 @@
+project cat extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end cat;
diff --git a/bin/chmod/chmod.gpr b/bin/chmod/chmod.gpr
new file mode 100644
index 0000000..d637efe
--- /dev/null
+++ b/bin/chmod/chmod.gpr
@@ -0,0 +1,11 @@
+project chmod extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+ package Linker is
+ for Trailing_Switches ("C") use
+ bin.Linker'Trailing_Switches("C") & ("-lfts");
+ end Linker;
+
+end chmod;
diff --git a/bin/chown/chown.gpr b/bin/chown/chown.gpr
new file mode 100644
index 0000000..6efaa58
--- /dev/null
+++ b/bin/chown/chown.gpr
@@ -0,0 +1,11 @@
+project chown extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+ package Linker is
+ for Trailing_Switches ("C") use
+ bin.Linker'Trailing_Switches("C") & ("-lfts");
+ end Linker;
+
+end chown;
diff --git a/bin/cp/cp.gpr b/bin/cp/cp.gpr
new file mode 100644
index 0000000..c1ae17a
--- /dev/null
+++ b/bin/cp/cp.gpr
@@ -0,0 +1,11 @@
+project cp extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+ package Linker is
+ for Trailing_Switches ("C") use
+ bin.Linker'Trailing_Switches("C") & ("-lfts");
+ end Linker;
+
+end cp;
diff --git a/bin/date/date.gpr b/bin/date/date.gpr
new file mode 100644
index 0000000..5d5a824
--- /dev/null
+++ b/bin/date/date.gpr
@@ -0,0 +1,6 @@
+project date extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end date;
diff --git a/bin/dd/dd.gpr b/bin/dd/dd.gpr
new file mode 100644
index 0000000..d41a872
--- /dev/null
+++ b/bin/dd/dd.gpr
@@ -0,0 +1,6 @@
+project dd extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end dd;
diff --git a/bin/df/df.gpr b/bin/df/df.gpr
new file mode 100644
index 0000000..1096103
--- /dev/null
+++ b/bin/df/df.gpr
@@ -0,0 +1,6 @@
+project df extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end df;
diff --git a/bin/echo/echo.gpr b/bin/echo/echo.gpr
new file mode 100644
index 0000000..ea6f88c
--- /dev/null
+++ b/bin/echo/echo.gpr
@@ -0,0 +1,6 @@
+project echo extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end echo;
diff --git a/bin/expr/expr.gpr b/bin/expr/expr.gpr
new file mode 100644
index 0000000..676bdf6
--- /dev/null
+++ b/bin/expr/expr.gpr
@@ -0,0 +1,6 @@
+project expr extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end expr;
diff --git a/bin/ln/ln.gpr b/bin/ln/ln.gpr
new file mode 100644
index 0000000..03b8d1d
--- /dev/null
+++ b/bin/ln/ln.gpr
@@ -0,0 +1,6 @@
+project ln extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end ln;
diff --git a/bin/ls/ls.gpr b/bin/ls/ls.gpr
new file mode 100644
index 0000000..1c5a21e
--- /dev/null
+++ b/bin/ls/ls.gpr
@@ -0,0 +1,6 @@
+project ls extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end ls;
diff --git a/bin/mkdir/mkdir.gpr b/bin/mkdir/mkdir.gpr
new file mode 100644
index 0000000..18eae9d
--- /dev/null
+++ b/bin/mkdir/mkdir.gpr
@@ -0,0 +1,6 @@
+project mkdir extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end mkdir;
diff --git a/bin/mv/mv.gpr b/bin/mv/mv.gpr
new file mode 100644
index 0000000..8340f95
--- /dev/null
+++ b/bin/mv/mv.gpr
@@ -0,0 +1,6 @@
+project mv extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end mv;
diff --git a/bin/pwd/pwd.gpr b/bin/pwd/pwd.gpr
new file mode 100644
index 0000000..9b625a6
--- /dev/null
+++ b/bin/pwd/pwd.gpr
@@ -0,0 +1,6 @@
+project pwd extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end pwd;
diff --git a/bin/rm/rm.gpr b/bin/rm/rm.gpr
new file mode 100644
index 0000000..3a543f4
--- /dev/null
+++ b/bin/rm/rm.gpr
@@ -0,0 +1,11 @@
+project rm extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+ package Linker is
+ for Trailing_Switches ("C") use
+ bin.Linker'Trailing_Switches("C") & ("-lfts");
+ end Linker;
+
+end rm;
diff --git a/bin/rmdir/rmdir.gpr b/bin/rmdir/rmdir.gpr
new file mode 100644
index 0000000..3f35c9b
--- /dev/null
+++ b/bin/rmdir/rmdir.gpr
@@ -0,0 +1,6 @@
+project rmdir extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end rmdir;
diff --git a/bin/sleep/sleep.gpr b/bin/sleep/sleep.gpr
new file mode 100644
index 0000000..74aae91
--- /dev/null
+++ b/bin/sleep/sleep.gpr
@@ -0,0 +1,6 @@
+project sleep extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end sleep;
diff --git a/bin/sync/sync.gpr b/bin/sync/sync.gpr
new file mode 100644
index 0000000..f027f34
--- /dev/null
+++ b/bin/sync/sync.gpr
@@ -0,0 +1,6 @@
+project sync extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end sync;
diff --git a/bin/test/test.gpr b/bin/test/test.gpr
new file mode 100644
index 0000000..56223d8
--- /dev/null
+++ b/bin/test/test.gpr
@@ -0,0 +1,6 @@
+project test extends "template/bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end test;
diff --git a/later/ed.gpr b/later/ed.gpr
new file mode 100644
index 0000000..ef7bf99
--- /dev/null
+++ b/later/ed.gpr
@@ -0,0 +1,12 @@
+project ed is
+
+ for Languages use ("C");
+ for Object_Dir use "obj";
+ for Exec_Dir use ".";
+ for Main use ("main");
+
+ package Builder is
+ for Executable ("main.c") use "ed";
+ end Builder;
+
+end ed;
diff --git a/template/bin.gpr b/template/bin.gpr
new file mode 100644
index 0000000..db20fba
--- /dev/null
+++ b/template/bin.gpr
@@ -0,0 +1,22 @@
+abstract project bin is
+
+ CFLAGS := External_As_List ("CFLAGS", " ");
+
+ for Languages use ("C");
+
+ package Compiler is
+ for Default_Switches ("C") use ("-std=c11",
+ "-Wall",
+ "-Wextra",
+ "-Wpedantic") & CFLAGS;
+ end Compiler;
+
+ package Linker is
+ for Trailing_Switches ("C") use ("-lbsd");
+ end Linker;
+
+ package Install is
+ for Install_Project use "false";
+ end Install;
+
+end bin;
diff --git a/template/usr_bin.gpr b/template/usr_bin.gpr
new file mode 100644
index 0000000..0ece874
--- /dev/null
+++ b/template/usr_bin.gpr
@@ -0,0 +1,7 @@
+abstract project usr_bin extends "template/bin.gpr" is
+
+ package Install extends bin.Install is
+ for Prefix use "usr";
+ end Install;
+
+end usr_bin;
diff --git a/usr.bin/asa/asa.gpr b/usr.bin/asa/asa.gpr
new file mode 100644
index 0000000..7116758
--- /dev/null
+++ b/usr.bin/asa/asa.gpr
@@ -0,0 +1,6 @@
+project asa extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end asa;
diff --git a/usr.bin/basename/basename.gpr b/usr.bin/basename/basename.gpr
new file mode 100644
index 0000000..4b0d068
--- /dev/null
+++ b/usr.bin/basename/basename.gpr
@@ -0,0 +1,6 @@
+project basename extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end basename;
diff --git a/usr.bin/cal/cal.gpr b/usr.bin/cal/cal.gpr
new file mode 100644
index 0000000..74cb3d3
--- /dev/null
+++ b/usr.bin/cal/cal.gpr
@@ -0,0 +1,6 @@
+project cal extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end cal;
diff --git a/usr.bin/cksum/cksum.gpr b/usr.bin/cksum/cksum.gpr
new file mode 100644
index 0000000..98f43aa
--- /dev/null
+++ b/usr.bin/cksum/cksum.gpr
@@ -0,0 +1,6 @@
+project cksum extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end cksum;
diff --git a/usr.bin/cmp/cmp.gpr b/usr.bin/cmp/cmp.gpr
new file mode 100644
index 0000000..2126243
--- /dev/null
+++ b/usr.bin/cmp/cmp.gpr
@@ -0,0 +1,6 @@
+project cmp extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end cmp;
diff --git a/usr.bin/comm/comm.gpr b/usr.bin/comm/comm.gpr
new file mode 100644
index 0000000..6e35cb8
--- /dev/null
+++ b/usr.bin/comm/comm.gpr
@@ -0,0 +1,6 @@
+project comm extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end comm;
diff --git a/usr.bin/csplit/csplit.gpr b/usr.bin/csplit/csplit.gpr
new file mode 100644
index 0000000..347308d
--- /dev/null
+++ b/usr.bin/csplit/csplit.gpr
@@ -0,0 +1,6 @@
+project csplit extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end csplit;
diff --git a/usr.bin/cut/cut.gpr b/usr.bin/cut/cut.gpr
new file mode 100644
index 0000000..fdd8a3c
--- /dev/null
+++ b/usr.bin/cut/cut.gpr
@@ -0,0 +1,6 @@
+project cut extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end cut;
diff --git a/usr.bin/dirname/dirname.gpr b/usr.bin/dirname/dirname.gpr
new file mode 100644
index 0000000..b74b4bc
--- /dev/null
+++ b/usr.bin/dirname/dirname.gpr
@@ -0,0 +1,6 @@
+project dirname extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end dirname;
diff --git a/usr.bin/du/du.gpr b/usr.bin/du/du.gpr
new file mode 100644
index 0000000..cb6d6f8
--- /dev/null
+++ b/usr.bin/du/du.gpr
@@ -0,0 +1,11 @@
+project du extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+ package Linker is
+ for Trailing_Switches ("C") use
+ bin.Linker'Trailing_Switches("C") & ("-lfts");
+ end Linker;
+
+end du;
diff --git a/usr.bin/env/env.gpr b/usr.bin/env/env.gpr
new file mode 100644
index 0000000..47d4d29
--- /dev/null
+++ b/usr.bin/env/env.gpr
@@ -0,0 +1,6 @@
+project env extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end env;
diff --git a/usr.bin/expand/expand.gpr b/usr.bin/expand/expand.gpr
new file mode 100644
index 0000000..7ad7b0b
--- /dev/null
+++ b/usr.bin/expand/expand.gpr
@@ -0,0 +1,6 @@
+project expand extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end expand;
diff --git a/usr.bin/find/find.gpr b/usr.bin/find/find.gpr
new file mode 100644
index 0000000..867a8cc
--- /dev/null
+++ b/usr.bin/find/find.gpr
@@ -0,0 +1,6 @@
+project find extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end find;
diff --git a/usr.bin/fold/fold.gpr b/usr.bin/fold/fold.gpr
new file mode 100644
index 0000000..599be01
--- /dev/null
+++ b/usr.bin/fold/fold.gpr
@@ -0,0 +1,6 @@
+project fold extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end fold;
diff --git a/usr.bin/getconf/getconf.gpr b/usr.bin/getconf/getconf.gpr
new file mode 100644
index 0000000..3f22aa7
--- /dev/null
+++ b/usr.bin/getconf/getconf.gpr
@@ -0,0 +1,6 @@
+project getconf extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end getconf;
diff --git a/usr.bin/grep/grep.gpr b/usr.bin/grep/grep.gpr
new file mode 100644
index 0000000..c0286d2
--- /dev/null
+++ b/usr.bin/grep/grep.gpr
@@ -0,0 +1,11 @@
+project grep extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+ package Linker is
+ for Trailing_Switches ("C") use
+ bin.Linker'Trailing_Switches("C") & ("-lbz2", "-lfts", "-lz");
+ end Linker;
+
+end grep;
diff --git a/usr.bin/head/head.gpr b/usr.bin/head/head.gpr
new file mode 100644
index 0000000..5a9a9f5
--- /dev/null
+++ b/usr.bin/head/head.gpr
@@ -0,0 +1,6 @@
+project head extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end head;
diff --git a/usr.bin/id/id.gpr b/usr.bin/id/id.gpr
new file mode 100644
index 0000000..f63fa29
--- /dev/null
+++ b/usr.bin/id/id.gpr
@@ -0,0 +1,6 @@
+project id extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end id;
diff --git a/usr.bin/ipcrm/ipcrm.gpr b/usr.bin/ipcrm/ipcrm.gpr
new file mode 100644
index 0000000..707a47c
--- /dev/null
+++ b/usr.bin/ipcrm/ipcrm.gpr
@@ -0,0 +1,6 @@
+project ipcrm extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end ipcrm;
diff --git a/usr.bin/ipcs/ipcs.gpr b/usr.bin/ipcs/ipcs.gpr
new file mode 100644
index 0000000..9cab2c0
--- /dev/null
+++ b/usr.bin/ipcs/ipcs.gpr
@@ -0,0 +1,6 @@
+project ipcs extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end ipcs;
diff --git a/usr.bin/join/join.gpr b/usr.bin/join/join.gpr
new file mode 100644
index 0000000..e908175
--- /dev/null
+++ b/usr.bin/join/join.gpr
@@ -0,0 +1,6 @@
+project join extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end join;
diff --git a/usr.bin/link/link.gpr b/usr.bin/link/link.gpr
new file mode 100644
index 0000000..9a794c4
--- /dev/null
+++ b/usr.bin/link/link.gpr
@@ -0,0 +1,6 @@
+project link extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end link;
diff --git a/usr.bin/logname/logname.gpr b/usr.bin/logname/logname.gpr
new file mode 100644
index 0000000..a93a641
--- /dev/null
+++ b/usr.bin/logname/logname.gpr
@@ -0,0 +1,6 @@
+project logname extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end logname;
diff --git a/usr.bin/mkfifo/mkfifo.gpr b/usr.bin/mkfifo/mkfifo.gpr
new file mode 100644
index 0000000..6064780
--- /dev/null
+++ b/usr.bin/mkfifo/mkfifo.gpr
@@ -0,0 +1,6 @@
+project mkfifo extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end mkfifo;
diff --git a/usr.bin/newgrp/newgrp.gpr b/usr.bin/newgrp/newgrp.gpr
new file mode 100644
index 0000000..35e13e0
--- /dev/null
+++ b/usr.bin/newgrp/newgrp.gpr
@@ -0,0 +1,6 @@
+project newgrp extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end newgrp;
diff --git a/usr.bin/nice/nice.gpr b/usr.bin/nice/nice.gpr
new file mode 100644
index 0000000..e6d776f
--- /dev/null
+++ b/usr.bin/nice/nice.gpr
@@ -0,0 +1,6 @@
+project nice extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end nice;
diff --git a/usr.bin/nl/nl.gpr b/usr.bin/nl/nl.gpr
new file mode 100644
index 0000000..496f321
--- /dev/null
+++ b/usr.bin/nl/nl.gpr
@@ -0,0 +1,6 @@
+project nl extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end nl;
diff --git a/usr.bin/nohup/nohup.gpr b/usr.bin/nohup/nohup.gpr
new file mode 100644
index 0000000..e838387
--- /dev/null
+++ b/usr.bin/nohup/nohup.gpr
@@ -0,0 +1,6 @@
+project nohup extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end nohup;
diff --git a/usr.bin/paste/paste.gpr b/usr.bin/paste/paste.gpr
new file mode 100644
index 0000000..6dcd06e
--- /dev/null
+++ b/usr.bin/paste/paste.gpr
@@ -0,0 +1,6 @@
+project paste extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end paste;
diff --git a/usr.bin/patch/patch.gpr b/usr.bin/patch/patch.gpr
new file mode 100644
index 0000000..33407f0
--- /dev/null
+++ b/usr.bin/patch/patch.gpr
@@ -0,0 +1,6 @@
+project patch extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end patch;
diff --git a/usr.bin/pathchk/pathchk.gpr b/usr.bin/pathchk/pathchk.gpr
new file mode 100644
index 0000000..9eb1fbb
--- /dev/null
+++ b/usr.bin/pathchk/pathchk.gpr
@@ -0,0 +1,6 @@
+project pathchk extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end pathchk;
diff --git a/usr.bin/pr/pr.gpr b/usr.bin/pr/pr.gpr
new file mode 100644
index 0000000..a4e2bc4
--- /dev/null
+++ b/usr.bin/pr/pr.gpr
@@ -0,0 +1,6 @@
+project pr extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end pr;
diff --git a/usr.bin/printf/printf.gpr b/usr.bin/printf/printf.gpr
new file mode 100644
index 0000000..2f22441
--- /dev/null
+++ b/usr.bin/printf/printf.gpr
@@ -0,0 +1,6 @@
+project printf extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end printf;
diff --git a/usr.bin/sed/sed.gpr b/usr.bin/sed/sed.gpr
new file mode 100644
index 0000000..5b7af62
--- /dev/null
+++ b/usr.bin/sed/sed.gpr
@@ -0,0 +1,10 @@
+project sed extends "template/usr_bin.gpr" is
+
+ for Main use ("main");
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+ package Builder is
+ for Executable ("main") use "sed";
+ end Builder;
+
+end sed;
diff --git a/usr.bin/sort/sort.gpr b/usr.bin/sort/sort.gpr
new file mode 100644
index 0000000..4928187
--- /dev/null
+++ b/usr.bin/sort/sort.gpr
@@ -0,0 +1,6 @@
+project sort extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end sort;
diff --git a/usr.bin/split/split.gpr b/usr.bin/split/split.gpr
new file mode 100644
index 0000000..214b7db
--- /dev/null
+++ b/usr.bin/split/split.gpr
@@ -0,0 +1,6 @@
+project split extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end split;
diff --git a/usr.bin/tabs/tabs.gpr b/usr.bin/tabs/tabs.gpr
new file mode 100644
index 0000000..7e87993
--- /dev/null
+++ b/usr.bin/tabs/tabs.gpr
@@ -0,0 +1,6 @@
+project tabs extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end tabs;
diff --git a/usr.bin/tail/tail.gpr b/usr.bin/tail/tail.gpr
new file mode 100644
index 0000000..b9ce727
--- /dev/null
+++ b/usr.bin/tail/tail.gpr
@@ -0,0 +1,6 @@
+project tail extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end tail;
diff --git a/usr.bin/talk/talk.gpr b/usr.bin/talk/talk.gpr
new file mode 100644
index 0000000..9093da1
--- /dev/null
+++ b/usr.bin/talk/talk.gpr
@@ -0,0 +1,6 @@
+project talk extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end talk;
diff --git a/usr.bin/tee/tee.gpr b/usr.bin/tee/tee.gpr
new file mode 100644
index 0000000..a04ff4b
--- /dev/null
+++ b/usr.bin/tee/tee.gpr
@@ -0,0 +1,6 @@
+project tee extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end tee;
diff --git a/usr.bin/time/time.gpr b/usr.bin/time/time.gpr
new file mode 100644
index 0000000..999fef4
--- /dev/null
+++ b/usr.bin/time/time.gpr
@@ -0,0 +1,6 @@
+project time extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end time;
diff --git a/usr.bin/touch/touch.gpr b/usr.bin/touch/touch.gpr
new file mode 100644
index 0000000..1cf2af8
--- /dev/null
+++ b/usr.bin/touch/touch.gpr
@@ -0,0 +1,6 @@
+project touch extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end touch;
diff --git a/usr.bin/tput/tput.gpr b/usr.bin/tput/tput.gpr
new file mode 100644
index 0000000..ea7ccb9
--- /dev/null
+++ b/usr.bin/tput/tput.gpr
@@ -0,0 +1,6 @@
+project tput extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end tput;
diff --git a/usr.bin/tr/tr.gpr b/usr.bin/tr/tr.gpr
new file mode 100644
index 0000000..b94e7d9
--- /dev/null
+++ b/usr.bin/tr/tr.gpr
@@ -0,0 +1,6 @@
+project tr extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end tr;
diff --git a/usr.bin/tsort/tsort.gpr b/usr.bin/tsort/tsort.gpr
new file mode 100644
index 0000000..a21aaae
--- /dev/null
+++ b/usr.bin/tsort/tsort.gpr
@@ -0,0 +1,6 @@
+project tsort extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end tsort;
diff --git a/usr.bin/tty/tty.gpr b/usr.bin/tty/tty.gpr
new file mode 100644
index 0000000..dcd0c68
--- /dev/null
+++ b/usr.bin/tty/tty.gpr
@@ -0,0 +1,6 @@
+project tty extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end tty;
diff --git a/usr.bin/uname/uname.gpr b/usr.bin/uname/uname.gpr
new file mode 100644
index 0000000..9df64e6
--- /dev/null
+++ b/usr.bin/uname/uname.gpr
@@ -0,0 +1,6 @@
+project uname extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end uname;
diff --git a/usr.bin/unexpand/unexpand.gpr b/usr.bin/unexpand/unexpand.gpr
new file mode 100644
index 0000000..72e5cfa
--- /dev/null
+++ b/usr.bin/unexpand/unexpand.gpr
@@ -0,0 +1,6 @@
+project unexpand extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end unexpand;
diff --git a/usr.bin/uniq/uniq.gpr b/usr.bin/uniq/uniq.gpr
new file mode 100644
index 0000000..a9af988
--- /dev/null
+++ b/usr.bin/uniq/uniq.gpr
@@ -0,0 +1,6 @@
+project uniq extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end uniq;
diff --git a/usr.bin/unlink/unlink.gpr b/usr.bin/unlink/unlink.gpr
new file mode 100644
index 0000000..a79e6c6
--- /dev/null
+++ b/usr.bin/unlink/unlink.gpr
@@ -0,0 +1,6 @@
+project unlink extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end unlink;
diff --git a/usr.bin/uudecode/uudecode.gpr b/usr.bin/uudecode/uudecode.gpr
new file mode 100644
index 0000000..d20761b
--- /dev/null
+++ b/usr.bin/uudecode/uudecode.gpr
@@ -0,0 +1,6 @@
+project uudecode extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end uudecode;
diff --git a/usr.bin/uuencode/uuencode.gpr b/usr.bin/uuencode/uuencode.gpr
new file mode 100644
index 0000000..f6c479e
--- /dev/null
+++ b/usr.bin/uuencode/uuencode.gpr
@@ -0,0 +1,6 @@
+project uuencode extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end uuencode;
diff --git a/usr.bin/wc/wc.gpr b/usr.bin/wc/wc.gpr
new file mode 100644
index 0000000..ef0a1de
--- /dev/null
+++ b/usr.bin/wc/wc.gpr
@@ -0,0 +1,6 @@
+project wc extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end wc;
diff --git a/usr.bin/what/what.gpr b/usr.bin/what/what.gpr
new file mode 100644
index 0000000..d431eb4
--- /dev/null
+++ b/usr.bin/what/what.gpr
@@ -0,0 +1,6 @@
+project what extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end what;
diff --git a/usr.bin/who/who.gpr b/usr.bin/who/who.gpr
new file mode 100644
index 0000000..651f01e
--- /dev/null
+++ b/usr.bin/who/who.gpr
@@ -0,0 +1,6 @@
+project who extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end who;
diff --git a/usr.bin/write/write.gpr b/usr.bin/write/write.gpr
new file mode 100644
index 0000000..2394cdd
--- /dev/null
+++ b/usr.bin/write/write.gpr
@@ -0,0 +1,6 @@
+project write extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end write;
diff --git a/usr.bin/xargs/xargs.gpr b/usr.bin/xargs/xargs.gpr
new file mode 100644
index 0000000..a3a08d6
--- /dev/null
+++ b/usr.bin/xargs/xargs.gpr
@@ -0,0 +1,6 @@
+project xargs extends "template/usr_bin.gpr" is
+
+ for Main use (project'Name);
+ for Object_Dir use External ("BUILDROOT") & "/" & project'Name;
+
+end xargs;