# cgi-wrapper sources
set(cgi_wrapper_src
	src/alternative.c
	src/cgi-wrapper.c
	src/memdbg.c
	src/libfs.c
	src/libstr.c
	src/userconfig.c
)

# hiawatha sources
set(hiawatha_src
	src/alternative.c
	src/cache.c
	src/cgi.c
	src/challenge.c
	src/client.c
	src/envir.c
	src/filehashes.c
	src/hiawatha.c
	src/http.c
    src/http2.c
	src/httpauth.c
	src/ip.c
	src/libfs.c
	src/liblist.c
	src/libstr.c
	src/log.c
	src/memdbg.c
	src/mimetype.c
	src/monitor.c
	src/rproxy.c
	src/sandbox.c
	src/send.c
	src/serverconfig.c
	src/session.c
	src/tls.c
	src/target.c
	src/tomahawk.c
	src/toolkit.c
	src/userconfig.c
	src/workers.c
	src/xslt.c
)

# wigwam sources
set(wigwam_src
	src/alternative.c
	src/filehashes.c
	src/ip.c
	src/libfs.c
	src/libstr.c
	src/liblist.c
	src/memdbg.c
	src/toolkit.c
	src/wigwam.c
)

# configuration files
set(config_files
	config/cgi-wrapper.conf
	config/mimetype.conf
)
if(ENABLE_XSLT)
	set(config_files ${config_files}
		config/error.xslt
		config/index.xslt
	)
endif()

set(config_files_in
	config/hiawatha.conf
)

# manual pages
set(manual_pages
	man/wigwam.1
)

set(manual_pages_in
	man/cgi-wrapper.1
	man/hiawatha.1
)
