mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-10-26 19:57:22 +08:00
change license + optimizations + bug fixing
This commit is contained in:
@@ -2,19 +2,21 @@
|
||||
|
||||
EXTRA_DIST = *.spec* *.start
|
||||
|
||||
ulib_la = @ULIBS@ $(top_builddir)/src/ulib/lib@ULIB@.la @ULIB_LIBS@
|
||||
|
||||
dist_sysconf_DATA = userver.cfg.default
|
||||
|
||||
DEFAULT_INCLUDES = -I. -I$(top_srcdir)/include
|
||||
DEFAULT_CONFIG_FILE = $(sysconfdir)/userver.cfg
|
||||
|
||||
userver_tcp_LDADD = $(top_builddir)/src/ulib/lib@ULIB@.la @ULIB_LIBS@
|
||||
userver_tcp_LDADD = $(ulib_la)
|
||||
userver_tcp_SOURCES = userver.cpp
|
||||
userver_tcp_LDFLAGS = $(PRG_LDFLAGS)
|
||||
userver_tcp_CPPFLAGS = -DU_TCP_SOCKET $(CPPFLAGS)
|
||||
bin_PROGRAMS = userver_tcp
|
||||
|
||||
if SSL
|
||||
userver_ssl_LDADD = $(top_builddir)/src/ulib/lib@ULIB@.la @ULIB_LIBS@
|
||||
userver_ssl_LDADD = $(ulib_la)
|
||||
userver_ssl_SOURCES = userver.cpp
|
||||
userver_ssl_LDFLAGS = $(PRG_LDFLAGS)
|
||||
userver_ssl_CPPFLAGS = -DU_SSL_SOCKET $(CPPFLAGS)
|
||||
@@ -23,7 +25,7 @@ endif
|
||||
|
||||
## MINGW don't have unix socket...
|
||||
if !MINGW
|
||||
userver_ipc_LDADD = $(top_builddir)/src/ulib/lib@ULIB@.la @ULIB_LIBS@
|
||||
userver_ipc_LDADD = $(ulib_la)
|
||||
userver_ipc_SOURCES = userver.cpp
|
||||
userver_ipc_LDFLAGS = $(PRG_LDFLAGS)
|
||||
userver_ipc_CPPFLAGS = -DU_UNIX_SOCKET $(CPPFLAGS)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Makefile.in generated by automake 1.12.6 from Makefile.am.
|
||||
# Makefile.in generated by automake 1.14.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
@@ -16,23 +16,51 @@
|
||||
|
||||
|
||||
VPATH = @srcdir@
|
||||
am__make_dryrun = \
|
||||
{ \
|
||||
am__dry=no; \
|
||||
am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
|
||||
| grep '^AM OK$$' >/dev/null || am__dry=yes;; \
|
||||
*) \
|
||||
for am__flg in $$MAKEFLAGS; do \
|
||||
case $$am__flg in \
|
||||
*=*|--*) ;; \
|
||||
*n*) am__dry=yes; break;; \
|
||||
esac; \
|
||||
done;; \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
test $$am__dry = yes; \
|
||||
}
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
@@ -56,11 +84,11 @@ bin_PROGRAMS = userver_tcp$(EXEEXT) $(am__EXEEXT_1) $(am__EXEEXT_2)
|
||||
@SSL_TRUE@am__append_1 = userver_ssl
|
||||
@MINGW_FALSE@am__append_2 = userver_ipc
|
||||
subdir = examples/userver
|
||||
DIST_COMMON = $(dist_sysconf_DATA) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in $(srcdir)/cspserver.spec.in \
|
||||
$(srcdir)/rsignserver.spec.in $(srcdir)/tsaserver.spec.in \
|
||||
$(srcdir)/wagsmserver.spec.in $(srcdir)/web_server.spec.in \
|
||||
$(top_srcdir)/depcomp
|
||||
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
|
||||
$(srcdir)/web_server.spec.in $(srcdir)/wagsmserver.spec.in \
|
||||
$(srcdir)/tsaserver.spec.in $(srcdir)/cspserver.spec.in \
|
||||
$(srcdir)/rsignserver.spec.in $(top_srcdir)/depcomp \
|
||||
$(dist_sysconf_DATA)
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_check_package.m4 \
|
||||
$(top_srcdir)/m4/ac_compilation_environment.m4 \
|
||||
@@ -88,8 +116,8 @@ PROGRAMS = $(bin_PROGRAMS)
|
||||
am__userver_ipc_SOURCES_DIST = userver.cpp
|
||||
@MINGW_FALSE@am_userver_ipc_OBJECTS = userver_ipc-userver.$(OBJEXT)
|
||||
userver_ipc_OBJECTS = $(am_userver_ipc_OBJECTS)
|
||||
@MINGW_FALSE@userver_ipc_DEPENDENCIES = \
|
||||
@MINGW_FALSE@ $(top_builddir)/src/ulib/lib@ULIB@.la
|
||||
am__DEPENDENCIES_1 = $(top_builddir)/src/ulib/lib@ULIB@.la
|
||||
@MINGW_FALSE@userver_ipc_DEPENDENCIES = $(am__DEPENDENCIES_1)
|
||||
AM_V_lt = $(am__v_lt_@AM_V@)
|
||||
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
|
||||
am__v_lt_0 = --silent
|
||||
@@ -100,14 +128,13 @@ userver_ipc_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
|
||||
am__userver_ssl_SOURCES_DIST = userver.cpp
|
||||
@SSL_TRUE@am_userver_ssl_OBJECTS = userver_ssl-userver.$(OBJEXT)
|
||||
userver_ssl_OBJECTS = $(am_userver_ssl_OBJECTS)
|
||||
@SSL_TRUE@userver_ssl_DEPENDENCIES = \
|
||||
@SSL_TRUE@ $(top_builddir)/src/ulib/lib@ULIB@.la
|
||||
@SSL_TRUE@userver_ssl_DEPENDENCIES = $(am__DEPENDENCIES_1)
|
||||
userver_ssl_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
|
||||
$(CXXFLAGS) $(userver_ssl_LDFLAGS) $(LDFLAGS) -o $@
|
||||
am_userver_tcp_OBJECTS = userver_tcp-userver.$(OBJEXT)
|
||||
userver_tcp_OBJECTS = $(am_userver_tcp_OBJECTS)
|
||||
userver_tcp_DEPENDENCIES = $(top_builddir)/src/ulib/lib@ULIB@.la
|
||||
userver_tcp_DEPENDENCIES = $(am__DEPENDENCIES_1)
|
||||
userver_tcp_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
|
||||
$(CXXFLAGS) $(userver_tcp_LDFLAGS) $(LDFLAGS) -o $@
|
||||
@@ -181,6 +208,23 @@ am__uninstall_files_from_dir = { \
|
||||
$(am__cd) "$$dir" && rm -f $$files; }; \
|
||||
}
|
||||
DATA = $(dist_sysconf_DATA)
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||
# Read a list of newline-separated strings from the standard input,
|
||||
# and print each of them once, without duplicates. Input order is
|
||||
# *not* preserved.
|
||||
am__uniquify_input = $(AWK) '\
|
||||
BEGIN { nonempty = 0; } \
|
||||
{ items[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in items) print i; }; } \
|
||||
'
|
||||
# Make sure the list of sources is unique. This is necessary because,
|
||||
# e.g., the same source file might be shared among _SOURCES variables
|
||||
# for different programs/libraries.
|
||||
am__define_uniq_tagged_files = \
|
||||
list='$(am__tagged_files)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | $(am__uniquify_input)`
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
@@ -234,7 +278,6 @@ LIBTOOL = @LIBTOOL@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||
MAINT = @MAINT@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
@@ -284,6 +327,7 @@ SQLITE3_LIBS = @SQLITE3_LIBS@
|
||||
STATIC_SERVLET_MAKE = @STATIC_SERVLET_MAKE@
|
||||
STRIP = @STRIP@
|
||||
ULIB = @ULIB@
|
||||
ULIBS = @ULIBS@
|
||||
ULIB_LIBS = @ULIB_LIBS@
|
||||
ULIB_VERSION = @ULIB_VERSION@
|
||||
USP_FLAGS = @USP_FLAGS@
|
||||
@@ -357,18 +401,19 @@ top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
EXTRA_DIST = *.spec* *.start
|
||||
ulib_la = @ULIBS@ $(top_builddir)/src/ulib/lib@ULIB@.la @ULIB_LIBS@
|
||||
dist_sysconf_DATA = userver.cfg.default
|
||||
DEFAULT_INCLUDES = -I. -I$(top_srcdir)/include
|
||||
DEFAULT_CONFIG_FILE = $(sysconfdir)/userver.cfg
|
||||
userver_tcp_LDADD = $(top_builddir)/src/ulib/lib@ULIB@.la @ULIB_LIBS@
|
||||
userver_tcp_LDADD = $(ulib_la)
|
||||
userver_tcp_SOURCES = userver.cpp
|
||||
userver_tcp_LDFLAGS = $(PRG_LDFLAGS)
|
||||
userver_tcp_CPPFLAGS = -DU_TCP_SOCKET $(CPPFLAGS)
|
||||
@SSL_TRUE@userver_ssl_LDADD = $(top_builddir)/src/ulib/lib@ULIB@.la @ULIB_LIBS@
|
||||
@SSL_TRUE@userver_ssl_LDADD = $(ulib_la)
|
||||
@SSL_TRUE@userver_ssl_SOURCES = userver.cpp
|
||||
@SSL_TRUE@userver_ssl_LDFLAGS = $(PRG_LDFLAGS)
|
||||
@SSL_TRUE@userver_ssl_CPPFLAGS = -DU_SSL_SOCKET $(CPPFLAGS)
|
||||
@MINGW_FALSE@userver_ipc_LDADD = $(top_builddir)/src/ulib/lib@ULIB@.la @ULIB_LIBS@
|
||||
@MINGW_FALSE@userver_ipc_LDADD = $(ulib_la)
|
||||
@MINGW_FALSE@userver_ipc_SOURCES = userver.cpp
|
||||
@MINGW_FALSE@userver_ipc_LDFLAGS = $(PRG_LDFLAGS)
|
||||
@MINGW_FALSE@userver_ipc_CPPFLAGS = -DU_UNIX_SOCKET $(CPPFLAGS)
|
||||
@@ -425,10 +470,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
fi; \
|
||||
for p in $$list; do echo "$$p $$p"; done | \
|
||||
sed 's/$(EXEEXT)$$//' | \
|
||||
while read p p1; do if test -f $$p || test -f $$p1; \
|
||||
then echo "$$p"; echo "$$p"; else :; fi; \
|
||||
while read p p1; do if test -f $$p \
|
||||
|| test -f $$p1 \
|
||||
; then echo "$$p"; echo "$$p"; else :; fi; \
|
||||
done | \
|
||||
sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
|
||||
sed -e 'p;s,.*/,,;n;h' \
|
||||
-e 's|.*|.|' \
|
||||
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
|
||||
sed 'N;N;N;s,\n, ,g' | \
|
||||
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
|
||||
@@ -449,7 +496,8 @@ uninstall-binPROGRAMS:
|
||||
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
|
||||
files=`for p in $$list; do echo "$$p"; done | \
|
||||
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
|
||||
-e 's/$$/$(EXEEXT)/' `; \
|
||||
-e 's/$$/$(EXEEXT)/' \
|
||||
`; \
|
||||
test -n "$$list" || exit 0; \
|
||||
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
|
||||
cd "$(DESTDIR)$(bindir)" && rm -f $$files
|
||||
@@ -462,12 +510,15 @@ clean-binPROGRAMS:
|
||||
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
|
||||
echo " rm -f" $$list; \
|
||||
rm -f $$list
|
||||
|
||||
userver_ipc$(EXEEXT): $(userver_ipc_OBJECTS) $(userver_ipc_DEPENDENCIES) $(EXTRA_userver_ipc_DEPENDENCIES)
|
||||
@rm -f userver_ipc$(EXEEXT)
|
||||
$(AM_V_CXXLD)$(userver_ipc_LINK) $(userver_ipc_OBJECTS) $(userver_ipc_LDADD) $(LIBS)
|
||||
|
||||
userver_ssl$(EXEEXT): $(userver_ssl_OBJECTS) $(userver_ssl_DEPENDENCIES) $(EXTRA_userver_ssl_DEPENDENCIES)
|
||||
@rm -f userver_ssl$(EXEEXT)
|
||||
$(AM_V_CXXLD)$(userver_ssl_LINK) $(userver_ssl_OBJECTS) $(userver_ssl_LDADD) $(LIBS)
|
||||
|
||||
userver_tcp$(EXEEXT): $(userver_tcp_OBJECTS) $(userver_tcp_DEPENDENCIES) $(EXTRA_userver_tcp_DEPENDENCIES)
|
||||
@rm -f userver_tcp$(EXEEXT)
|
||||
$(AM_V_CXXLD)$(userver_tcp_LINK) $(userver_tcp_OBJECTS) $(userver_tcp_LDADD) $(LIBS)
|
||||
@@ -483,22 +534,25 @@ distclean-compile:
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/userver_tcp-userver.Po@am__quote@
|
||||
|
||||
.cpp.o:
|
||||
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
|
||||
@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
|
||||
@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
|
||||
|
||||
.cpp.obj:
|
||||
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
|
||||
@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
|
||||
@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
|
||||
.cpp.lo:
|
||||
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
||||
@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
|
||||
@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
|
||||
@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
|
||||
@@ -572,26 +626,15 @@ uninstall-dist_sysconfDATA:
|
||||
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
||||
dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir)
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
ID: $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||
tags: tags-am
|
||||
TAGS: tags
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
$(am__define_uniq_tagged_files); \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
@@ -603,15 +646,11 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
ctags: ctags-am
|
||||
|
||||
CTAGS: ctags
|
||||
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
@@ -620,9 +659,10 @@ GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
cscopelist: cscopelist-am
|
||||
|
||||
cscopelist: $(HEADERS) $(SOURCES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP)'; \
|
||||
cscopelist-am: $(am__tagged_files)
|
||||
list='$(am__tagged_files)'; \
|
||||
case "$(srcdir)" in \
|
||||
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||
@@ -780,21 +820,22 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_sysconfDATA
|
||||
$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
|
||||
.MAKE: install-am install-exec-am install-strip uninstall-am
|
||||
|
||||
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
|
||||
clean-generic clean-libtool clean-local cscopelist ctags \
|
||||
distclean distclean-compile distclean-generic \
|
||||
distclean-libtool distclean-tags distdir dvi dvi-am html \
|
||||
html-am info info-am install install-am install-binPROGRAMS \
|
||||
install-data install-data-am install-dist_sysconfDATA \
|
||||
install-dvi install-dvi-am install-exec install-exec-am \
|
||||
install-exec-hook install-html install-html-am install-info \
|
||||
install-info-am install-man install-pdf install-pdf-am \
|
||||
install-ps install-ps-am install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
tags uninstall uninstall-am uninstall-binPROGRAMS \
|
||||
uninstall-dist_sysconfDATA uninstall-hook
|
||||
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
|
||||
clean-binPROGRAMS clean-generic clean-libtool clean-local \
|
||||
cscopelist-am ctags ctags-am distclean distclean-compile \
|
||||
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
||||
dvi-am html html-am info info-am install install-am \
|
||||
install-binPROGRAMS install-data install-data-am \
|
||||
install-dist_sysconfDATA install-dvi install-dvi-am \
|
||||
install-exec install-exec-am install-exec-hook install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
|
||||
pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \
|
||||
uninstall-binPROGRAMS uninstall-dist_sysconfDATA \
|
||||
uninstall-hook
|
||||
|
||||
|
||||
install-exec-hook:
|
||||
|
||||
@@ -12,11 +12,14 @@
|
||||
# IP_ADDRESS ip address of host for the interface connected to the Internet (autodetected if not specified)
|
||||
# ALLOWED_IP list of comma separated client address for IP-based access control (IPADDR[/MASK])
|
||||
#
|
||||
# ENABLE_RFC1918_FILTER reject request from private IP to public server address
|
||||
# ALLOWED_IP_PRIVATE list of comma separated client private address for IP-based access control (IPADDR[/MASK]) for public server
|
||||
# ENABLE_RFC1918_FILTER reject request from private IP to public server address
|
||||
# MIN_SIZE_FOR_SENDFILE for major size it is better to use sendfile() to serve static content
|
||||
#
|
||||
# LISTEN_BACKLOG max number of ready to be delivered connections to accept()
|
||||
# SET_REALTIME_PRIORITY flag indicating that the preforked processes will be scheduled under the real-time policies SCHED_FIFO
|
||||
#
|
||||
# CLIENT_THRESHOLD min number of clients to active polling
|
||||
# CLIENT_FOR_PARALLELIZATION min number of clients to active parallelization
|
||||
#
|
||||
# PID_FILE write pid on file indicated
|
||||
@@ -24,6 +27,7 @@
|
||||
# RUN_AS_USER downgrade privileges to that user account
|
||||
# DOCUMENT_ROOT The directory out of which you will serve your documents
|
||||
#
|
||||
#
|
||||
# LOG_FILE locations for file log
|
||||
# LOG_FILE_SZ memory size for file log
|
||||
# LOG_MSG_SIZE limit length of print network message to LOG_MSG_SIZE chars (default 128)
|
||||
@@ -35,9 +39,9 @@
|
||||
# ORM_DRIVER_DIR directory where there are ORM drivers to load
|
||||
#
|
||||
# REQ_TIMEOUT timeout for request from client
|
||||
# TCP_KEEP_ALIVE Specifies to active the TCP keepalive implementation in the linux kernel.
|
||||
# MAX_KEEP_ALIVE Specifies the maximum number of requests that can be served through a Keep-Alive (Persistent) session.
|
||||
# (Value <= 0 will disable Keep-Alive)
|
||||
# TCP_KEEP_ALIVE Specifies to active the TCP keepalive implementation in the linux kernel
|
||||
# TCP_LINGER_SET Specifies how the TCP initiated the close
|
||||
# MAX_KEEP_ALIVE Specifies the maximum number of requests that can be served through a Keep-Alive (Persistent) session. (Value <= 0 will disable Keep-Alive)
|
||||
#
|
||||
# DH_FILE [Diffie-Hellman Key Agreement protocol](http://www.rsa.com/rsalabs/node.asp?id=2248) cmd: openssl dhparam -out dh.pem 1024
|
||||
# CERT_FILE certificate of server
|
||||
@@ -117,13 +121,13 @@ userver {
|
||||
# PREFORK_CHILD 3
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------------------------------------------------------------------------
|
||||
# ----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
# P L U G I N P A R A M E T E R S
|
||||
# ------------------------------------------------------------------------------------------------------------------------------------------
|
||||
# ----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
# ------------------------------------------------------------------------------------------------------------------------------------------
|
||||
# ----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
# http - plugin parameters
|
||||
# ------------------------------------------------------------------------------------------------------------------------------------------
|
||||
# ----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
# ALIAS vector of URI redirection (request -> alias)
|
||||
# REWRITE_RULE_NF vector of URI rewrite rule applied after checks that files do not exist (regex1 -> uri1 ...)
|
||||
# USP_AUTOMATIC_ALIASING USP page that is recognized automatically as alias of all uri request without suffix
|
||||
@@ -139,28 +143,24 @@ userver {
|
||||
# CACHE_FILE_STORE pathfile of memory cache stored on filesystem
|
||||
#
|
||||
# CGI_TIMEOUT timeout for cgi execution
|
||||
# MIN_SIZE_FOR_SENDFILE for major size it is better to use sendfile() to serve static content
|
||||
#
|
||||
# MOUNT_POINT mount point application (to adjust var SCRIPT_NAME)
|
||||
# VIRTUAL_HOST flag to activate practice of maintaining more than one server on one machine,
|
||||
# as differentiated by their apparent hostname
|
||||
# VIRTUAL_HOST flag to activate practice of maintaining more than one server on one machine, as differentiated by their apparent hostname
|
||||
# DIGEST_AUTHENTICATION flag authentication method (yes = digest, no = basic)
|
||||
#
|
||||
# ENABLE_CACHING_BY_PROXY_SERVERS enable caching by proxy servers (add Cache control: public directive)
|
||||
#
|
||||
# URI_PROTECTED_MASK mask (DOS regexp) of URI protected from prying eyes
|
||||
# URI_PROTECTED_ALLOWED_IP list of comma separated client address for IP-based access control (IPADDR[/MASK]) for URI_PROTECTED_MASK
|
||||
#
|
||||
# SESSION_COOKIE_OPTION eventual params for session cookie (lifetime, path, domain, secure, HttpOnly)
|
||||
# ENABLE_CACHING_BY_PROXY_SERVERS enable caching by proxy servers (add Cache control: public directive)
|
||||
#
|
||||
# URI_REQUEST_CERT_MASK mask (DOS regexp) of URI where client must comunicate a certificate in the SSL connection
|
||||
# URI_REQUEST_STRICT_TRANSPORT_SECURITY_MASK mask (DOS regexp) of URI where use HTTP Strict Transport Security to force client to use only SSL
|
||||
#
|
||||
# SESSION_COOKIE_OPTION eventual params for session cookie (lifetime, path, domain, secure, HttpOnly)
|
||||
# ------------------------------------------------------------------------------------------------------------------------------------------
|
||||
# ----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
# This directive gives greater control over abnormal client request behavior, which may be useful for avoiding some forms of denial-of-service attacks
|
||||
# ------------------------------------------------------------------------------------------------------------------------------------------
|
||||
# ----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
# LIMIT_REQUEST_BODY restricts the total size of the HTTP request body sent from the client
|
||||
# REQUEST_READ_TIMEOUT set timeout for receiving requests
|
||||
# ------------------------------------------------------------------------------------------------------------------------------------------
|
||||
# ----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
http {
|
||||
|
||||
@@ -189,7 +189,6 @@ http {
|
||||
# ENABLE_INOTIFY yes
|
||||
|
||||
# CGI_TIMEOUT 60
|
||||
# MIN_SIZE_FOR_SENDFILE 32k
|
||||
|
||||
# CACHE_FILE_MASK *.css|*.js|*.*html|*.png|*.gif|*.jpg
|
||||
|
||||
@@ -214,14 +213,14 @@ http {
|
||||
# ---------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
# -----------------------------------------------------------------------------------------------------
|
||||
# ------------------------------------------------------------------------------------------------------
|
||||
# ssi - plugin parameters
|
||||
# -----------------------------------------------------------------------------------------------------
|
||||
# ------------------------------------------------------------------------------------------------------
|
||||
# ENVIRONMENT path of file configuration environment for SSI
|
||||
#
|
||||
# SSI_AUTOMATIC_ALIASING special SSI HTML file that is recognized automatically as alias of all
|
||||
# uri request without suffix (generally cause navigation directory not working)
|
||||
# -----------------------------------------------------------------------------------------------------
|
||||
# ------------------------------------------------------------------------------------------------------
|
||||
|
||||
# ssi {
|
||||
#
|
||||
|
||||
@@ -71,10 +71,11 @@ public:
|
||||
// PORT port number for the listening socket
|
||||
// SOCKET_NAME file name for the listening socket
|
||||
// IP_ADDRESS ip address of host for the interface connected to the Internet (autodetected if not specified)
|
||||
// ALLOWED_IP list of comma separated client address for IP-based access control (IPADDR[/MASK])
|
||||
//
|
||||
// ENABLE_RFC1918_FILTER reject request from private IP to public server address
|
||||
// ALLOWED_IP list of comma separated client address for IP-based access control (IPADDR[/MASK])
|
||||
// ALLOWED_IP_PRIVATE list of comma separated client private address for IP-based access control (IPADDR[/MASK]) for public server
|
||||
// ENABLE_RFC1918_FILTER reject request from private IP to public server address
|
||||
// MIN_SIZE_FOR_SENDFILE for major size it is better to use sendfile() to serve static content
|
||||
//
|
||||
// LISTEN_BACKLOG max number of ready to be delivered connections to accept()
|
||||
// SET_REALTIME_PRIORITY flag indicating that the preforked processes will be scheduled under the real-time policies SCHED_FIFO
|
||||
@@ -93,9 +94,9 @@ public:
|
||||
// PLUGIN_DIR directory of plugins to load
|
||||
//
|
||||
// REQ_TIMEOUT timeout for request from client
|
||||
// TCP_KEEP_ALIVE Specifies to active the TCP keepalive implementation in the linux kernel.
|
||||
// MAX_KEEP_ALIVE Specifies the maximum number of requests that can be served through a Keep-Alive (Persistent) session.
|
||||
// (Value <= 0 will disable Keep-Alive)
|
||||
// TCP_KEEP_ALIVE Specifies to active the TCP keepalive implementation in the linux kernel
|
||||
// TCP_LINGER_SET Specifies how the TCP initiated the close
|
||||
// MAX_KEEP_ALIVE Specifies the maximum number of requests that can be served through a Keep-Alive (Persistent) session. (Value <= 0 will disable Keep-Alive)
|
||||
//
|
||||
// DH_FILE DH param
|
||||
// CERT_FILE certificate of server
|
||||
|
||||
Reference in New Issue
Block a user