Merge from vendor branch BIND:
[dragonfly.git] / test / caps / Makefile
1 # $DragonFly: src/test/caps/Makefile,v 1.8 2004/08/18 09:10:30 dillon Exp $
2 #
3
4 # thr{1,2,3} disabled (obsolete at the moment)
5 TARGETS= /tmp/caps_s /tmp/caps_c /tmp/caps_e /tmp/caps_d
6
7 CFLAGS= -O2 -g -DSMP
8 CFLAGS+=-I${.CURDIR}/../../lib -I${.CURDIR}/../../lib/libcaps/${MACHINE_ARCH}
9
10 all:    $(TARGETS)
11
12 #/tmp/caps1: caps1.c
13 #       $(CC) $(CFLAGS) caps1.c -lcaps -o /tmp/caps1
14 #
15
16 /tmp/thr1: thr1.c
17         $(CC) $(CFLAGS) thr1.c -lcaps -o /tmp/thr1
18
19 /tmp/thr2: thr2.c
20         $(CC) $(CFLAGS) thr2.c -lcaps -o /tmp/thr2
21
22 /tmp/thr3: thr3.c
23         $(CC) $(CFLAGS) thr3.c -lcaps -o /tmp/thr3
24
25 /tmp/caps_s: server.c
26         $(CC) $(CFLAGS) server.c -o /tmp/caps_s
27
28 /tmp/caps_c: client.c
29         $(CC) $(CFLAGS) client.c -o /tmp/caps_c
30
31 /tmp/caps_e: encoder.c
32         $(CC) $(CFLAGS) encoder.c -lcaps -o /tmp/caps_e
33
34 /tmp/caps_d: decoder.c
35         $(CC) $(CFLAGS) decoder.c -lcaps -o /tmp/caps_d
36
37 clean:
38         rm -f $(TARGETS)