mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 20:13:32 +01:00
Assign only to BUILD_XXXFLAGS in jw-build/make/*.mk, and leave PROJECT_XXXFLAGS and LOCAL_XXXFLAGS alone. Signed-off-by: Jan Lindemann <jan@janware.com>
21 lines
553 B
Makefile
21 lines
553 B
Makefile
ifeq ($(USE_WT),true)
|
|
|
|
# WT_VERSION = $(shell $(RPM) -q wt-devel | sed 's/wt-devel-\([0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/;')
|
|
|
|
ifeq ($(USE_WT_FASTCGI),true)
|
|
BUILD_LDFLAGS += -lwtfcgi
|
|
endif
|
|
|
|
ifeq ($(USE_WT_HTTPD),true)
|
|
BUILD_LDFLAGS += -lwthttp
|
|
BUILD_CFLAGS += -DCONNECTOR_HTTP=YES
|
|
BUILD_CXXFLAGS += -DCONNECTOR_HTTP=YES
|
|
endif
|
|
|
|
ifeq ($(USE_WT_DBO),true)
|
|
BUILD_LDFLAGS += -lwtdbopostgres -lwtdbosqlite3 -lwtdbo
|
|
endif
|
|
|
|
BUILD_LDFLAGS += -lwt
|
|
|
|
endif
|