diff options
Diffstat (limited to 'util/cairo-script/Makefile.am')
-rw-r--r-- | util/cairo-script/Makefile.am | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/util/cairo-script/Makefile.am b/util/cairo-script/Makefile.am index db5e953..d7e4427 100644 --- a/util/cairo-script/Makefile.am +++ b/util/cairo-script/Makefile.am @@ -1,7 +1,7 @@ SUBDIRS = examples lib_LTLIBRARIES = libcairo-script-interpreter.la -noinst_PROGRAMS = csi-replay csi-exec +EXTRA_PROGRAMS = csi-replay csi-exec csi-bind AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src @@ -19,13 +19,20 @@ libcairo_script_interpreter_la_SOURCES = \ $(NULL) libcairo_script_interpreter_la_CFLAGS = $(CAIRO_CFLAGS) libcairo_script_interpreter_la_LDFLAGS = -version-info $(CAIRO_LIBTOOL_VERSION_INFO) -no-undefined $(export_symbols) -libcairo_script_interpreter_la_LIBADD = $(top_builddir)/src/libcairo.la $(CAIRO_LIBS) +libcairo_script_interpreter_la_LIBADD = $(top_builddir)/src/libcairo.la $(CAIRO_LIBS) -lz csi_replay_SOURCES = csi-replay.c +csi_replay_CFLAGS = $(CAIRO_CFLAGS) csi_replay_LDADD = libcairo-script-interpreter.la $(top_builddir)/src/libcairo.la $(CAIRO_LIBS) csi_exec_SOURCES = csi-exec.c csi_exec_LDADD = libcairo-script-interpreter.la $(top_builddir)/src/libcairo.la $(CAIRO_LIBS) +if CAIRO_HAS_SCRIPT_SURFACE +EXTRA_PROGRAMS += csi-trace +csi_trace_SOURCES = csi-trace.c +csi_trace_LDADD = libcairo-script-interpreter.la $(top_builddir)/src/libcairo.la $(CAIRO_LIBS) +endif + EXTRA_DIST = \ COPYING |