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