2010-01-05 13:46:35 +01:00
|
|
|
ACLOCAL_AMFLAGS = -I config
|
|
|
|
|
2014-10-10 23:36:12 +02:00
|
|
|
SUBDIRS = doc
|
|
|
|
|
2018-05-24 08:59:30 +02:00
|
|
|
DIST_SUBDIRS = doc builds builds/deprecated-msvc
|
2014-10-10 23:36:12 +02:00
|
|
|
|
|
|
|
pkgconfig_DATA = src/libzmq.pc
|
|
|
|
|
2014-10-14 04:10:36 +02:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I$(top_builddir)/include \
|
|
|
|
-I$(top_srcdir)/include
|
|
|
|
|
|
|
|
#
|
|
|
|
# libraries/binaries
|
|
|
|
#
|
2014-10-26 09:40:32 +01:00
|
|
|
lib_LTLIBRARIES = src/libzmq.la
|
2014-10-10 23:36:12 +02:00
|
|
|
|
|
|
|
include_HEADERS = \
|
2016-02-18 10:27:21 +01:00
|
|
|
include/zmq.h \
|
|
|
|
include/zmq_utils.h
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
src_libzmq_la_SOURCES = \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/address.cpp \
|
|
|
|
src/address.hpp \
|
|
|
|
src/array.hpp \
|
|
|
|
src/atomic_counter.hpp \
|
|
|
|
src/atomic_ptr.hpp \
|
|
|
|
src/blob.hpp \
|
2015-02-02 10:59:13 +01:00
|
|
|
src/client.cpp \
|
|
|
|
src/client.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/clock.cpp \
|
|
|
|
src/clock.hpp \
|
|
|
|
src/command.hpp \
|
2015-02-10 23:01:50 +01:00
|
|
|
src/condition_variable.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/config.hpp \
|
|
|
|
src/ctx.cpp \
|
|
|
|
src/ctx.hpp \
|
|
|
|
src/curve_client.cpp \
|
|
|
|
src/curve_client.hpp \
|
2017-08-15 16:28:24 +02:00
|
|
|
src/curve_client_tools.hpp \
|
2017-08-18 11:34:22 +02:00
|
|
|
src/curve_mechanism_base.cpp \
|
|
|
|
src/curve_mechanism_base.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/curve_server.cpp \
|
|
|
|
src/curve_server.hpp \
|
|
|
|
src/dbuffer.hpp \
|
|
|
|
src/dealer.cpp \
|
|
|
|
src/dealer.hpp \
|
|
|
|
src/decoder.hpp \
|
|
|
|
src/devpoll.cpp \
|
|
|
|
src/devpoll.hpp \
|
2016-05-13 03:20:31 +02:00
|
|
|
src/dgram.cpp \
|
|
|
|
src/dgram.hpp \
|
2016-01-27 17:19:14 +01:00
|
|
|
src/dish.cpp \
|
|
|
|
src/dish.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/dist.cpp \
|
|
|
|
src/dist.hpp \
|
|
|
|
src/encoder.hpp \
|
2019-02-01 11:43:45 +01:00
|
|
|
src/endpoint.hpp \
|
|
|
|
src/endpoint.cpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/epoll.cpp \
|
|
|
|
src/epoll.hpp \
|
|
|
|
src/err.cpp \
|
|
|
|
src/err.hpp \
|
|
|
|
src/fd.hpp \
|
|
|
|
src/fq.cpp \
|
|
|
|
src/fq.hpp \
|
2016-04-21 12:23:44 +02:00
|
|
|
src/gather.cpp \
|
|
|
|
src/gather.hpp \
|
2018-02-15 13:09:04 +01:00
|
|
|
src/generic_mtrie.hpp \
|
|
|
|
src/generic_mtrie_impl.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/gssapi_mechanism_base.cpp \
|
|
|
|
src/gssapi_mechanism_base.hpp \
|
|
|
|
src/gssapi_client.cpp \
|
|
|
|
src/gssapi_client.hpp \
|
|
|
|
src/gssapi_server.cpp \
|
|
|
|
src/gssapi_server.hpp \
|
|
|
|
src/i_encoder.hpp \
|
|
|
|
src/i_engine.hpp \
|
|
|
|
src/i_decoder.hpp \
|
2015-02-10 23:01:50 +01:00
|
|
|
src/i_mailbox.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/i_poll_events.hpp \
|
|
|
|
src/io_object.cpp \
|
|
|
|
src/io_object.hpp \
|
|
|
|
src/io_thread.cpp \
|
|
|
|
src/io_thread.hpp \
|
|
|
|
src/ip.cpp \
|
|
|
|
src/ip.hpp \
|
2018-04-30 16:56:17 +02:00
|
|
|
src/ip_resolver.cpp \
|
|
|
|
src/ip_resolver.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/ipc_address.cpp \
|
|
|
|
src/ipc_address.hpp \
|
|
|
|
src/ipc_connecter.cpp \
|
|
|
|
src/ipc_connecter.hpp \
|
|
|
|
src/ipc_listener.cpp \
|
|
|
|
src/ipc_listener.hpp \
|
|
|
|
src/kqueue.cpp \
|
|
|
|
src/kqueue.hpp \
|
|
|
|
src/lb.cpp \
|
|
|
|
src/lb.hpp \
|
|
|
|
src/likely.hpp \
|
2016-02-22 14:44:46 +01:00
|
|
|
src/macros.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/mailbox.cpp \
|
|
|
|
src/mailbox.hpp \
|
2015-02-10 23:01:50 +01:00
|
|
|
src/mailbox_safe.cpp \
|
|
|
|
src/mailbox_safe.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/mechanism.cpp \
|
|
|
|
src/mechanism.hpp \
|
2017-08-18 11:34:22 +02:00
|
|
|
src/mechanism_base.cpp \
|
|
|
|
src/mechanism_base.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/metadata.cpp \
|
|
|
|
src/metadata.hpp \
|
|
|
|
src/msg.cpp \
|
|
|
|
src/msg.hpp \
|
|
|
|
src/mtrie.cpp \
|
|
|
|
src/mtrie.hpp \
|
|
|
|
src/mutex.hpp \
|
|
|
|
src/norm_engine.cpp \
|
|
|
|
src/norm_engine.hpp \
|
|
|
|
src/null_mechanism.cpp \
|
|
|
|
src/null_mechanism.hpp \
|
|
|
|
src/object.cpp \
|
|
|
|
src/object.hpp \
|
|
|
|
src/options.cpp \
|
|
|
|
src/options.hpp \
|
|
|
|
src/own.cpp \
|
|
|
|
src/own.hpp \
|
|
|
|
src/pair.cpp \
|
|
|
|
src/pair.hpp \
|
|
|
|
src/pgm_receiver.cpp \
|
|
|
|
src/pgm_receiver.hpp \
|
|
|
|
src/pgm_sender.cpp \
|
|
|
|
src/pgm_sender.hpp \
|
|
|
|
src/pgm_socket.cpp \
|
|
|
|
src/pgm_socket.hpp \
|
|
|
|
src/pipe.cpp \
|
|
|
|
src/pipe.hpp \
|
|
|
|
src/plain_client.cpp \
|
|
|
|
src/plain_client.hpp \
|
2018-05-28 16:41:44 +02:00
|
|
|
src/plain_common.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/plain_server.cpp \
|
|
|
|
src/plain_server.hpp \
|
|
|
|
src/platform.hpp \
|
|
|
|
src/poll.cpp \
|
|
|
|
src/poll.hpp \
|
|
|
|
src/poller.hpp \
|
|
|
|
src/poller_base.cpp \
|
|
|
|
src/poller_base.hpp \
|
2018-06-01 16:10:19 +02:00
|
|
|
src/polling_util.cpp \
|
|
|
|
src/polling_util.hpp \
|
2016-09-20 04:50:50 +02:00
|
|
|
src/pollset.cpp \
|
|
|
|
src/pollset.hpp \
|
2016-05-14 12:29:11 +02:00
|
|
|
src/precompiled.cpp \
|
|
|
|
src/precompiled.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/proxy.cpp \
|
|
|
|
src/proxy.hpp \
|
|
|
|
src/pub.cpp \
|
|
|
|
src/pub.hpp \
|
|
|
|
src/pull.cpp \
|
|
|
|
src/pull.hpp \
|
|
|
|
src/push.cpp \
|
|
|
|
src/push.hpp \
|
2016-01-27 17:19:14 +01:00
|
|
|
src/radio.cpp \
|
|
|
|
src/radio.hpp \
|
2018-10-23 13:29:56 +02:00
|
|
|
src/radix_tree.cpp \
|
|
|
|
src/radix_tree.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/random.cpp \
|
|
|
|
src/random.hpp \
|
|
|
|
src/raw_decoder.cpp \
|
|
|
|
src/raw_decoder.hpp \
|
|
|
|
src/raw_encoder.cpp \
|
|
|
|
src/raw_encoder.hpp \
|
|
|
|
src/reaper.cpp \
|
|
|
|
src/reaper.hpp \
|
|
|
|
src/rep.cpp \
|
|
|
|
src/rep.hpp \
|
|
|
|
src/req.cpp \
|
|
|
|
src/req.hpp \
|
|
|
|
src/router.cpp \
|
|
|
|
src/router.hpp \
|
2016-04-21 12:23:44 +02:00
|
|
|
src/scatter.cpp \
|
|
|
|
src/scatter.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/select.cpp \
|
|
|
|
src/select.hpp \
|
2015-02-02 00:17:37 +01:00
|
|
|
src/server.cpp \
|
|
|
|
src/server.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/session_base.cpp \
|
|
|
|
src/session_base.hpp \
|
|
|
|
src/signaler.cpp \
|
|
|
|
src/signaler.hpp \
|
|
|
|
src/socket_base.cpp \
|
|
|
|
src/socket_base.hpp \
|
|
|
|
src/socks.cpp \
|
|
|
|
src/socks.hpp \
|
|
|
|
src/socks_connecter.cpp \
|
|
|
|
src/socks_connecter.hpp \
|
|
|
|
src/stdint.hpp \
|
|
|
|
src/stream.cpp \
|
|
|
|
src/stream.hpp \
|
2019-02-01 10:58:47 +01:00
|
|
|
src/stream_connecter_base.cpp \
|
|
|
|
src/stream_connecter_base.hpp \
|
2019-01-31 16:52:51 +01:00
|
|
|
src/stream_listener_base.cpp \
|
|
|
|
src/stream_listener_base.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/stream_engine.cpp \
|
|
|
|
src/stream_engine.hpp \
|
|
|
|
src/sub.cpp \
|
|
|
|
src/sub.hpp \
|
|
|
|
src/tcp.cpp \
|
|
|
|
src/tcp.hpp \
|
|
|
|
src/tcp_address.cpp \
|
|
|
|
src/tcp_address.hpp \
|
|
|
|
src/tcp_connecter.cpp \
|
|
|
|
src/tcp_connecter.hpp \
|
|
|
|
src/tcp_listener.cpp \
|
|
|
|
src/tcp_listener.hpp \
|
|
|
|
src/thread.cpp \
|
|
|
|
src/thread.hpp \
|
2015-12-18 11:12:18 +01:00
|
|
|
src/timers.cpp \
|
|
|
|
src/timers.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/tipc_address.cpp \
|
|
|
|
src/tipc_address.hpp \
|
|
|
|
src/tipc_connecter.cpp \
|
|
|
|
src/tipc_connecter.hpp \
|
|
|
|
src/tipc_listener.cpp \
|
|
|
|
src/tipc_listener.hpp \
|
|
|
|
src/trie.cpp \
|
|
|
|
src/trie.hpp \
|
2016-01-29 20:17:11 +01:00
|
|
|
src/udp_address.cpp \
|
|
|
|
src/udp_address.hpp \
|
|
|
|
src/udp_engine.cpp \
|
|
|
|
src/udp_engine.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/v1_decoder.cpp \
|
|
|
|
src/v1_decoder.hpp \
|
|
|
|
src/v2_decoder.cpp \
|
|
|
|
src/v2_decoder.hpp \
|
|
|
|
src/v1_encoder.cpp \
|
|
|
|
src/v1_encoder.hpp \
|
|
|
|
src/v2_encoder.cpp \
|
|
|
|
src/v2_encoder.hpp \
|
|
|
|
src/v2_protocol.hpp \
|
2015-12-07 13:19:45 +01:00
|
|
|
src/vmci.cpp \
|
|
|
|
src/vmci.hpp \
|
|
|
|
src/vmci_address.cpp \
|
|
|
|
src/vmci_address.hpp \
|
|
|
|
src/vmci_connecter.cpp \
|
|
|
|
src/vmci_connecter.hpp \
|
|
|
|
src/vmci_listener.cpp \
|
|
|
|
src/vmci_listener.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/windows.hpp \
|
|
|
|
src/wire.hpp \
|
|
|
|
src/xpub.cpp \
|
2016-02-11 22:41:01 +01:00
|
|
|
src/xpub.hpp \
|
2014-10-10 23:36:12 +02:00
|
|
|
src/xsub.cpp \
|
|
|
|
src/xsub.hpp \
|
|
|
|
src/ypipe.hpp \
|
|
|
|
src/ypipe_base.hpp \
|
|
|
|
src/ypipe_conflate.hpp \
|
|
|
|
src/yqueue.hpp \
|
|
|
|
src/zmq.cpp \
|
2015-06-14 19:00:52 +02:00
|
|
|
src/zmq_utils.cpp \
|
2016-02-11 22:41:01 +01:00
|
|
|
src/decoder_allocators.cpp \
|
|
|
|
src/decoder_allocators.hpp \
|
|
|
|
src/socket_poller.cpp \
|
2016-05-14 05:41:26 +02:00
|
|
|
src/socket_poller.hpp \
|
2017-08-16 10:03:11 +02:00
|
|
|
src/zap_client.cpp \
|
|
|
|
src/zap_client.hpp \
|
2016-05-14 05:55:17 +02:00
|
|
|
src/zmq_draft.h
|
2015-06-14 19:00:52 +02:00
|
|
|
|
2018-06-03 05:55:26 +02:00
|
|
|
if USE_WEPOLL
|
|
|
|
src_libzmq_la_SOURCES += \
|
2018-06-04 17:09:23 +02:00
|
|
|
external/wepoll/wepoll.c \
|
|
|
|
external/wepoll/wepoll.h
|
2018-06-03 05:55:26 +02:00
|
|
|
endif
|
|
|
|
|
2016-02-11 21:58:54 +01:00
|
|
|
if USE_TWEETNACL
|
|
|
|
src_libzmq_la_SOURCES += \
|
|
|
|
src/tweetnacl.c \
|
|
|
|
src/tweetnacl.h
|
|
|
|
endif
|
|
|
|
|
2014-10-10 23:36:12 +02:00
|
|
|
if ON_MINGW
|
2014-10-26 09:40:32 +01:00
|
|
|
src_libzmq_la_LDFLAGS = \
|
2014-10-10 23:36:12 +02:00
|
|
|
-no-undefined \
|
|
|
|
-avoid-version \
|
|
|
|
-version-info @LTVER@ \
|
|
|
|
@LIBZMQ_EXTRA_LDFLAGS@
|
|
|
|
else
|
2014-12-29 23:39:19 +01:00
|
|
|
if ON_CYGWIN
|
|
|
|
src_libzmq_la_LDFLAGS = \
|
|
|
|
-no-undefined \
|
|
|
|
-avoid-version \
|
|
|
|
-version-info @LTVER@ \
|
|
|
|
@LIBZMQ_EXTRA_LDFLAGS@
|
|
|
|
else
|
2014-10-10 23:36:12 +02:00
|
|
|
if ON_ANDROID
|
2014-10-26 09:40:32 +01:00
|
|
|
src_libzmq_la_LDFLAGS = \
|
2014-10-10 23:36:12 +02:00
|
|
|
-avoid-version \
|
|
|
|
-version-info @LTVER@ \
|
|
|
|
@LIBZMQ_EXTRA_LDFLAGS@
|
2011-03-31 18:42:09 +02:00
|
|
|
else
|
2014-10-26 09:40:32 +01:00
|
|
|
src_libzmq_la_LDFLAGS = \
|
2014-10-10 23:36:12 +02:00
|
|
|
-version-info @LTVER@ \
|
2018-12-07 16:29:12 +01:00
|
|
|
@LIBZMQ_EXTRA_LDFLAGS@
|
2014-12-29 23:39:19 +01:00
|
|
|
endif
|
2018-06-23 18:07:07 +02:00
|
|
|
endif
|
2018-11-04 19:12:55 +01:00
|
|
|
endif
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2018-12-14 18:48:39 +01:00
|
|
|
if HAVE_VSCRIPT_COMPLEX
|
|
|
|
src_libzmq_la_LDFLAGS += $(VSCRIPT_LDFLAGS),$(srcdir)/src/libzmq.vers
|
|
|
|
endif
|
2018-12-07 16:29:12 +01:00
|
|
|
|
2016-05-06 20:00:44 +02:00
|
|
|
src_libzmq_la_CPPFLAGS = $(CODE_COVERAGE_CPPFLAGS) $(LIBUNWIND_CFLAGS)
|
|
|
|
src_libzmq_la_CFLAGS = $(CODE_COVERAGE_CFLAGS) $(LIBUNWIND_CFLAGS)
|
|
|
|
src_libzmq_la_CXXFLAGS = @LIBZMQ_EXTRA_CXXFLAGS@ $(CODE_COVERAGE_CXXFLAGS) \
|
|
|
|
$(LIBUNWIND_CFLAGS)
|
|
|
|
src_libzmq_la_LIBADD = $(CODE_COVERAGE_LDFLAGS) $(LIBUNWIND_LIBS)
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2016-02-11 13:32:01 +01:00
|
|
|
if USE_LIBSODIUM
|
|
|
|
src_libzmq_la_CPPFLAGS += ${sodium_CFLAGS}
|
|
|
|
src_libzmq_la_LIBADD += ${sodium_LIBS}
|
|
|
|
endif
|
|
|
|
|
2014-10-14 04:10:36 +02:00
|
|
|
if HAVE_PGM
|
2014-10-26 09:40:32 +01:00
|
|
|
src_libzmq_la_CPPFLAGS += ${pgm_CFLAGS}
|
|
|
|
src_libzmq_la_LIBADD += ${pgm_LIBS}
|
2014-10-10 23:36:12 +02:00
|
|
|
endif
|
|
|
|
|
2017-10-17 00:23:32 +02:00
|
|
|
if HAVE_NORM
|
|
|
|
src_libzmq_la_CPPFLAGS += ${norm_CFLAGS}
|
|
|
|
src_libzmq_la_LIBADD += ${norm_LIBS}
|
|
|
|
endif
|
|
|
|
|
2017-08-18 17:24:51 +02:00
|
|
|
if BUILD_GSSAPI
|
|
|
|
src_libzmq_la_CPPFLAGS += ${gssapi_krb5_CFLAGS}
|
|
|
|
src_libzmq_la_LIBADD += ${gssapi_krb5_LIBS}
|
|
|
|
endif
|
|
|
|
|
2015-02-07 15:28:24 +01:00
|
|
|
if ENABLE_PERF
|
2014-10-10 23:36:12 +02:00
|
|
|
noinst_PROGRAMS = \
|
2014-10-26 09:40:32 +01:00
|
|
|
perf/local_lat \
|
|
|
|
perf/remote_lat \
|
|
|
|
perf/local_thr \
|
|
|
|
perf/remote_thr \
|
|
|
|
perf/inproc_lat \
|
|
|
|
perf/inproc_thr
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
perf_local_lat_LDADD = src/libzmq.la
|
|
|
|
perf_local_lat_SOURCES = perf/local_lat.cpp
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
perf_remote_lat_LDADD = src/libzmq.la
|
|
|
|
perf_remote_lat_SOURCES = perf/remote_lat.cpp
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
perf_local_thr_LDADD = src/libzmq.la
|
|
|
|
perf_local_thr_SOURCES = perf/local_thr.cpp
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
perf_remote_thr_LDADD = src/libzmq.la
|
|
|
|
perf_remote_thr_SOURCES = perf/remote_thr.cpp
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
perf_inproc_lat_LDADD = src/libzmq.la
|
|
|
|
perf_inproc_lat_SOURCES = perf/inproc_lat.cpp
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
perf_inproc_thr_LDADD = src/libzmq.la
|
|
|
|
perf_inproc_thr_SOURCES = perf/inproc_thr.cpp
|
2018-11-09 11:49:40 +01:00
|
|
|
|
|
|
|
if ENABLE_STATIC
|
|
|
|
noinst_PROGRAMS += \
|
|
|
|
perf/benchmark_radix_tree
|
|
|
|
|
|
|
|
perf_benchmark_radix_tree_DEPENDENCIES = src/libzmq.la
|
|
|
|
perf_benchmark_radix_tree_CPPFLAGS = -I$(top_srcdir)/src
|
|
|
|
perf_benchmark_radix_tree_LDADD = $(top_builddir)/src/.libs/libzmq.a \
|
|
|
|
${src_libzmq_la_LIBADD}
|
|
|
|
perf_benchmark_radix_tree_SOURCES = perf/benchmark_radix_tree.cpp
|
|
|
|
endif
|
2015-02-07 15:28:24 +01:00
|
|
|
endif
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2015-02-07 15:30:32 +01:00
|
|
|
if ENABLE_CURVE_KEYGEN
|
2014-10-26 09:40:32 +01:00
|
|
|
bin_PROGRAMS = tools/curve_keygen
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tools_curve_keygen_LDADD = src/libzmq.la
|
|
|
|
tools_curve_keygen_SOURCES = tools/curve_keygen.cpp
|
2015-02-07 15:30:32 +01:00
|
|
|
endif
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-14 04:10:36 +02:00
|
|
|
#
|
|
|
|
# tests
|
|
|
|
#
|
2014-10-10 23:36:12 +02:00
|
|
|
test_apps = \
|
2016-05-08 19:25:03 +02:00
|
|
|
tests/test_ancillaries \
|
2014-10-26 09:40:32 +01:00
|
|
|
tests/test_system \
|
|
|
|
tests/test_pair_inproc \
|
|
|
|
tests/test_pair_tcp \
|
|
|
|
tests/test_reqrep_inproc \
|
|
|
|
tests/test_reqrep_tcp \
|
|
|
|
tests/test_hwm \
|
|
|
|
tests/test_hwm_pubsub \
|
|
|
|
tests/test_reqrep_device \
|
|
|
|
tests/test_sub_forward \
|
|
|
|
tests/test_invalid_rep \
|
|
|
|
tests/test_msg_flags \
|
2015-06-08 22:16:50 +02:00
|
|
|
tests/test_msg_ffn \
|
2014-10-26 09:40:32 +01:00
|
|
|
tests/test_connect_resolve \
|
|
|
|
tests/test_immediate \
|
|
|
|
tests/test_last_endpoint \
|
|
|
|
tests/test_term_endpoint \
|
|
|
|
tests/test_srcfd \
|
|
|
|
tests/test_monitor \
|
|
|
|
tests/test_router_mandatory \
|
|
|
|
tests/test_router_mandatory_hwm \
|
|
|
|
tests/test_router_handover \
|
|
|
|
tests/test_probe_router \
|
|
|
|
tests/test_stream \
|
|
|
|
tests/test_stream_empty \
|
|
|
|
tests/test_stream_disconnect \
|
|
|
|
tests/test_stream_timeout \
|
|
|
|
tests/test_disconnect_inproc \
|
2015-06-29 04:23:25 +02:00
|
|
|
tests/test_unbind_wildcard \
|
2014-10-26 09:40:32 +01:00
|
|
|
tests/test_ctx_options \
|
|
|
|
tests/test_ctx_destroy \
|
|
|
|
tests/test_security_null \
|
|
|
|
tests/test_security_plain \
|
2017-08-17 11:45:18 +02:00
|
|
|
tests/test_security_zap \
|
2014-10-26 09:40:32 +01:00
|
|
|
tests/test_iov \
|
|
|
|
tests/test_spec_req \
|
|
|
|
tests/test_spec_rep \
|
|
|
|
tests/test_spec_dealer \
|
|
|
|
tests/test_spec_router \
|
|
|
|
tests/test_spec_pushpull \
|
|
|
|
tests/test_req_correlate \
|
|
|
|
tests/test_req_relaxed \
|
|
|
|
tests/test_conflate \
|
|
|
|
tests/test_inproc_connect \
|
|
|
|
tests/test_issue_566 \
|
|
|
|
tests/test_proxy \
|
2018-09-13 23:14:06 +02:00
|
|
|
tests/test_proxy_hwm \
|
2015-06-07 06:05:55 +02:00
|
|
|
tests/test_proxy_single_socket \
|
2015-04-24 23:01:20 +02:00
|
|
|
tests/test_proxy_terminate \
|
2015-08-11 21:37:50 +02:00
|
|
|
tests/test_getsockopt_memset \
|
2015-11-13 10:41:00 +01:00
|
|
|
tests/test_setsockopt \
|
2014-10-26 09:40:32 +01:00
|
|
|
tests/test_diffserv \
|
|
|
|
tests/test_connect_rid \
|
|
|
|
tests/test_bind_src_address \
|
|
|
|
tests/test_metadata \
|
|
|
|
tests/test_capabilities \
|
2014-11-26 09:38:54 +01:00
|
|
|
tests/test_xpub_nodrop \
|
2014-11-26 12:37:36 +01:00
|
|
|
tests/test_xpub_manual \
|
2014-12-23 01:14:38 +01:00
|
|
|
tests/test_xpub_welcome_msg \
|
2018-02-25 21:20:44 +01:00
|
|
|
tests/test_xpub_verbose \
|
2015-02-02 00:17:37 +01:00
|
|
|
tests/test_atomics \
|
2016-02-12 11:24:35 +01:00
|
|
|
tests/test_sockopt_hwm \
|
2015-07-20 22:22:13 +02:00
|
|
|
tests/test_heartbeats \
|
2015-08-16 11:48:03 +02:00
|
|
|
tests/test_stream_exceeds_buffer \
|
2016-05-19 12:46:15 +02:00
|
|
|
tests/test_pub_invert_matching \
|
|
|
|
tests/test_base85 \
|
2016-09-24 19:06:08 +02:00
|
|
|
tests/test_bind_after_connect_tcp \
|
2017-08-22 15:54:33 +02:00
|
|
|
tests/test_sodium \
|
2017-09-19 01:14:10 +02:00
|
|
|
tests/test_reconnect_ivl \
|
2018-05-28 19:00:11 +02:00
|
|
|
tests/test_mock_pub_sub \
|
2017-08-22 15:54:33 +02:00
|
|
|
tests/test_socket_null
|
2014-10-26 09:40:32 +01:00
|
|
|
|
2019-02-07 11:12:12 +01:00
|
|
|
UNITY_CPPFLAGS = -I$(top_srcdir)/external/unity -DUNITY_USE_COMMAND_LINE_ARGS -DUNITY_EXCLUDE_FLOAT -DUNITY_SUPPORT_64
|
2018-02-10 19:51:51 +01:00
|
|
|
UNITY_LIBS = $(top_builddir)/external/unity/libunity.a
|
|
|
|
noinst_LIBRARIES = external/unity/libunity.a
|
2018-02-10 20:18:33 +01:00
|
|
|
external_unity_libunity_a_SOURCES = external/unity/unity.c \
|
|
|
|
external/unity/unity.h \
|
|
|
|
external/unity/unity_internals.h
|
2018-02-10 19:51:51 +01:00
|
|
|
|
2016-05-08 19:25:03 +02:00
|
|
|
tests_test_ancillaries_SOURCES = tests/test_ancillaries.cpp
|
2018-08-20 11:53:09 +02:00
|
|
|
tests_test_ancillaries_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_ancillaries_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-05-08 19:25:03 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_system_SOURCES = tests/test_system.cpp
|
|
|
|
tests_test_system_LDADD = src/libzmq.la
|
|
|
|
|
|
|
|
tests_test_pair_inproc_SOURCES = \
|
2014-10-10 23:36:12 +02:00
|
|
|
tests/test_pair_inproc.cpp \
|
|
|
|
tests/testutil.hpp
|
2018-12-10 12:04:38 +01:00
|
|
|
tests_test_pair_inproc_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_pair_inproc_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_pair_tcp_SOURCES = \
|
2014-10-10 23:36:12 +02:00
|
|
|
tests/test_pair_tcp.cpp \
|
|
|
|
tests/testutil.hpp
|
2018-08-20 11:13:12 +02:00
|
|
|
tests_test_pair_tcp_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_pair_tcp_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_reqrep_inproc_SOURCES = \
|
2014-10-10 23:36:12 +02:00
|
|
|
tests/test_reqrep_inproc.cpp \
|
|
|
|
tests/testutil.hpp
|
2018-12-07 13:51:30 +01:00
|
|
|
tests_test_reqrep_inproc_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_reqrep_inproc_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_reqrep_tcp_SOURCES = \
|
2014-10-10 23:36:12 +02:00
|
|
|
tests/test_reqrep_tcp.cpp \
|
|
|
|
tests/testutil.hpp
|
2018-03-21 13:54:23 +01:00
|
|
|
tests_test_reqrep_tcp_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_reqrep_tcp_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2018-03-13 12:00:41 +01:00
|
|
|
tests_test_hwm_SOURCES = tests/test_hwm.cpp tests/testutil_unity.hpp
|
|
|
|
tests_test_hwm_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_hwm_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_hwm_pubsub_SOURCES = tests/test_hwm_pubsub.cpp
|
2018-05-22 10:36:23 +02:00
|
|
|
tests_test_hwm_pubsub_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_hwm_pubsub_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_reqrep_device_SOURCES = tests/test_reqrep_device.cpp
|
2018-12-07 13:51:30 +01:00
|
|
|
tests_test_reqrep_device_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_reqrep_device_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_sub_forward_SOURCES = tests/test_sub_forward.cpp
|
2018-12-07 13:51:30 +01:00
|
|
|
tests_test_sub_forward_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_sub_forward_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_invalid_rep_SOURCES = tests/test_invalid_rep.cpp
|
2018-12-12 11:27:50 +01:00
|
|
|
tests_test_invalid_rep_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_invalid_rep_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_msg_flags_SOURCES = tests/test_msg_flags.cpp
|
|
|
|
tests_test_msg_flags_LDADD = src/libzmq.la
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2015-06-08 22:16:50 +02:00
|
|
|
tests_test_msg_ffn_SOURCES = tests/test_msg_ffn.cpp
|
|
|
|
tests_test_msg_ffn_LDADD = src/libzmq.la
|
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_connect_resolve_SOURCES = tests/test_connect_resolve.cpp
|
2018-03-14 22:33:41 +01:00
|
|
|
tests_test_connect_resolve_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_connect_resolve_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_immediate_SOURCES = tests/test_immediate.cpp
|
2018-03-16 15:46:39 +01:00
|
|
|
tests_test_immediate_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_immediate_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_last_endpoint_SOURCES = tests/test_last_endpoint.cpp
|
2018-03-16 16:35:31 +01:00
|
|
|
tests_test_last_endpoint_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_last_endpoint_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_term_endpoint_SOURCES = tests/test_term_endpoint.cpp
|
2018-08-16 18:04:29 +02:00
|
|
|
tests_test_term_endpoint_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_term_endpoint_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_srcfd_SOURCES = tests/test_srcfd.cpp
|
2018-12-12 11:27:50 +01:00
|
|
|
tests_test_srcfd_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_srcfd_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_monitor_SOURCES = tests/test_monitor.cpp
|
2019-02-01 17:22:43 +01:00
|
|
|
tests_test_monitor_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_monitor_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2018-03-13 12:00:41 +01:00
|
|
|
tests_test_router_mandatory_SOURCES = tests/test_router_mandatory.cpp tests/testutil_unity.hpp
|
|
|
|
tests_test_router_mandatory_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_router_mandatory_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_router_mandatory_hwm_SOURCES = tests/test_router_mandatory_hwm.cpp
|
2018-08-23 11:58:20 +02:00
|
|
|
tests_test_router_mandatory_hwm_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_router_mandatory_hwm_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_router_handover_SOURCES = tests/test_router_handover.cpp
|
2018-03-14 22:33:41 +01:00
|
|
|
tests_test_router_handover_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_router_handover_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_probe_router_SOURCES = tests/test_probe_router.cpp
|
2018-08-10 16:51:11 +02:00
|
|
|
tests_test_probe_router_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_probe_router_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_stream_SOURCES = tests/test_stream.cpp
|
2018-08-20 17:44:16 +02:00
|
|
|
tests_test_stream_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_stream_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_stream_empty_SOURCES = tests/test_stream_empty.cpp
|
2018-08-20 17:08:13 +02:00
|
|
|
tests_test_stream_empty_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_stream_empty_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_stream_timeout_SOURCES = tests/test_stream_timeout.cpp
|
2018-08-23 12:24:36 +02:00
|
|
|
tests_test_stream_timeout_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_stream_timeout_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_stream_disconnect_SOURCES = tests/test_stream_disconnect.cpp
|
2018-08-23 12:13:23 +02:00
|
|
|
tests_test_stream_disconnect_LDADD = src/libzmq.la ${UNITY_LIBS}
|
2018-08-23 12:24:36 +02:00
|
|
|
tests_test_stream_disconnect_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_disconnect_inproc_SOURCES = tests/test_disconnect_inproc.cpp
|
|
|
|
tests_test_disconnect_inproc_LDADD = src/libzmq.la
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2015-06-29 04:23:25 +02:00
|
|
|
tests_test_unbind_wildcard_SOURCES = tests/test_unbind_wildcard.cpp
|
2018-08-20 16:59:27 +02:00
|
|
|
tests_test_unbind_wildcard_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_unbind_wildcard_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2015-06-29 04:23:25 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_ctx_options_SOURCES = tests/test_ctx_options.cpp
|
|
|
|
tests_test_ctx_options_LDADD = src/libzmq.la
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_iov_SOURCES = tests/test_iov.cpp
|
2018-12-25 13:20:04 +01:00
|
|
|
tests_test_iov_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_iov_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_ctx_destroy_SOURCES = tests/test_ctx_destroy.cpp
|
2018-03-15 10:58:56 +01:00
|
|
|
tests_test_ctx_destroy_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_ctx_destroy_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_security_null_SOURCES = tests/test_security_null.cpp
|
|
|
|
tests_test_security_null_LDADD = src/libzmq.la
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_security_plain_SOURCES = tests/test_security_plain.cpp
|
|
|
|
tests_test_security_plain_LDADD = src/libzmq.la
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2017-08-17 12:34:49 +02:00
|
|
|
tests_test_security_zap_SOURCES = \
|
|
|
|
tests/test_security_zap.cpp \
|
2019-02-02 11:32:27 +01:00
|
|
|
tests/testutil_monitoring.hpp \
|
2017-08-17 12:34:49 +02:00
|
|
|
tests/testutil_security.hpp \
|
|
|
|
tests/testutil.hpp
|
2017-08-17 11:45:18 +02:00
|
|
|
tests_test_security_zap_LDADD = src/libzmq.la
|
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_spec_req_SOURCES = tests/test_spec_req.cpp
|
2018-12-10 12:04:38 +01:00
|
|
|
tests_test_spec_req_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_spec_req_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_spec_rep_SOURCES = tests/test_spec_rep.cpp
|
2018-12-07 13:51:30 +01:00
|
|
|
tests_test_spec_rep_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_spec_rep_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_spec_dealer_SOURCES = tests/test_spec_dealer.cpp
|
2018-05-15 12:20:19 +02:00
|
|
|
tests_test_spec_dealer_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_spec_dealer_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_spec_router_SOURCES = tests/test_spec_router.cpp
|
2018-08-17 10:18:32 +02:00
|
|
|
tests_test_spec_router_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_spec_router_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_spec_pushpull_SOURCES = tests/test_spec_pushpull.cpp
|
2018-08-20 12:15:35 +02:00
|
|
|
tests_test_spec_pushpull_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_spec_pushpull_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_req_correlate_SOURCES = tests/test_req_correlate.cpp
|
2018-08-20 11:44:53 +02:00
|
|
|
tests_test_req_correlate_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_req_correlate_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_req_relaxed_SOURCES = tests/test_req_relaxed.cpp
|
2018-12-10 12:04:38 +01:00
|
|
|
tests_test_req_relaxed_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_req_relaxed_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_conflate_SOURCES = tests/test_conflate.cpp
|
2018-03-14 22:33:41 +01:00
|
|
|
tests_test_conflate_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_conflate_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_inproc_connect_SOURCES = tests/test_inproc_connect.cpp
|
2018-05-23 13:48:58 +02:00
|
|
|
tests_test_inproc_connect_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_inproc_connect_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_issue_566_SOURCES = tests/test_issue_566.cpp
|
2018-12-25 13:20:04 +01:00
|
|
|
tests_test_issue_566_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_issue_566_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_proxy_SOURCES = tests/test_proxy.cpp
|
2018-08-24 09:49:20 +02:00
|
|
|
tests_test_proxy_LDADD = src/libzmq.la
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2018-09-13 23:14:06 +02:00
|
|
|
tests_test_proxy_hwm_SOURCES = tests/test_proxy_hwm.cpp
|
|
|
|
tests_test_proxy_hwm_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_proxy_hwm_CPPFLAGS = ${UNITY_CPPFLAGS}
|
|
|
|
|
2015-06-07 06:05:55 +02:00
|
|
|
tests_test_proxy_single_socket_SOURCES = tests/test_proxy_single_socket.cpp
|
|
|
|
tests_test_proxy_single_socket_LDADD = src/libzmq.la
|
|
|
|
|
2015-05-01 11:31:45 +02:00
|
|
|
tests_test_proxy_terminate_SOURCES = tests/test_proxy_terminate.cpp
|
|
|
|
tests_test_proxy_terminate_LDADD = src/libzmq.la
|
|
|
|
|
2015-08-11 21:37:50 +02:00
|
|
|
tests_test_getsockopt_memset_SOURCES = tests/test_getsockopt_memset.cpp
|
2015-08-13 07:13:00 +02:00
|
|
|
tests_test_getsockopt_memset_LDADD = src/libzmq.la
|
2015-08-11 21:37:50 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_many_sockets_SOURCES = tests/test_many_sockets.cpp
|
|
|
|
tests_test_many_sockets_LDADD = src/libzmq.la
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_diffserv_SOURCES = tests/test_diffserv.cpp
|
2018-12-25 13:20:04 +01:00
|
|
|
tests_test_diffserv_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_diffserv_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_connect_rid_SOURCES = tests/test_connect_rid.cpp
|
2018-08-16 18:09:38 +02:00
|
|
|
tests_test_connect_rid_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_connect_rid_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_bind_src_address_SOURCES = tests/test_bind_src_address.cpp
|
2018-03-14 22:33:41 +01:00
|
|
|
tests_test_bind_src_address_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_bind_src_address_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_metadata_SOURCES = tests/test_metadata.cpp
|
2018-12-12 11:27:50 +01:00
|
|
|
tests_test_metadata_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_metadata_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_capabilities_SOURCES = tests/test_capabilities.cpp
|
2018-08-20 11:48:21 +02:00
|
|
|
tests_test_capabilities_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_capabilities_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_xpub_nodrop_SOURCES = tests/test_xpub_nodrop.cpp
|
2018-05-22 11:12:15 +02:00
|
|
|
tests_test_xpub_nodrop_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_xpub_nodrop_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-11-26 09:38:54 +01:00
|
|
|
tests_test_xpub_manual_SOURCES = tests/test_xpub_manual.cpp
|
2018-08-20 13:45:58 +02:00
|
|
|
tests_test_xpub_manual_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_xpub_manual_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-11-26 09:38:54 +01:00
|
|
|
|
2014-11-26 12:37:36 +01:00
|
|
|
tests_test_xpub_welcome_msg_SOURCES = tests/test_xpub_welcome_msg.cpp
|
2018-12-07 13:51:30 +01:00
|
|
|
tests_test_xpub_welcome_msg_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_xpub_welcome_msg_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-11-26 12:37:36 +01:00
|
|
|
|
2018-02-25 21:20:44 +01:00
|
|
|
tests_test_xpub_verbose_SOURCES = tests/test_xpub_verbose.cpp
|
|
|
|
tests_test_xpub_verbose_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_xpub_verbose_CPPFLAGS = ${UNITY_CPPFLAGS}
|
|
|
|
|
2014-12-23 01:14:38 +01:00
|
|
|
tests_test_atomics_SOURCES = tests/test_atomics.cpp
|
2018-12-07 13:51:30 +01:00
|
|
|
tests_test_atomics_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_atomics_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-12-23 01:14:38 +01:00
|
|
|
|
2016-02-12 11:24:35 +01:00
|
|
|
tests_test_sockopt_hwm_SOURCES = tests/test_sockopt_hwm.cpp
|
2018-02-11 12:29:06 +01:00
|
|
|
tests_test_sockopt_hwm_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_sockopt_hwm_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2015-06-04 01:38:45 +02:00
|
|
|
|
2015-11-13 10:41:00 +01:00
|
|
|
tests_test_setsockopt_SOURCES = tests/test_setsockopt.cpp
|
2018-08-17 09:58:12 +02:00
|
|
|
tests_test_setsockopt_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_setsockopt_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2015-11-13 10:41:00 +01:00
|
|
|
|
2015-03-17 02:39:16 +01:00
|
|
|
tests_test_heartbeats_SOURCES = tests/test_heartbeats.cpp
|
2018-05-13 11:39:21 +02:00
|
|
|
tests_test_heartbeats_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_heartbeats_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2015-02-10 23:01:50 +01:00
|
|
|
|
2015-07-20 22:22:13 +02:00
|
|
|
tests_test_stream_exceeds_buffer_SOURCES = tests/test_stream_exceeds_buffer.cpp
|
2018-12-12 11:27:50 +01:00
|
|
|
tests_test_stream_exceeds_buffer_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_stream_exceeds_buffer_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2015-07-20 22:22:13 +02:00
|
|
|
|
2016-04-26 17:29:06 +02:00
|
|
|
tests_test_pub_invert_matching_SOURCES = tests/test_pub_invert_matching.cpp
|
2018-05-22 10:43:27 +02:00
|
|
|
tests_test_pub_invert_matching_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_pub_invert_matching_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-04-26 17:29:06 +02:00
|
|
|
|
2016-09-24 19:06:08 +02:00
|
|
|
tests_test_bind_after_connect_tcp_SOURCES = tests/test_bind_after_connect_tcp.cpp
|
2018-03-14 22:33:41 +01:00
|
|
|
tests_test_bind_after_connect_tcp_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_bind_after_connect_tcp_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-09-24 19:06:08 +02:00
|
|
|
|
2016-05-19 12:46:15 +02:00
|
|
|
tests_test_base85_SOURCES = tests/test_base85.cpp
|
2018-08-20 11:37:09 +02:00
|
|
|
tests_test_base85_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_base85_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-05-19 12:46:15 +02:00
|
|
|
|
|
|
|
tests_test_sodium_SOURCES = tests/test_sodium.cpp
|
2018-12-12 11:27:50 +01:00
|
|
|
tests_test_sodium_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_sodium_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-05-19 12:46:15 +02:00
|
|
|
|
2017-08-22 15:54:33 +02:00
|
|
|
tests_test_socket_null_SOURCES = tests/test_socket_null.cpp
|
2018-02-10 19:51:51 +01:00
|
|
|
tests_test_socket_null_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_socket_null_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2017-08-22 15:54:33 +02:00
|
|
|
|
2017-09-19 01:14:10 +02:00
|
|
|
tests_test_reconnect_ivl_SOURCES = tests/test_reconnect_ivl.cpp
|
2018-03-15 11:47:57 +01:00
|
|
|
tests_test_reconnect_ivl_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_reconnect_ivl_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2017-09-19 01:14:10 +02:00
|
|
|
|
2018-05-28 19:00:11 +02:00
|
|
|
tests_test_mock_pub_sub_SOURCES = tests/test_mock_pub_sub.cpp
|
|
|
|
tests_test_mock_pub_sub_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_mock_pub_sub_CPPFLAGS = ${UNITY_CPPFLAGS}
|
|
|
|
|
2017-08-15 16:28:24 +02:00
|
|
|
if HAVE_CURVE
|
|
|
|
|
|
|
|
test_apps += \
|
|
|
|
tests/test_security_curve
|
|
|
|
|
|
|
|
tests_test_security_curve_SOURCES = \
|
|
|
|
tests/test_security_curve.cpp \
|
2017-08-17 12:34:49 +02:00
|
|
|
tests/testutil_security.hpp \
|
2017-08-15 16:28:24 +02:00
|
|
|
tests/testutil.hpp \
|
|
|
|
src/curve_client_tools.hpp \
|
|
|
|
src/clock.hpp \
|
|
|
|
src/clock.cpp \
|
|
|
|
src/random.hpp \
|
|
|
|
src/random.cpp \
|
|
|
|
src/err.hpp \
|
|
|
|
src/err.cpp
|
|
|
|
|
|
|
|
if USE_TWEETNACL
|
|
|
|
tests_test_security_curve_SOURCES += \
|
|
|
|
src/tweetnacl.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
tests_test_security_curve_LDADD = \
|
2018-02-10 19:51:51 +01:00
|
|
|
src/libzmq.la ${UNITY_LIBS} $(LIBUNWIND_LIBS)
|
2017-08-16 16:19:09 +02:00
|
|
|
tests_test_security_curve_CPPFLAGS = \
|
2018-02-10 19:51:51 +01:00
|
|
|
${UNITY_CPPFLAGS} \
|
2017-08-16 16:19:09 +02:00
|
|
|
${LIBUNWIND_CFLAGS}
|
2017-08-15 16:28:24 +02:00
|
|
|
|
|
|
|
if USE_LIBSODIUM
|
2017-08-16 16:19:09 +02:00
|
|
|
tests_test_security_curve_CPPFLAGS += \
|
|
|
|
${sodium_CFLAGS}
|
2017-08-15 16:28:24 +02:00
|
|
|
tests_test_security_curve_LDADD += \
|
|
|
|
${sodium_LIBS}
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2014-10-10 23:36:12 +02:00
|
|
|
if !ON_MINGW
|
2014-12-29 23:39:19 +01:00
|
|
|
if !ON_CYGWIN
|
2014-10-10 23:36:12 +02:00
|
|
|
test_apps += \
|
2014-10-26 09:40:32 +01:00
|
|
|
tests/test_shutdown_stress \
|
2016-04-21 14:39:21 +02:00
|
|
|
tests/test_ipc_wildcard \
|
2014-10-26 09:40:32 +01:00
|
|
|
tests/test_pair_ipc \
|
2017-10-05 23:29:25 +02:00
|
|
|
tests/test_rebind_ipc \
|
2014-10-26 09:40:32 +01:00
|
|
|
tests/test_reqrep_ipc \
|
2018-08-23 17:15:50 +02:00
|
|
|
tests/test_use_fd \
|
2016-12-15 12:54:27 +01:00
|
|
|
tests/test_zmq_poll_fd \
|
2014-10-26 09:40:32 +01:00
|
|
|
tests/test_timeo \
|
|
|
|
tests/test_filter_ipc
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_shutdown_stress_SOURCES = tests/test_shutdown_stress.cpp
|
2018-12-12 11:27:50 +01:00
|
|
|
tests_test_shutdown_stress_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_shutdown_stress_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2016-04-21 14:39:21 +02:00
|
|
|
tests_test_ipc_wildcard_SOURCES = tests/test_ipc_wildcard.cpp
|
2018-12-25 13:20:04 +01:00
|
|
|
tests_test_ipc_wildcard_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_ipc_wildcard_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-04-21 14:39:21 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_pair_ipc_SOURCES = \
|
2014-10-10 23:36:12 +02:00
|
|
|
tests/test_pair_ipc.cpp \
|
|
|
|
tests/testutil.hpp
|
2018-12-10 12:04:38 +01:00
|
|
|
tests_test_pair_ipc_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_pair_ipc_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2017-10-05 23:29:25 +02:00
|
|
|
tests_test_rebind_ipc_SOURCES = tests/test_rebind_ipc.cpp
|
2018-12-10 12:04:38 +01:00
|
|
|
tests_test_rebind_ipc_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_rebind_ipc_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2017-10-05 23:29:25 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_reqrep_ipc_SOURCES = \
|
2014-10-10 23:36:12 +02:00
|
|
|
tests/test_reqrep_ipc.cpp \
|
|
|
|
tests/testutil.hpp
|
2018-12-07 13:51:30 +01:00
|
|
|
tests_test_reqrep_ipc_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_reqrep_ipc_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_timeo_SOURCES = tests/test_timeo.cpp
|
2018-12-25 13:20:04 +01:00
|
|
|
tests_test_timeo_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_timeo_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_filter_ipc_SOURCES = tests/test_filter_ipc.cpp
|
2018-08-16 15:43:41 +02:00
|
|
|
tests_test_filter_ipc_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_filter_ipc_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2018-08-23 17:15:50 +02:00
|
|
|
tests_test_use_fd_SOURCES = \
|
|
|
|
tests/test_use_fd.cpp \
|
2016-02-01 13:33:17 +01:00
|
|
|
tests/testutil.hpp
|
2018-08-23 17:57:01 +02:00
|
|
|
tests_test_use_fd_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_use_fd_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-02-01 18:03:55 +01:00
|
|
|
|
2016-12-15 12:54:27 +01:00
|
|
|
tests_test_zmq_poll_fd_SOURCES = tests/test_zmq_poll_fd.cpp
|
2018-12-07 13:51:30 +01:00
|
|
|
tests_test_zmq_poll_fd_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_zmq_poll_fd_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-12-15 12:54:27 +01:00
|
|
|
|
2014-10-10 23:36:12 +02:00
|
|
|
if HAVE_FORK
|
2016-03-19 17:28:35 +01:00
|
|
|
if !VALGRIND_ENABLED
|
2014-10-26 09:40:32 +01:00
|
|
|
test_apps += tests/test_fork
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_fork_SOURCES = tests/test_fork.cpp
|
|
|
|
tests_test_fork_LDADD = src/libzmq.la
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-12-29 23:39:19 +01:00
|
|
|
endif
|
2014-10-10 23:36:12 +02:00
|
|
|
endif
|
|
|
|
endif
|
2016-03-19 17:28:35 +01:00
|
|
|
endif
|
2014-10-10 23:36:12 +02:00
|
|
|
|
|
|
|
if BUILD_TIPC
|
|
|
|
test_apps += \
|
2014-10-26 09:40:32 +01:00
|
|
|
tests/test_connect_delay_tipc \
|
|
|
|
tests/test_pair_tipc \
|
|
|
|
tests/test_reqrep_device_tipc \
|
|
|
|
tests/test_reqrep_tipc \
|
|
|
|
tests/test_router_mandatory_tipc \
|
|
|
|
tests/test_shutdown_stress_tipc \
|
|
|
|
tests/test_sub_forward_tipc \
|
2018-03-07 18:31:26 +01:00
|
|
|
tests/test_term_endpoint_tipc \
|
|
|
|
tests/test_address_tipc
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_connect_delay_tipc_SOURCES = tests/test_connect_delay_tipc.cpp
|
2018-08-15 18:35:17 +02:00
|
|
|
tests_test_connect_delay_tipc_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_connect_delay_tipc_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_pair_tipc_SOURCES = tests/test_pair_tipc.cpp
|
2018-12-10 12:04:38 +01:00
|
|
|
tests_test_pair_tipc_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_pair_tipc_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_reqrep_device_tipc_SOURCES = tests/test_reqrep_device_tipc.cpp
|
2018-12-07 13:51:30 +01:00
|
|
|
tests_test_reqrep_device_tipc_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_reqrep_device_tipc_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_reqrep_tipc_SOURCES = tests/test_reqrep_tipc.cpp
|
2018-12-07 13:51:30 +01:00
|
|
|
tests_test_reqrep_tipc_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_reqrep_tipc_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_router_mandatory_tipc_SOURCES = tests/test_router_mandatory_tipc.cpp
|
|
|
|
tests_test_router_mandatory_tipc_LDADD = src/libzmq.la
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_shutdown_stress_tipc_SOURCES = tests/test_shutdown_stress_tipc.cpp
|
2018-12-12 11:27:50 +01:00
|
|
|
tests_test_shutdown_stress_tipc_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_shutdown_stress_tipc_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_sub_forward_tipc_SOURCES = tests/test_sub_forward_tipc.cpp
|
2018-12-07 13:51:30 +01:00
|
|
|
tests_test_sub_forward_tipc_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_sub_forward_tipc_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_term_endpoint_tipc_SOURCES = tests/test_term_endpoint_tipc.cpp
|
|
|
|
tests_test_term_endpoint_tipc_LDADD = src/libzmq.la
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2018-03-07 18:31:26 +01:00
|
|
|
tests_test_address_tipc_SOURCES = tests/test_address_tipc.cpp
|
|
|
|
tests_test_address_tipc_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_address_tipc_CPPFLAGS = ${UNITY_CPPFLAGS}
|
|
|
|
|
2014-10-10 23:36:12 +02:00
|
|
|
endif
|
|
|
|
|
2017-04-26 01:56:14 +02:00
|
|
|
if BUILD_GSSAPI
|
|
|
|
test_apps += tests/test_security_gssapi
|
|
|
|
|
|
|
|
tests_test_security_gssapi_SOURCES = tests/test_security_gssapi.cpp
|
|
|
|
tests_test_security_gssapi_LDADD = src/libzmq.la
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2014-10-10 23:36:12 +02:00
|
|
|
if ON_LINUX
|
2017-05-01 17:03:51 +02:00
|
|
|
test_apps += tests/test_abstract_ipc \
|
|
|
|
tests/test_many_sockets
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2014-10-26 09:40:32 +01:00
|
|
|
tests_test_abstract_ipc_SOURCES = tests/test_abstract_ipc.cpp
|
2018-12-07 13:51:30 +01:00
|
|
|
tests_test_abstract_ipc_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_abstract_ipc_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2011-03-31 18:42:09 +02:00
|
|
|
endif
|
|
|
|
|
2015-12-07 13:19:45 +01:00
|
|
|
if HAVE_VMCI
|
|
|
|
test_apps += test_pair_vmci test_reqrep_vmci
|
|
|
|
|
|
|
|
test_pair_vmci_SOURCES = tests/test_pair_vmci.cpp
|
2018-06-05 23:38:35 +02:00
|
|
|
test_pair_vmci_LDADD = src/libzmq.la
|
2015-12-07 13:19:45 +01:00
|
|
|
test_pair_vmci_LDFLAGS = @LIBZMQ_VMCI_LDFLAGS@
|
|
|
|
test_pair_vmci_CXXFLAGS = @LIBZMQ_VMCI_CXXFLAGS@
|
|
|
|
|
|
|
|
test_reqrep_vmci_SOURCES = tests/test_reqrep_vmci.cpp
|
2018-06-05 23:38:35 +02:00
|
|
|
test_reqrep_vmci_LDADD = src/libzmq.la
|
2015-12-07 13:19:45 +01:00
|
|
|
test_reqrep_vmci_LDFLAGS = @LIBZMQ_VMCI_LDFLAGS@
|
|
|
|
test_reqrep_vmci_CXXFLAGS = @LIBZMQ_VMCI_CXXFLAGS@
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2016-05-02 20:44:35 +02:00
|
|
|
if ENABLE_DRAFTS
|
2016-05-02 20:54:31 +02:00
|
|
|
test_apps += tests/test_poller \
|
|
|
|
tests/test_client_server \
|
2016-05-02 20:56:30 +02:00
|
|
|
tests/test_thread_safe \
|
2016-05-02 20:59:34 +02:00
|
|
|
tests/test_timers \
|
|
|
|
tests/test_radio_dish \
|
2016-05-13 16:05:29 +02:00
|
|
|
tests/test_scatter_gather \
|
2018-03-12 01:41:33 +01:00
|
|
|
tests/test_dgram \
|
2018-08-15 09:54:08 +02:00
|
|
|
tests/test_app_meta \
|
|
|
|
tests/test_router_notify
|
2016-05-02 20:50:33 +02:00
|
|
|
|
2016-05-02 20:54:31 +02:00
|
|
|
tests_test_poller_SOURCES = tests/test_poller.cpp
|
2018-03-15 14:46:17 +01:00
|
|
|
tests_test_poller_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_poller_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-05-02 20:54:31 +02:00
|
|
|
|
2016-05-02 20:50:33 +02:00
|
|
|
tests_test_client_server_SOURCES = tests/test_client_server.cpp
|
2018-03-14 22:33:41 +01:00
|
|
|
tests_test_client_server_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_client_server_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-05-02 20:50:33 +02:00
|
|
|
|
|
|
|
tests_test_thread_safe_SOURCES = tests/test_thread_safe.cpp
|
2018-03-15 13:44:24 +01:00
|
|
|
tests_test_thread_safe_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_thread_safe_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-05-02 20:56:30 +02:00
|
|
|
|
|
|
|
tests_test_timers_SOURCES = tests/test_timers.cpp
|
2018-08-23 16:55:17 +02:00
|
|
|
tests_test_timers_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_timers_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-05-02 20:59:34 +02:00
|
|
|
|
|
|
|
tests_test_radio_dish_SOURCES = tests/test_radio_dish.cpp
|
2018-03-16 15:22:14 +01:00
|
|
|
tests_test_radio_dish_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_radio_dish_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-05-02 20:59:34 +02:00
|
|
|
|
2016-05-02 21:00:00 +02:00
|
|
|
tests_test_scatter_gather_SOURCES = tests/test_scatter_gather.cpp
|
2018-12-12 11:27:50 +01:00
|
|
|
tests_test_scatter_gather_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_scatter_gather_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-05-13 16:05:29 +02:00
|
|
|
|
|
|
|
tests_test_dgram_SOURCES = tests/test_dgram.cpp
|
2018-12-07 13:51:30 +01:00
|
|
|
tests_test_dgram_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_dgram_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2018-03-12 01:41:33 +01:00
|
|
|
|
|
|
|
tests_test_app_meta_SOURCES = tests/test_app_meta.cpp
|
|
|
|
tests_test_app_meta_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_app_meta_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2018-08-15 09:54:08 +02:00
|
|
|
|
|
|
|
tests_test_router_notify_SOURCES = tests/test_router_notify.cpp
|
|
|
|
tests_test_router_notify_LDADD = src/libzmq.la ${UNITY_LIBS}
|
|
|
|
tests_test_router_notify_CPPFLAGS = ${UNITY_CPPFLAGS}
|
2016-05-02 20:44:35 +02:00
|
|
|
endif
|
|
|
|
|
2018-02-10 20:18:33 +01:00
|
|
|
if ENABLE_STATIC
|
|
|
|
# unit tests - these include individual source files and test the internal functions
|
|
|
|
test_apps += \
|
|
|
|
unittests/unittest_poller \
|
2018-02-15 13:09:04 +01:00
|
|
|
unittests/unittest_ypipe \
|
2018-04-30 16:56:17 +02:00
|
|
|
unittests/unittest_mtrie \
|
2018-05-02 23:22:06 +02:00
|
|
|
unittests/unittest_ip_resolver \
|
2018-10-23 13:29:56 +02:00
|
|
|
unittests/unittest_udp_address \
|
|
|
|
unittests/unittest_radix_tree
|
2018-02-10 20:18:33 +01:00
|
|
|
|
|
|
|
unittests_unittest_poller_SOURCES = unittests/unittest_poller.cpp
|
2018-02-16 12:43:02 +01:00
|
|
|
unittests_unittest_poller_CPPFLAGS = -I$(top_srcdir)/src ${UNITY_CPPFLAGS} $(CODE_COVERAGE_CPPFLAGS)
|
|
|
|
unittests_unittest_poller_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS)
|
2018-02-10 20:18:33 +01:00
|
|
|
unittests_unittest_poller_LDADD = $(top_builddir)/src/.libs/libzmq.a \
|
|
|
|
${src_libzmq_la_LIBADD} \
|
2018-02-16 12:43:02 +01:00
|
|
|
${UNITY_LIBS} \
|
|
|
|
$(CODE_COVERAGE_LDFLAGS)
|
2018-02-10 20:18:33 +01:00
|
|
|
|
|
|
|
unittests_unittest_ypipe_SOURCES = unittests/unittest_ypipe.cpp
|
2018-02-16 12:43:02 +01:00
|
|
|
unittests_unittest_ypipe_CPPFLAGS = -I$(top_srcdir)/src ${UNITY_CPPFLAGS} $(CODE_COVERAGE_CPPFLAGS)
|
|
|
|
unittests_unittest_ypipe_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS)
|
2018-02-10 20:18:33 +01:00
|
|
|
unittests_unittest_ypipe_LDADD = $(top_builddir)/src/.libs/libzmq.a \
|
|
|
|
${src_libzmq_la_LIBADD} \
|
2018-02-16 12:43:02 +01:00
|
|
|
${UNITY_LIBS} \
|
|
|
|
$(CODE_COVERAGE_LDFLAGS)
|
2018-02-15 13:09:04 +01:00
|
|
|
|
|
|
|
unittests_unittest_mtrie_SOURCES = unittests/unittest_mtrie.cpp
|
2018-02-16 12:43:02 +01:00
|
|
|
unittests_unittest_mtrie_CPPFLAGS = -I$(top_srcdir)/src ${UNITY_CPPFLAGS} $(CODE_COVERAGE_CPPFLAGS)
|
|
|
|
unittests_unittest_mtrie_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS)
|
2018-02-15 13:09:04 +01:00
|
|
|
unittests_unittest_mtrie_LDADD = $(top_builddir)/src/.libs/libzmq.a \
|
|
|
|
${src_libzmq_la_LIBADD} \
|
2018-02-16 12:43:02 +01:00
|
|
|
${UNITY_LIBS} \
|
|
|
|
$(CODE_COVERAGE_LDFLAGS)
|
2018-04-30 16:56:17 +02:00
|
|
|
|
2018-05-05 00:44:13 +02:00
|
|
|
unittests_unittest_ip_resolver_SOURCES = unittests/unittest_ip_resolver.cpp unittests/unittest_resolver_common.hpp
|
2018-04-30 16:56:17 +02:00
|
|
|
unittests_unittest_ip_resolver_CPPFLAGS = -I$(top_srcdir)/src ${UNITY_CPPFLAGS} $(CODE_COVERAGE_CPPFLAGS)
|
|
|
|
unittests_unittest_ip_resolver_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS)
|
|
|
|
unittests_unittest_ip_resolver_LDADD = $(top_builddir)/src/.libs/libzmq.a \
|
|
|
|
${src_libzmq_la_LIBADD} \
|
|
|
|
${UNITY_LIBS} \
|
|
|
|
$(CODE_COVERAGE_LDFLAGS)
|
2018-05-02 23:22:06 +02:00
|
|
|
|
2018-05-05 00:44:13 +02:00
|
|
|
unittests_unittest_udp_address_SOURCES = unittests/unittest_udp_address.cpp unittests/unittest_resolver_common.hpp
|
2018-05-02 23:22:06 +02:00
|
|
|
unittests_unittest_udp_address_CPPFLAGS = -I$(top_srcdir)/src ${UNITY_CPPFLAGS} $(CODE_COVERAGE_CPPFLAGS)
|
|
|
|
unittests_unittest_udp_address_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS)
|
|
|
|
unittests_unittest_udp_address_LDADD = $(top_builddir)/src/.libs/libzmq.a \
|
|
|
|
${src_libzmq_la_LIBADD} \
|
|
|
|
${UNITY_LIBS} \
|
|
|
|
$(CODE_COVERAGE_LDFLAGS)
|
2018-10-23 13:29:56 +02:00
|
|
|
|
|
|
|
unittests_unittest_radix_tree_SOURCES = unittests/unittest_radix_tree.cpp
|
|
|
|
unittests_unittest_radix_tree_CPPFLAGS = -I$(top_srcdir)/src ${UNITY_CPPFLAGS} $(CODE_COVERAGE_CPPFLAGS)
|
|
|
|
unittests_unittest_radix_tree_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS)
|
|
|
|
unittests_unittest_radix_tree_LDADD = $(top_builddir)/src/.libs/libzmq.a \
|
|
|
|
${src_libzmq_la_LIBADD} \
|
|
|
|
${UNITY_LIBS} \
|
|
|
|
$(CODE_COVERAGE_LDFLAGS)
|
2018-02-10 20:18:33 +01:00
|
|
|
endif
|
|
|
|
|
2014-10-10 23:36:12 +02:00
|
|
|
check_PROGRAMS = ${test_apps}
|
|
|
|
|
|
|
|
# Run the test cases
|
|
|
|
TESTS = $(test_apps)
|
2016-04-02 18:30:35 +02:00
|
|
|
XFAIL_TESTS =
|
2014-10-10 23:36:12 +02:00
|
|
|
|
|
|
|
if !ON_LINUX
|
2014-10-26 09:40:32 +01:00
|
|
|
XFAIL_TESTS += tests/test_abstract_ipc
|
2014-10-10 23:36:12 +02:00
|
|
|
endif
|
2009-09-10 11:21:05 +02:00
|
|
|
|
2019-01-26 17:38:13 +01:00
|
|
|
# GNU/Hurd does not support getsockname on IPC, so ZMQ_LAST_ENDPOINT cannot be
|
|
|
|
# used with IPC, so the following tests will fail
|
2016-01-20 07:18:22 +01:00
|
|
|
if ON_GNU
|
2018-08-16 11:07:05 +02:00
|
|
|
XFAIL_TESTS += tests/test_ipc_wildcard \
|
2018-11-04 21:57:15 +01:00
|
|
|
tests/test_reqrep_ipc \
|
2019-01-19 23:28:15 +01:00
|
|
|
tests/test_pair_ipc \
|
2019-01-26 17:38:13 +01:00
|
|
|
tests/test_rebind_ipc \
|
2018-08-16 11:07:05 +02:00
|
|
|
tests/test_term_endpoint
|
2016-01-20 07:18:22 +01:00
|
|
|
endif
|
|
|
|
|
2009-12-13 09:56:02 +01:00
|
|
|
EXTRA_DIST = \
|
2018-02-10 20:18:33 +01:00
|
|
|
external/unity/license.txt \
|
|
|
|
external/unity/version.txt \
|
2018-06-04 17:09:23 +02:00
|
|
|
external/wepoll/license.txt \
|
|
|
|
external/wepoll/version.txt \
|
|
|
|
external/wepoll/README.md \
|
2013-10-23 19:06:29 +02:00
|
|
|
CMakeLists.txt \
|
2010-10-15 15:30:10 +02:00
|
|
|
autogen.sh \
|
|
|
|
version.sh \
|
2018-03-27 18:36:30 +02:00
|
|
|
ci_build.sh \
|
2018-12-14 18:48:39 +01:00
|
|
|
src/libzmq.vers \
|
2016-09-01 14:15:02 +02:00
|
|
|
src/version.rc.in \
|
|
|
|
tests/CMakeLists.txt \
|
2018-02-10 20:18:33 +01:00
|
|
|
unittests/CMakeLists.txt \
|
2015-08-13 07:13:00 +02:00
|
|
|
tools/curve_keygen.cpp
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2010-10-15 15:30:10 +02:00
|
|
|
MAINTAINERCLEANFILES = \
|
2014-10-10 23:36:12 +02:00
|
|
|
$(srcdir)/aclocal.m4 \
|
|
|
|
$(srcdir)/autom4te.cache \
|
|
|
|
$(srcdir)/configure \
|
2010-10-15 15:30:10 +02:00
|
|
|
`find "$(srcdir)" -type f -name Makefile.in -print`
|
2009-09-11 17:58:37 +02:00
|
|
|
|
2018-02-10 18:34:01 +01:00
|
|
|
if WITH_CLANG_FORMAT
|
|
|
|
ALL_SOURCE_FILES = $(wildcard \
|
|
|
|
$(top_srcdir)/src/*.c \
|
|
|
|
$(top_srcdir)/src/*.cc \
|
|
|
|
$(top_srcdir)/src/*.cpp \
|
|
|
|
$(top_srcdir)/src/*.h \
|
|
|
|
$(top_srcdir)/src/*.hpp \
|
|
|
|
$(top_srcdir)/tests/*.c \
|
|
|
|
$(top_srcdir)/tests/*.cc \
|
|
|
|
$(top_srcdir)/tests/*.cpp \
|
|
|
|
$(top_srcdir)/tests/*.h \
|
|
|
|
$(top_srcdir)/tests/*.hpp \
|
|
|
|
$(top_srcdir)/perf/*.c \
|
|
|
|
$(top_srcdir)/perf/*.cc \
|
|
|
|
$(top_srcdir)/perf/*.cpp \
|
|
|
|
$(top_srcdir)/perf/*.h \
|
|
|
|
$(top_srcdir)/perf/*.hpp \
|
|
|
|
$(top_srcdir)/tools/*.c \
|
|
|
|
$(top_srcdir)/tools/*.cc \
|
|
|
|
$(top_srcdir)/tools/*.cpp \
|
|
|
|
$(top_srcdir)/tools/*.h \
|
|
|
|
$(top_srcdir)/tools/*.hpp \
|
|
|
|
$(top_srcdir)/include/*.h \
|
|
|
|
)
|
|
|
|
|
|
|
|
# Check if any sources need to be fixed, report the filenames and an error code
|
|
|
|
clang-format-check: $(ALL_SOURCE_FILES)
|
|
|
|
@FAILED=0 ; IFS=";" ; IDS="`printf '\n\b'`" ; export IFS IDS; \
|
|
|
|
for FILE in $(ALL_SOURCE_FILES) ; do \
|
|
|
|
test -s $$FILE || continue ; \
|
|
|
|
$(CLANG_FORMAT) -style=file -output-replacements-xml "$$FILE" | grep "<replacement " >/dev/null && \
|
|
|
|
{ echo "$$FILE is not correctly formatted" >&2 ; FAILED=1; } ; \
|
|
|
|
done; \
|
|
|
|
if test "$$FAILED" != 0 ; then \
|
|
|
|
exit 1 ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Change source formatting
|
|
|
|
clang-format: $(ALL_SOURCE_FILES)
|
|
|
|
$(CLANG_FORMAT) -style=file -i $(ALL_SOURCE_FILES)
|
|
|
|
|
|
|
|
# Change source formatting AND report the diff
|
|
|
|
clang-format-diff: clang-format
|
|
|
|
git diff $(ALL_SOURCE_FILES)
|
|
|
|
|
|
|
|
else
|
|
|
|
clang-format clang-format-check clang-format-diff:
|
|
|
|
@echo "Install the clang-format program, reconfigure and re-run this request"
|
|
|
|
@exit 1
|
|
|
|
endif
|
|
|
|
|
2016-03-05 00:07:13 +01:00
|
|
|
@CODE_COVERAGE_RULES@
|
|
|
|
|
2009-09-10 11:21:05 +02:00
|
|
|
dist-hook:
|
2014-10-10 23:36:12 +02:00
|
|
|
-rm $(distdir)/src/platform.hpp
|
2010-09-04 17:26:36 +02:00
|
|
|
@if test -d "$(srcdir)/.git"; \
|
|
|
|
then \
|
|
|
|
echo Creating ChangeLog && \
|
|
|
|
( cd "$(top_srcdir)" && \
|
|
|
|
echo '# Generated by Makefile. Do not edit.'; echo; \
|
|
|
|
$(top_srcdir)/config/missing --run git log --stat ) > ChangeLog.tmp \
|
|
|
|
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|
|
|
|
|| ( rm -f ChangeLog.tmp ; \
|
|
|
|
echo Failed to generate ChangeLog >&2 ); \
|
|
|
|
else \
|
|
|
|
echo A git clone is required to generate a ChangeLog >&2; \
|
|
|
|
fi
|
2014-10-10 23:36:12 +02:00
|
|
|
|
2010-10-15 15:30:10 +02:00
|
|
|
maintainer-clean-local:
|
|
|
|
-rm -rf $(top_srcdir)/config
|
2016-02-05 16:31:14 +01:00
|
|
|
|
|
|
|
@VALGRIND_CHECK_RULES@
|
2016-03-18 21:55:39 +01:00
|
|
|
|
|
|
|
VALGRIND_SUPPRESSIONS_FILES = builds/valgrind/valgrind.supp
|