-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile.am
59 lines (44 loc) · 1.2 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Makefile for JSL.
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign
SUBDIRS = 3rdparty .
include 3rdparty/versions.am
STOUT = 3rdparty/stout
BOOST = 3rdparty/boost-$(BOOST_VERSION)
GLOG = 3rdparty/glog-$(GLOG_VERSION)
pkginclude_HEADERS = \
include/jvm.hpp \
include/java/io.hpp \
include/java/lang.hpp \
include/java/net.hpp \
include/org/apache/log4j.hpp \
include/org/apache/zookeeper.hpp
# Library. It is not installable presently because most people link it
# statically into their own library or binary and don't need or want
# any part of our library installed (which happens even if you attempt
# to do conditional installation via configure arguments, see
# configure.ac).
noinst_LTLIBRARIES = libjsl.la
libjsl_la_SOURCES = \
src/jvm.cpp \
src/org/apache/log4j.cpp
libjsl_la_CPPFLAGS = \
-I$(srcdir)/include \
-I$(srcdir)/$(STOUT)/include \
-I$(BOOST) \
-I$(GLOG)/src \
$(JNI_CPPFLAGS) \
$(AM_CPPFLAGS)
libjsl_la_LIBADD = \
$(JNI_LDFLAGS) \
$(GLOG)/libglog.la
# Tests.
check_PROGRAMS = tests
tests_SOURCES = \
src/tests/main.cpp
tests_CPPFLAGS = \
$(libjsl_la_CPPFLAGS)
tests_LDADD = \
$(libjsl_la_LIBADD) \
libjsl.la
TESTS = tests