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

Close

[af7e83]: Makefile.am Maximize Restore History

Download this file

Makefile.am    115 lines (102 with data), 3.0 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
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
SUBDIRS = \
. \
m4 \
libutil \
libop \
libopagent \
libdb \
libutil++ \
libopt++ \
libabi \
daemon \
utils \
libregex \
libpp \
opjitconv \
pp \
events \
doc \
gui \
agents
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
@getent group oprofile >/dev/null || (echo "Error: The special group 'oprofile' does not exist" && exit 1) ;
@getent passwd oprofile >/dev/null || (echo "Error: The special user 'oprofile' does not exist" && exit 1) ;
@if test `id -gn oprofile 2>/dev/null` != "oprofile"; then \
echo "Error: The special user 'oprofile' does not belong to the special group 'oprofile'."; \
exit 1; \
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
else
install-exec-local:
@getent group oprofile >/dev/null || (echo "Error: The special group 'oprofile' does not exist" && exit 1) ;
@getent passwd oprofile >/dev/null || (echo "Error: The special user 'oprofile' does not exist" && exit 1) ;
@if test `id -gn oprofile 2>/dev/null` != "oprofile"; then \
echo "Error: The special user 'oprofile' does not belong to the special group 'oprofile'."; \
exit 1; \
fi
endif
EXTRA_DIST = \
ChangeLog-2001 \
ChangeLog-2002 \
ChangeLog-2003 \
ChangeLog-2004 \
ChangeLog-2005 \
ChangeLog-2006 \
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/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/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