1b40d9440SMatthew Dillon.PATH: ${.CURDIR}/../sysperf 237a01312SMatthew DillonTARGETS=/tmp/cpu_add /tmp/cpu_ladd /tmp/cpu_cmpadd /tmp/cpu_cmpexg \ 337a01312SMatthew Dillon /tmp/cpu_lcmpexg /tmp/cpu_call 4b40d9440SMatthew Dillon 5b40d9440SMatthew DillonCFLAGS= -O2 -g -I../sysperf 6b40d9440SMatthew Dillon 7*c6ecc293SAaron LIall: ${TARGETS} 8b40d9440SMatthew Dillon 9b40d9440SMatthew Dillon/tmp/cpu_add: cputest.c cpu_add.S blib.c 10*c6ecc293SAaron LI ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} 11b40d9440SMatthew Dillon 1237a01312SMatthew Dillon/tmp/cpu_ladd: cputest.c cpu_ladd.S blib.c 13*c6ecc293SAaron LI ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} 1437a01312SMatthew Dillon 15b40d9440SMatthew Dillon/tmp/cpu_cmpadd: cputest.c cpu_cmpadd.S blib.c 16*c6ecc293SAaron LI ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} 17b40d9440SMatthew Dillon 18b40d9440SMatthew Dillon/tmp/cpu_cmpexg: cputest.c cpu_cmpexg.S blib.c 19*c6ecc293SAaron LI ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} 20b40d9440SMatthew Dillon 21b40d9440SMatthew Dillon/tmp/cpu_lcmpexg: cputest.c cpu_lcmpexg.S blib.c 22*c6ecc293SAaron LI ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} 23b40d9440SMatthew Dillon 24b40d9440SMatthew Dillon/tmp/cpu_call: cputest.c cpu_call.S blib.c 25*c6ecc293SAaron LI ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} 26b40d9440SMatthew Dillon 27b40d9440SMatthew Dillonclean: 28*c6ecc293SAaron LI rm -f ${TARGETS} 29