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)
|
2011-08-29 14:39:23 +10:00
|
|
|
AM_LDFLAGS = $(BOOST_LDFLAGS) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(COMMON_LDFLAGS)
|
2011-05-23 17:18:52 +10:00
|
|
|
|
|
|
|
SUBDIRS = test
|
|
|
|
|
|
|
|
UTIL_INCLUDE = \
|
2011-08-29 14:36:03 +10:00
|
|
|
annotations.hpp \
|
|
|
|
backtrace.hpp \
|
2011-08-29 14:38:47 +10:00
|
|
|
bitwise.hpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
debug.hpp \
|
|
|
|
enable_if.hpp \
|
|
|
|
endian.hpp \
|
|
|
|
except.hpp \
|
|
|
|
fixed.hpp \
|
|
|
|
float.hpp \
|
2011-08-29 14:37:20 +10:00
|
|
|
guid.hpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
io.hpp \
|
|
|
|
ip.hpp \
|
|
|
|
json.hpp \
|
|
|
|
maths.hpp \
|
|
|
|
matrix.hpp \
|
|
|
|
nocopy.hpp \
|
|
|
|
point.hpp \
|
|
|
|
pool.hpp \
|
|
|
|
range.hpp \
|
|
|
|
region.hpp \
|
|
|
|
signal.hpp \
|
|
|
|
stream.hpp \
|
|
|
|
string.hpp \
|
2011-08-29 14:37:47 +10:00
|
|
|
si.hpp \
|
2011-08-29 15:28:11 +10:00
|
|
|
time.hpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
types.hpp \
|
|
|
|
vector.hpp \
|
2011-05-23 17:18:52 +10:00
|
|
|
version.hpp
|
|
|
|
|
2011-08-29 14:36:03 +10:00
|
|
|
UTIL_FILES = \
|
2011-08-29 14:38:47 +10:00
|
|
|
bitwise.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
debug.cpp \
|
|
|
|
endian.cpp \
|
|
|
|
except.cpp \
|
|
|
|
fixed.cpp \
|
|
|
|
float.cpp \
|
2011-08-29 14:37:20 +10:00
|
|
|
guid.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
io.cpp \
|
|
|
|
ip.cpp \
|
|
|
|
json.cpp \
|
|
|
|
maths.cpp \
|
|
|
|
matrix.cpp \
|
|
|
|
point.cpp \
|
|
|
|
pool.cpp \
|
|
|
|
range.cpp \
|
|
|
|
region.cpp \
|
|
|
|
signal.cpp \
|
|
|
|
stream.cpp \
|
|
|
|
string.cpp \
|
2011-08-29 14:37:47 +10:00
|
|
|
si.cpp \
|
2011-08-29 15:28:11 +10:00
|
|
|
time.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
types.cpp \
|
|
|
|
vector.cpp \
|
2011-05-23 17:18:52 +10:00
|
|
|
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-08-29 14:40:05 +10:00
|
|
|
libutil_la_CXXFLAGS = -fPIC $(AM_CXXFLAGS) -lrt
|
2011-08-29 14:39:23 +10:00
|
|
|
libutil_la_LIBADD = $(BOOST_SYSTEM_LIB)
|