Configure - get rid of the special debug_ and release_ settings
[openssl.git] / Configurations / 99-personal-levitte.conf
1 ## -*- mode: perl; -*-
2 ## Personal configuration targets
3
4 sub picker {
5     my %opts = @_;
6     return sub { add($opts{default} || (),
7                      $opts{$config{build_type}} || ())->(); }
8 }
9
10 %targets = (
11     "levitte-linux-elf" => {
12         inherit_from     => [ "linux-elf" ],
13         cflags           => add(picker(debug => "-ggdb -g3")),
14         defines          => add(picker(debug => "LEVITTE_DEBUG"),
15                                 { separator => undef }),
16         build_scheme     => [ "unified", "unix" ],
17         build_file       => "Makefile",
18     },
19     "levitte-linux-x86_64" => {
20         inherit_from     => [ "linux-x86_64" ],
21         cflags           => add(picker(debug => "-ggdb -g3")),
22         defines          => add(picker(debug => "LEVITTE_DEBUG"),
23                                 { separator => undef }),
24         build_scheme     => [ "unified", "unix" ],
25         build_file       => "Makefile",
26     },
27 );