blob: fb27244cf04ca4a76390744bec0e88cc36473431 [file] [log] [blame]
Upstreamcc2ee171970-01-12 13:46:40 +00001event_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/p4/events i386/p4-ht/events \
9 i386/p4-ht/unit_masks i386/p4/unit_masks \
10 i386/pii/events i386/pii/unit_masks \
11 i386/piii/events i386/piii/unit_masks \
12 i386/ppro/events i386/ppro/unit_masks \
13 i386/p6_mobile/events i386/p6_mobile/unit_masks \
14 ia64/ia64/events ia64/ia64/unit_masks \
15 ia64/itanium2/events ia64/itanium2/unit_masks \
16 ia64/itanium/events ia64/itanium/unit_masks \
17 ppc64/power4/events ppc64/power4/event_mappings ppc64/power4/unit_masks \
18 ppc64/power5/events ppc64/power5/event_mappings ppc64/power5/unit_masks \
19 ppc64/970/events ppc64/970/event_mappings ppc64/970/unit_masks \
20 rtc/events rtc/unit_masks \
21 x86-64/hammer/events x86-64/hammer/unit_masks \
22 arm/xscale1/events arm/xscale1/unit_masks \
23 arm/xscale2/events arm/xscale2/unit_masks \
24 mips/24K/events mips/24K/unit_masks \
25 mips/rm7000/events mips/rm7000/unit_masks \
26 mips/rm9000/events mips/rm9000/unit_masks \
27 mips/sb1/events mips/sb1/unit_masks \
28 mips/r10000/events mips/r10000/unit_masks \
29 mips/r12000/events mips/r12000/unit_masks \
30 mips/vr5432/events mips/vr5432/unit_masks \
31 mips/vr5500/events mips/vr5500/unit_masks \
32 ppc/e500/events ppc/e500/unit_masks
33
34install-data-local:
35 for i in ${event_files} ; do \
36 dir=`dirname $$i` ; \
37 mkdir -p $(DESTDIR)$(pkgdatadir)/$$dir ; \
38 $(INSTALL_DATA) $(top_srcdir)/events/$$i $(DESTDIR)$(pkgdatadir)/$$i ; \
39 done
40
41uninstall-local:
42 for i in ${event_files} ; do \
43 dir=`dirname $$i` ; \
44 archdir=`dirname $$dir` ; \
45 if test -f $(DESTDIR)$(pkgdatadir)/$$i ; then \
46 rm $(DESTDIR)$(pkgdatadir)/$$i ; \
47 fi; \
48 if test -d $(DESTDIR)$(pkgdatadir)/$$dir ; then \
49 rmdir --ignore-fail-on-non-empty $(DESTDIR)$(pkgdatadir)/$$dir ; \
50 fi; \
51 if test $$archdir != "." -a -d $(DESTDIR)$(pkgdatadir)/$$archdir ; then \
52 rmdir --ignore-fail-on-non-empty $(DESTDIR)$(pkgdatadir)/$$archdir ; \
53 fi; \
54 done
55
56EXTRA_DIST = $(event_files)