2020-09-05 16:02:16 -04:00
|
|
|
#INCLUDES += $(GNUTLS_CFLAGS) $(OPENSSL_CFLAGS)
|
|
|
|
|
|
|
|
if not conf_data.get('CONFIG_SMALL')
|
|
|
|
srcs += files('fastfind.c')
|
|
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_CSS') == 1
|
|
|
|
srcs += files('scanner.c')
|
|
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_DEBUG')
|
|
|
|
srcs += files('memdebug.c')
|
|
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_DOM')
|
|
|
|
srcs += files('scanner.c')
|
|
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_OWN_LIBC') or (not conf_data.get('CONFIG_GNUTLS_OPENSSL_COMPAT') and not conf_data.get('CONFIG_OPENSSL'))
|
|
|
|
srcs += files('md5.c')
|
|
|
|
endif
|
2020-09-13 10:12:57 -04:00
|
|
|
if conf_data.get('CONFIG_BITTORRENT')
|
2020-09-05 16:02:16 -04:00
|
|
|
if conf_data.get('CONFIG_OWN_LIBC') or not conf_data.get('CONFIG_OPENSSL')
|
|
|
|
srcs += files('sha1.c')
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
srcs += files('base64.c', 'color.c', 'conv.c', 'env.c', 'error.c', 'file.c', 'hash.c',
|
|
|
|
'memlist.c', 'memory.c', 'random.c', 'secsave.c', 'snprintf.c', 'string.c', 'time.c')
|