If we are building from a preinstalled PerfCtr (via PERFCTR_PREFIX=<> on the make line) then we do not want to run install in the perfctr directory. That would overwrite the installed perfctr. Yikes.
If we are building from a preinstalled PerfCtr (via PERFCTR_PREFIX=<> on
the make line) then we do not want to run install in the perfctr directory.
That would overwrite the installed perfctr. Yikes.

Also, the rule for doing old-style perfctr install (with PerfCtr 2.4.x)
needed to be changed slightly to take into account perfctr-2.7.0.

It now looks like this:


ifeq (,${PERFCTR_PREFIX})
ifeq (${VERSION},2.4.x)
native_install:
	-cp -p $(PERFCTR)/usr.lib/libperfctr.so $(PREFIX)/lib
	-cp -p $(PERFCTR)/usr.lib/event_codes.h $(PREFIX)/include
	-cp -p $(PERFCTR)/usr.lib/libperfctr.h  $(PREFIX)/include
else
native_install:
	-$(MAKE) -C $(PERFCTR) PREFIX=$(PREFIX) install
endif
else
native_install:
endif

pyrovski/papi,pyrovski/papi,pyrovski/papi,arm-hpc/papi,pyrovski/papi,pyrovski/papi,arm-hpc/papi,arm-hpc/papi,arm-hpc/papi,arm-hpc/papi,arm-hpc/papi,pyrovski/papi,pyrovski/papi,arm-hpc/papi,pyrovski/papi