2016-05-11 11:47:19 +00:00
|
|
|
# We can't make any commitment to support the DJGPP platform,
|
|
|
|
# and rely entirely on the OpenSSL community to help is fine
|
|
|
|
# tune and test.
|
|
|
|
|
2017-12-01 14:29:05 +00:00
|
|
|
my %targets = (
|
2016-05-11 11:47:19 +00:00
|
|
|
"DJGPP" => {
|
Make "make variables" config attributes for overridable flags
With the support of "make variables" comes the possibility for the
user to override them. However, we need to make a difference between
defaults that we use (and that should be overridable by the user) and
flags that are crucial for building OpenSSL (should not be
overridable).
Typically, overridable flags are those setting optimization levels,
warnings levels, that kind of thing, while non-overridable flags are,
for example, macros that indicate aspects of how the config target
should be treated, such as L_ENDIAN and B_ENDIAN.
We do that differentiation by allowing upper case attributes in the
config targets, named exactly like the "make variables" we support,
and reserving the lower case attributes for non-overridable project
flags.
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5534)
2018-03-06 19:35:30 +00:00
|
|
|
CC => "gcc",
|
|
|
|
CFLAGS => "-fomit-frame-pointer -O2 -Wall",
|
|
|
|
cflags => "-I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN",
|
2016-05-11 11:47:19 +00:00
|
|
|
sys_id => "MSDOS",
|
2018-01-08 11:28:08 +00:00
|
|
|
lflags => add("-L/dev/env/WATT_ROOT/lib"),
|
|
|
|
ex_libs => add("-lwatt"),
|
2016-05-11 11:47:19 +00:00
|
|
|
bn_ops => "BN_LLONG",
|
2019-06-16 11:32:58 +00:00
|
|
|
asm_arch => 'x86',
|
2016-05-11 11:47:19 +00:00
|
|
|
perlasm_scheme => "a.out",
|
|
|
|
},
|
|
|
|
);
|