[perf] Remove SUBDIRS=../boilerplate and add explicit dependencies

This is quite like what I just did in test/.  We can now require an older
version of automake as we used to.
This commit is contained in:
Behdad Esfahbod 2006-10-25 15:44:03 -04:00
parent 02096f66f3
commit 838ff68cd5

View file

@ -1,6 +1,3 @@
SUBDIRS=../boilerplate
DIST_SUBDIRS =
# We're using _GNU_SOURCE to get the prototype for asprintf. This may
# not be the most portable approach, but it is pragmatic and I'm
# willing to do something cleaner as soon as it causes someone a
@ -37,5 +34,11 @@ cairo_perf_diff_SOURCES = \
LDADD = $(top_builddir)/boilerplate/libcairoboilerplate.la \
$(top_builddir)/src/libcairo.la
$(top_builddir)/boilerplate/libcairoboilerplate.la:
cd $(top_builddir)/boilerplate && $(MAKE) $(AM_MAKEFLAGS) libcairoboilerplate.la
$(top_builddir)/src/libcairo.la:
cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) libcairo.la
perf: cairo-perf
./cairo-perf