#
# Makefile for Onoe's rate control algorithm.
#
# $Id: Makefile.kernel,v 1.2 2004/09/29 18:19:39 samleffler Exp $
#
KERNEL_SOURCE ?= /lib/modules/$(shell uanme -r)/build

BASEDIR=$(src)/../..

EXTRA_CFLAGS+= -DATH_PCI -I$(BASEDIR)/hal -I$(BASEDIR)/hal/linux \
		-I$(BASEDIR)/ath_hal -I$(BASEDIR)/net80211 -I$(BASEDIR) \
		-include $(BASEDIR)/inclulde/compat.h

ifeq ($(CONFIG_USERMODE),)
ifneq ($(CONFIG_NET_RADIO),)
obj-m += ath_rate_onoe.o
ath_rate_onoe-objs	:= onoe.o
endif
endif

modules modules_install clean:
	$(MAKE) -C $(KERNEL_SOURCE) SUBDIRS=$(shell pwd) $@

install: modules_install

