Browse Source

[build] build network_*.c into lighttpd executable

(not into liblightcomp used by modules, on platforms that require that)
personal/stbuehler/mod-csrf
Glenn Strauss 5 years ago
parent
commit
394278c61a
  1. 17
      src/CMakeLists.txt
  2. 11
      src/Makefile.am
  3. 14
      src/SConscript

17
src/CMakeLists.txt

@ -529,13 +529,9 @@ set(COMMON_SRC
configfile-glue.c
http-header-glue.c
http_auth.c
splaytree.c network_writev.c
network_write_mmap.c network_write_no_mmap.c
network_write.c network_linux_sendfile.c
network_freebsd_sendfile.c
network_solaris_sendfilev.c network_openssl.c
splaytree.c
rand.c
status_counter.c safe_memclear.c network_darwin_sendfile.c
status_counter.c safe_memclear.c
)
if(WIN32)
@ -560,6 +556,15 @@ add_executable(lighttpd
response.c
connections.c
network.c
network_darwin_sendfile.c
network_freebsd_sendfile.c
network_linux_sendfile.c
network_openssl.c
network_solaris_sendfilev.c
network_write.c
network_write_mmap.c
network_write_no_mmap.c
network_writev.c
configfile.c
configparser.c
request.c

11
src/Makefile.am

@ -72,15 +72,16 @@ common_src=base64.c buffer.c log.c \
configfile-glue.c \
http-header-glue.c \
http_auth.c \
network_write.c network_linux_sendfile.c \
network_write_mmap.c network_write_no_mmap.c \
network_freebsd_sendfile.c network_writev.c \
network_solaris_sendfilev.c network_openssl.c \
rand.c \
splaytree.c status_counter.c \
safe_memclear.c network_darwin_sendfile.c
safe_memclear.c
src = server.c response.c connections.c network.c \
network_write.c network_linux_sendfile.c \
network_write_mmap.c network_write_no_mmap.c \
network_freebsd_sendfile.c network_writev.c \
network_solaris_sendfilev.c network_openssl.c \
network_darwin_sendfile.c \
configfile.c configparser.c request.c proc_open.c
lib_LTLIBRARIES =

14
src/SConscript

@ -66,16 +66,18 @@ common_src = Split("base64.c buffer.c log.c \
configfile-glue.c \
http-header-glue.c \
http_auth.c \
splaytree.c network_writev.c \
network_write_mmap.c network_write_no_mmap.c \
network_write.c network_linux_sendfile.c \
network_freebsd_sendfile.c \
network_solaris_sendfilev.c network_openssl.c \
splaytree.c \
rand.c \
status_counter.c safe_memclear.c network_darwin_sendfile.c \
status_counter.c safe_memclear.c \
")
src = Split("server.c response.c connections.c network.c \
network_writev.c \
network_write_mmap.c network_write_no_mmap.c \
network_write.c network_linux_sendfile.c \
network_freebsd_sendfile.c \
network_solaris_sendfilev.c network_openssl.c \
network_darwin_sendfile.c \
configfile.c configparser.c request.c proc_open.c")
lemon = env.Program('lemon', 'lemon.c', LIBS = GatherLibs(env))

Loading…
Cancel
Save