Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[092ee5]: Makefile.am Maximize Restore History

Download this file

Makefile.am    97 lines (86 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
96
SUBDIRS = \
. \
m4 \
libutil \
libop \
libdb \
libutil++ \
libopt++ \
libabi \
daemon \
utils \
libregex \
libpp \
pp \
events \
doc \
gui
ACLOCAL_AMFLAGS = -I m4
# The module will not build under distcheck
DISTCHECK_CONFIGURE_FLAGS = --with-kernel-support
if !kernel_support
.PHONY: module
all-local: module
# This must use a fully-qualified SUBDIRS path, so we can't use ${top_srcdir}
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-exec-local:
-mkdir -p $(MODINSTALLDIR)/oprofile
cp module/oprofile-module.o $(MODINSTALLDIR)/oprofile/oprofile.o
if test $(KVERS) = "`uname -r`"; then depmod -a ; fi
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
endif
EXTRA_DIST = \
ChangeLog-2001 \
ChangeLog-2002 \
ChangeLog-2003 \
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