mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 15:40:53 +00:00
Do more-or-less what the automake manual suggests about foreign
Sun May 15 10:24:09 2005 Soeren Sandmann <sandmann@redhat.com> * Makefile.am, module/Makefile: Do more-or-less what the automake manual suggests about foreign subdirectories.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
55fd84676f
commit
023c75d71a
25
Makefile.am
25
Makefile.am
@ -1,3 +1,6 @@
|
||||
SUBDIRS = module
|
||||
DIST_SUBDIRS = module
|
||||
|
||||
bin_PROGRAMS = sysprof
|
||||
pkgdata_DATA = sysprof.glade sysprof-icon.png
|
||||
|
||||
@ -12,7 +15,7 @@ sysprof_SOURCES = \
|
||||
sfile.c \
|
||||
stackstash.h \
|
||||
stackstash.c \
|
||||
sysprof-module.h \
|
||||
module/sysprof-module.h \
|
||||
sysprof.c \
|
||||
treeviewutils.h \
|
||||
treeviewutils.c \
|
||||
@ -31,20 +34,14 @@ INCLUDES = \
|
||||
|
||||
EXTRA_DIST = \
|
||||
sysprof.glade \
|
||||
sysprof-icon.png
|
||||
sysprof-icon.png \
|
||||
module/sysprof-module.c \
|
||||
module/sysprof-module.h \
|
||||
module/Makefile
|
||||
|
||||
pixmapsdir = $(datadir)/pixmaps
|
||||
pixmaps_DATA = sysprof-icon.png
|
||||
|
||||
modulesdir = /lib/modules/`uname -r`/kernel/drivers
|
||||
modules_DATA = module/sysprof-module.ko
|
||||
|
||||
CLEANFILES = \
|
||||
module/sysprof-module.mod.c \
|
||||
module/sysprof-module.mod.h \
|
||||
module/sysprof-module.mod.o \
|
||||
module/sysprof-module.o \
|
||||
module/sysprof-module.ko
|
||||
|
||||
module/sysprof-module.ko:
|
||||
(cd module && $(MAKE))
|
||||
insert-module:
|
||||
modprobe -r sysprof-module
|
||||
modprobe sysprof-module
|
||||
|
||||
Reference in New Issue
Block a user