
# For some reason keep your hands of "-O3"
#CFLAGS = -O3 -Wall -Wstrict-prototypes -pipe

EXTRA_CFLAGS += -DBLOB_V2 -I.
ifdef	CONFIG_WIRELESS_EVENTS
EXTRA_CFLAGS += -DWIRELESS_EVENTS
endif
ifdef	CONFIG_INTERSIL_EVENTS
EXTRA_CFLAGS += -DINTERSIL_EVENTS
endif
ifdef	CONFIG_WIRELESS_IOCTLS
EXTRA_CFLAGS += -DWIRELESS_IOCTLS
endif
ifdef	CONFIG_WDS_LINKS
EXTRA_CFLAGS += -DWDS_LINKS
endif
EXTRA_CFLAGS += -DNET_DEBUG=DBG_ALL

O_TARGET	:= intersil.o

obj-y	:= isl_gen.o isl_38xx.o islpci_dev.o islpci_eth.o islpci_mgt.o

ifdef CONFIG_CARDBUS
obj-y	+= islpci_pcmcia.o 
else
obj-y	+= islpci_hotplug.o 
endif

obj-$(CONFIG_WIRELESS_IOCTLS)	+= isl_ioctl.o 

obj-$(CONFIG_INTERSIL_EVENTS)	+= isl_mgt.o 

obj-$(CONFIG_WDS_LINKS)	+= isl_wds.o 

#ifdef CONFIG_CARDBUS
#MODULES = islpci_cb.o
#else
#MODULES = islpci.o
#endif


include $(TOPDIR)/Rules.make

