Commit 038f74af authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner

More adoption of genericity

parent 383db0af
...@@ -31,6 +31,8 @@ ifdef STATIC ...@@ -31,6 +31,8 @@ ifdef STATIC
CFLAGS_ALL += -static -DSTATIC CFLAGS_ALL += -static -DSTATIC
LDFLAGS_ALL += -static LDFLAGS_ALL += -static
endif endif
CFLAGS += $(addprefix -I,$(EXTRA_INCLUDES))
LDFLAGS += $(addprefix -L,$(EXTRA_LIBDIRS))
ifeq ($(ENABLE_PYTHON), 1) ifeq ($(ENABLE_PYTHON), 1)
CFLAGS_ALL += $(shell python2.7-config --includes) CFLAGS_ALL += $(shell python2.7-config --includes)
endif endif
......
...@@ -143,6 +143,10 @@ CFLAGS:: ...@@ -143,6 +143,10 @@ CFLAGS::
It overrides whatever is set by the `TARGET` variable and `RELEASE` It overrides whatever is set by the `TARGET` variable and `RELEASE`
variable. variable.
COMPILE_LUA::
If set to `yes` (the default), it compiles lua files for syntax
checking and faster loading. If set to anything else, it leaves the
lua files be.
EXTRA_DEFINES:: EXTRA_DEFINES::
Additional defines that will be passed to the compiler. Additional defines that will be passed to the compiler.
EXTRA_INCLUDES:: EXTRA_INCLUDES::
...@@ -156,9 +160,6 @@ LDFLAGS:: ...@@ -156,9 +160,6 @@ LDFLAGS::
This overrides whatever is set by the `TARGET` and `RELEASE` This overrides whatever is set by the `TARGET` and `RELEASE`
variables. variables.
LOGIN_PASSWD_HALF::
A path to a file containing the static half of password used for the
challenge-response login.
MAX_LOG_LEVEL:: MAX_LOG_LEVEL::
Maximum level of log messages that are output. Default is LOG_DEBUG. Maximum level of log messages that are output. Default is LOG_DEBUG.
NO_DOC:: NO_DOC::
...@@ -213,6 +214,8 @@ We use compiler defines (`-D`) to provide some configuration to the ...@@ -213,6 +214,8 @@ We use compiler defines (`-D`) to provide some configuration to the
compiled source code, instead of generating `config.h`. These are the compiled source code, instead of generating `config.h`. These are the
currently passed ones. currently passed ones.
COMPILE_LUA::
Defined if the lua files are being compiled.
DEBUG:: DEBUG::
Defined if the RELEASE is not turned on. Defined if the RELEASE is not turned on.
MAX_LOG_LEVEL:: MAX_LOG_LEVEL::
...@@ -223,8 +226,6 @@ OUTPUT_DIRECTORY:: ...@@ -223,8 +226,6 @@ OUTPUT_DIRECTORY::
PAGE_SIZE:: PAGE_SIZE::
The size of the memory page. It has the value set in PAGE_SIZE The size of the memory page. It has the value set in PAGE_SIZE
variable in make. variable in make.
PASSWD_HALF::
The static half of password used for the challenge-response login.
PLUGIN_PATH:: PLUGIN_PATH::
Where the plugin libraries should be found at runtime. Where the plugin libraries should be found at runtime.
PREFIX:: PREFIX::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment