2 # Makefile for the CCMP regression test.
4 obj := $(firstword $(obj) $(SUBDIRS) .)
7 obj-m += ath_test_ccmp.o
8 ath_test_ccmp-objs := test_ccmp.o
10 include $(TOP)/Makefile.inc
12 INCS += -I$(TOP) -I$(WLAN)
14 EXTRA_CFLAGS+= $(INCS) $(COPTS)
16 -include $(TOPDIR)/Rules.make
19 $(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
22 test -d $(DESTDIR)/$(KMODPATH) || mkdir -p $(DESTDIR)/$(KMODPATH)
23 install -m 0644 ath_test_ccmp.$(KMODSUF) $(DESTDIR)/$(KMODPATH)
26 -rm -f *~ *.o *.ko *.mod.c
27 -rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
30 ath_test_ccmp.o: $(ath_test_ccmp-objs)
31 $(LD) $(LDOPTS) -o ath_test_ccmp.$(KMODSUF) -r $(ath_test_ccmp-objs)