1 # Process this file with automake to generate Makefile.in
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.
9 AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CXXFLAGS)
11 INCLUDES = -D_GNU_SOURCE \
12 -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../../include \
13 -I$(srcdir)/../../elfcpp \
14 -DLOCALEDIR="\"$(datadir)/locale\"" \
17 TESTS = object_unittest
19 check_LIBRARIES = libgoldtest.a
20 libgoldtest_a_SOURCES = test.cc testmain.cc testfile.cc
22 LDADD = libgoldtest.a ../libgold.a
24 check_PROGRAMS = object_unittest
26 object_unittest_SOURCES = object_unittest.cc