1 .PATH
: ${.CURDIR
}/..
/sysperf
2 TARGETS
=/tmp
/cpu_add
/tmp
/cpu_ladd
/tmp
/cpu_cmpadd
/tmp
/cpu_cmpexg \
3 /tmp
/cpu_lcmpexg
/tmp
/cpu_call
5 CFLAGS
= -O2
-g
-I..
/sysperf
9 /tmp
/cpu_add
: cputest.c cpu_add.S blib.c
10 ${CC} ${CFLAGS} ${.ALLSRC
} -o
${.TARGET
}
12 /tmp
/cpu_ladd
: cputest.c cpu_ladd.S blib.c
13 ${CC} ${CFLAGS} ${.ALLSRC
} -o
${.TARGET
}
15 /tmp
/cpu_cmpadd
: cputest.c cpu_cmpadd.S blib.c
16 ${CC} ${CFLAGS} ${.ALLSRC
} -o
${.TARGET
}
18 /tmp
/cpu_cmpexg
: cputest.c cpu_cmpexg.S blib.c
19 ${CC} ${CFLAGS} ${.ALLSRC
} -o
${.TARGET
}
21 /tmp
/cpu_lcmpexg
: cputest.c cpu_lcmpexg.S blib.c
22 ${CC} ${CFLAGS} ${.ALLSRC
} -o
${.TARGET
}
24 /tmp
/cpu_call
: cputest.c cpu_call.S blib.c
25 ${CC} ${CFLAGS} ${.ALLSRC
} -o
${.TARGET
}