Makefile.am 3.49 KB
Newer Older
1 2
AUTOMAKE_OPTIONS = subdir-objects

3
SUBDIRS = . io unittests tests python
4 5 6

AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += $(BOOST_INCLUDES)
7
AM_CXXFLAGS = $(KEA_CXXFLAGS)
8

9
lib_LTLIBRARIES = libkea-util.la
Tomek Mrugalski's avatar
Tomek Mrugalski committed
10
libkea_util_la_SOURCES  = boost_time_utils.h boost_time_utils.cc
11
libkea_util_la_SOURCES += buffer.h io_utilities.h
Tomek Mrugalski's avatar
Tomek Mrugalski committed
12
libkea_util_la_SOURCES += csv_file.h csv_file.cc
13
libkea_util_la_SOURCES += doubles.h
14
libkea_util_la_SOURCES += filename.h filename.cc
15
libkea_util_la_SOURCES += hash.h
16
libkea_util_la_SOURCES += labeled_value.h labeled_value.cc
17 18
libkea_util_la_SOURCES += memory_segment.h
libkea_util_la_SOURCES += memory_segment_local.h memory_segment_local.cc
19
libkea_util_la_SOURCES += multi_threading_mgr.h multi_threading_mgr.cc
20
libkea_util_la_SOURCES += optional.h
Shawn Routhier's avatar
Shawn Routhier committed
21
libkea_util_la_SOURCES += pid_file.h pid_file.cc
22
libkea_util_la_SOURCES += pointer_util.h
23
libkea_util_la_SOURCES += process_spawn.h process_spawn.cc
24
libkea_util_la_SOURCES += range_utilities.h
25
libkea_util_la_SOURCES += readwrite_mutex.h
26
libkea_util_la_SOURCES += signal_set.cc signal_set.h
27
libkea_util_la_SOURCES += staged_value.h
28
libkea_util_la_SOURCES += state_model.cc state_model.h
29 30
libkea_util_la_SOURCES += stopwatch.cc stopwatch.h
libkea_util_la_SOURCES += stopwatch_impl.cc stopwatch_impl.h
31
libkea_util_la_SOURCES += strutil.h strutil.cc
32
libkea_util_la_SOURCES += thread_pool.h
33
libkea_util_la_SOURCES += time_utilities.h time_utilities.cc
Razvan Becheriu's avatar
Razvan Becheriu committed
34
libkea_util_la_SOURCES += unlock_guard.h
35
libkea_util_la_SOURCES += versioned_csv_file.h versioned_csv_file.cc
36
libkea_util_la_SOURCES += watch_socket.cc watch_socket.h
37
libkea_util_la_SOURCES += watched_thread.cc watched_thread.h
38 39 40 41 42 43 44 45
libkea_util_la_SOURCES += encode/base16_from_binary.h
libkea_util_la_SOURCES += encode/base32hex.h encode/base64.h
libkea_util_la_SOURCES += encode/base32hex_from_binary.h
libkea_util_la_SOURCES += encode/base_n.cc encode/hex.h
libkea_util_la_SOURCES += encode/binary_from_base32hex.h
libkea_util_la_SOURCES += encode/binary_from_base16.h
libkea_util_la_SOURCES += random/qid_gen.h random/qid_gen.cc
libkea_util_la_SOURCES += random/random_number_generator.h
46

47
libkea_util_la_LIBADD = $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
48

49
libkea_util_la_LDFLAGS  = -no-undefined -version-info 14:0:0
50

51
CLEANFILES = *.gcno *.gcda
52

53
# Specify the headers for copying into the installation directory tree.
54
libkea_util_includedir = $(pkgincludedir)/util
55
libkea_util_include_HEADERS = \
56 57 58
	boost_time_utils.h \
	buffer.h \
	csv_file.h \
59
	doubles.h \
60
	filename.h \
61
	hash.h \
62
	io_utilities.h \
63 64 65
	labeled_value.h \
	memory_segment.h \
	memory_segment_local.h \
Francis Dupont's avatar
Francis Dupont committed
66
	multi_threading_mgr.h \
67
	optional.h \
68 69 70 71
	pid_file.h \
	pointer_util.h \
	process_spawn.h \
	range_utilities.h \
72
	readwrite_mutex.h \
73 74 75 76 77 78
	signal_set.h \
	staged_value.h \
	state_model.h \
	stopwatch.h \
	stopwatch_impl.h \
	strutil.h \
Francis Dupont's avatar
Francis Dupont committed
79
	thread_pool.h \
80
	time_utilities.h \
Razvan Becheriu's avatar
Razvan Becheriu committed
81
	unlock_guard.h \
82
	versioned_csv_file.h \
83 84
	watch_socket.h \
	watched_thread.h
85 86 87 88 89 90

libkea_util_encode_includedir = $(pkgincludedir)/util/encode
libkea_util_encode_include_HEADERS = \
	encode/base16_from_binary.h \
	encode/base32hex.h \
	encode/base32hex_from_binary.h \
91
	encode/base64.h \
92
	encode/binary_from_base16.h \
93
	encode/binary_from_base32hex.h \
94 95
	encode/hex.h

96 97 98 99 100
libkea_util_io_includedir = $(pkgincludedir)/util/io
libkea_util_io_include_HEADERS = \
	io/fd.h \
	io/fd_share.h \
	io/pktinfo_utilities.h \
101
	io/sockaddr_util.h
102

103 104 105 106
libkea_util_random_includedir = $(pkgincludedir)/util/random
libkea_util_random_include_HEADERS = \
	random/qid_gen.h \
	random/random_number_generator.h