update madwifi
[linux-2.6/zen-sources.git] / drivers / net / wireless / madwifi / ath_rate / onoe / Makefile.kernel
blob9758fb6d78b15dd16d7000f2f613b45c6933446b
2 # Makefile for Atsushi Onoe's rate control algorithm.
4 # $Id: //depot/sw/linuxsrc/src/802_11/madwifi/madwifi/ath_rate/onoe/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_onoe.o
26 ath_rate_onoe-objs      := onoe.o
27 endif
29 ifeq ($(VERSION).$(PATCHLEVEL),2.4)
30 obj-$(CONFIG_ATHEROS) := onoe.o
32 export-objs     := onoe.o
33 list-multi      := ath_rate_onoe.o
35 O_TARGET        := ath_rate.o
36 include $(TOPDIR)/Rules.make
37 endif