mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
4b2cf1393a
Remove kbuild by-products in regression/Makefile. Also allow regression/tkip/test_tkip.c to compile (too few arguments to function ieee80211_crypto_demic). Closes: #1973 git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3699 0192ed92-7a03-0410-a25b-9323aeb14dbd
32 lines
726 B
Makefile
32 lines
726 B
Makefile
#
|
|
# Makefile for the WEP regression test.
|
|
#
|
|
obj := $(firstword $(obj) $(SUBDIRS) .)
|
|
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
|
|
-rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
|
|
-rm -rf .tmp_versions
|
|
|
|
ath_test_wep.o: $(ath_test_wep-objs)
|
|
$(LD) $(LDOPTS) -o ath_test_wep.$(KMODSUF) -r $(ath_test_wep-objs)
|