1 jelson 1.1 build libs {
2 target libfusd.a { libfusd/libfusd.c }
3 }
4
|
5 jelson 1.34 # Binaries that are only needed if we're building kernel modules
6 build bins if BUILD_KMODULES {
|
7 jelson 1.35 local_libs { timesync/sync, emrun/emrun, libdev/dev, libmisc/misc, fusd/fusd }
|
8 jelson 1.1
|
9 girod 1.13 # DAEMON PROGRAMS
|
10 jelson 1.21 target fusdd {
11 fusdd/fusdd.c,
12 fusdd/fusdd_net.c,
13 fusdd/fusdd_socket.c,
14 fusdd/fusdd_server.c,
15 fusdd/fusdd_main.c
16 }
|
17 girod 1.13
|
18 girod 1.22 # UTILITY PROGRAMS
|
19 girod 1.25 target fusdnet_client {
20 fusdd/fusdd_client.c,
21 fusdd/fusdd_socket.c
22 }
|
23 jelson 1.34 }
24
25
26 build bins {
27 local_libs { timesync/sync, emrun/emrun, libdev/dev, libmisc/misc, fusd/fusd }
|
28 nithya 1.20
|
29 jelson 1.27 simple-targets {
30 # EXAMPLE PROGRAMS
31 examples/binary-read.c,
32 examples/console-read.c,
33 examples/drums.c,
34 examples/drums2.c,
35 examples/drums3.c,
36 examples/echo.c,
37 examples/helloworld.c,
38 examples/ioctl.c,
39 examples/logring.c,
40 examples/pager.c,
41 examples/uid-filter.c,
|
42 jelson 1.8
|
43 jelson 1.27 # TEST PROGRAMS
44 test/devlimit.c,
45 test/ioctl-test.c,
46 test/openclose.c,
47 test/openrace.c,
48 test/openrace2.c,
49 test/opentest.c,
50 test/oracle.c,
51 test/regdevice.c,
52 test/rwtest.c,
53 test/select_test.c,
54 test/simpleopen.c,
55 test/statetest.c,
56 test/torturetest.c,
57 test/zero-fusd.c,
58 test/zombietest.c,
59 test/zombietest2.c
60 }
|
61 jelson 1.1 }
62
63 # Binaries that don't require libfusd
64 build bins {
65 target thruput { test/thruput.c }
66 }
67
68 # Kernel modules
|
69 jelson 1.34 build objs if BUILD_KMODULES {
|
70 jelson 1.7 cflags := $(KCFLAGS) -D__KERNEL__ -DMODULE
71
|
72 jelson 1.34 target kfusd.o { kfusd/kfusd.c }
73 target zero.o { test/zero.c }
|
74 jelson 1.7 }
|
75 jelson 1.1
|
76 jelson 1.23
77 # Programs that should be run as part of the regression test series
78 test {
79 "opentest /dev/fusd-opentest",
80 ioctl-test,
|
81 jelson 1.24 zombietest,
|
82 girod 1.30 zombietest2,
|
83 jelson 1.31 # "openrace 20",
84 # "openrace2 20"
|
85 girod 1.30
86 #"statetest 30", wrong exit semantics
87 #"torturetest 20", wrong exit semantics
|
88 girod 1.25 }
|