1
2
3 build copy {
4 target timesync.run { include/timesync.run }
5 target timehist.run { timehist/timehist.run }
6 }
7
8 #
9 # The timesync library
10 #
11 build libs {
12 target libsync.a {
13 libsync/libsync_convert.c,
14 libsync/libsync_readdev.c,
15 libsync/libsync_directory.c,
16 libsync/libsync_pairs.c,
17 libsync/libsync_timehist.c,
18 libsync/libsync_common.c
19 }
20 }
21
22
23 #
24 # syncd -- the RBS sync daemon itself
25 #
26 build bins {
27 local_libs {
28 libdev/dev, link/link,
29 emrun/emrun, libdev/dev, timesync/sync, libmisc/misc, fusd/fusd
30 }
31
32 ldflags := -lm
33 cflags := -DIN_SYNCD
34
35 target syncd {
36 libsync/libsync_common.c,
37
38 syncd/driver_udp.c,
39 syncd/driver_link.c,
40 syncd/driver_debug.c,
41
42 syncd/syncd_client.c,
43 syncd/syncd_directory.c,
44 syncd/syncd_server.c,
45 syncd/syncd_pairs.c,
46 syncd/syncd_params.c,
47 syncd/syncd_util.c,
48 syncd/syncd_trim.c,
49 syncd/syncd_main.c
50 }
51 }
52
53 # Other timesync-related targets
54 build bins {
55 local_libs {
56 libdev/dev, timesync/sync, link/link,
57 emrun/emrun, libdev/dev, libmisc/misc, fusd/fusd
58 }
59
60 simple_targets {
61 #
62 # test/example programs
63 #
64 test/getdiff.c,
65 test/logdiff.c,
66 test/multihop.c,
67 test/rbsconvert.c,
68 test/pair-insert.c,
69
70 #
71 # data collection helpers
72 #
73 #rpulse/pulsed.c,
74 rpulse/rpulse.c,
75 rpulse/trafficgen.c
76 }
77
78 # time-history daemon
79 target timehistd { timehist/timehist_main.c }
80
81 # global timesync daemon
82 target gsyncd { gsync/gsyncd.c }
83
84 #
85 # utility programs
86 #
87 target ../bin/gettime { util/gettime.c }
88 target ../bin/attime { util/attime.c }
89 }
90
91
92 # LessGPS daemons
93 build bins {
94 local_libs { timesync/sync, emrun/emrun, libdev/dev, libmisc/misc, fusd/fusd }
95
96 target local_truetime {
97 lessgps/output_truetime.c,
98 lessgps/lessgps_status.c,
99 lessgps/localtimed.c
100 }
101
102 target local_nmea {
103 lessgps/output_nmea.c,
104 lessgps/lessgps_status.c,
105 lessgps/localtimed.c
106 }
107
108 target rbs_nmea {
109 lessgps/output_nmea.c,
110 lessgps/lessgps_status.c,
111 lessgps/rbstime.c
112 }
113 }
114
115
116
117 # logic analyzer and other utils
118 build bins {
119 local_libs { libmisc/misc, fusd/fusd }
120
121 target hp16500a { analyzer/hp16500a.c }
122 target clock_resolution { test/clock-resolution.c }
123 }
124
125 # various kernel module utilities for testing and debugging
126 build objs for stargate {
127 cflags := $(KCFLAGS) -D__KERNEL__ -DMODULE -DSTARGATE
128
129 target res-test.o { util/res-test.c }
130 target pulseat.o { util/pulseat.c }
131 }
132
133 # syncview uses different libraries
134 #build bins for i686-linux {
135 # local_libs { timesync/sync, libdev/dev, libmisc/misc }
136 #
137 # cflags := `pkg-config --cflags gtk+-2.0 gdk-2.0 atk`
138 # ldflags := `pkg-config --libs gtk+-2.0 gdk-2.0 atk`
139 #
140 # cflags := `gtk-config --cflags`
141 # ldflags := `gtk-config --libs`
142 # target syncview { syncview/viz.c }
143 #}
144
145
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.