1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- SUBDIRS = . io unittests tests pyunittests python threads
- AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
- AM_CPPFLAGS += -I$(top_srcdir)/src/lib/util -I$(top_builddir)/src/lib/util
- AM_CPPFLAGS += -I$(top_srcdir)/src/lib/exceptions -I$(top_builddir)/src/lib/exceptions
- AM_CPPFLAGS += $(BOOST_INCLUDES)
- AM_CXXFLAGS = $(B10_CXXFLAGS)
- # If we use the shared-memory support, corresponding Boost library may
- # cause build failures especially if it's strict about warnings. We've
- # detected it in ./configure and set BOOST_MAPPED_FILE_CXXFLAG to be more
- # lenient as necessary (specifically, when set it'd usually suppress -Werror).
- # This is a module wide setting, and has a possible bad side effect of hiding
- # issues in other files, but making it per-file seems to be too costly.
- # So we begin with the wider setting. If the side effect turns out to be too
- # harmful, we'll consider other measure, e.g, moving the related files into
- # a subdirectory.
- if USE_SHARED_MEMORY
- AM_CXXFLAGS += $(BOOST_MAPPED_FILE_CXXFLAG)
- endif
- lib_LTLIBRARIES = libkea-util.la
- libkea_util_la_SOURCES = csv_file.h csv_file.cc
- libkea_util_la_SOURCES += filename.h filename.cc
- libkea_util_la_SOURCES += locks.h lru_list.h
- libkea_util_la_SOURCES += strutil.h strutil.cc
- libkea_util_la_SOURCES += buffer.h io_utilities.h
- libkea_util_la_SOURCES += time_utilities.h time_utilities.cc
- libkea_util_la_SOURCES += memory_segment.h
- libkea_util_la_SOURCES += memory_segment_local.h memory_segment_local.cc
- if USE_SHARED_MEMORY
- libkea_util_la_SOURCES += memory_segment_mapped.h memory_segment_mapped.cc
- endif
- libkea_util_la_SOURCES += range_utilities.h
- libkea_util_la_SOURCES += signal_set.cc signal_set.h
- libkea_util_la_SOURCES += hash/sha1.h hash/sha1.cc
- 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
- EXTRA_DIST = python/pycppwrapper_util.h
- libkea_util_la_LIBADD = $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
- CLEANFILES = *.gcno *.gcda
- libkea_util_includedir = $(includedir)/$(PACKAGE_NAME)/util
- libkea_util_include_HEADERS = buffer.h io_utilities.h
|