| 1 | AM_CFLAGS = $(GLIB_CFLAGS) |
| 2 | LIBS += $(POPT_LIBS) $(GLIB_LIBS) -lgobject-2.0 -L$(top_srcdir)/ltt -ltraceread |
| 3 | |
| 4 | bin_PROGRAMS = lttv |
| 5 | |
| 6 | INCLUDES = \ |
| 7 | -DPACKAGE_PLUGIN_DIR=\""$(lttvplugindir)"\" \ |
| 8 | @PACKAGE_CFLAGS@ \ |
| 9 | $(DEFAULT_INCLUDES) |
| 10 | |
| 11 | libdir = ${lttvplugindir} |
| 12 | |
| 13 | lttvinclude_HEADERS = \ |
| 14 | attribute.h\ |
| 15 | hook.h\ |
| 16 | iattribute.h\ |
| 17 | lttv.h\ |
| 18 | module.h\ |
| 19 | option.h\ |
| 20 | state.h\ |
| 21 | stats.h\ |
| 22 | tracecontext.h\ |
| 23 | traceset.h\ |
| 24 | filter.h |
| 25 | |
| 26 | #noinst_HEADERS = \ |
| 27 | # filter.h |
| 28 | |
| 29 | lttv_SOURCES = batchtest.c main.c module.c option.c \ |
| 30 | hook.c attribute.c \ |
| 31 | iattribute.c state.c stats.c \ |
| 32 | tracecontext.c traceset.c filter.c |
| 33 | |
| 34 | if LTTVSTATIC |
| 35 | lttv_LDFLAGS = -profile -static |
| 36 | endif |