2011-10-18 21:45:55 +11:00
|
|
|
AUTOMAKE_OPTIONS = dist-bzip2 dist-xz foreign subdir-objects
|
2011-05-23 17:18:52 +10:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2012-04-12 14:11:43 +10:00
|
|
|
AM_CXXFLAGS = -std=c++0x $(BOOST_CPPFLAGS) $(COMMON_CXXFLAGS)
|
2011-10-07 22:19:36 +11:00
|
|
|
#AM_LDFLAGS = $(BOOST_LDFLAGS) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(COMMON_LDFLAGS)
|
2011-05-23 17:18:52 +10:00
|
|
|
|
|
|
|
SUBDIRS = test
|
|
|
|
|
2011-10-26 21:44:59 +11:00
|
|
|
UTIL_FILES = \
|
2011-11-04 16:56:25 +11:00
|
|
|
adler.hpp \
|
|
|
|
adler.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
annotations.hpp \
|
|
|
|
backtrace.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
bitwise.cpp \
|
2011-08-29 14:38:47 +10:00
|
|
|
bitwise.hpp \
|
2011-11-04 16:56:25 +11:00
|
|
|
bsdsum.hpp \
|
|
|
|
bsdsum.cpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
colour.cpp \
|
2011-09-13 15:14:12 +10:00
|
|
|
colour.hpp \
|
2011-11-04 16:56:25 +11:00
|
|
|
crc.cpp \
|
|
|
|
crc.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
debug.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
debug.hpp \
|
|
|
|
enable_if.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
endian.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
endian.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
except.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
except.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
extent.cpp \
|
2011-10-26 21:43:38 +11:00
|
|
|
extent.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
fixed.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
fixed.hpp \
|
2011-11-04 16:56:25 +11:00
|
|
|
fletcher.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
float.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
float.hpp \
|
2011-10-01 01:57:09 +10:00
|
|
|
fwd.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
guid.cpp \
|
2011-08-29 14:37:20 +10:00
|
|
|
guid.hpp \
|
2011-10-26 23:45:01 +11:00
|
|
|
hash.cpp \
|
|
|
|
hash.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
io.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
io.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
ip.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
ip.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
json.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
json.hpp \
|
2012-01-04 17:08:03 +11:00
|
|
|
lerp.cpp \
|
|
|
|
lerp.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
maths.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
maths.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
maths/matrix.cpp \
|
2011-10-18 21:45:55 +11:00
|
|
|
maths/matrix.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
maths/vector.cpp \
|
2011-10-18 21:45:55 +11:00
|
|
|
maths/vector.hpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
matrix.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
matrix.hpp \
|
|
|
|
nocopy.hpp \
|
2011-11-12 20:41:46 +11:00
|
|
|
perlin.cpp \
|
|
|
|
perlin.hpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
point.cpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
point.hpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
pool.cpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
pool.hpp \
|
2011-09-13 15:13:55 +10:00
|
|
|
random.cpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
random.hpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
range.cpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
range.hpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
region.cpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
region.hpp \
|
2011-10-18 21:45:55 +11:00
|
|
|
si.cpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
signal.cpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
signal.hpp \
|
|
|
|
si.hpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
stream.cpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
stream.hpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
string.cpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
string.hpp \
|
2011-08-29 15:28:11 +10:00
|
|
|
time.cpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
time.hpp \
|
2011-08-29 14:36:03 +10:00
|
|
|
types.cpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
types.hpp \
|
2011-10-18 21:45:55 +11:00
|
|
|
vector.cpp \
|
2011-10-26 21:44:59 +11:00
|
|
|
version.cpp \
|
|
|
|
version.hpp
|
2011-05-23 17:18:52 +10:00
|
|
|
|
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
|
2011-10-26 21:44:59 +11:00
|
|
|
libutil_la_SOURCES = $(UTIL_FILES)
|
2011-10-07 22:19:36 +11:00
|
|
|
libutil_la_CXXFLAGS = $(AM_CXXFLAGS)
|
2011-08-29 14:39:23 +10:00
|
|
|
libutil_la_LIBADD = $(BOOST_SYSTEM_LIB)
|
2012-04-12 14:12:25 +10:00
|
|
|
|
|
|
|
bin_PROGRAMS = \
|
|
|
|
json-clean
|
|
|
|
|
|
|
|
json_clean_SOURCES = json/clean.cpp
|
|
|
|
json_clean_DEPENDENCIES = $(top_builddir)/.libs/libutil.la
|
|
|
|
json_clean_LDFLAGS = \
|
|
|
|
$(BOOST_LDFLAGS) \
|
|
|
|
$(BOOST_FILESYSTEM_LIB) \
|
|
|
|
$(top_builddir)/.libs/libutil.a
|