#
# Copyright (C) 1998 David A. Hinds -- dahinds@users.sourceforge.net
#
# Makefile 1.8 2001/02/07 00:41:40
#

# Include site dependent options and kernel configuration
RGSRC=../../../../
include $(RGSRC)/copy_db_envir.mak

LINUX = $(RGSRC)/linux/
EXTRA_CFLAGS+=-D__KERNEL__ -I../include/ -I$(LINUX)/include  

M_OBJS=wvlan_cs_mod.o
ifeq ($(PROD_SUB),AIRO)
	M_OBJS+=airo_cs.o airo.o
endif

MI_OBJS=wvlan_cs.o wvlan_hcf.o wvlan_hcfio.o

wvlan_cs_mod.o: $(call DEPEND_F,wvlan_cs_mod.o,$(MI_OBJS))
	$(LD) -r -o $@ $(MI_OBJS)

CD_EXPORTED_BIN_EXTRA+=$(MI_OBJS) $(wildcard *.h)
CD_EXPORTED_SRC_EXTRA+=$(MI_OBJS) $(MI_OBJS:%.o:%.c) $(wildcard *.h)

include $(TOPDIR)/Rules.make

