mosquitto/test/broker/c/Makefile

39 lines
1.0 KiB
Makefile
Raw Normal View History

2014-05-07 22:27:00 +00:00
.PHONY: all test clean reallyclean 08
CFLAGS=-I../../../lib -I../../../src -Wall -Werror
all : auth_plugin.so auth_plugin_pwd.so auth_plugin_acl.so auth_plugin_v2.so auth_plugin_msg_params.so auth_plugin_context_params.so 08
2014-05-07 22:27:00 +00:00
08 : 08-tls-psk-pub.test 08-tls-psk-bridge.test
auth_plugin.so : auth_plugin.c
$(CC) ${CFLAGS} -fPIC -shared $^ -o $@
2014-05-07 22:27:00 +00:00
2018-03-26 14:23:00 +00:00
auth_plugin_pwd.so : auth_plugin_pwd.c
$(CC) ${CFLAGS} -fPIC -shared $^ -o $@
2018-03-26 14:23:00 +00:00
auth_plugin_acl.so : auth_plugin_acl.c
$(CC) ${CFLAGS} -fPIC -shared $^ -o $@
2018-03-26 14:23:00 +00:00
auth_plugin_v2.so : auth_plugin_v2.c
$(CC) ${CFLAGS} -fPIC -shared $^ -o $@
auth_plugin_context_params.so : auth_plugin_context_params.c
$(CC) ${CFLAGS} -fPIC -shared $^ -o $@
auth_plugin_msg_params.so : auth_plugin_msg_params.c
$(CC) ${CFLAGS} -fPIC -shared $^ -o $@
2014-05-07 22:27:00 +00:00
08-tls-psk-pub.test : 08-tls-psk-pub.c
$(CC) ${CFLAGS} $^ -o $@ ../../../lib/libmosquitto.so.1
08-tls-psk-bridge.test : 08-tls-psk-bridge.c
$(CC) ${CFLAGS} $^ -o $@ ../../../lib/libmosquitto.so.1
reallyclean : clean
-rm -f *.orig
clean :
rm -f *.so *.test