summaryrefslogtreecommitdiff
path: root/tiger-compiler/lib/misc/local.am
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/lib/misc/local.am')
-rw-r--r--tiger-compiler/lib/misc/local.am58
1 files changed, 58 insertions, 0 deletions
diff --git a/tiger-compiler/lib/misc/local.am b/tiger-compiler/lib/misc/local.am
new file mode 100644
index 0000000..e0e8bcb
--- /dev/null
+++ b/tiger-compiler/lib/misc/local.am
@@ -0,0 +1,58 @@
+## --------- ##
+## libmisc. ##
+## --------- ##
+
+noinst_LTLIBRARIES = %D%/libmisc.la
+%C%_libmisc_la_SOURCES = \
+ %D%/fwd.hh \
+ %D%/libmisc.hh \
+ %D%/concepts.hh \
+ %D%/algorithm.hh %D%/algorithm.hxx \
+ %D%/contract.hh %D%/contract.hxx %D%/contract.cc \
+ %D%/deref.hh %D%/deref.hxx %D%/deref.cc \
+ %D%/error.hh %D%/error.hxx %D%/error.cc \
+ %D%/escape.hh %D%/escape.hxx %D%/escape.cc \
+ %D%/file-library.hh %D%/file-library.hxx %D%/file-library.cc \
+ %D%/graph.hh %D%/graph.hxx \
+ %D%/indent.hh %D%/indent.cc \
+ %D%/map.hh %D%/map.hxx \
+ %D%/endomap.hh %D%/endomap.hxx \
+ %D%/ref.hh %D%/ref.hxx \
+ %D%/select-const.hh \
+ %D%/set.hh %D%/set.hxx \
+ %D%/separator.hh %D%/separator.hxx \
+ %D%/symbol.hh %D%/symbol.hxx %D%/symbol.cc \
+ %D%/timer.hh %D%/timer.hxx %D%/timer.cc \
+ %D%/unique.hh %D%/unique.hxx \
+ %D%/variant.hh %D%/variant.hxx %D%/vector.hh %D%/vector.hxx \
+ %D%/lambda-visitor.hh \
+ %D%/list.hh %D%/list.hxx \
+ %D%/xalloc.hh %D%/xalloc.hxx
+
+%C%_libmisc_la_SOURCES += %D%/scoped-map.hh %D%/scoped-map.hxx
+
+%C%_libmisc_la_SOURCES += %D%/singleton.hh
+
+%C%_libmisc_la_LDFLAGS = $(BOOST_SYSTEM_LDFLAGS)
+%C%_libmisc_la_LIBADD = $(BOOST_SYSTEM_LIBS)
+
+## ------- ##
+## Tests. ##
+## ------- ##
+
+check_PROGRAMS += \
+ %D%/test-deref \
+ %D%/test-error \
+ %D%/test-escape \
+ %D%/test-graph \
+ %D%/test-indent \
+ %D%/test-separator \
+ %D%/test-scoped \
+ %D%/test-symbol \
+ %D%/test-timer \
+ %D%/test-unique \
+ %D%/test-variant \
+ %D%/test-xalloc
+%C%_test_variant_CXXFLAGS = -Wno-unused
+
+LDADD = %D%/libmisc.la