mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
The following BUILD_XXX variables are renamed to their respective FINAL_XXX counterparts, as that name is more expressive: BUILD_CFLAGS, BUILD_CPPFLAGS, BUILD_CXXFLAGS, BUILD_EXTRA_DEBUG_FLAGS, BUILD_INCLUDE, BUILD_LDFLAGS, BUILD_LIBFLAGS, BUILD_LPPFLAGS 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)
|
|
FINAL_LDFLAGS += -lwtfcgi
|
|
endif
|
|
|
|
ifeq ($(USE_WT_HTTPD),true)
|
|
FINAL_LDFLAGS += -lwthttp
|
|
FINAL_CFLAGS += -DCONNECTOR_HTTP=YES
|
|
FINAL_CXXFLAGS += -DCONNECTOR_HTTP=YES
|
|
endif
|
|
|
|
ifeq ($(USE_WT_DBO),true)
|
|
FINAL_LDFLAGS += -lwtdbopostgres -lwtdbosqlite3 -lwtdbo
|
|
endif
|
|
|
|
FINAL_LDFLAGS += -lwt
|
|
|
|
endif
|