2007-11-28 00:40:19 +03:00
|
|
|
#
|
|
|
|
# Makefile for the WEP regression test.
|
|
|
|
#
|
2008-05-05 06:00:56 +04:00
|
|
|
obj := $(firstword $(obj) $(SUBDIRS) .)
|
2007-11-28 00:40:19 +03:00
|
|
|
TOP = $(obj)/../..
|
|
|
|
|
|
|
|
obj-m += ath_test_wep.o
|
|
|
|
ath_test_wep-objs := test_wep.o
|
|
|
|
|
|
|
|
include $(TOP)/Makefile.inc
|
|
|
|
|
|
|
|
INCS += -I$(TOP) -I$(WLAN)
|
|
|
|
|
|
|
|
EXTRA_CFLAGS+= $(INCS) $(COPTS)
|
|
|
|
|
|
|
|
-include $(TOPDIR)/Rules.make
|
|
|
|
|
|
|
|
all:
|
|
|
|
$(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
|
|
|
|
|
|
|
|
install:
|
|
|
|
test -d $(DESTDIR)/$(KMODPATH) || mkdir -p $(DESTDIR)/$(KMODPATH)
|
|
|
|
install -m 0644 ath_test_wep.$(KMODSUF) $(DESTDIR)/$(KMODPATH)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -f *~ *.o *.ko *.mod.c
|
2008-06-04 16:25:31 +04:00
|
|
|
-rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
|
2007-11-28 00:40:19 +03:00
|
|
|
-rm -rf .tmp_versions
|
|
|
|
|
|
|
|
ath_test_wep.o: $(ath_test_wep-objs)
|
|
|
|
$(LD) $(LDOPTS) -o ath_test_wep.$(KMODSUF) -r $(ath_test_wep-objs)
|