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:
parent
2c5982436d
commit
086e5b2a40
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue