1.PATH: ${.CURDIR}/../../../../sys/dev/ath/ath_hal 2 3PROG= athaggrstats 4 5SRCS= main.c athaggrstats.c opt_ah.h ah_osdep.h 6 7CLEANFILES+= opt_ah.h 8 9.include <../Makefile.inc> 10 11CFLAGS+=-DATH_SUPPORT_ANI 12CFLAGS+=-DATH_SUPPORT_TDMA 13CFLAGS+=-I${.CURDIR}/../../../../lib/libbsdstat/ 14LIBADD+= bsdstat 15 16opt_ah.h: 17 echo "#define AH_DEBUG 1" > opt_ah.h 18 echo "#define AH_DEBUG_COUNTRY 1" >> opt_ah.h 19 20ah_osdep.h: 21 echo 'typedef void *HAL_SOFTC;' >ah_osdep.h 22 echo 'typedef int HAL_BUS_TAG;' >>ah_osdep.h 23 echo 'typedef void *HAL_BUS_HANDLE;' >>ah_osdep.h 24 echo 'typedef uint32_t HAL_DMA_ADDR;' >>ah_osdep.h 25 26.include <bsd.prog.mk> 27