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