1# 2# $DragonFly: src/test/sysperf/Makefile,v 1.1 2003/08/12 02:29:44 dillon Exp $ 3# 4 5TARGETS=/tmp/sc1 /tmp/sc2 /tmp/sc3 \ 6 /tmp/loop1 /tmp/loop2 /tmp/loop3 \ 7 /tmp/mt2 \ 8 /tmp/fork1 /tmp/pipe1 \ 9 /tmp/sw1 /tmp/sw2 /tmp/sw3 10 11CFLAGS= -O2 -g -I/usr/src/sys 12 13all: $(TARGETS) 14 15/tmp/sc1: syscall1.c getuid_msg.c blib.c 16 $(CC) $(CFLAGS) syscall1.c blib.c -o /tmp/sc1 17 18/tmp/sc2: syscall2.c getuid_msg.c blib.c 19 $(CC) $(CFLAGS) syscall2.c getuid_msg.c blib.c -o /tmp/sc2 20 21/tmp/sc3: syscall3.c getuid_msg.c blib.c 22 $(CC) $(CFLAGS) syscall3.c getuid_msg.c blib.c -o /tmp/sc3 23 24/tmp/fork1: fork1.c blib.c 25 $(CC) $(CFLAGS) fork1.c blib.c -o /tmp/fork1 26 27/tmp/pipe1: pipe1.c blib.c 28 $(CC) $(CFLAGS) pipe1.c blib.c -o /tmp/pipe1 29 30/tmp/loop1: loop1.c blib.c 31 $(CC) $(CFLAGS) loop1.c blib.c -o /tmp/loop1 32 33/tmp/loop2: loop2.c blib.c 34 $(CC) $(CFLAGS) loop2.c blib.c -o /tmp/loop2 35 36/tmp/loop3: loop3.c blib.c 37 $(CC) $(CFLAGS) loop3.c blib.c -o /tmp/loop3 38 39/tmp/mt2: mutex2.c blib.c mtx.s 40 $(CC) $(CFLAGS) mutex2.c blib.c mtx.s -o /tmp/mt2 41 42/tmp/sw1: quicksw1.c blib.c sw.S 43 $(CC) $(CFLAGS) -DUSE_ALL quicksw1.c blib.c sw.S -o /tmp/sw1 44 45/tmp/sw2: quicksw1.c blib.c sw.S 46 $(CC) $(CFLAGS) -DUSE_CALLU1 quicksw1.c blib.c sw.S -o /tmp/sw2 47 48/tmp/sw3: quicksw1.c blib.c sw.S 49 $(CC) $(CFLAGS) -DUSE_CALLU2 quicksw1.c blib.c sw.S -o /tmp/sw3 50 51clean: 52 rm -f $(TARGETS) 53