Makefile.am 3.75 KB
Newer Older
Martin Sustrik's avatar
Martin Sustrik committed
1
lib_LTLIBRARIES = libzmq.la
Martin Sustrik's avatar
Martin Sustrik committed
2

malosek's avatar
malosek committed
3 4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libzmq.pc
5

6
include_HEADERS = ../include/zmq.h ../include/zmq_utils.h
Martin Sustrik's avatar
Martin Sustrik committed
7

8
libzmq_la_SOURCES = \
9
    address.hpp \
10
    array.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
11 12
    atomic_counter.hpp \
    atomic_ptr.hpp \
13
    blob.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
14
    clock.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
15 16
    command.hpp \
    config.hpp \
17
    ctx.hpp \
18 19
    curve_client.hpp \
    curve_server.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
20 21
    decoder.hpp \
    devpoll.hpp \
22
    dist.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
23 24 25 26
    encoder.hpp \
    epoll.hpp \
    err.hpp \
    fd.hpp \
27
    fq.hpp \
28 29 30 31
    i_encoder.hpp \
    i_decoder.hpp \
    i_engine.hpp \
    i_poll_events.hpp \
32
    io_object.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
33 34
    io_thread.hpp \
    ip.hpp \
35
    ipc_address.hpp \
36 37
    ipc_connecter.hpp \
    ipc_listener.hpp \
38
    i_engine.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
39 40
    i_poll_events.hpp \
    kqueue.hpp \
41
    lb.hpp \
42
    likely.hpp \
43
    mailbox.hpp \
44
    mechanism.hpp  \
45
    msg.hpp \
46
    mtrie.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
47
    mutex.hpp \
48
    null_mechanism.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
49
    object.hpp \
50
    options.hpp \
51
    own.hpp \
52
    pgm_receiver.hpp \
malosek's avatar
malosek committed
53 54
    pgm_sender.hpp \
    pgm_socket.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
55
    pipe.hpp \
56
    plain_mechanism.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
57 58
    platform.hpp \
    poll.hpp \
59
    poller.hpp \
60
    poller_base.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
61
    pair.hpp \
62
    proxy.hpp \
63
    pub.hpp \
64 65
    pull.hpp \
    push.hpp \
66
    random.hpp \
67
    reaper.hpp \
68 69
    rep.hpp \
    req.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
70
    select.hpp \
71
    session_base.hpp \
72
    signaler.hpp \
73
    socket_base.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
74
    stdint.hpp \
75
    stream.hpp \
76
    stream_engine.hpp \
77
    sub.hpp \
78
    tcp.hpp \
79
    tcp_address.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
80 81 82
    tcp_connecter.hpp \
    tcp_listener.hpp \
    thread.hpp \
83
    trie.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
84 85
    windows.hpp \
    wire.hpp \
86
    xpub.hpp \
87 88
    router.hpp \
    dealer.hpp \
89
    xsub.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
90
    ypipe.hpp \
91
    ypipe_base.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
92
    yqueue.hpp \
93
    address.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
94
    clock.cpp \
95
    ctx.cpp \
96 97
    curve_client.cpp \
    curve_server.cpp \
98
    devpoll.cpp \
99
    dist.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
100 101
    epoll.cpp \
    err.cpp \
102
    fq.cpp \
103
    io_object.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
104 105
    io_thread.cpp \
    ip.cpp \
106
    ipc_address.cpp \
107 108
    ipc_connecter.cpp \
    ipc_listener.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
109
    kqueue.cpp \
110
    lb.cpp \
111
    mailbox.cpp \
112
    mechanism.cpp \
113
    msg.cpp \
114
    mtrie.cpp \
115
    null_mechanism.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
116
    object.cpp \
117
    options.cpp \
118
    own.cpp \
119
    pair.cpp \
120
    pgm_receiver.cpp \
malosek's avatar
malosek committed
121 122
    pgm_sender.cpp \
    pgm_socket.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
123
    pipe.cpp \
124
    plain_mechanism.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
125
    poll.cpp \
126
    poller_base.cpp \
127 128
    pull.cpp \
    push.cpp \
129
    proxy.cpp \
130
    reaper.cpp \
131
    pub.cpp \
132
    random.cpp \
133 134
    rep.cpp \
    req.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
135
    select.cpp \
136
    session_base.cpp \
137
    signaler.cpp \
138
    socket_base.cpp \
139
    stream.cpp \
140
    stream_engine.cpp \
141
    sub.cpp \
142
    tcp.cpp \
143
    tcp_address.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
144 145 146
    tcp_connecter.cpp \
    tcp_listener.cpp \
    thread.cpp \
147
    trie.cpp \
148
    xpub.cpp \
149 150
    router.cpp \
    dealer.cpp \
151 152
    v1_decoder.cpp \
    v1_encoder.cpp \
153
    v1_decoder.hpp \
154
    v1_encoder.hpp \
155 156 157 158 159
    v2_decoder.cpp \
    v2_decoder.hpp \
    v2_encoder.cpp \
    v2_encoder.hpp \
    v2_protocol.hpp \
160
    xsub.cpp \
161
    zmq.cpp \
162 163 164 165
    zmq_utils.cpp \
    raw_decoder.hpp \
    raw_decoder.cpp \
    raw_encoder.hpp \
166 167
    raw_encoder.cpp \
    ypipe_conflate.hpp \
168 169 170 171 172 173 174 175
    dbuffer.hpp \
    tipc_address.cpp \
    tipc_address.hpp \
    tipc_listener.cpp \
    tipc_listener.hpp \
    tipc_connecter.cpp \
    tipc_connecter.hpp

Martin Sustrik's avatar
Martin Sustrik committed
176

Martin Lucina's avatar
Martin Lucina committed
177
if ON_MINGW
178
libzmq_la_LDFLAGS = -no-undefined -avoid-version -version-info @LTVER@ @LIBZMQ_EXTRA_LDFLAGS@
Martin Lucina's avatar
Martin Lucina committed
179
else
180 181 182
if ON_ANDROID
libzmq_la_LDFLAGS = -avoid-version -version-info @LTVER@ @LIBZMQ_EXTRA_LDFLAGS@
else
183
libzmq_la_LDFLAGS = -version-info @LTVER@ @LIBZMQ_EXTRA_LDFLAGS@ -Wl,--version-script=libzmq.vers
Martin Lucina's avatar
Martin Lucina committed
184
endif
185
endif
186

187
libzmq_la_CXXFLAGS = @LIBZMQ_EXTRA_CXXFLAGS@
Martin Sustrik's avatar
Martin Sustrik committed
188

Steven McCoy's avatar
Steven McCoy committed
189
if BUILD_PGM
190 191
libzmq_la_CPPFLAGS = -I$(top_srcdir)/@pgm_srcdir@/include/
libzmq_la_LIBADD = $(top_srcdir)/@pgm_srcdir@/libpgm_noinst.la
Steven McCoy's avatar
Steven McCoy committed
192 193
endif

Martin Sustrik's avatar
Martin Sustrik committed
194
dist-hook:
195
		-rm $(distdir)/platform.hpp
Martin Sustrik's avatar
Martin Sustrik committed
196

197 198
EXTRA_DIST = \
	libzmq.pc.cmake.in