libcruft-util/Makefile.am

147 lines
3.0 KiB
Makefile
Raw Normal View History

AUTOMAKE_OPTIONS = dist-bzip2 dist-xz foreign subdir-objects
2011-05-23 17:18:52 +10:00
ACLOCAL_AMFLAGS = -I m4
AM_CXXFLAGS = $(BOOST_CPPFLAGS) $(COMMON_CXXFLAGS)
AM_LDFLAGS = $(BOOST_LDFLAGS) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(COMMON_LDFLAGS)
2011-05-23 17:18:52 +10:00
SUBDIRS = test
UTIL_FILES = \
adler.hpp \
adler.cpp \
2011-08-29 14:36:03 +10:00
annotations.hpp \
backtrace.hpp \
bitwise.cpp \
bitwise.hpp \
bsdsum.hpp \
bsdsum.cpp \
colour.cpp \
2011-09-13 15:14:12 +10:00
colour.hpp \
crc.cpp \
crc.hpp \
debug.cpp \
2011-08-29 14:36:03 +10:00
debug.hpp \
enable_if.hpp \
endian.cpp \
2011-08-29 14:36:03 +10:00
endian.hpp \
except.cpp \
2011-08-29 14:36:03 +10:00
except.hpp \
2012-04-30 11:50:38 +10:00
exe.cpp \
exe.hpp \
extent.cpp \
2011-10-26 21:43:38 +11:00
extent.hpp \
fixed.cpp \
2011-08-29 14:36:03 +10:00
fixed.hpp \
fletcher.hpp \
float.cpp \
2011-08-29 14:36:03 +10:00
float.hpp \
2011-10-01 01:57:09 +10:00
fwd.hpp \
guid.cpp \
2011-08-29 14:37:20 +10:00
guid.hpp \
hash.cpp \
hash.hpp \
io.cpp \
2011-08-29 14:36:03 +10:00
io.hpp \
ip.cpp \
2011-08-29 14:36:03 +10:00
ip.hpp \
iterator.hpp \
json.cpp \
2011-08-29 14:36:03 +10:00
json.hpp \
lerp.cpp \
lerp.hpp \
2012-04-24 17:38:35 +10:00
log.cpp \
log.hpp \
log.ipp \
maths.cpp \
2011-08-29 14:36:03 +10:00
maths.hpp \
maths/matrix.cpp \
maths/matrix.hpp \
maths/vector.cpp \
maths/vector.hpp \
matrix.cpp \
2011-08-29 14:36:03 +10:00
matrix.hpp \
memory.cpp \
memory.hpp \
2011-08-29 14:36:03 +10:00
nocopy.hpp \
2011-11-12 20:41:46 +11:00
perlin.cpp \
perlin.hpp \
2012-04-30 11:50:07 +10:00
platform.hpp \
2011-08-29 14:36:03 +10:00
point.cpp \
point.hpp \
2011-08-29 14:36:03 +10:00
pool.cpp \
pool.hpp \
2012-05-03 18:09:06 +10:00
preprocessor.hpp \
raii.hpp \
2011-09-13 15:13:55 +10:00
random.cpp \
random.hpp \
2011-08-29 14:36:03 +10:00
range.cpp \
range.hpp \
2011-08-29 14:36:03 +10:00
region.cpp \
region.hpp \
si.cpp \
2011-08-29 14:36:03 +10:00
signal.cpp \
signal.hpp \
si.hpp \
2011-08-29 14:36:03 +10:00
stream.cpp \
stream.hpp \
2011-08-29 14:36:03 +10:00
string.cpp \
string.hpp \
2011-08-29 15:28:11 +10:00
time.cpp \
time.hpp \
2011-08-29 14:36:03 +10:00
types.cpp \
types.hpp \
vector.cpp \
vector.hpp \
version.cpp \
version.hpp
2011-05-23 17:18:52 +10:00
if HAVE_EXECINFO
UTIL_FILES += backtrace_execinfo.cpp
else
UTIL_FILES += backtrace_null.cpp
endif
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_FILES)
2011-10-07 22:19:36 +11:00
libutil_la_CXXFLAGS = $(AM_CXXFLAGS)
libutil_la_LIBADD = $(BOOST_SYSTEM_LIB) $(BOOST_SYSTEM_LIB)
2012-04-12 14:12:25 +10:00
bin_PROGRAMS = \
2012-04-12 14:14:33 +10:00
json-clean \
json-validate \
json-schema
2012-04-12 14:12:25 +10:00
json_clean_SOURCES = json/clean.cpp
json_clean_DEPENDENCIES = $(top_builddir)/libutil.la
2012-04-12 14:12:25 +10:00
json_clean_LDFLAGS = \
$(BOOST_LDFLAGS) \
$(BOOST_FILESYSTEM_LIB) \
$(BOOST_SYSTEM_LIB) \
$(top_builddir)/.libs/libutil.a
json_schema_SOURCES = json/schema.cpp
json_schema_DEPENDENCIES = $(top_builddir)/libutil.la
json_schema_LDFLAGS = \
$(BOOST_LDFLAGS) \
$(BOOST_FILESYSTEM_LIB) \
$(BOOST_SYSTEM_LIB) \
2012-04-12 14:12:25 +10:00
$(top_builddir)/.libs/libutil.a
2012-04-12 14:14:33 +10:00
json_validate_SOURCES = json/validate.cpp
json_validate_DEPENDENCIES = $(top_builddir)/libutil.la
2012-04-12 14:14:33 +10:00
json_validate_LDFLAGS = \
$(BOOST_LDFLAGS) \
$(BOOST_FILESYSTEM_LIB) \
$(BOOST_SYSTEM_LIB) \
2012-04-12 14:14:33 +10:00
$(top_builddir)/.libs/libutil.a