]> granicus.if.org Git - libass/commitdiff
Test/Profile: Support out-of-tree builds
author11rcombs <rodger.combs@gmail.com>
Sat, 25 Jan 2014 22:46:10 +0000 (16:46 -0600)
committer11rcombs <rodger.combs@gmail.com>
Sat, 25 Jan 2014 23:37:51 +0000 (17:37 -0600)
profile/Makefile.am
test/Makefile.am

index 598c96ba88d7fec3c545b01dcae1b1f565651b0f..f970636a421571cddd0dc190abb3f23633437d9d 100644 (file)
@@ -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
index 208c9cf37b41bdd88900e6407e39da4a33ddb2c1..54a179ac3f7f641946cf8dbb01fec2c4d464f014 100644 (file)
@@ -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