Moved from query_classifier

This commit is contained in:
vraatikka
2013-06-17 18:05:53 +03:00
parent 5f4a14a5c6
commit 525861cab3
2 changed files with 75 additions and 0 deletions

43
makefile.inc Normal file
View File

@ -0,0 +1,43 @@
#
# This file is static. It handles the dynamic content of build.inc,
# for example, by setting compiler flags etc.
# Changes to environment, such as building directories etc. are made to
# build_gateway.inc.
# A template file build_gateway_l2x64.inc is stored in directory 'config'.
# Template can't be used as such, but hopefully only little modifications are
# needed, such as setting build directory etc.
#
#ifdef UNIX
DEL := rm -f
LINK := ln -s
COPY := cp
NOHUP := nohup
#endif
#ifdef DEBUGGER
BACKGR := >> /dev/null &
#else
BACKGR :=
#endif
CFLAGS := -Wall
LDLIBS := $(LDLIBS) -lmysqld -lpthread
CPP_LDLIBS := -lstdc++
#
# Compiler flags, httpd arguments and debugger options
#
ifdef DEBUG
DEBUG_FLAGS := -DSS_DEBUG
CFLAGS := $(CFLAGS) -ggdb -O0 -pthread $(DEBUG_FLAGS)
endif
ifdef DEBUGGER
DEBUG := Y
LAUNCH_DEBUGGER := $(NOHUP) $(DEBUGGER_PATH)/$(DEBUGGER_BIN) \
$(DEBUGGER_PARAMS)
else
LAUNCH_DEBUGGER :=
endif