|
Lucio Andrés Illanes Albornoz |
0ed377 |
diff --git a/autogen.sh b/autogen.sh
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
index 74180136..f079773c 100755
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
--- a/autogen.sh
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
+++ b/autogen.sh
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -10,6 +10,7 @@
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
# Basedir
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
srcdir=`dirname $0`
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
test -z "$srcdir" && srcdir=.
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
+touch "$srcdir/ltmain.sh" || false
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
ORIGDIR=`pwd`
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
cd $srcdir
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
diff --git a/cherokee/Makefile.am b/cherokee/Makefile.am
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
index b4537216..1bc1e2e5 100644
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
--- a/cherokee/Makefile.am
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
+++ b/cherokee/Makefile.am
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -122,6 +122,7 @@ rule_directory.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_directory_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_directory_la_SOURCES = $(rule_directory)
|
|
|
2baa17 |
+libplugin_directory_la_LIBADD = libcherokee-base.la libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_DIRECTORY
|
|
|
2baa17 |
static_rule_directory_src = $(rule_directory)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -139,6 +140,7 @@ rule_extensions.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_extensions_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_extensions_la_SOURCES = $(rule_extensions)
|
|
|
2baa17 |
+libplugin_extensions_la_LIBADD = libcherokee-base.la libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_EXTENSIONS
|
|
|
2baa17 |
static_rule_extensions_src = $(rule_extensions)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -156,6 +158,7 @@ rule_request.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_request_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_request_la_SOURCES = $(rule_request)
|
|
|
2baa17 |
+libplugin_request_la_LIBADD = libcherokee-base.la libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_REQUEST
|
|
|
2baa17 |
static_rule_request_src = $(rule_request)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -173,6 +176,7 @@ rule_header.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_header_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_header_la_SOURCES = $(rule_header)
|
|
|
2baa17 |
+libplugin_header_la_LIBADD = libcherokee-base.la libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_HEADER
|
|
|
2baa17 |
static_rule_header_src = $(rule_header)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -190,6 +194,7 @@ rule_exists.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_exists_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_exists_la_SOURCES = $(rule_exists)
|
|
|
2baa17 |
+libplugin_exists_la_LIBADD = libcherokee-base.la libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_EXISTS
|
|
|
2baa17 |
static_rule_exists_src = $(rule_exists)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -207,6 +212,7 @@ rule_url_arg.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_url_arg_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_url_arg_la_SOURCES = $(rule_url_arg)
|
|
|
2baa17 |
+libplugin_url_arg_la_LIBADD = libcherokee-base.la libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_URL_ARG
|
|
|
2baa17 |
static_rule_url_arg_src = $(rule_url_arg)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -224,6 +230,7 @@ rule_fullpath.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_fullpath_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_fullpath_la_SOURCES = $(rule_fullpath)
|
|
|
2baa17 |
+libplugin_fullpath_la_LIBADD = libcherokee-base.la libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_FULL_PATH
|
|
|
2baa17 |
static_rule_fullpath_src = $(rule_fullpath)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -241,6 +248,7 @@ rule_bind.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_bind_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_bind_la_SOURCES = $(rule_bind)
|
|
|
2baa17 |
+libplugin_bind_la_LIBADD = libcherokee-base.la libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_BIND
|
|
|
2baa17 |
static_rule_bind_src = $(rule_bind)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -258,6 +266,7 @@ rule_tls.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_tls_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_tls_la_SOURCES = $(rule_tls)
|
|
|
2baa17 |
+libplugin_tls_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_TLS
|
|
|
2baa17 |
static_rule_tls_src = $(rule_tls)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -275,6 +284,7 @@ rule_method.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_method_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_method_la_SOURCES = $(rule_method)
|
|
|
2baa17 |
+libplugin_method_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_METHOD
|
|
|
2baa17 |
static_rule_method_src = $(rule_method)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -292,6 +302,7 @@ rule_from.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_from_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_from_la_SOURCES = $(rule_from)
|
|
|
2baa17 |
+libplugin_from_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_FROM
|
|
|
2baa17 |
static_rule_from_src = $(rule_from)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -310,7 +321,7 @@ rule_geoip.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_geoip_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_geoip_la_SOURCES = $(rule_geoip)
|
|
|
2baa17 |
-libplugin_geoip_la_LIBADD = -lGeoIP
|
|
|
2baa17 |
+libplugin_geoip_la_LIBADD = libcherokee-server.la -lGeoIP
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_HEADER
|
|
|
2baa17 |
static_rule_geoip_src = $(rule_geoip)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -330,6 +341,7 @@ rule_not.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_not_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_not_la_SOURCES = $(rule_not)
|
|
|
2baa17 |
+libplugin_not_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_NOT
|
|
|
2baa17 |
static_rule_not_src = $(rule_not)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -347,6 +359,7 @@ rule_and.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_and_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_and_la_SOURCES = $(rule_and)
|
|
|
2baa17 |
+libplugin_and_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_AND
|
|
|
2baa17 |
static_rule_and_src = $(rule_and)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -364,6 +377,7 @@ rule_or.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_or_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_or_la_SOURCES = $(rule_or)
|
|
|
2baa17 |
+libplugin_or_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_RULE_OR
|
|
|
2baa17 |
static_rule_or_src = $(rule_or)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -381,6 +395,7 @@ vrule_or.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_v_or_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_v_or_la_SOURCES = $(vrule_or)
|
|
|
2baa17 |
+libplugin_v_or_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_VRULE_OR
|
|
|
2baa17 |
static_vrule_or_src = $(vrule_or)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -398,6 +413,7 @@ vrule_wildcard.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_wildcard_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_wildcard_la_SOURCES = $(vrule_wildcard)
|
|
|
2baa17 |
+libplugin_wildcard_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_VRULE_WILDCARD
|
|
|
2baa17 |
static_vrule_wildcard_src = $(vrule_wildcard)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -415,6 +431,7 @@ vrule_rehost.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_rehost_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_rehost_la_SOURCES = $(vrule_rehost)
|
|
|
2baa17 |
+libplugin_rehost_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_VRULE_REHOST
|
|
|
2baa17 |
static_vrule_rehost_src = $(vrule_rehost)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -432,6 +449,7 @@ vrule_target_ip.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_target_ip_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_target_ip_la_SOURCES = $(vrule_target_ip)
|
|
|
2baa17 |
+libplugin_target_ip_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_VRULE_TARGET_IP
|
|
|
2baa17 |
static_vrule_target_ip_src = $(vrule_target_ip)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -454,6 +472,7 @@ collector_rrd.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_rrd_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_rrd_la_SOURCES = $(collector_rrd)
|
|
|
2baa17 |
+libplugin_rrd_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_COLLECTOR_RRD
|
|
|
2baa17 |
static_collector_rrd_src = $(collector_rrd)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -471,6 +490,7 @@ gen_evhost.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_evhost_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_evhost_la_SOURCES = $(gen_evhost)
|
|
|
2baa17 |
+libplugin_evhost_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_GEN_EVHOST
|
|
|
2baa17 |
static_gen_evhost_src = $(gen_evhost)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -488,6 +508,7 @@ post_track.c
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_post_track_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_post_track_la_SOURCES = $(post_track)
|
|
|
2baa17 |
+libplugin_post_track_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_POST_TRACK
|
|
|
2baa17 |
static_post_track_src = $(post_track)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -505,6 +526,7 @@ handler_post_report.c
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_post_report_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_post_report_la_SOURCES = $(handler_post_report)
|
|
|
2baa17 |
+libplugin_post_report_la_LIBADD = libcherokee-server.la libplugin_post_track.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_POST_REPORT
|
|
|
2baa17 |
static_handler_post_report_src = $(handler_post_report)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -523,6 +545,7 @@ logo.inc
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_server_info_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_server_info_la_SOURCES = $(handler_server_info)
|
|
|
2baa17 |
+libplugin_server_info_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_SERVER_INFO
|
|
|
2baa17 |
static_handler_server_info_src = $(handler_server_info)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -540,6 +563,7 @@ handler_file.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_file_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_file_la_SOURCES = $(handler_file)
|
|
|
2baa17 |
+libplugin_file_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_FILE
|
|
|
2baa17 |
static_handler_file_src = $(handler_file)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -557,6 +581,7 @@ handler_dirlist.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_dirlist_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_dirlist_la_SOURCES = $(handler_dirlist)
|
|
|
2baa17 |
+libplugin_dirlist_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_DIRLIST
|
|
|
2baa17 |
static_handler_dirlist_src = $(handler_dirlist)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -580,6 +605,7 @@ logo.inc
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_render_rrd_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_render_rrd_la_SOURCES = $(handler_render_rrd) $(handler_file)
|
|
|
2baa17 |
+libplugin_render_rrd_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_RENDER_RRD
|
|
|
2baa17 |
static_handler_render_rrd_src = $(handler_render_rrd)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -602,6 +628,7 @@ handler_cgi.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_cgi_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_cgi_la_SOURCES = $(handler_cgi) $(handler_file)
|
|
|
2baa17 |
+libplugin_cgi_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_CGI
|
|
|
2baa17 |
static_handler_cgi_src = $(handler_cgi)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -624,6 +651,7 @@ handler_scgi.c
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_scgi_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_scgi_la_SOURCES = $(handler_scgi) $(handler_file)
|
|
|
2baa17 |
+libplugin_scgi_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_SCGI
|
|
|
2baa17 |
static_handler_scgi_src = $(handler_scgi)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -647,6 +675,7 @@ handler_fcgi.c
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_fcgi_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_fcgi_la_SOURCES = $(handler_fcgi) $(handler_file)
|
|
|
2baa17 |
+libplugin_fcgi_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_FCGI
|
|
|
2baa17 |
static_handler_fcgi_src = $(handler_fcgi)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -669,6 +698,7 @@ handler_uwsgi.c
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_uwsgi_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_uwsgi_la_SOURCES = $(handler_uwsgi) $(handler_file)
|
|
|
2baa17 |
+libplugin_uwsgi_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_UWSGI
|
|
|
2baa17 |
static_handler_uwsgi_src = $(handler_uwsgi)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -686,6 +716,7 @@ handler_redir.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_redir_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_redir_la_SOURCES = $(handler_redir)
|
|
|
2baa17 |
+libplugin_redir_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_REDIR
|
|
|
2baa17 |
static_handler_redir_src = $(handler_redir)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -702,7 +733,8 @@ handler_error_redir.c \
|
|
|
2baa17 |
handler_error_redir.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_error_redir_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
-libplugin_error_redir_la_SOURCES = $(handler_error_redir)
|
|
|
2baa17 |
+libplugin_error_redir_la_SOURCES = $(handler_error_redir) $(handler_redir)
|
|
|
2baa17 |
+libplugin_error_redir_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_ERROR_REDIR
|
|
|
2baa17 |
static_handler_error_redir_src = $(handler_error_redir)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -722,6 +754,7 @@ handler_error_nn.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_error_nn_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_error_nn_la_SOURCES = $(handler_error_nn)
|
|
|
2baa17 |
+libplugin_error_nn_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_ERROR_NN
|
|
|
2baa17 |
static_handler_error_nn_src = $(handler_error_nn)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -738,7 +771,8 @@ handler_common.c \
|
|
|
2baa17 |
handler_common.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_common_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
-libplugin_common_la_SOURCES = $(handler_common)
|
|
|
2baa17 |
+libplugin_common_la_SOURCES = $(handler_common) $(handler_dirlist) $(handler_file)
|
|
|
2baa17 |
+libplugin_common_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_COMMON
|
|
|
2baa17 |
static_handler_common_src = $(handler_common)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -758,6 +792,7 @@ proxy_hosts.c
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_proxy_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_proxy_la_SOURCES = $(handler_proxy)
|
|
|
2baa17 |
+libplugin_proxy_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_PROXY
|
|
|
2baa17 |
static_handler_proxy_src = $(handler_proxy)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -777,6 +812,7 @@ handler_ssi.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_ssi_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_ssi_la_SOURCES = $(handler_ssi)
|
|
|
2baa17 |
+libplugin_ssi_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_SSI
|
|
|
2baa17 |
static_handler_ssi_src = $(handler_ssi)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -793,7 +829,8 @@ handler_secdownload.c \
|
|
|
2baa17 |
handler_secdownload.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_secdownload_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
-libplugin_secdownload_la_SOURCES = $(handler_secdownload)
|
|
|
2baa17 |
+libplugin_secdownload_la_SOURCES = $(handler_secdownload) $(handler_file)
|
|
|
2baa17 |
+libplugin_secdownload_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_SECDOWNLOAD
|
|
|
2baa17 |
static_handler_secdownload_src = $(handler_secdownload)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -811,6 +848,7 @@ handler_empty_gif.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_empty_gif_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_empty_gif_la_SOURCES = $(handler_empty_gif)
|
|
|
2baa17 |
+libplugin_empty_gif_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_EMPTY_GIF
|
|
|
2baa17 |
static_handler_empty_gif_src = $(handler_empty_gif)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -828,6 +866,7 @@ handler_drop.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_drop_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_drop_la_SOURCES = $(handler_drop)
|
|
|
2baa17 |
+libplugin_drop_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_DROP
|
|
|
2baa17 |
static_handler_drop_src = $(handler_drop)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -845,8 +884,8 @@ handler_streaming.c \
|
|
|
2baa17 |
handler_streaming.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_streaming_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
-libplugin_streaming_la_SOURCES = $(handler_streaming)
|
|
|
2baa17 |
-libplugin_streaming_la_LIBADD = $(FFMPEG_LIBS)
|
|
|
2baa17 |
+libplugin_streaming_la_SOURCES = $(handler_streaming) $(handler_file)
|
|
|
2baa17 |
+libplugin_streaming_la_LIBADD = $(FFMPEG_LIBS) libcherokee-server.la
|
|
|
2baa17 |
libplugin_streaming_la_CFLAGS = $(FFMPEG_CFLAGS)
|
|
|
2baa17 |
|
|
|
2baa17 |
if HAVE_FFMPEG
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -870,6 +909,7 @@ handler_dbslayer.c
|
|
|
2baa17 |
libplugin_dbslayer_la_LDFLAGS = $(module_ldflags) $(MYSQL_LDFLAGS)
|
|
|
2baa17 |
libplugin_dbslayer_la_SOURCES = $(handler_dbslayer)
|
|
|
2baa17 |
libplugin_dbslayer_la_CFLAGS = $(MYSQL_CFLAGS)
|
|
|
2baa17 |
+libplugin_dbslayer_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if HAVE_MYSQL
|
|
|
2baa17 |
if STATIC_HANDLER_DBSLAYER
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -891,7 +931,7 @@ handler_custom_error.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_custom_error_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_custom_error_la_SOURCES = $(handler_custom_error)
|
|
|
2baa17 |
-libplugin_custom_error_la_LIBADD = libcherokee-client.la
|
|
|
2baa17 |
+libplugin_custom_error_la_LIBADD = libcherokee-base.la libcherokee-client.la libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_CUSTOM_ERROR
|
|
|
2baa17 |
static_handler_custom_error_src = $(handler_custom_error)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -911,7 +951,7 @@ admin_server.c
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_admin_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_admin_la_SOURCES = $(handler_admin)
|
|
|
2baa17 |
-libplugin_admin_la_LIBADD = libcherokee-client.la
|
|
|
2baa17 |
+libplugin_admin_la_LIBADD = libcherokee-client.la libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_HANDLER_ADMIN
|
|
|
2baa17 |
static_handler_admin_src = $(handler_admin)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -929,6 +969,7 @@ encoder_gzip.c
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_gzip_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_gzip_la_SOURCES = $(encoder_gzip)
|
|
|
2baa17 |
+libplugin_gzip_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_ENCODER_GZIP
|
|
|
2baa17 |
static_encoder_gzip_src = $(encoder_gzip)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -946,6 +987,7 @@ encoder_deflate.c
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_deflate_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_deflate_la_SOURCES = $(encoder_deflate)
|
|
|
2baa17 |
+libplugin_deflate_la_LIBADD = libcherokee-server.la -lz
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_ENCODER_DEFLATE
|
|
|
2baa17 |
static_encoder_deflate_src = $(encoder_deflate)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -963,6 +1005,7 @@ logger_custom.c
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_custom_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_custom_la_SOURCES = $(logger_custom)
|
|
|
2baa17 |
+libplugin_custom_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_LOGGER_CUSTOM
|
|
|
2baa17 |
static_logger_custom_src = $(logger_custom)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -980,6 +1023,7 @@ logger_ncsa.c
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_ncsa_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_ncsa_la_SOURCES = $(logger_ncsa)
|
|
|
2baa17 |
+libplugin_ncsa_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_LOGGER_NCSA
|
|
|
2baa17 |
static_logger_ncsa_src = $(logger_ncsa)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -996,7 +1040,8 @@ logger_combined.h \
|
|
|
2baa17 |
logger_combined.c
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_combined_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
-libplugin_combined_la_SOURCES = $(logger_combined)
|
|
|
2baa17 |
+libplugin_combined_la_SOURCES = $(logger_combined) $(logger_ncsa)
|
|
|
2baa17 |
+libplugin_combined_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_LOGGER_COMBINED
|
|
|
2baa17 |
static_logger_combined_src = $(logger_combined)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -1062,7 +1107,7 @@ validator_htpasswd.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_htpasswd_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_htpasswd_la_SOURCES = $(validator_htpasswd)
|
|
|
2baa17 |
-libplugin_htpasswd_la_LIBADD = $(CRYPT_LIBS)
|
|
|
2baa17 |
+libplugin_htpasswd_la_LIBADD = $(CRYPT_LIBS) libcherokee-server.la
|
|
|
2baa17 |
libplugin_htpasswd_la_CFLAGS = $(CRYPT_CFLAGS)
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_VALIDATOR_HTPASSWD
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -1088,6 +1133,7 @@ validator_plain.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_plain_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_plain_la_SOURCES = $(validator_plain)
|
|
|
2baa17 |
+libplugin_plain_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_VALIDATOR_PLAIN
|
|
|
2baa17 |
static_validator_plain_src = $(validator_plain)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -1110,6 +1156,7 @@ validator_htdigest.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_htdigest_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_htdigest_la_SOURCES = $(validator_htdigest)
|
|
|
2baa17 |
+libplugin_htdigest_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_VALIDATOR_HTDIGEST
|
|
|
2baa17 |
static_validator_htdigest_src = $(validator_htdigest)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -1127,6 +1174,7 @@ validator_authlist.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_authlist_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_authlist_la_SOURCES = $(validator_authlist)
|
|
|
2baa17 |
+libplugin_authlist_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_VALIDATOR_AUTHLIST
|
|
|
2baa17 |
static_validator_authlist_src = $(validator_authlist)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -1145,6 +1193,7 @@ validator_mysql.h
|
|
|
2baa17 |
libplugin_mysql_la_LDFLAGS = $(module_ldflags) $(MYSQL_LDFLAGS)
|
|
|
2baa17 |
libplugin_mysql_la_SOURCES = $(validator_mysql)
|
|
|
2baa17 |
libplugin_mysql_la_CFLAGS = $(MYSQL_CFLAGS)
|
|
|
2baa17 |
+libplugin_mysql_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if HAVE_MYSQL
|
|
|
2baa17 |
if STATIC_VALIDATOR_MYSQL
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -1173,6 +1222,7 @@ cryptor_libssl_dh_4096.c
|
|
|
2baa17 |
libplugin_libssl_la_LDFLAGS = $(module_ldflags) $(LIBSSL_LIBS)
|
|
|
2baa17 |
libplugin_libssl_la_SOURCES = $(cryptor_libssl)
|
|
|
2baa17 |
libplugin_libssl_la_CFLAGS = $(LIBSSL_CFLAGS)
|
|
|
2baa17 |
+libplugin_libssl_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if USE_OPENSSL
|
|
|
2baa17 |
if STATIC_CRYPTOR_LIBSSL
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -1194,6 +1244,7 @@ balancer_round_robin.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_round_robin_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_round_robin_la_SOURCES = $(balancer_round_robin)
|
|
|
2baa17 |
+libplugin_round_robin_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_BALANCER_ROUND_ROBIN
|
|
|
2baa17 |
static_balancer_round_robin_src = $(balancer_round_robin)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -1211,6 +1262,7 @@ balancer_ip_hash.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_ip_hash_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_ip_hash_la_SOURCES = $(balancer_ip_hash)
|
|
|
2baa17 |
+libplugin_ip_hash_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_BALANCER_IP_HASH
|
|
|
2baa17 |
static_balancer_ip_hash_src = $(balancer_ip_hash)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -1228,6 +1280,7 @@ balancer_failover.h
|
|
|
2baa17 |
|
|
|
2baa17 |
libplugin_failover_la_LDFLAGS = $(module_ldflags)
|
|
|
2baa17 |
libplugin_failover_la_SOURCES = $(balancer_failover)
|
|
|
2baa17 |
+libplugin_failover_la_LIBADD = libcherokee-server.la
|
|
|
2baa17 |
|
|
|
2baa17 |
if STATIC_BALANCER_FAILOVER
|
|
|
2baa17 |
static_balancer_failover_src = $(balancer_failover)
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
diff --git a/configure.ac b/configure.ac
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
index e7e4482d..1821b725 100644
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
--- a/configure.ac
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
+++ b/configure.ac
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -20,7 +20,7 @@ USA
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
])
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
dnl require autoconf 2.68
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
-AC_PREREQ([2.71])
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
+AC_PREREQ([2.69])
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
dnl Version
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
m4_define([cherokee_major_version], [1])
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
diff --git a/m4/nls.m4 b/m4/nls.m4
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
index f28756b5..fd4d62a6 100644
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
--- a/m4/nls.m4
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
+++ b/m4/nls.m4
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -17,7 +17,7 @@ dnl Authors:
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
-AC_PREREQ([2.71])
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
+AC_PREREQ([2.69])
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
AC_DEFUN([AM_NLS],
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
[
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
diff --git a/m4/po.m4 b/m4/po.m4
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
index 7228ac08..d195a15c 100644
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
--- a/m4/po.m4
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
+++ b/m4/po.m4
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -17,7 +17,7 @@ dnl Authors:
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
-AC_PREREQ([2.71])
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
+AC_PREREQ([2.69])
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
dnl Checks for all prerequisites of the po subdirectory.
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
AC_DEFUN([AM_PO_SUBDIRS],
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
diff --git a/m4/progtest.m4 b/m4/progtest.m4
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
index c6708fe3..19699a73 100644
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
--- a/m4/progtest.m4
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
+++ b/m4/progtest.m4
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
@@ -16,7 +16,7 @@ dnl They are *not* in the public domain.
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
dnl Authors:
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
dnl Ulrich Drepper <drepper@cygnus.com>, 1996.
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
-AC_PREREQ([2.71])
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
+AC_PREREQ([2.69])
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
# Search path for a program which passes the given test.
|
|
Lucio Andrés Illanes Albornoz |
0ed377 |
|