2020-09-13 10:12:57 -04:00
|
|
|
if conf_data.get('CONFIG_BITTORRENT')
|
2020-09-05 16:02:16 -04:00
|
|
|
subdir('bittorrent')
|
|
|
|
endif
|
2023-06-22 14:07:08 -04:00
|
|
|
if conf_data.get('CONFIG_LIBCURL') and conf_data.get('CONFIG_LIBEVENT')
|
2023-06-19 12:43:53 -04:00
|
|
|
subdir('curl')
|
|
|
|
endif
|
2020-09-05 16:02:16 -04:00
|
|
|
if conf_data.get('CONFIG_FINGER')
|
|
|
|
subdir('finger')
|
|
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_FSP')
|
|
|
|
subdir('fsp')
|
|
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_FTP')
|
|
|
|
subdir('ftp')
|
|
|
|
endif
|
2021-07-02 15:28:48 -04:00
|
|
|
if conf_data.get('CONFIG_GEMINI')
|
|
|
|
subdir('gemini')
|
|
|
|
endif
|
2020-09-05 16:02:16 -04:00
|
|
|
if conf_data.get('CONFIG_GOPHER')
|
|
|
|
subdir('gopher')
|
|
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_NNTP')
|
|
|
|
subdir('nntp')
|
|
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_SMB')
|
|
|
|
subdir('smb')
|
|
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_URI_REWRITE')
|
|
|
|
subdir('rewrite')
|
|
|
|
endif
|
|
|
|
subdir('auth')
|
|
|
|
subdir('file')
|
|
|
|
subdir('http')
|
|
|
|
|
|
|
|
if conf_data.get('CONFIG_DATA')
|
|
|
|
srcs += files('data.c')
|
|
|
|
endif
|
2022-07-31 10:44:11 -04:00
|
|
|
srcs += files('about.c', 'common.c', 'date.c', 'header.c', 'protocol.cpp', 'proxy.c', 'uri.c', 'user.c')
|
2022-10-05 12:27:38 -04:00
|
|
|
|
2022-11-30 04:17:49 -05:00
|
|
|
if get_option('test')
|
|
|
|
subdir('test')
|
|
|
|
endif
|