[de78e3]: Makefile.am  Maximize  Restore  History

Download this file

96 lines (88 with data), 2.2 kB

 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
SUBDIRS = \
m4 \
libutil \
libop \
libutil++ \
libopt++ \
libdb \
libabi \
libregex \
daemon \
dae \
utils \
libpp \
pp \
gui \
doc \
events
ACLOCAL_AMFLAGS = -I m4
# The module will not build under distcheck
DISTCHECK_CONFIGURE_FLAGS = --with-kernel-support
all-local: kernel_module
install-exec-local: install.kernel
if kernel_support
kernel_module:
install.kernel:
else
# This must use a fully-qualified SUBDIRS path, so we can't use ${top_srcdir}
kernel_module:
make -C libutil
make -C libop
(cd $(KSRC) && $(MAKE) SUBDIRS=$(OPROFILE_DIR)/module/@OPROFILE_MODULE_ARCH@ modules) || exit 1 ;
(cd $(KSRC) && $(MAKE) SUBDIRS=$(OPROFILE_DIR)/module modules) || exit 1 ;
install.kernel: kernel_module
-mkdir -p $(MODINSTALLDIR)/oprofile
cp module/oprofile-module.o $(MODINSTALLDIR)/oprofile/oprofile.o
if test $(KVERS) = "`uname -r`"; then depmod -a ; fi
endif
clean-local:
rm -f module/*.o module/@OPROFILE_MODULE_ARCH@/*.o \
module/.*.o.cmd module/.*.o.flags \
module/@OPROFILE_MODULE_ARCH@/.*.o.cmd module/@OPROFILE_MODULE_ARCH@/.*.o.flags
EXTRA_DIST = \
ChangeLog-2001 \
ChangeLog-2002 \
autogen.sh \
include/sstream \
module/Makefile.in \
module/compat.c \
module/op_dname.c \
module/op_init.c \
module/oprofile.c \
module/op_util.c \
module/compat22.h \
module/compat24.h \
module/compat.h \
module/op_cache.h \
module/op_dcache.h \
module/oprofile.h \
module/op_util.h \
module/ia64/Makefile.in \
module/ia64/oprofile_stubs.S \
module/ia64/cpu_type.c \
module/ia64/op_pmu.c \
module/ia64/op_syscalls.c \
module/ia64/IA64entry.h \
module/ia64/IA64minstate.h \
module/ia64/IA64syscallstub.h \
module/ia64/op_ia64_model.h \
module/x86/Makefile.in \
module/x86/hammer_entry.S \
module/x86/hammer_ia32entry.S \
module/x86/hammer_oprofile_nmi.S \
module/x86/oprofile_nmi.S \
module/x86/apic_compat.h \
module/x86/op_apic.h \
module/x86/op_arch.h \
module/x86/op_x86_model.h \
module/x86/op_msr.h \
module/x86/cpu_type.c \
module/x86/hammer_op_syscalls.c \
module/x86/op_apic.c \
module/x86/op_fixmap.c \
module/x86/op_model_athlon.c \
module/x86/op_model_p4.c \
module/x86/op_model_ppro.c \
module/x86/op_nmi.c \
module/x86/op_rtc.c \
module/x86/op_syscalls.c