mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-25 23:13:54 +01:00
defs.mk: Add support for USE_AUTH
This commit is contained in:
parent
429b246ca5
commit
5264457de3
1 changed files with 10 additions and 0 deletions
10
make/defs.mk
10
make/defs.mk
|
|
@ -630,6 +630,16 @@ LIBFLAGS += -L$(BUILD_LIBDIR)
|
||||||
|
|
||||||
# -- use of supplementary libraries
|
# -- use of supplementary libraries
|
||||||
|
|
||||||
|
ifeq ($(USE_AUTH),true)
|
||||||
|
AUTH_DIR = $(firstword $(wildcard $(CVS_PROJ_DIR)/auth /opt/$(FLAVOUR_PATH_PREFIX)auth))
|
||||||
|
AUTH_VERSION = $(call version,$(AUTH_DIR))
|
||||||
|
RPM_REQUIRES_RUN += $(FLAVOUR_PREFIX)auth-run = $(AUTH_VERSION)
|
||||||
|
RPM_REQUIRES_DEVEL += $(FLAVOUR_PREFIX)auth-devel = $(AUTH_VERSION)
|
||||||
|
USE_YTOOLS = true
|
||||||
|
INCLUDE += -I$(AUTH_DIR)/include
|
||||||
|
LIBFLAGS += -L$(AUTH_DIR)/lib -lauth
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(USE_CCASFS),true)
|
ifeq ($(USE_CCASFS),true)
|
||||||
CCASFS_DIR = $(firstword $(wildcard $(CVS_PROJ_DIR)/dspc/src/ccasfs /opt/$(FLAVOUR_PATH_PREFIX)dspider/ccasfs))
|
CCASFS_DIR = $(firstword $(wildcard $(CVS_PROJ_DIR)/dspc/src/ccasfs /opt/$(FLAVOUR_PATH_PREFIX)dspider/ccasfs))
|
||||||
CCASFS_VERSION = $(call version,$(CCASFS_DIR))
|
CCASFS_VERSION = $(call version,$(CCASFS_DIR))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue