mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
2005-12-20 Kristian Høgsberg <krh@redhat.com> * Makefile.am: Dist and install udev rule. * collector.c: (open_fd): * sysprof-text.c: (no_module): * sysprof.c: (on_start_toggled): Update device filename. * 60-sysprof.rules: New udev rule file to set permissions for sysprof char device. * module/sysprof-module.c: Switch kernel module to use a misc char device instead. Start and stop the timer on device open and close instead of module load and unload.
75 lines
1.2 KiB
Makefile
75 lines
1.2 KiB
Makefile
SUBDIRS = $(MODULE_SUBDIR)
|
|
DIST_SUBDIRS = module
|
|
|
|
bin_PROGRAMS = sysprof sysprof-text
|
|
|
|
SYSPROF_CORE = \
|
|
binfile.h \
|
|
binfile.c \
|
|
collector.c \
|
|
collector.h \
|
|
process.h \
|
|
process.c \
|
|
profile.h \
|
|
profile.c \
|
|
sfile.h \
|
|
sfile.c \
|
|
stackstash.h \
|
|
stackstash.c \
|
|
module/sysprof-module.h \
|
|
watch.h \
|
|
watch.c
|
|
|
|
#
|
|
# GUI version
|
|
#
|
|
|
|
sysprof_SOURCES = \
|
|
$(SYSPROF_CORE) \
|
|
treeviewutils.h \
|
|
treeviewutils.c \
|
|
sysprof.c
|
|
|
|
sysprof_CPPFLAGS = \
|
|
$(GUI_DEP_CFLAGS) \
|
|
-DDATADIR=\"$(pkgdatadir)\" \
|
|
-DPIXMAPDIR=\"$(pixmapsdir)\"
|
|
|
|
sysprof_LDADD = $(GUI_DEP_LIBS)
|
|
|
|
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
|