summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: a9ee4b284035ca6c45a7668925b34f8dbb6170cf (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_SUBDIR)
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:
	/sbin/modprobe -r sysprof-module
	/sbin/modprobe sysprof-module