Add some basic in-pipeline instruction timing tests. Instruction timings
[dragonfly.git] / test / cpuperf / Makefile
1 #
2 # $DragonFly: src/test/cpuperf/Makefile,v 1.1 2004/02/09 18:08:54 dillon Exp $
3 #
4
5 .PATH: ${.CURDIR}/../sysperf
6 TARGETS=/tmp/cpu_add  /tmp/cpu_cmpadd /tmp/cpu_cmpexg /tmp/cpu_lcmpexg \
7         /tmp/cpu_call
8
9 CFLAGS= -O2 -g -I../sysperf
10
11 all:    $(TARGETS)
12
13 /tmp/cpu_add: cputest.c cpu_add.S blib.c
14         $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET}
15
16 /tmp/cpu_cmpadd: cputest.c cpu_cmpadd.S blib.c
17         $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET}
18
19 /tmp/cpu_cmpexg: cputest.c cpu_cmpexg.S blib.c
20         $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET}
21
22 /tmp/cpu_lcmpexg: cputest.c cpu_lcmpexg.S blib.c
23         $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET}
24
25 /tmp/cpu_call: cputest.c cpu_call.S blib.c
26         $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET}
27
28 clean:
29         rm -f $(TARGETS)