summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author11rcombs <rodger.combs@gmail.com>2014-01-25 16:46:10 -0600
committer11rcombs <rodger.combs@gmail.com>2014-01-25 17:37:51 -0600
commitfa3b6fa3ee1de42232f0513539af2464a3c9203a (patch)
treec2d8eff81d026e20317899c3191f57615082d067
parent6623a57325deddf9b596078082e5e559cfefcda2 (diff)
downloadlibass-fa3b6fa3ee1de42232f0513539af2464a3c9203a.tar.bz2
libass-fa3b6fa3ee1de42232f0513539af2464a3c9203a.tar.xz
Test/Profile: Support out-of-tree builds
-rw-r--r--profile/Makefile.am4
-rw-r--r--test/Makefile.am6
2 files changed, 5 insertions, 5 deletions
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