Makefile.am 2.68 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
    array.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
10 11
    atomic_counter.hpp \
    atomic_ptr.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
12
    clock.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
13 14
    command.hpp \
    config.hpp \
15
    ctx.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
16 17
    decoder.hpp \
    devpoll.hpp \
18
    dist.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
19 20 21 22
    encoder.hpp \
    epoll.hpp \
    err.hpp \
    fd.hpp \
23
    fq.hpp \
24
    io_object.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
25 26
    io_thread.hpp \
    ip.hpp \
27
    ipc_address.hpp \
28 29
    ipc_connecter.hpp \
    ipc_listener.hpp \
30
    i_engine.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
31 32
    i_poll_events.hpp \
    kqueue.hpp \
33
    lb.hpp \
34
    likely.hpp \
35
    mailbox.hpp \
36
    msg.hpp \
37
    mtrie.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
38 39
    mutex.hpp \
    object.hpp \
40
    options.hpp \
41
    own.hpp \
42
    pgm_receiver.hpp \
malosek's avatar
malosek committed
43 44
    pgm_sender.hpp \
    pgm_socket.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
45 46 47
    pipe.hpp \
    platform.hpp \
    poll.hpp \
48
    poller.hpp \
49
    poller_base.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
50
    pair.hpp \
51
    pub.hpp \
52 53
    pull.hpp \
    push.hpp \
54
    random.hpp \
55
    reaper.hpp \
56 57
    rep.hpp \
    req.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
58
    select.hpp \
59
    session_base.hpp \
60
    signaler.hpp \
61
    socket_base.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
62
    stdint.hpp \
63
    stream_engine.hpp \
64
    sub.hpp \
65
    tcp_address.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
66 67 68
    tcp_connecter.hpp \
    tcp_listener.hpp \
    thread.hpp \
69
    trie.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
70 71
    windows.hpp \
    wire.hpp \
72
    xpub.hpp \
73 74
    xrep.hpp \
    xreq.hpp \
75
    xsub.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
76 77
    ypipe.hpp \
    yqueue.hpp \
Martin Sustrik's avatar
Martin Sustrik committed
78
    clock.cpp \
79
    ctx.cpp \
80
    decoder.cpp \
81
    devpoll.cpp \
82
    dist.cpp \
83
    encoder.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
84 85
    epoll.cpp \
    err.cpp \
86
    fq.cpp \
87
    io_object.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
88 89
    io_thread.cpp \
    ip.cpp \
90
    ipc_address.cpp \
91 92
    ipc_connecter.cpp \
    ipc_listener.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
93
    kqueue.cpp \
94
    lb.cpp \
95
    mailbox.cpp \
96
    msg.cpp \
97
    mtrie.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
98
    object.cpp \
99
    options.cpp \
100
    own.cpp \
101
    pair.cpp \
102
    pgm_receiver.cpp \
malosek's avatar
malosek committed
103 104
    pgm_sender.cpp \
    pgm_socket.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
105
    pipe.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
106
    poll.cpp \
107
    poller_base.cpp \
108 109
    pull.cpp \
    push.cpp \
110
    reaper.cpp \
111
    pub.cpp \
112
    random.cpp \
113 114
    rep.cpp \
    req.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
115
    select.cpp \
116
    session_base.cpp \
117
    signaler.cpp \
118
    socket_base.cpp \
119
    stream_engine.cpp \
120
    sub.cpp \
121
    tcp_address.cpp \
Martin Sustrik's avatar
Martin Sustrik committed
122 123 124
    tcp_connecter.cpp \
    tcp_listener.cpp \
    thread.cpp \
125
    trie.cpp \
126
    xpub.cpp \
127 128
    xrep.cpp \
    xreq.cpp \
129
    xsub.cpp \
130
    zmq.cpp \
131
    zmq_utils.cpp
Martin Sustrik's avatar
Martin Sustrik committed
132

Martin Lucina's avatar
Martin Lucina committed
133
if ON_MINGW
134
libzmq_la_LDFLAGS = -no-undefined -avoid-version -version-info @LTVER@ @LIBZMQ_EXTRA_LDFLAGS@
Martin Lucina's avatar
Martin Lucina committed
135
else
136
libzmq_la_LDFLAGS = -version-info @LTVER@ @LIBZMQ_EXTRA_LDFLAGS@
Martin Lucina's avatar
Martin Lucina committed
137
endif
138

139
libzmq_la_CXXFLAGS = @LIBZMQ_EXTRA_CXXFLAGS@
Martin Sustrik's avatar
Martin Sustrik committed
140

Steven McCoy's avatar
Steven McCoy committed
141
if BUILD_PGM
142 143
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
144 145
endif

Martin Sustrik's avatar
Martin Sustrik committed
146
dist-hook:
147
		-rm $(distdir)/platform.hpp
Martin Sustrik's avatar
Martin Sustrik committed
148 149