Blame src/perfctr-2.6.x/Makefile
|
Packit |
577717 |
SHELL=/bin/sh
|
|
Packit |
577717 |
ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
|
|
Packit |
577717 |
SUBDIRS=usr.lib etc examples
|
|
Packit |
577717 |
|
|
Packit |
577717 |
default: linux/include/asm/perfctr.h
|
|
Packit |
577717 |
$(MAKE) MAKETARGET=default all-subdirs
|
|
Packit |
577717 |
|
|
Packit |
577717 |
all-subdirs:
|
|
Packit |
577717 |
-for dir in $(SUBDIRS); do \
|
|
Packit |
577717 |
(cd $$dir; $(MAKE) $(MAKEARGS) $(MAKETARGET); cd ..); \
|
|
Packit |
577717 |
done
|
|
Packit |
577717 |
|
|
Packit |
577717 |
linux/include/asm/perfctr.h config configure:
|
|
Packit |
577717 |
rm -f linux/include/asm
|
|
Packit |
577717 |
ln -s asm-${ARCH} linux/include/asm
|
|
Packit |
577717 |
|
|
Packit |
577717 |
install: default
|
|
Packit |
577717 |
etc/install.sh "$(PREFIX)" "$(BINDIR)" "$(LIBDIR)" "$(INCLDIR)" "$(ETCDIR)" "$(ARCH)"
|
|
Packit |
577717 |
|
|
Packit |
577717 |
install2:
|
|
Packit |
577717 |
$(MAKE) MAKEARGS="BINDIR=$(BINDIR) LIBDIR=$(LIBDIR) INCLDIR=$(INCLDIR) ETCDIR=$(ETCDIR)" MAKETARGET=install all-subdirs
|
|
Packit |
577717 |
|
|
Packit |
577717 |
distclean realclean mrproper: clean
|
|
Packit |
577717 |
rm -f linux/include/asm
|
|
Packit |
577717 |
|
|
Packit |
577717 |
linuxclean:
|
|
Packit |
577717 |
rm -f linux/drivers/perfctr/*.mod.c
|
|
Packit |
577717 |
rm -f linux/drivers/perfctr/*.ko
|
|
Packit |
577717 |
rm -f linux/drivers/perfctr/*.o
|
|
Packit |
577717 |
rm -f linux/drivers/perfctr/.*.flags
|
|
Packit |
577717 |
rm -f linux/drivers/perfctr/.depend
|
|
Packit |
577717 |
rm -f linux/drivers/perfctr/.*.cmd
|
|
Packit |
577717 |
|
|
Packit |
577717 |
clean: linuxclean
|
|
Packit |
577717 |
$(MAKE) MAKETARGET=clean all-subdirs
|