1 #### ATTENTION #### 2 # The agents directory must be kept as the last subdir 3 SUBDIRS = \ 4 . \ 5 m4 \ 6 libutil \ 7 libop \ 8 libopagent \ 9 libdb \ 10 libutil++ \ 11 libopt++ \ 12 libabi \ 13 daemon \ 14 utils \ 15 libregex \ 16 libpp \ 17 opjitconv \ 18 pp \ 19 events \ 20 doc \ 21 gui \ 22 agents 23 #### ATTENTION #### 24 # The agents directory must be kept as the last subdir 25 26 27 28 ACLOCAL_AMFLAGS = -I m4 29 30 # The module will not build under distcheck 31 DISTCHECK_CONFIGURE_FLAGS = --with-kernel-support 32 33 if !kernel_support 34 35 .PHONY: module 36 37 all-local: module 38 39 # This must use a fully-qualified SUBDIRS path, so we can't use ${top_srcdir} 40 module: 41 make -C libutil 42 make -C libop 43 (cd $(KSRC) && $(MAKE) SUBDIRS=$(OPROFILE_DIR)/module/@OPROFILE_MODULE_ARCH@ modules) || exit 1 ; 44 (cd $(KSRC) && $(MAKE) SUBDIRS=$(OPROFILE_DIR)/module modules) || exit 1 ; 45 46 install-exec-local: 47 -mkdir -p $(MODINSTALLDIR)/oprofile 48 cp module/oprofile-module.o $(MODINSTALLDIR)/oprofile/oprofile.o 49 if test $(KVERS) = "`uname -r`"; then depmod -a ; fi 50 51 clean-local: 52 rm -f module/*.o module/@OPROFILE_MODULE_ARCH@/*.o \ 53 module/.*.o.cmd module/.*.o.flags \ 54 module/@OPROFILE_MODULE_ARCH@/.*.o.cmd module/@OPROFILE_MODULE_ARCH@/.*.o.flags 55 56 endif 57 58 EXTRA_DIST = \ 59 ChangeLog-2001 \ 60 ChangeLog-2002 \ 61 ChangeLog-2003 \ 62 ChangeLog-2004 \ 63 ChangeLog-2005 \ 64 ChangeLog-2006 \ 65 ChangeLog-2007 \ 66 ChangeLog-2008 \ 67 autogen.sh \ 68 README_PACKAGERS \ 69 include/sstream \ 70 module/Makefile.in \ 71 module/compat.c \ 72 module/op_dname.c \ 73 module/op_init.c \ 74 module/oprofile.c \ 75 module/op_util.c \ 76 module/compat22.h \ 77 module/compat24.h \ 78 module/compat.h \ 79 module/op_cache.h \ 80 module/op_dcache.h \ 81 module/oprofile.h \ 82 module/op_util.h \ 83 module/ia64/Makefile.in \ 84 module/ia64/oprofile_stubs.S \ 85 module/ia64/cpu_type.c \ 86 module/ia64/op_pmu.c \ 87 module/ia64/op_syscalls.c \ 88 module/ia64/IA64entry.h \ 89 module/ia64/IA64minstate.h \ 90 module/ia64/IA64syscallstub.h \ 91 module/ia64/op_ia64_model.h \ 92 module/x86/Makefile.in \ 93 module/x86/oprofile_nmi.S \ 94 module/x86/apic_compat.h \ 95 module/x86/op_apic.h \ 96 module/x86/op_arch.h \ 97 module/x86/op_x86_model.h \ 98 module/x86/op_msr.h \ 99 module/x86/cpu_type.c \ 100 module/x86/op_apic.c \ 101 module/x86/op_fixmap.c \ 102 module/x86/op_model_athlon.c \ 103 module/x86/op_model_p4.c \ 104 module/x86/op_model_ppro.c \ 105 module/x86/op_nmi.c \ 106 module/x86/op_rtc.c \ 107 module/x86/op_syscalls.c 108