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