2011-05-23 17:18:52 +10:00
|
|
|
AUTOMAKE_OPTIONS = dist-bzip2 dist-xz foreign
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2011-07-05 21:37:11 +10:00
|
|
|
AM_CXXFLAGS = $(BOOST_CPPFLAGS) $(COMMON_CXXFLAGS)
|
|
|
|
AM_LDFLAGS = $(BOOST_LDFLAGS) $(BOOST_FILESYSTEM_LIB) $(COMMON_LDFLAGS)
|
2011-05-23 17:18:52 +10:00
|
|
|
|
|
|
|
SUBDIRS = test
|
|
|
|
|
|
|
|
UTIL_INCLUDE = \
|
|
|
|
annotations.hpp \
|
|
|
|
backtrace.hpp \
|
|
|
|
debug.hpp \
|
2011-07-05 22:52:32 +10:00
|
|
|
enable_if.hpp \
|
2011-05-23 17:18:52 +10:00
|
|
|
except.hpp \
|
|
|
|
float.hpp \
|
|
|
|
io.hpp \
|
2011-06-21 21:42:20 +10:00
|
|
|
ip.hpp \
|
2011-05-23 17:18:52 +10:00
|
|
|
json.hpp \
|
|
|
|
maths.hpp \
|
|
|
|
matrix.hpp \
|
|
|
|
nocopy.hpp \
|
2011-06-23 22:04:51 +10:00
|
|
|
point.hpp \
|
2011-07-01 13:46:39 +10:00
|
|
|
pool.hpp \
|
2011-05-23 17:18:52 +10:00
|
|
|
range.hpp \
|
|
|
|
region.hpp \
|
2011-06-27 15:31:41 +10:00
|
|
|
signal.hpp \
|
2011-05-23 17:18:52 +10:00
|
|
|
stream.hpp \
|
|
|
|
types.hpp \
|
|
|
|
vector.hpp \
|
|
|
|
version.hpp
|
|
|
|
|
|
|
|
UTIL_FILES = \
|
|
|
|
debug.cpp \
|
|
|
|
except.cpp \
|
|
|
|
float.cpp \
|
|
|
|
io.cpp \
|
2011-06-21 21:42:20 +10:00
|
|
|
ip.cpp \
|
2011-05-23 17:18:52 +10:00
|
|
|
json.cpp \
|
|
|
|
maths.cpp \
|
|
|
|
matrix.cpp \
|
2011-06-23 22:04:51 +10:00
|
|
|
point.cpp \
|
2011-07-01 13:46:39 +10:00
|
|
|
pool.cpp \
|
2011-05-23 17:18:52 +10:00
|
|
|
range.cpp \
|
|
|
|
region.cpp \
|
2011-06-27 15:31:41 +10:00
|
|
|
signal.cpp \
|
2011-05-23 17:18:52 +10:00
|
|
|
stream.cpp \
|
|
|
|
types.cpp \
|
|
|
|
vector.cpp \
|
|
|
|
version.cpp
|
|
|
|
|
2011-06-25 12:40:57 +10:00
|
|
|
|
|
|
|
if HAVE_EXECINFO
|
|
|
|
UTIL_FILES += backtrace_execinfo.cpp
|
2011-07-04 16:17:12 +10:00
|
|
|
else
|
|
|
|
UTIL_FILES += backtrace_null.cpp
|
2011-06-25 12:40:57 +10:00
|
|
|
endif
|
|
|
|
|
2011-06-21 21:42:20 +10:00
|
|
|
CLEANFILES = json.cpp version.cpp ip.cpp
|
|
|
|
EXTRA_DIST = json.cpp.rl version.cpp.rl ip.cpp.rl
|
2011-05-23 17:18:52 +10:00
|
|
|
|
|
|
|
RAGELFLAGS = -F1
|
|
|
|
SUFFIXES = .cpp .cpp.rl
|
|
|
|
.cpp.rl.cpp:
|
|
|
|
$(RAGEL) $(RAGELFLAGS) -C $< -o $(builddir)/$@
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libutil.la
|
|
|
|
libutil_la_SOURCES = $(UTIL_INCLUDE) $(UTIL_FILES)
|
2011-07-05 21:37:11 +10:00
|
|
|
libutil_la_CXXFLAGS = -fPIC $(AM_CXXFLAGS)
|