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