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

export CPPFLAGS += -DACX_DEBUG=$(ACX_DEBUG) -DACX_32BIT_IO

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

ifeq ($(CONFIG_USERMODE),)
obj-m += acx100_pci.o

acx100_pci-objs := acx100.o acx100_conv.o acx100_helper.o acx100_helper2.o acx100_ioctl.o acx80211frm.o idma.o ihw.o ioregister.o
endif

clean:
	rm -f $(objects) $(usb_objs) acx100_pci.o acx100usb.o *~ ../include/*~ ../scripts/*~

