mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
722c9762f2
The make variables LIB_CFLAGS, DSO_CFLAGS and so on were used in addition to CFLAGS and so on. This works without problem on Unix and Windows, where options with different purposes (such as -D and -I) can appear anywhere on the command line and get accumulated as they come. This is not necessarely so on VMS. For example, macros must all be collected and given through one /DEFINE, and the same goes for inclusion directories (/INCLUDE). So, to harmonize all platforms, we repurpose make variables starting with LIB_, DSO_ and BIN_ to be all encompassing variables that collects the corresponding values from CFLAGS, CPPFLAGS, DEFINES, INCLUDES and so on together with possible config target values specific for libraries DSOs and programs, and use them instead of the general ones everywhere. This will, for example, allow VMS to use the exact same generators for generated files that go through cpp as all other platforms, something that has been impossible to do safely before now. Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5357)
14 lines
506 B
Plaintext
14 lines
506 B
Plaintext
LIBS=../../libcrypto
|
|
SOURCE[../../libcrypto]=\
|
|
cmll_ecb.c cmll_ofb.c cmll_cfb.c cmll_ctr.c \
|
|
{- $target{cmll_asm_src} -}
|
|
|
|
GENERATE[cmll-x86.s]=asm/cmll-x86.pl \
|
|
$(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) \
|
|
$(PROCESSOR)
|
|
DEPEND[cmll-x86.s]=../perlasm/x86asm.pl
|
|
GENERATE[cmll-x86_64.s]=asm/cmll-x86_64.pl $(PERLASM_SCHEME)
|
|
GENERATE[cmllt4-sparcv9.S]=asm/cmllt4-sparcv9.pl $(PERLASM_SCHEME)
|
|
INCLUDE[cmllt4-sparcv9.o]=..
|
|
DEPEND[cmllt4-sparcv9.S]=../perlasm/sparcv9_modes.pl
|