madwifi/ath_rate/onoe/Makefile.kernel
2007-10-04 13:07:51 +00:00

38 lines
813 B
Makefile

#
# Makefile for Atsushi Onoe's rate control algorithm.
#
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/madwifi/ath_rate/onoe/Makefile.kernel#1 $
#
src ?= .
srctree ?= .
TOP = $(srctree)/$(src)/../..
include $(TOP)/BuildCaps.inc
include $(TOP)/ath_hal/ah_target.inc
ATH= $(TOP)/ath
ATH_HAL=$(TOP)/ath_hal
COMPAT= $(TOP)/include
HAL= $(TOP)/hal
INCS = -include $(COMPAT)/compat.h -I$(COMPAT)
INCS += -I$(TOP) -I$(ATH) -I$(ATH_HAL) -I$(HAL)
EXTRA_CFLAGS += $(INCS) $(COPTS) -DOPT_AH_H=\"public/$(TARGET).opt_ah.h\"
ifneq ($(VERSION).$(PATCHLEVEL),2.4)
obj-$(CONFIG_ATHEROS) += ath_rate_onoe.o
ath_rate_onoe-objs := onoe.o
endif
ifeq ($(VERSION).$(PATCHLEVEL),2.4)
obj-$(CONFIG_ATHEROS) := onoe.o
export-objs := onoe.o
list-multi := ath_rate_onoe.o
O_TARGET := ath_rate.o
include $(TOPDIR)/Rules.make
endif