mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
22 lines
457 B
Python
22 lines
457 B
Python
#!/usr/bin/env python
|
|
|
|
extra_source = ''
|
|
extra_deps = ''
|
|
if bld.CONFIG_SET('HAVE_BSD_MD5_H'):
|
|
extra_deps += ' bsd'
|
|
else:
|
|
extra_source += ' md5.c'
|
|
|
|
bld.SAMBA_SUBSYSTEM('LIBCRYPTO',
|
|
source='crc32.c hmacmd5.c md4.c arcfour.c sha256.c hmacsha256.c aes.c rijndael-alg-fst.c' + extra_source,
|
|
deps='talloc' + extra_deps
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('TORTURE_LIBCRYPTO',
|
|
source='md4test.c md5test.c hmacmd5test.c',
|
|
autoproto='test_proto.h',
|
|
deps='LIBCRYPTO'
|
|
)
|
|
|