1.PATH: ${.CURDIR}/../sysperf 2TARGETS=/tmp/cpu_add /tmp/cpu_ladd /tmp/cpu_cmpadd /tmp/cpu_cmpexg \ 3 /tmp/cpu_lcmpexg /tmp/cpu_call 4 5CFLAGS= -O2 -g -I../sysperf 6 7all: ${TARGETS} 8 9/tmp/cpu_add: cputest.c cpu_add.S blib.c 10 ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} 11 12/tmp/cpu_ladd: cputest.c cpu_ladd.S blib.c 13 ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} 14 15/tmp/cpu_cmpadd: cputest.c cpu_cmpadd.S blib.c 16 ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} 17 18/tmp/cpu_cmpexg: cputest.c cpu_cmpexg.S blib.c 19 ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} 20 21/tmp/cpu_lcmpexg: cputest.c cpu_lcmpexg.S blib.c 22 ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} 23 24/tmp/cpu_call: cputest.c cpu_call.S blib.c 25 ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} 26 27clean: 28 rm -f ${TARGETS} 29