From 81e897021846fdbd783ea7f94a4850e4cb92cd09 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 25 Oct 2013 16:01:54 -0700 Subject: Fix out-of-tree build. --- tests/Makefile.am | 2 +- tests/int-set/Makefile.am | 2 +- tests/set/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index f280ee3..13ba89f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -21,7 +21,7 @@ SUBDIRS = set int-set -AM_CFLAGS = $(WARN_CFLAGS) -I.. +AM_CFLAGS = $(WARN_CFLAGS) -I$(top_srcdir) LDADD = ../libhash_table.la TESTS = \ diff --git a/tests/int-set/Makefile.am b/tests/int-set/Makefile.am index 23c1e5b..03aa2d9 100644 --- a/tests/int-set/Makefile.am +++ b/tests/int-set/Makefile.am @@ -19,7 +19,7 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. -AM_CFLAGS = $(WARN_CFLAGS) -I../.. +AM_CFLAGS = $(WARN_CFLAGS) -I$(top_srcdir) LDADD = ../../libint-set.la TESTS = \ diff --git a/tests/set/Makefile.am b/tests/set/Makefile.am index 9ae7edc..f29605a 100644 --- a/tests/set/Makefile.am +++ b/tests/set/Makefile.am @@ -19,7 +19,7 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. -AM_CFLAGS = $(WARN_CFLAGS) -I../.. +AM_CFLAGS = $(WARN_CFLAGS) -I$(srcdir)/../.. LDADD = ../../libset.la TESTS = \ -- cgit v1.2.3