INCLUDES = -I. -I$(top_srcdir)/google-breakpad/src -DNDEBUG -D_REENTRANT $(GNOME_BREAKPAD_CFLAGS)
if USE_GOOGLE_BREAKPAD
if BREAKPAD_SOLARIS
dir = solaris
GOOGLE_BREAKPAD_CC_EXTRA = \
$(top_srcdir)/google-breakpad/src/client/solaris/handler/solaris_lwp.cc
endif
if BREAKPAD_LINUX
dir = linux
GOOGLE_BREAKPAD_CC_EXTRA = \
$(top_srcdir)/google-breakpad/src/client/linux/handler/linux_thread.cc \
$(top_srcdir)/google-breakpad/src/common/linux/md5.c
endif
GOOGLE_BREAKPAD_CC = \
$(top_srcdir)/google-breakpad/src/client/$(dir)/handler/exception_handler.cc \
$(top_srcdir)/google-breakpad/src/client/$(dir)/handler/minidump_generator.cc \
$(top_srcdir)/google-breakpad/src/common/$(dir)/file_id.cc \
$(top_srcdir)/google-breakpad/src/common/$(dir)/guid_creator.cc \
$(top_srcdir)/google-breakpad/src/client/minidump_file_writer.cc \
$(top_srcdir)/google-breakpad/src/common/string_conversion.cc \
$(top_srcdir)/google-breakpad/src/common/convert_UTF.c \
$(GOOGLE_BREAKPAD_CC_EXTRA)
GOOGLE_BREAKPAD_LIBS = $(top_builddir)/google-breakpad/src/libbreakpad.la -lpthread
endif
module_LTLIBRARIES = libgnomebreakpad.la
moduledir = $(libdir)/gtk-2.0/modules
libgnomebreakpad_la_SOURCES = gnome-breakpad.cc $(GOOGLE_BREAKPAD_CC)
libgnomebreakpad_la_LIBADD = $(GOOGLE_BREAKPAD_LIBS) $(GNOME_BREAKPAD_LIBS)
libgnomebreakpad_la_LDFLAGS = -rpath $(moduledir) -module -avoid-version @LDFLAGS@
syntax highlighted by Code2HTML, v. 0.9.1