summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 1daee23becc681163e957ec76f739cecd1a15a65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
pkgconfigdir = $(libdir)/pkgconfig

if BUILD_LIBZMQ
lib_LTLIBRARIES = libxs.la libzmq.la

pkgconfig_DATA = libxs.pc libzmq.pc

include_HEADERS = ../include/zmq.h ../include/zmq_utils.h
else
lib_LTLIBRARIES = libxs.la

pkgconfig_DATA = libxs.pc
endif

xsincludedir = $(includedir)/xs
xsinclude_HEADERS = ../include/xs/xs.h

libxs_la_SOURCES = \
    address.hpp \
    array.hpp \
    atomic_counter.hpp \
    atomic_ptr.hpp \
    blob.hpp \
    clock.hpp \
    command.hpp \
    config.hpp \
    core.hpp \
    ctx.hpp \
    decoder.hpp \
    devpoll.hpp \
    dist.hpp \
    encoder.hpp \
    epoll.hpp \
    err.hpp \
    fd.hpp \
    fq.hpp \
    io_object.hpp \
    io_thread.hpp \
    ip.hpp \
    ipc_connecter.hpp \
    ipc_listener.hpp \
    i_engine.hpp \
    kqueue.hpp \
    lb.hpp \
    likely.hpp \
    mailbox.hpp \
    msg.hpp \
    mutex.hpp \
    object.hpp \
    options.hpp \
    own.hpp \
    pgm_receiver.hpp \
    pgm_sender.hpp \
    pgm_socket.hpp \
    pipe.hpp \
    platform.hpp \
    poll.hpp \
    polling.hpp \
    pair.hpp \
    prefix_filter.hpp \
    pub.hpp \
    pull.hpp \
    push.hpp \
    random.hpp \
    reaper.hpp \
    rep.hpp \
    req.hpp \
    respondent.hpp \
    select.hpp \
    session_base.hpp \
    signaler.hpp \
    socket_base.hpp \
    stdint.hpp \
    stream_engine.hpp \
    sub.hpp \
    surveyor.hpp \
    tcp_connecter.hpp \
    tcp_listener.hpp \
    thread.hpp \
    topic_filter.hpp \
    upoll.hpp \
    windows.hpp \
    wire.hpp \
    xpub.hpp \
    xrep.hpp \
    xreq.hpp \
    xrespondent.hpp \
    xsub.hpp \
    xsurveyor.hpp \
    ypipe.hpp \
    yqueue.hpp \
    address.cpp \
    clock.cpp \
    core.cpp \
    ctx.cpp \
    decoder.cpp \
    devpoll.cpp \
    dist.cpp \
    encoder.cpp \
    epoll.cpp \
    err.cpp \
    fq.cpp \
    io_object.cpp \
    io_thread.cpp \
    ip.cpp \
    ipc_connecter.cpp \
    ipc_listener.cpp \
    kqueue.cpp \
    lb.cpp \
    mailbox.cpp \
    msg.cpp \
    object.cpp \
    options.cpp \
    own.cpp \
    pair.cpp \
    pgm_receiver.cpp \
    pgm_sender.cpp \
    pgm_socket.cpp \
    pipe.cpp \
    poll.cpp \
    prefix_filter.cpp \
    pull.cpp \
    push.cpp \
    reaper.cpp \
    pub.cpp \
    random.cpp \
    rep.cpp \
    req.cpp \
    respondent.cpp \
    select.cpp \
    session_base.cpp \
    signaler.cpp \
    socket_base.cpp \
    stream_engine.cpp \
    sub.cpp \
    surveyor.cpp \
    tcp_connecter.cpp \
    tcp_listener.cpp \
    thread.cpp \
    topic_filter.cpp \
    upoll.cpp \
    xpub.cpp \
    xrep.cpp \
    xreq.cpp \
    xrespondent.cpp \
    xsub.cpp \
    xsurveyor.cpp \
    xs.cpp

if ON_MINGW
libxs_la_LDFLAGS = -no-undefined -avoid-version -version-info @LIBXS_ABI_VERSION@ @LIBXS_EXTRA_LDFLAGS@
else
libxs_la_LDFLAGS = -version-info @LIBXS_ABI_VERSION@ @LIBXS_EXTRA_LDFLAGS@
endif

libxs_la_CPPFLAGS = -DXS_LIBDIR_PATH='"$(libdir)"'
libxs_la_CXXFLAGS = @LIBXS_EXTRA_CXXFLAGS@

if BUILD_PGM
libxs_la_CPPFLAGS += -I$(top_srcdir)/@pgm_srcdir@/include/
libxs_la_LIBADD = $(top_srcdir)/@pgm_srcdir@/libpgm_noinst.la
endif

if BUILD_LIBZMQ
libzmq_la_SOURCES = xszmq.cpp
libzmq_la_CPPFLAGS = -DXS_BUILDING_LIBXSZMQ
libzmq_la_LIBADD = libxs.la

if ON_MINGW
libzmq_la_LDFLAGS = -no-undefined -avoid-version -version-info @LIBZMQ_ABI_VERSION@
else
libzmq_la_LDFLAGS = -version-info @LIBZMQ_ABI_VERSION@
endif
endif

dist-hook:
		-rm $(distdir)/platform.hpp