From 399d0d4485105d5ade2ecb9f031f422970512afc Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 11 Jun 2013 13:49:49 +0000 Subject: [PATCH] defs.mk: Add project xchange-pcap Signed-off-by: Jan Lindemann --- make/defs.mk | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/make/defs.mk b/make/defs.mk index 6f104fc3..5a0ca36f 100644 --- a/make/defs.mk +++ b/make/defs.mk @@ -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))