Linux-2.6.12-rc2
[linux-2.6.git] / arch / alpha / oprofile / Makefile
1 EXTRA_CFLAGS := -Werror -Wno-sign-compare
2
3 obj-$(CONFIG_OPROFILE) += oprofile.o
4
5 DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
6                 oprof.o cpu_buffer.o buffer_sync.o \
7                 event_buffer.o oprofile_files.o \
8                 oprofilefs.o oprofile_stats.o \
9                 timer_int.o )
10
11 oprofile-y                              := $(DRIVER_OBJS) common.o
12 oprofile-$(CONFIG_ALPHA_GENERIC)        += op_model_ev4.o \
13                                            op_model_ev5.o \
14                                            op_model_ev6.o \
15                                            op_model_ev67.o
16 oprofile-$(CONFIG_ALPHA_EV4)            += op_model_ev4.o
17 oprofile-$(CONFIG_ALPHA_EV5)            += op_model_ev5.o
18 oprofile-$(CONFIG_ALPHA_EV6)            += op_model_ev6.o \
19                                            op_model_ev67.o