X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/blobdiff_plain/4b5d6847ced24a5ed34def9d8b119f9eb177053d..8a1a197f6cdd4cab3f6700612094ea783ff28d32:/test/sysperf/Makefile diff --git a/test/sysperf/Makefile b/test/sysperf/Makefile index e9746d5ecb..c5e78b1316 100644 --- a/test/sysperf/Makefile +++ b/test/sysperf/Makefile @@ -1,10 +1,10 @@ # -# $DragonFly: src/test/sysperf/Makefile,v 1.11 2005/03/28 03:13:24 dillon Exp $ +# $DragonFly: src/test/sysperf/Makefile,v 1.14 2006/04/22 22:32:52 dillon Exp $ # TARGETS=/tmp/sc1 /tmp/sc2 /tmp/sc3 /tmp/sc4 /tmp/sc5 \ /tmp/loop1 /tmp/loop2 /tmp/loop3 \ - /tmp/call1 /tmp/call2 /tmp/call3 \ + /tmp/call1 /tmp/call2 /tmp/call3 /tmp/cmp \ /tmp/mt2 \ /tmp/fork1 /tmp/pipe1 /tmp/pipe2 \ /tmp/sw1 /tmp/sw2 /tmp/sw3 \ @@ -13,7 +13,12 @@ TARGETS=/tmp/sc1 /tmp/sc2 /tmp/sc3 /tmp/sc4 /tmp/sc5 \ /tmp/exec1 /tmp/exec2 \ /tmp/mem1 /tmp/mem2 -CFLAGS= -O2 -g -I/usr/src/sys +.if defined(NO_OPTIMIZE) +COPTFLAGS= -O +.else +COPTFLAGS= -O2 +.endif +CFLAGS= ${COPTFLAGS} -g -I/usr/src/sys all: $(TARGETS) @@ -59,9 +64,15 @@ all: $(TARGETS) /tmp/call3: call3.c blib.c $(CC) $(CFLAGS) call3.c blib.c -o /tmp/call3 +/tmp/cmp: cmp.c blib.c + $(CC) $(CFLAGS) cmp.c blib.c -o /tmp/cmp + /tmp/mbw1: mbwtest.c $(CC) -O mbwtest.c -o /tmp/mbw1 +/tmp/mt1: mutex1.c blib.c mtx.s + $(CC) $(CFLAGS) mutex1.c blib.c mtx.s -o /tmp/mt1 + /tmp/mt2: mutex2.c blib.c mtx.s $(CC) $(CFLAGS) mutex2.c blib.c mtx.s -o /tmp/mt2