KASSERT should add newline at the end to match FreeBSD behavior
[madwifi/.git] / ath_rate / amrr / Makefile.kernel
1 #
2 # Makefile for AMRR (Adaptive Multi Rate Retry) control algorithm.
3 #
4 # $Id: //depot/sw/linuxsrc/src/802_11/madwifi/madwifi/ath_rate/amrr/Makefile.kernel#1 $
5 #
6
7 src ?= .
8 srctree ?= .
9
10 TOP = $(srctree)/$(src)/../..
11
12 include $(TOP)/BuildCaps.inc
13 include $(TOP)/ath_hal/ah_target.inc
14
15 ATH=    $(TOP)/ath
16 ATH_HAL=$(TOP)/ath_hal
17 COMPAT= $(TOP)/include
18 HAL=    $(TOP)/hal
19
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\"
23
24 ifneq ($(VERSION).$(PATCHLEVEL),2.4)
25 obj-$(CONFIG_ATHEROS) += ath_rate_amrr.o
26 ath_rate_amrr-objs      := amrr.o
27 endif
28
29 ifeq ($(VERSION).$(PATCHLEVEL),2.4)
30 obj-$(CONFIG_ATHEROS) := amrr.o
31
32 export-objs     := amrr.o
33 list-multi      := ath_rate_amrr.o
34
35 O_TARGET        := ath_rate.o
36 include $(TOPDIR)/Rules.make
37 endif