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 $
10 TOP
= $(srctree
)/$(src
)/..
/..
12 include $(TOP
)/BuildCaps.inc
13 include $(TOP
)/ath_hal
/ah_target.inc
16 ATH_HAL
=$(TOP
)/ath_hal
17 COMPAT
= $(TOP
)/include
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
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