summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 0681d10fed06a37bc1d4f7f7641f3f63fe9faec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
SUBDIRS = module
DIST_SUBDIRS = module

bin_PROGRAMS = sysprof
pkgdata_DATA = sysprof.glade sysprof-icon.png

sysprof_SOURCES =	        \
	binfile.h		\
	binfile.c		\
	process.h		\
	process.c		\
	profile.h		\
	profile.c		\
	sfile.h			\
	sfile.c			\
	stackstash.h		\
	stackstash.c		\
	module/sysprof-module.h	\
	sysprof.c		\
	treeviewutils.h		\
	treeviewutils.c		\
	watch.h			\
	watch.c

sysprof_LDADD = $(DEP_LIBS)

INCLUDES = 					   \
	$(DEP_CFLAGS)				   \
	-DDATADIR=\"$(pkgdatadir)\"		   \
	-DPIXMAPDIR=\"$(datadir)/pixmaps\"

#	memprof.desktop		
#	memprof.spec.in

EXTRA_DIST =			\
	sysprof.glade	  	\
	sysprof-icon.png	\
	module/sysprof-module.c \
	module/sysprof-module.h	\
	module/Makefile

pixmapsdir = $(datadir)/pixmaps
pixmaps_DATA = sysprof-icon.png

insert-module:
	modprobe -r sysprof-module
	modprobe sysprof-module