1OPROFILE_DIR=@OPROFILE_DIR@ 2VERSION=@VERSION@ 3KVERS=@KVERS@ 4KSRC=@KSRC@ 5 6EXTRA_CFLAGS=@EXTRA_CFLAGS_MODULE@ -D__NO_VERSION__ \ 7 -I$(OPROFILE_DIR)/module/@OPROFILE_MODULE_ARCH@ -I$(OPROFILE_DIR) -I$(OPROFILE_DIR)/libutil -I$(OPROFILE_DIR)/libop 8 9# NB: do not add a file here without adding it to EXTRA_DIST in ../Makefile.am 10 11O_TARGET := oprofile-module.o 12 13obj-y := compat.o op_init.o op_util.o op_dname.o oprofile.o @OPROFILE_MODULE_ARCH@/arch.o $(OPROFILE_DIR)/libop/libop.a 14obj-m := $(O_TARGET) 15O_OBJS := $(obj-y) 16M_OBJS := $(O_TARGET) 17 18TOPDIR := $(KSRC) 19CONFIG_SHELL := TOPDIR=$(KSRC) /bin/bash 20include $(KSRC)/Rules.make 21 22# FIXME: deps 23