#
# drivers/net/wireless/Makefile
#
# Makefile for the Linux Wireless network device drivers.
#

O_TARGET := wireless_net.o

obj-y		:=
obj-m		:=
obj-n		:=
obj-		:=

# Things that need to export symbols
export-objs	:= airo.o orinoco.o hermes.o

obj-$(CONFIG_HERMES)		+= orinoco.o hermes.o
obj-$(CONFIG_PCMCIA_HERMES)	+= orinoco_cs.o
obj-$(CONFIG_APPLE_AIRPORT)	+= airport.o
obj-$(CONFIG_PLX_HERMES)	+= orinoco_plx.o
obj-$(CONFIG_PCI_HERMES)	+= orinoco_pci.o

obj-$(CONFIG_AIRO)		+= airo.o
obj-$(CONFIG_AIRO_CS)		+= airo_cs.o airo.o

subdir-$(CONFIG_ATHEROS_HAL)   += _ath_hal
subdir-$(CONFIG_ATHEROS_RATE)  += _ath_rate
subdir-$(CONFIG_ATHEROS)       += ath
subdir-$(CONFIG_NET80211)      += net80211
ifeq ($(CONFIG_ATHEROS),y)
	obj-y += _ath_hal/ath_hal.o
	obj-y += _ath_rate/ath_rate.o
ifeq ($(strip ${BUS}),AHB)
	obj-y += ath/ath_ahb.o
else
	obj-y += ath/ath_pci.o
endif
	obj-y += net80211/net80211.o
endif

include $(TOPDIR)/Rules.make
