1
2 include { examples }
3
4 build libs {
5 target libsim.a {
6 # libsim/energy_mgr_client.c,
7 libsim/libsim_config.c
8 }
9
10 target libchannel.a {
11 libchannel/libchannel_util.c,
12 libchannel/libchannel_circle_8meter.c,
13 libchannel/libchannel_path_loss.c,
14 libchannel/libchannel_empirical_avg.c,
15 libchannel/libchannel_empirical_stateful_indoors.c,
16 libchannel/libchannel_file.c,
17
18 libchannel/libchannel_perfect.c,
19 libchannel/libchannel_circle.c,
20 libchannel/libchannel_probDisc.c,
21 libchannel/libchannel_asymmProbDisc.c,
22 libchannel/libchannels.c,
23 libchannel/libchannel_misc_i.c
24 }
25
26 target libradio.a {
27 radio/radio_util.c
28 }
29
30 }
31
32 build bins {
33 local_libs {
34 link/link, timesync/sync, sim/sim, emrun/emrun,
35 libdev/dev, libmisc/misc, fusd/fusd, sim/radio,
36 sim/channel, timewarp/timeshift
37 }
38
39 # need the math library, -lm
40 system_libs { m }
41
42 cflags := -Itos-contrib/s-mac/tos/system -Itos-contrib/hostmote/tos/system -Imote/include
43
44 target sim_radio {
45 radio/sim_radio.c,
46 radio/sim_smac.c,
47 radio/radio_spec.c,
48 radio/radio_timewarp.c,
49 radio/radio_channel_debug.c,
50 radio/radio_util.c
51 }
52
53 }
54
55 build bins {
56 local_libs {
57 timesync/sync, sim/sim, link/link, emrun/emrun,
58 libdev/dev, timesync/sync, libdev/dev, libmisc/misc, fusd/fusd, sim/radio
59 }
60
61 # need the math library, -lm
62 system_libs { m }
63
64 target sim_sensor {
65 sensor/sim_sensor.c,
66 sensor/sensor_channels.c,
67
68 # sensor channel models
69 sensor/sc_rnd_byte.c,
70 sensor/sc_spatial_datareplay.c,
71 sensor/data_replay_misc.cc,
72 sensor/sc_datareplay_16bit.c
73 }
74
75 # need link fix
76 # target energy_mgr {
77 # energy_mgr/energy_mgr_status.c,
78 # energy_mgr/energy_mgr_command.c,
79 # energy_mgr/energy_mgr_main.c
80 # }
81 }
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.