-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
39 lines (30 loc) · 825 Bytes
/
Makefile.am
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
AM_CPPFLAGS = -std=c++11 $(PTHREAD_CFLAGS) \
-I$(top_srcdir)/vendor/liquibook/src
sbin_PROGRAMS = obsrv obdb
noinst_LIBRARIES = libobcommon.a
libobcommon_a_SOURCES = \
Util.h Util.cc
obsrv_SOURCES = \
srvapi.h srvapi.cc \
srv.h obsrv.cc \
Market.h Market.cc \
OrderFwd.h Order.h Order.cc \
HttpUtil.h HttpUtil.cc
obsrv_LDFLAGS = $(PTHREAD_CFLAGS) $(OPENSSL_LDFLAGS)
obsrv_LDADD = \
libobcommon.a \
$(PTHREAD_LIBS) \
-levhtp \
-lonig \
-lunivalue \
-levent_core -levent_openssl \
$(OPENSSL_LIBS) $(ARGP_LIB) $(UUID_LIB) $(ROCKS_LIB)
obdb_SOURCES = obdb.cc
obdb_LDFLAGS = $(PTHREAD_CFLAGS) $(OPENSSL_LDFLAGS)
obdb_LDADD = \
libobcommon.a \
$(PTHREAD_LIBS) \
-lunivalue \
$(OPENSSL_LIBS) $(ARGP_LIB) $(UUID_LIB) $(ROCKS_LIB)
EXTRA_DIST = obsrv-tests.sh test-config-obsrv.json
TESTS = obsrv-tests.sh