summaryrefslogtreecommitdiff
path: root/tiger-compiler/lib/misc/local.am
blob: e0e8bcba6d16f7738759feecfd2aeeeee667d6b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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