Files
sysprof/Makefile.am
Soren Sandmann a1bddd8d9f Pass map->bin_file to bin_symbol_get_name.
2006-08-21  Soren Sandmann <sandmann@redhat.com>

	* process.c (process_lookup_symbol): Pass map->bin_file to
	bin_symbol_get_name.

	* binfile.h (bin_symbol_get_name): Add BinFile parameter

	* elfparser.c (elf_demangle): Use options DMGL_PARAMS | DMGL_ANSI

	* TODO: Updates

	* binfile.c: Rewrite this file to use ElfParser instead of libbfd.

	* configure.ac: Drop dependencies on libbfd and libiberty.
2006-08-21 06:00:57 +00:00

95 lines
1.5 KiB
Makefile

SUBDIRS = $(MODULE_SUBDIR)
DIST_SUBDIRS = module
bin_PROGRAMS = sysprof-text
noinst_PROGRAMS = testelf
testelf_SOURCES = testelf.c demangle.c elfparser.c elfparser.h binparser.c binparser.h
testelf_CPPFLAGS = \
$(CORE_DEP_CFLAGS)
testelf_LDADD = $(CORE_DEP_LIBS)
if BUILD_GUI
bin_PROGRAMS += sysprof
endif
SYSPROF_CORE = \
binfile.h \
binfile.c \
binparser.h \
binparser.c \
collector.c \
collector.h \
demangle.c \
elfparser.c \
elfparser.h \
process.h \
process.c \
profile.h \
profile.c \
sfile.h \
sfile.c \
sformat.h \
sformat.c \
stackstash.h \
stackstash.c \
module/sysprof-module.h \
watch.h \
watch.c
#
# GUI version
#
if BUILD_GUI
sysprof_SOURCES = \
$(SYSPROF_CORE) \
treeviewutils.h \
treeviewutils.c \
sysprof.c
sysprof_CPPFLAGS = \
$(GUI_DEP_CFLAGS) \
-DDATADIR=\"$(pkgdatadir)\" \
-DPIXMAPDIR=\"$(pixmapsdir)\"
sysprof_LDADD = $(GUI_DEP_LIBS)
endif
udevdir = $(sysconfdir)/udev/rules.d
dist_udev_DATA = 60-sysprof.rules
pixmapsdir = $(datadir)/pixmaps
dist_pkgdata_DATA = sysprof.glade
dist_pixmaps_DATA = sysprof-icon.png
#
# Command line version
#
sysprof_text_SOURCES = \
$(SYSPROF_CORE) \
signal-handler.h \
signal-handler.c \
sysprof-text.c
sysprof_text_CPPFLAGS = \
$(CORE_DEP_CFLAGS)
sysprof_text_LDADD = $(CORE_DEP_LIBS)
#
# Module stuff
#
EXTRA_DIST = \
module/sysprof-module.c \
module/sysprof-module.h \
module/Makefile
insert-module:
modprobe -r sysprof-module
modprobe sysprof-module