ifndef ACX_DEBUG
  ACX_DEBUG=1
  $(warning ACX_DEBUG was not defined, assuming 1)
endif # ACX_DEBUG

ifndef ACX_IO_WIDTH
  ACX_IO_WIDTH=16
  $(warning ACX_IO_WIDTH was not defined, assuming 16bit access)
endif # ACX_DEBUG

COMMON_DRIVER_DEFINES = -DACX_DEBUG=$(ACX_DEBUG) -DACX_IO_WIDTH=$(ACX_IO_WIDTH)

CFLAGS += -I$(src)/../include -DWLAN_HOSTIF=WLAN_PCI $(COMMON_DRIVER_DEFINES)

acx_pci-objs := acx100.o acx100_helper.o acx100_helper2.o \
                   ihw.o idma.o acx80211frm.o acx100_ioctl.o \
		   acx100_conv.o ioregister.o

ifeq ($(CONFIG_USERMODE),)
ifeq ($(CONFIG_NET_RADIO),y)
obj-m += acx_pci.o
endif
endif
