2 # $DragonFly: src/test/cpuperf/Makefile,v 1.2 2004/02/09 18:15:35 dillon Exp $
5 .PATH
: ${.CURDIR
}/..
/sysperf
6 TARGETS
=/tmp
/cpu_add
/tmp
/cpu_ladd
/tmp
/cpu_cmpadd
/tmp
/cpu_cmpexg \
7 /tmp
/cpu_lcmpexg
/tmp
/cpu_call
9 CFLAGS
= -O2
-g
-I..
/sysperf
13 /tmp
/cpu_add
: cputest.c cpu_add.S blib.c
14 $(CC
) $(CFLAGS
) ${.ALLSRC
} -o
${.TARGET
}
16 /tmp
/cpu_ladd
: cputest.c cpu_ladd.S blib.c
17 $(CC
) $(CFLAGS
) ${.ALLSRC
} -o
${.TARGET
}
19 /tmp
/cpu_cmpadd
: cputest.c cpu_cmpadd.S blib.c
20 $(CC
) $(CFLAGS
) ${.ALLSRC
} -o
${.TARGET
}
22 /tmp
/cpu_cmpexg
: cputest.c cpu_cmpexg.S blib.c
23 $(CC
) $(CFLAGS
) ${.ALLSRC
} -o
${.TARGET
}
25 /tmp
/cpu_lcmpexg
: cputest.c cpu_lcmpexg.S blib.c
26 $(CC
) $(CFLAGS
) ${.ALLSRC
} -o
${.TARGET
}
28 /tmp
/cpu_call
: cputest.c cpu_call.S blib.c
29 $(CC
) $(CFLAGS
) ${.ALLSRC
} -o
${.TARGET
}