Add test programs for the new caps system calls. Temporarily disable the
[dragonfly.git] / test / caps / Makefile
1 # $DragonFly: src/test/caps/Makefile,v 1.3 2004/01/18 12:39:56 dillon Exp $
2 #
3
4 TARGETS=/tmp/thr1 /tmp/thr2 /tmp/thr3 /tmp/caps_s /tmp/caps_c
5
6 CFLAGS= -O2 -g -I/usr/src/lib -I/usr/src/lib/libcaps/${MACHINE_ARCH} -DSMP
7
8 all:    $(TARGETS)
9
10 #/tmp/caps1: caps1.c
11 #       $(CC) $(CFLAGS) caps1.c -lcaps -o /tmp/caps1
12
13 /tmp/thr1: thr1.c
14         $(CC) $(CFLAGS) thr1.c -lcaps -o /tmp/thr1
15
16 /tmp/thr2: thr2.c
17         $(CC) $(CFLAGS) thr2.c -lcaps -o /tmp/thr2
18
19 /tmp/thr3: thr3.c
20         $(CC) $(CFLAGS) thr3.c -lcaps -o /tmp/thr3
21
22 /tmp/caps_s: server.c
23         $(CC) $(CFLAGS) -DDEBUG server.c -o /tmp/caps_s
24
25 /tmp/caps_c: client.c
26         $(CC) $(CFLAGS) -DDEBUG client.c -o /tmp/caps_c
27
28 clean:
29         rm -f $(TARGETS)