Merge from vendor branch DIFFUTILS:
[dragonfly.git] / test / caps / Makefile
1 # $DragonFly: src/test/caps/Makefile,v 1.6 2004/03/07 23:36:45 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 -I/usr/src/lib -I/usr/src/lib/libcaps/${MACHINE_ARCH} -DSMP
8
9 all:    $(TARGETS)
10
11 #/tmp/caps1: caps1.c
12 #       $(CC) $(CFLAGS) caps1.c -lcaps -o /tmp/caps1
13
14 /tmp/thr1: thr1.c
15         $(CC) $(CFLAGS) thr1.c -lcaps -o /tmp/thr1
16
17 /tmp/thr2: thr2.c
18         $(CC) $(CFLAGS) thr2.c -lcaps -o /tmp/thr2
19
20 /tmp/thr3: thr3.c
21         $(CC) $(CFLAGS) thr3.c -lcaps -o /tmp/thr3
22
23 /tmp/caps_s: server.c
24         $(CC) $(CFLAGS) server.c -o /tmp/caps_s
25
26 /tmp/caps_c: client.c
27         $(CC) $(CFLAGS) client.c -o /tmp/caps_c
28
29 /tmp/caps_e: encoder.c
30         $(CC) $(CFLAGS) encoder.c -lcaps -o /tmp/caps_e
31
32 /tmp/caps_d: decoder.c
33         $(CC) $(CFLAGS) decoder.c -lcaps -o /tmp/caps_d
34
35 clean:
36         rm -f $(TARGETS)