mosquitto/test/broker/c/Makefile
Xavier Dooms bff71fd99f support plugin tick callbacks with per_listener_settings enabled
add tests for the plugin tick

Signed-off-by: Xavier Dooms <dooms.xavier@gmail.com>
2021-12-27 23:23:58 +01:00

48 lines
905 B
Makefile

.PHONY: all test clean reallyclean
CFLAGS=-I../../../include -Wall -Werror
PLUGIN_SRC = \
auth_plugin_acl.c \
auth_plugin_acl_change.c \
auth_plugin_acl_sub_denied.c \
auth_plugin_context_params.c \
auth_plugin_extended_multiple.c \
auth_plugin_extended_reauth.c \
auth_plugin_extended_single.c \
auth_plugin_extended_single2.c \
auth_plugin_msg_params.c \
auth_plugin_publish.c \
auth_plugin_pwd.c \
auth_plugin_v2.c \
auth_plugin_v4.c \
auth_plugin_v5.c \
auth_plugin_v5_handle_message.c \
auth_plugin_v5_handle_tick.c \
plugin_control.c
PLUGINS = ${PLUGIN_SRC:.c=.so}
SRC = \
08-tls-psk-pub.c \
08-tls-psk-bridge.c
TESTS = ${SRC:.c=.test}
all : ${PLUGINS} ${TESTS}
${PLUGINS} : %.so: %.c
$(CC) ${CFLAGS} -fPIC -shared $< -o $@
${TESTS} : %.test: %.c
$(CC) ${CFLAGS} $< -o $@ ../../../lib/libmosquitto.so.1
reallyclean : clean
-rm -f *.orig
clean :
rm -f *.so *.test