blob: 475c4d36d06ed4536ef07cb87868b03d83969cd4 [file] [log] [blame]
Mike Dodd8cfa7022010-11-17 11:12:26 -08001event_files = \
2 alpha/ev4/events alpha/ev4/unit_masks \
3 alpha/ev5/events alpha/ev5/unit_masks \
4 alpha/ev67/events alpha/ev67/unit_masks \
5 alpha/ev6/events alpha/ev6/unit_masks \
6 alpha/pca56/events alpha/pca56/unit_masks \
7 i386/athlon/events i386/athlon/unit_masks \
8 i386/core_2/events i386/core_2/unit_masks \
9 i386/p4/events i386/p4-ht/events \
10 i386/p4-ht/unit_masks i386/p4/unit_masks \
11 i386/pii/events i386/pii/unit_masks \
12 i386/piii/events i386/piii/unit_masks \
13 i386/ppro/events i386/ppro/unit_masks \
14 i386/p6_mobile/events i386/p6_mobile/unit_masks \
15 i386/core/events i386/core/unit_masks \
16 i386/arch_perfmon/events i386/arch_perfmon/unit_masks \
17 i386/atom/events i386/atom/unit_masks \
18 i386/core_i7/events i386/core_i7/unit_masks \
19 i386/nehalem/events i386/nehalem/unit_masks \
Jeff Brown7a33c862011-02-02 14:00:44 -080020 i386/westmere/events i386/westmere/unit_masks \
Mike Dodd8cfa7022010-11-17 11:12:26 -080021 ia64/ia64/events ia64/ia64/unit_masks \
22 ia64/itanium2/events ia64/itanium2/unit_masks \
23 ia64/itanium/events ia64/itanium/unit_masks \
24 ppc64/power4/events ppc64/power4/event_mappings ppc64/power4/unit_masks \
25 ppc64/power5/events ppc64/power5/event_mappings ppc64/power5/unit_masks \
26 ppc64/power5+/events ppc64/power5+/event_mappings ppc64/power5+/unit_masks \
27 ppc64/power5++/events ppc64/power5++/event_mappings ppc64/power5++/unit_masks \
28 ppc64/power6/events ppc64/power6/event_mappings ppc64/power6/unit_masks \
29 ppc64/power7/events ppc64/power7/event_mappings ppc64/power7/unit_masks \
30 ppc64/970/events ppc64/970/event_mappings ppc64/970/unit_masks \
31 ppc64/970MP/events ppc64/970MP/event_mappings ppc64/970MP/unit_masks \
32 ppc64/ibm-compat-v1/events ppc64/ibm-compat-v1/event_mappings ppc64/ibm-compat-v1/unit_masks \
33 ppc64/pa6t/events ppc64/pa6t/event_mappings ppc64/pa6t/unit_masks \
34 ppc64/cell-be/events ppc64/cell-be/unit_masks \
35 rtc/events rtc/unit_masks \
36 x86-64/hammer/events x86-64/hammer/unit_masks \
37 x86-64/family10/events x86-64/family10/unit_masks \
38 x86-64/family11h/events x86-64/family11h/unit_masks \
Jeff Brown7a33c862011-02-02 14:00:44 -080039 x86-64/family12h/events x86-64/family12h/unit_masks \
40 x86-64/family14h/events x86-64/family14h/unit_masks \
41 x86-64/family15h/events x86-64/family15h/unit_masks \
Mike Dodd8cfa7022010-11-17 11:12:26 -080042 arm/xscale1/events arm/xscale1/unit_masks \
43 arm/xscale2/events arm/xscale2/unit_masks \
44 arm/armv6/events arm/armv6/unit_masks \
Jeff Brown7a33c862011-02-02 14:00:44 -080045 arm/armv7-common/events arm/armv7-common/unit_masks \
Mike Dodd8cfa7022010-11-17 11:12:26 -080046 arm/armv7/events arm/armv7/unit_masks \
Jeff Brown7a33c862011-02-02 14:00:44 -080047 arm/armv7-ca9/events arm/armv7-ca9/unit_masks \
Mike Dodd8cfa7022010-11-17 11:12:26 -080048 arm/mpcore/events arm/mpcore/unit_masks \
49 avr32/events avr32/unit_masks \
50 mips/20K/events mips/20K/unit_masks \
51 mips/24K/events mips/24K/unit_masks \
52 mips/25K/events mips/25K/unit_masks \
53 mips/34K/events mips/34K/unit_masks \
54 mips/5K/events mips/5K/unit_masks \
55 mips/rm7000/events mips/rm7000/unit_masks \
56 mips/rm9000/events mips/rm9000/unit_masks \
57 mips/sb1/events mips/sb1/unit_masks \
58 mips/r10000/events mips/r10000/unit_masks \
59 mips/r12000/events mips/r12000/unit_masks \
60 mips/vr5432/events mips/vr5432/unit_masks \
61 mips/vr5500/events mips/vr5500/unit_masks \
Jeff Brown7a33c862011-02-02 14:00:44 -080062 mips/loongson2/events mips/loongson2/unit_masks \
63 mips/1004K/events mips/1004K/unit_masks \
64 mips/74K/events mips/74K/unit_masks \
Mike Dodd8cfa7022010-11-17 11:12:26 -080065 ppc/7450/events ppc/7450/unit_masks \
66 ppc/e500/events ppc/e500/unit_masks \
67 ppc/e500v2/events ppc/e500v2/unit_masks \
68 ppc/e300/events ppc/e300/unit_masks
69
70install-data-local:
71 for i in ${event_files} ; do \
72 dir=`dirname $$i` ; \
73 mkdir -p $(DESTDIR)$(pkgdatadir)/$$dir ; \
74 $(INSTALL_DATA) $(top_srcdir)/events/$$i $(DESTDIR)$(pkgdatadir)/$$i ; \
75 done
76
77uninstall-local:
78 for i in ${event_files} ; do \
79 dir=`dirname $$i` ; \
80 archdir=`dirname $$dir` ; \
81 if test -f $(DESTDIR)$(pkgdatadir)/$$i ; then \
82 rm $(DESTDIR)$(pkgdatadir)/$$i ; \
83 fi; \
84 if test -d $(DESTDIR)$(pkgdatadir)/$$dir ; then \
85 rmdir --ignore-fail-on-non-empty $(DESTDIR)$(pkgdatadir)/$$dir ; \
86 fi; \
87 if test $$archdir != "." -a -d $(DESTDIR)$(pkgdatadir)/$$archdir ; then \
88 rmdir --ignore-fail-on-non-empty $(DESTDIR)$(pkgdatadir)/$$archdir ; \
89 fi; \
90 done
91
92EXTRA_DIST = $(event_files)