Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 37 lines (25 sloc) 0.636 kB
acd1f90 @yrashk First simplistic prototype
yrashk authored
1 LINUX=$(shell uname | grep Linux | wc -l | xargs echo)
2
3
4 ifeq ($(LINUX),1)
5 ZMQ_FLAGS=--with-pic
6 else
7 ZMQ_FLAGS=
8 endif
9
b7a25c1 @yrashk Use scripted cloning for zerom2 so that zeromq version can be passed …
yrashk authored
10 ifeq ($(ZEROMQ_VERSION),"")
11 ZEROMQ_VERSION=master
12 endif
13
1851347 @yrashk Make perf helper build automatically, otherwise perf tests will simpl…
yrashk authored
14 all: perf
acd1f90 @yrashk First simplistic prototype
yrashk authored
15
b7a25c1 @yrashk Use scripted cloning for zerom2 so that zeromq version can be passed …
yrashk authored
16 deps/zeromq2:
17 @mkdir -p deps
18 @git clone git://github.com/zeromq/zeromq2.git deps/zeromq2
19 @cd deps/zeromq2 && git checkout $(ZEROMQ_VERSION)
20
21 deps/zeromq2/src/.libs/libzmq.a: deps/zeromq2
acd1f90 @yrashk First simplistic prototype
yrashk authored
22 @cd deps/zeromq2 && ./autogen.sh && ./configure $(ZMQ_FLAGS) && make
23
24 dependencies: deps/zeromq2/src/.libs/libzmq.a
25
26 compile: dependencies
27 @./rebar compile
920c628 @evax Fix perf tests
evax authored
28
29 perf: compile
baa8345 @yrashk Renamed ezmq to erlzmq2
yrashk authored
30 @cd perf && erlc erlzmq_perf.erl
920c628 @evax Fix perf tests
evax authored
31
ac8b77a @evax Add test suite
evax authored
32 test: compile
33 @./rebar eunit
34
ef44ade @evax Initial documentation
evax authored
35 docs:
36 @./rebar doc
Something went wrong with that request. Please try again.