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

Martin Lucina's avatar
Martin Lucina committed
138
if ON_MINGW
139
libzmq_la_LDFLAGS = -no-undefined -avoid-version -version-info @LTVER@ @LIBZMQ_EXTRA_LDFLAGS@
Martin Lucina's avatar
Martin Lucina committed
140
else
141
libzmq_la_LDFLAGS = -version-info @LTVER@ @LIBZMQ_EXTRA_LDFLAGS@
Martin Lucina's avatar
Martin Lucina committed
142
endif
143

144
libzmq_la_CXXFLAGS = @LIBZMQ_EXTRA_CXXFLAGS@
Martin Sustrik's avatar
Martin Sustrik committed
145

Steven McCoy's avatar
Steven McCoy committed
146
if BUILD_PGM
147 148
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
149 150
endif

Martin Sustrik's avatar
Martin Sustrik committed
151
dist-hook:
152
		-rm $(distdir)/platform.hpp
Martin Sustrik's avatar
Martin Sustrik committed
153 154