summaryrefslogtreecommitdiff
path: root/usr.bin/grep/grep.gpr
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2019-07-05 21:25:26 -0500
committerSamuel Holland <samuel@sholland.org>2019-07-05 22:23:07 -0500
commit4b05e0e49c979e4a49f37a441556ee11cd6a0c5e (patch)
tree765553e92000364cd61c8c2ff4a920b08a160975 /usr.bin/grep/grep.gpr
parent91e542abd30b662683cfb93dc63d33ff36b398da (diff)
downloaduserland-4b05e0e49c979e4a49f37a441556ee11cd6a0c5e.tar.gz
userland-4b05e0e49c979e4a49f37a441556ee11cd6a0c5e.tar.bz2
userland-4b05e0e49c979e4a49f37a441556ee11cd6a0c5e.tar.xz
userland-4b05e0e49c979e4a49f37a441556ee11cd6a0c5e.zip
build: add gprbuild projects
Diffstat (limited to 'usr.bin/grep/grep.gpr')
-rw-r--r--usr.bin/grep/grep.gpr11
1 files changed, 11 insertions, 0 deletions
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;