1OPROFILE_DIR=@OPROFILE_DIR@ 2VERSION=@VERSION@ 3KVERS=@KVERS@ 4KSRC=@KSRC@ 5 6EXTRA_CFLAGS=@EXTRA_CFLAGS_MODULE@ -D__NO_VERSION__ \ 7 -I$(OPROFILE_DIR)/ -I$(OPROFILE_DIR)/libutil -I$(OPROFILE_DIR)/libop -I$(OPROFILE_DIR)/module 8 9USE_STANDARD_AS_RULE=1 10 11# NB: do not add a file here without adding it to EXTRA_DIST in ../Makefile.am 12 13O_TARGET := arch.o 14 15obj-y := cpu_type.o op_apic.o op_fixmap.o op_rtc.o op_nmi.o \ 16 op_model_ppro.o op_model_athlon.o op_model_p4.o 17 18obj-y += oprofile_nmi.o op_syscalls.o 19 20obj-m := $(O_TARGET) 21O_OBJS := $(obj-y) 22M_OBJS := $(O_TARGET) 23 24TOPDIR := $(KSRC) 25CONFIG_SHELL := TOPDIR=$(KSRC) /bin/bash 26include $(KSRC)/Rules.make 27 28# FIXME: dependencies 29