remove malta-mtd.c and fix MAINTAINERS
[linux-2.6/zen-sources.git] / drivers / net / wireless / madwifi / ath_rate / sample / Makefile
blob08eb7014d0d27c3351ef919ca34bcb45c1b46191
2 # Makefile for John Bicket's SampleRate control algorithm.
4 # $Id: //depot/sw/linuxsrc/src/802_11/madwifi/madwifi/ath_rate/sample/Makefile.kernel#1 $
7 src ?= .
8 srctree ?= .
10 TOP = $(srctree)/$(src)/../..
12 include $(TOP)/BuildCaps.inc
13 include $(TOP)/ath_hal/ah_target.inc
15 ATH= $(TOP)/ath
16 ATH_HAL=$(TOP)/ath_hal
17 COMPAT= $(TOP)/include
18 HAL= $(TOP)/hal
20 INCS = -include $(COMPAT)/compat.h -I$(COMPAT)
21 INCS += -I$(TOP) -I$(ATH) -I$(ATH_HAL) -I$(HAL)
22 EXTRA_CFLAGS += $(INCS) $(COPTS) -DOPT_AH_H=\"public/$(TARGET).opt_ah.h\"
24 ifneq ($(VERSION).$(PATCHLEVEL),2.4)
25 obj-$(CONFIG_ATHEROS) += ath_rate_sample.o
26 ath_rate_sample-objs := sample.o
27 endif
29 ifeq ($(VERSION).$(PATCHLEVEL),2.4)
30 obj-$(CONFIG_ATHEROS) := sample.o
32 export-objs := sample.o
33 list-multi := ath_rate_sample.o
35 O_TARGET := ath_rate.o
36 include $(TOPDIR)/Rules.make
37 endif