# Comment/uncomment the following line to enable/disable debugging
# For debug:
#     EXTRA_CONFIG += -DRT2500_DBG


EXTRA_CFLAGS += -DLinux\
             -include $(TOPDIR)/include/linux/modversions.h \
             -I$(TOPDIR)/include \
             -I$(TOPDIR)/include/asm/gcc

ifdef CONFIG_RT2500_WDS
EXTRA_CFLAGS += -DWDS
endif

ifdef CONFIG_RT2500_DBG
EXTRA_CFLAGS += -DRT2500_DBG
endif

ifndef CONFIG_CPU_LITTLE_ENDIAN
EXTRA_CFLAGS += -DBIG_ENDIAN
endif

#---------------------------------------------------------------------------
O_TARGET := rt2500.o


obj-y    :=  rtmp_main.o mlme.o connect.o sync.o assoc.o auth.o auth_rsp.o \
             rtmp_data.o rtmp_init.o sanity.o rtmp_wep.o rtmp_info.o \
			 eeprom.o soft_ap.o rtmp_tkip.o wpa.o md5.o 

obj-m    := $(O_TARGET)

include $(TOPDIR)/Rules.make

#---------------------------------------------------------------------------

