From: 11rcombs Date: Sat, 25 Jan 2014 22:46:10 +0000 (-0600) Subject: Test/Profile: Support out-of-tree builds X-Git-Tag: 0.11.0~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa3b6fa3ee1de42232f0513539af2464a3c9203a;p=libass Test/Profile: Support out-of-tree builds --- diff --git a/profile/Makefile.am b/profile/Makefile.am index 598c96b..f970636 100644 --- a/profile/Makefile.am +++ b/profile/Makefile.am @@ -2,6 +2,6 @@ AM_CFLAGS = -Wall noinst_PROGRAMS = profile profile_SOURCES = profile.c -profile_CPPFLAGS = -I../libass -profile_LDADD = ../libass/.libs/libass.a +profile_CPPFLAGS = -I$(top_srcdir)/libass +profile_LDADD = $(top_builddir)/libass/.libs/libass.a profile_LDFLAGS = $(AM_LDFLAGS) -static diff --git a/test/Makefile.am b/test/Makefile.am index 208c9cf..54a179a 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -2,6 +2,6 @@ AM_CFLAGS = -Wall noinst_PROGRAMS = test test_SOURCES = test.c -test_CPPFLAGS = -I../libass -test_LDADD = ../libass/libass.la -test_LDFLAGS = $(AM_LDFLAGS) $(LIBPNG_LIBS) +test_CPPFLAGS = -I$(top_srcdir)/libass +test_LDADD = $(top_builddir)/libass/.libs/libass.a +test_LDFLAGS = $(AM_LDFLAGS) $(LIBPNG_LIBS) -static