nfs: fix real/effective id mismatch in nfs_access
[dragonfly.git] / test / caps / Makefile
blob9e2fbdbfcd1c57b9bd8262bdb4be8c4338b62eca
1 # $DragonFly: src/test/caps/Makefile,v 1.8 2004/08/18 09:10:30 dillon Exp $
4 # thr{1,2,3} disabled (obsolete at the moment)
5 TARGETS= /tmp/caps_s /tmp/caps_c /tmp/caps_e /tmp/caps_d
7 CFLAGS= -O2 -g -DSMP
8 CFLAGS+=-I${.CURDIR}/../../lib -I${.CURDIR}/../../lib/libcaps/${MACHINE_ARCH}
10 all: $(TARGETS)
12 #/tmp/caps1: caps1.c
13 # $(CC) $(CFLAGS) caps1.c -lcaps -o /tmp/caps1
16 /tmp/thr1: thr1.c
17 $(CC) $(CFLAGS) thr1.c -lcaps -o /tmp/thr1
19 /tmp/thr2: thr2.c
20 $(CC) $(CFLAGS) thr2.c -lcaps -o /tmp/thr2
22 /tmp/thr3: thr3.c
23 $(CC) $(CFLAGS) thr3.c -lcaps -o /tmp/thr3
25 /tmp/caps_s: server.c
26 $(CC) $(CFLAGS) server.c -o /tmp/caps_s
28 /tmp/caps_c: client.c
29 $(CC) $(CFLAGS) client.c -o /tmp/caps_c
31 /tmp/caps_e: encoder.c
32 $(CC) $(CFLAGS) encoder.c -lcaps -o /tmp/caps_e
34 /tmp/caps_d: decoder.c
35 $(CC) $(CFLAGS) decoder.c -lcaps -o /tmp/caps_d
37 clean:
38 rm -f $(TARGETS)