2006-08-31 07:19:05 -07:00
|
|
|
# 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
|
|
|
|
|
# problem.
|
|
|
|
|
INCLUDES = \
|
|
|
|
|
-D_GNU_SOURCE \
|
|
|
|
|
-I$(srcdir) \
|
|
|
|
|
-I$(top_srcdir)/boilerplate \
|
|
|
|
|
-I$(top_srcdir)/src \
|
2006-11-27 13:23:13 -05:00
|
|
|
-I$(top_builddir)/src \
|
2006-08-31 07:19:05 -07:00
|
|
|
$(CAIRO_CFLAGS)
|
|
|
|
|
|
2006-10-29 11:18:09 -08:00
|
|
|
noinst_PROGRAMS = cairo-perf cairo-perf-diff-files
|
|
|
|
|
EXTRA_DIST = cairo-perf-diff
|
2006-08-31 07:19:05 -07:00
|
|
|
|
2006-08-31 11:25:04 -07:00
|
|
|
cairo_perf_SOURCES = \
|
|
|
|
|
cairo-perf.c \
|
|
|
|
|
cairo-perf.h \
|
2006-10-04 15:39:05 -07:00
|
|
|
cairo-perf-cover.c \
|
2006-11-07 12:57:48 -08:00
|
|
|
cairo-stats.c \
|
|
|
|
|
cairo-stats.h \
|
2006-11-17 17:50:14 -08:00
|
|
|
box-outline.c \
|
2006-10-04 16:16:03 -07:00
|
|
|
fill.c \
|
2007-01-03 16:27:52 -08:00
|
|
|
long-lines.c \
|
2007-01-09 14:27:32 -08:00
|
|
|
mosaic.c \
|
|
|
|
|
mosaic.h \
|
2006-09-06 05:17:01 -07:00
|
|
|
paint.c \
|
2007-01-09 14:27:32 -08:00
|
|
|
pattern_create_radial.c \
|
2007-01-31 11:53:06 -08:00
|
|
|
rectangles.c \
|
2006-10-04 16:16:03 -07:00
|
|
|
stroke.c \
|
2006-10-05 12:13:48 -07:00
|
|
|
subimage_copy.c \
|
2006-10-04 18:35:16 -07:00
|
|
|
tessellate.c \
|
2007-01-09 14:27:32 -08:00
|
|
|
unaligned-clip.c \
|
2006-11-06 23:56:19 -08:00
|
|
|
text.c \
|
2006-11-08 05:45:09 -08:00
|
|
|
world-map.c \
|
|
|
|
|
world-map.h \
|
2006-11-08 05:40:17 -08:00
|
|
|
zrusin.c \
|
2007-01-09 14:27:32 -08:00
|
|
|
zrusin-another.h
|
2006-08-31 07:19:05 -07:00
|
|
|
|
2006-08-31 10:27:20 -07:00
|
|
|
if CAIRO_HAS_WIN32_SURFACE
|
2006-09-05 22:53:12 -07:00
|
|
|
cairo_perf_SOURCES += cairo-perf-win32.c
|
2006-08-31 10:27:20 -07:00
|
|
|
else
|
2006-09-05 22:53:12 -07:00
|
|
|
cairo_perf_SOURCES += cairo-perf-posix.c
|
2006-08-31 10:27:20 -07:00
|
|
|
endif
|
|
|
|
|
|
2006-10-29 11:18:09 -08:00
|
|
|
cairo_perf_diff_files_SOURCES = \
|
2006-11-07 12:57:48 -08:00
|
|
|
cairo-perf-diff-files.c \
|
|
|
|
|
cairo-stats.c \
|
|
|
|
|
cairo-stats.h
|
2006-10-18 12:14:38 -07:00
|
|
|
|
2006-08-31 07:19:05 -07:00
|
|
|
LDADD = $(top_builddir)/boilerplate/libcairoboilerplate.la \
|
|
|
|
|
$(top_builddir)/src/libcairo.la
|
|
|
|
|
|
2006-10-25 15:44:03 -04:00
|
|
|
$(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
|
|
|
|
|
|
2006-10-25 17:15:22 -07:00
|
|
|
perf: cairo-perf FORCE
|
2006-08-31 07:19:05 -07:00
|
|
|
./cairo-perf
|
2006-10-25 17:15:22 -07:00
|
|
|
|
|
|
|
|
FORCE:
|
|
|
|
|
|