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

3
SUBDIRS = . io unittests tests python threads
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 += optional.h
Shawn Routhier's avatar
Shawn Routhier committed
20
libkea_util_la_SOURCES += pid_file.h pid_file.cc
21
libkea_util_la_SOURCES += pointer_util.h
22
libkea_util_la_SOURCES += process_spawn.h process_spawn.cc
23
libkea_util_la_SOURCES += range_utilities.h
24
libkea_util_la_SOURCES += signal_set.cc signal_set.h
25
libkea_util_la_SOURCES += staged_value.h
26
libkea_util_la_SOURCES += state_model.cc state_model.h
27 28
libkea_util_la_SOURCES += stopwatch.cc stopwatch.h
libkea_util_la_SOURCES += stopwatch_impl.cc stopwatch_impl.h
29 30
libkea_util_la_SOURCES += strutil.h strutil.cc
libkea_util_la_SOURCES += time_utilities.h time_utilities.cc
31
libkea_util_la_SOURCES += versioned_csv_file.h versioned_csv_file.cc
32
libkea_util_la_SOURCES += watch_socket.cc watch_socket.h
33
libkea_util_la_SOURCES += watched_thread.cc watched_thread.h
34 35 36 37 38 39 40 41
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
42

43
libkea_util_la_LIBADD = $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
44

45
libkea_util_la_LDFLAGS  = -no-undefined -version-info 8:0:0
46

47
CLEANFILES = *.gcno *.gcda
48

49
# Specify the headers for copying into the installation directory tree.
50
libkea_util_includedir = $(pkgincludedir)/util
51
libkea_util_include_HEADERS = \
52 53 54
	boost_time_utils.h \
	buffer.h \
	csv_file.h \
55
	doubles.h \
56
	filename.h \
57
	hash.h \
58
	io_utilities.h \
59 60 61
	labeled_value.h \
	memory_segment.h \
	memory_segment_local.h \
62
	optional.h \
63 64 65 66 67 68 69 70 71 72 73 74
	pid_file.h \
	pointer_util.h \
	process_spawn.h \
	range_utilities.h \
	signal_set.h \
	staged_value.h \
	state_model.h \
	stopwatch.h \
	stopwatch_impl.h \
	strutil.h \
	time_utilities.h \
	versioned_csv_file.h \
75 76
	watch_socket.h \
	watched_thread.h
77 78 79 80 81 82

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 \
83
	encode/base64.h \
84
	encode/binary_from_base16.h \
85
	encode/binary_from_base32hex.h \
86 87
	encode/hex.h

88 89 90 91 92
libkea_util_io_includedir = $(pkgincludedir)/util/io
libkea_util_io_include_HEADERS = \
	io/fd.h \
	io/fd_share.h \
	io/pktinfo_utilities.h \
93
	io/sockaddr_util.h
94

95 96 97 98
libkea_util_random_includedir = $(pkgincludedir)/util/random
libkea_util_random_include_HEADERS = \
	random/qid_gen.h \
	random/random_number_generator.h
99 100 101 102

libkea_util_threads_includedir = $(pkgincludedir)/util/threads
libkea_util_threads_include_HEADERS = \
	threads/sync.h \
103
	threads/thread.h