Add bootstrap test.
[external/binutils.git] / gold / testsuite / Makefile.am
1 # Process this file with automake to generate Makefile.in
2
3 # As far as I can tell automake testing support assumes that the build
4 # system and the host system are the same.  So these tests will not
5 # work when building with a cross-compiler.
6
7 AUTOMAKE_OPTIONS =
8
9 AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CXXFLAGS)
10
11 INCLUDES = -D_GNU_SOURCE \
12         -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../../include \
13         -I$(srcdir)/../../elfcpp \
14         -DLOCALEDIR="\"$(datadir)/locale\"" \
15         @INCINTL@
16
17 TESTS = object_unittest
18
19 check_LIBRARIES = libgoldtest.a
20 libgoldtest_a_SOURCES = test.cc testmain.cc testfile.cc
21
22 LDADD = libgoldtest.a ../libgold.a
23
24 check_PROGRAMS = object_unittest
25
26 object_unittest_SOURCES = object_unittest.cc