defs.mk: Add project xchange-pcap

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2013-06-11 13:49:49 +00:00
commit 399d0d4485

View file

@ -1212,6 +1212,19 @@ EXE_SEARCH_PATH += $(USERVER_DIR)/bin
PREREQ += USERVER
endif
ifneq ($(filter xchange-pcap,$(PREREQ_BUILD)),)
XCHANGE_PCAP_DIR = $(firstword $(wildcard $(CVS_PROJ_DIR)/xchange-pcap /opt/$(FLAVOUR_PATH_PREFIX)xchange-pcap))
XCHANGE_PCAP_VERSION = $(call version,$(XCHANGE_PCAP_DIR))
RPM_REQUIRES_RUN += $(FLAVOUR_PREFIX)xchange-pcap-run = $(XCHANGE_PCAP_VERSION)
RPM_REQUIRES_DEVEL += $(FLAVOUR_PREFIX)xchange-pcap-devel = $(XCHANGE_PCAP_VERSION)
PREREQ_BUILD += xchange
INCLUDE += -I$(XCHANGE_PCAP_DIR)/include
#LIBFLAGS += -L$(XCHANGE_PCAP_DIR)/lib -lxchange-pcap
LIBFLAGS += -L$(XCHANGE_PCAP_DIR)/lib
EXE_SEARCH_PATH += $(XCHANGE_PCAP_DIR)/bin
PREREQ += XCHANGE_PCAP
endif
ifneq ($(filter xchange,$(PREREQ_BUILD)),)
XCHANGE_DIR = $(firstword $(wildcard $(CVS_PROJ_DIR)/xchange /opt/$(FLAVOUR_PATH_PREFIX)xchange))
XCHANGE_VERSION = $(call version,$(XCHANGE_DIR))