1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

amqp: added new node-type to Makefile

This commit is contained in:
Steffen Vogel 2017-11-17 18:11:22 +01:00
parent 2c5982436d
commit 086e5b2a40

View file

@ -37,6 +37,7 @@ WITH_NANOMSG ?= 1
WITH_SHMEM ?= 1
WITH_STATS ?= 1
WITH_INFLUXDB ?= 1
WITH_AMQP ?= 1
# Enabled loopback node-type
ifeq ($(WITH_LOOPBACK),1)
@ -165,3 +166,12 @@ ifeq ($(shell $(PKGCONFIG) libwebsockets jansson; echo $$?),0)
LIB_CFLAGS += -DWITH_WEBSOCKET
endif
endif
# Enable AMQP support
ifeq ($(WITH_AMQP),1)
ifeq ($(shell $(PKGCONFIG) librabbitmq; echo $$?),0)
LIB_SRCS += lib/nodes/amqp.c
LIB_PKGS += librabbitmq
LIB_CFLAGS += -DWITH_AMQP
endif
endif