-
Notifications
You must be signed in to change notification settings - Fork 334
/
Copy pathMakefile.am
39 lines (31 loc) · 1002 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
39
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
if COND_THRIFT
MAYBE_BM_RUNTIME = bm_runtime
endif
if COND_NANOMSG
MAYBE_BM_APPS = bm_apps
endif
SUBDIRS = bf_lpm_trie BMI bm_sim $(MAYBE_BM_RUNTIME) $(MAYBE_BM_APPS)
lib_LTLIBRARIES = libbmall.la
if COND_NANOMSG
lib_LTLIBRARIES += libbmp4apps.la
libbmp4apps_la_SOURCES =
# Dummy C++ source to cause C++ linking.
nodist_EXTRA_libbmp4apps_la_SOURCES = dummy.cpp
libbmp4apps_la_LIBADD = bm_apps/libbmapps.la
endif
libbmall_la_SOURCES =
# Dummy C++ source to cause C++ linking.
nodist_EXTRA_libbmall_la_SOURCES = dummy.cpp
libbmall_la_LIBADD = \
$(top_builddir)/src/bm_sim/libbmsim.la \
$(top_builddir)/src/bf_lpm_trie/libbflpmtrie.la \
$(top_builddir)/src/BMI/libbmi.la \
$(top_builddir)/third_party/jsoncpp/libjson.la
if COND_THRIFT
libbmall_la_LIBADD += \
$(top_builddir)/src/bm_runtime/libbmruntime.la \
$(top_builddir)/thrift_src/libruntimestubs.la
endif
libbmall_la_LIBADD += \
-lboost_system $(THRIFT_LIB) -lboost_program_options -lboost_filesystem