summaryrefslogtreecommitdiff
path: root/src/Makefile_Eina.am
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-05-05 11:35:16 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-05-08 14:13:17 +0900
commit664708b817ab0cdc7177df3743b5d9c9ab7dd2b0 (patch)
tree04becb4abc16c79b2383629df16c661b20a36407 /src/Makefile_Eina.am
parent38faeacee1a1aa10eabebb52edfaf91e2a2c158b (diff)
eina - start a much improved eina dbug infra and have eina_log use it
this makes eina_log give bt's for all error logs. this is very useful in finding just where a problem happens. the problem int he past is that these have not been too useful due to backtrace_symbols() being "useless". thus use the eina_btlog tool i added too. also started infra for a debug monitor that can use the backtrace infra to collect runtime stats ANY TIME for a process (don't need to run under a debugger). @feat
Diffstat (limited to 'src/Makefile_Eina.am')
-rw-r--r--src/Makefile_Eina.am25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/Makefile_Eina.am b/src/Makefile_Eina.am
index 3591b10..a92b758 100644
--- a/src/Makefile_Eina.am
+++ b/src/Makefile_Eina.am
@@ -101,6 +101,14 @@ lib/eina/eina_convert.c \
101lib/eina/eina_counter.c \ 101lib/eina/eina_counter.c \
102lib/eina/eina_cow.c \ 102lib/eina/eina_cow.c \
103lib/eina/eina_cpu.c \ 103lib/eina/eina_cpu.c \
104lib/eina/eina_debug.h \
105lib/eina/eina_debug.c \
106lib/eina/eina_debug_chunk.c \
107lib/eina/eina_debug_bt.c \
108lib/eina/eina_debug_bt_file.c \
109lib/eina/eina_debug_thread.c \
110lib/eina/eina_debug_monitor.c \
111lib/eina/eina_debug_proto.c \
104lib/eina/eina_error.c \ 112lib/eina/eina_error.c \
105lib/eina/eina_file_common.h \ 113lib/eina/eina_file_common.h \
106lib/eina/eina_file_common.c \ 114lib/eina/eina_file_common.c \
@@ -221,15 +229,30 @@ endif
221 229
222lib_eina_libeina_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \ 230lib_eina_libeina_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
223@EINA_CFLAGS@ \ 231@EINA_CFLAGS@ \
232@UNWIND_CFLAGS@ \
224-DPACKAGE_BIN_DIR=\"$(bindir)\" \ 233-DPACKAGE_BIN_DIR=\"$(bindir)\" \
225-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 234-DPACKAGE_LIB_DIR=\"$(libdir)\" \
226-DPACKAGE_DATA_DIR=\"$(datadir)/eina\" \ 235-DPACKAGE_DATA_DIR=\"$(datadir)/eina\" \
227@VALGRIND_CFLAGS@ 236@VALGRIND_CFLAGS@
228 237
229lib_eina_libeina_la_LIBADD = @EINA_LIBS@ @DL_LIBS@ 238lib_eina_libeina_la_LIBADD = @EINA_LIBS@ @DL_LIBS@ @UNWIND_LIBS@
230lib_eina_libeina_la_DEPENDENCIES = @EINA_INTERNAL_LIBS@ @DL_INTERNAL_LIBS@ 239lib_eina_libeina_la_DEPENDENCIES = @EINA_INTERNAL_LIBS@ @DL_INTERNAL_LIBS@
231lib_eina_libeina_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ 240lib_eina_libeina_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
232 241
242### Binaries
243
244bin_PROGRAMS += bin/eina/eina_btlog
245
246bin_eina_eina_btlog_SOURCES = bin/eina/eina_btlog.c
247bin_eina_eina_btlog_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
248-DPACKAGE_BIN_DIR=\"$(bindir)\" \
249-DPACKAGE_LIB_DIR=\"$(libdir)\" \
250-DPACKAGE_DATA_DIR=\"$(datadir)/eina\" \
251@EINA_CFLAGS@
252
253bin_eina_eina_btlog_LDADD = @USE_EINA_LIBS@
254bin_eina_eina_btlog_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
255
233### Script 256### Script
234 257
235bin_SCRIPTS += scripts/eina/eina-bench-cmp 258bin_SCRIPTS += scripts/eina/eina-bench-cmp