Makefile revision 1.5
1# $OpenBSD: Makefile,v 1.5 2018/12/17 19:26:25 anton Exp $ 2 3WARNINGS= yes 4 5DEVICES= wskbd0 wsmouse0 wskbd 6 7PROG_sigio= sigio 8PROGS+= ${PROG_sigio} 9SRCS_sigio= sigio.c util.c 10 11TESTS_sigio+= getown-fcntl 12TESTS_sigio+= getown-ioctl 13TESTS_sigio+= gpgrp 14TESTS_sigio+= setown-fcntl 15TESTS_sigio+= setown-ioctl 16TESTS_sigio+= spgrp 17TESTS_sigio+= sigio 18 19.for d in ${DEVICES} 20. for t in ${TESTS_sigio} 21. if "$t" == "sigio" && ("$d" == "wskbd0" || "$d" == "wsmouse0") 22# SIGIO using event injection is limited to wsmux devices. 23. else 24REGRESS_TARGETS+= ${PROG_sigio}-$d-$t 25${PROG_sigio}-$d-$t: ${PROG_sigio} 26 @echo "\n======== ${@} ========" 27 ./${PROG_sigio} -d /dev/$d $t 28. endif 29. endfor 30.endfor 31 32.include <bsd.regress.mk> 33