|
Last change
on this file was 988, checked in by Silvan Scherrer, 9 years ago |
|
Samba Server: update vendor to version 4.4.3
|
|
File size:
944 bytes
|
| Line | |
|---|
| 1 | #!/usr/bin/env python
|
|---|
| 2 |
|
|---|
| 3 | extra_source = ''
|
|---|
| 4 | extra_deps = ''
|
|---|
| 5 | if bld.CONFIG_SET('HAVE_BSD_MD5_H'):
|
|---|
| 6 | extra_deps += ' bsd'
|
|---|
| 7 | elif bld.CONFIG_SET('HAVE_SYS_MD5_H') and bld.CONFIG_SET('HAVE_LIBMD5'):
|
|---|
| 8 | extra_deps += ' md5'
|
|---|
| 9 | elif bld.CONFIG_SET('HAVE_SYS_MD5_H') and bld.CONFIG_SET('HAVE_LIBMD'):
|
|---|
| 10 | extra_deps += ' md'
|
|---|
| 11 | elif not bld.CONFIG_SET('HAVE_SYS_MD5_H') and not bld.CONFIG_SET('HAVE_COMMONCRYPTO_COMMONDIGEST_H'):
|
|---|
| 12 | extra_source += ' md5.c'
|
|---|
| 13 |
|
|---|
| 14 | bld.SAMBA_SUBSYSTEM('LIBCRYPTO',
|
|---|
| 15 | source='''crc32.c hmacmd5.c md4.c arcfour.c sha256.c sha512.c hmacsha256.c
|
|---|
| 16 | aes.c rijndael-alg-fst.c aes_cmac_128.c aes_ccm_128.c aes_gcm_128.c
|
|---|
| 17 | ''' + extra_source,
|
|---|
| 18 | deps='talloc' + extra_deps
|
|---|
| 19 | )
|
|---|
| 20 |
|
|---|
| 21 | bld.SAMBA_SUBSYSTEM('TORTURE_LIBCRYPTO',
|
|---|
| 22 | source='''md4test.c md5test.c hmacmd5test.c
|
|---|
| 23 | aes_cmac_128_test.c aes_ccm_128_test.c aes_gcm_128_test.c
|
|---|
| 24 | ''',
|
|---|
| 25 | autoproto='test_proto.h',
|
|---|
| 26 | deps='LIBCRYPTO'
|
|---|
| 27 | )
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.