[c5c522c] | 1 | default: it |
---|
| 2 | |
---|
| 3 | clean: |
---|
| 4 | rm -f alloc.o alloc_re.o buffer.o buffer_0.o buffer_1.o buffer_2.o \ |
---|
| 5 | buffer_get.o buffer_put.o buffer_read.o buffer_write.o byte.a \ |
---|
| 6 | byte_chr.o byte_copy.o byte_cr.o byte_diff.o byte_rchr.o chkshsgr \ |
---|
| 7 | chkshsgr.o choose coe.o compile deepsleep.o direntry.h env.o envdir \ |
---|
| 8 | envdir.o envuidgid envuidgid.o error.o error_str.o fd_copy.o \ |
---|
| 9 | fd_move.o fghack fghack.o fifo.o fmt_uint.o fmt_uint0.o fmt_ulong.o \ |
---|
| 10 | hasflock.h hasmkffo.h hassgact.h hassgprm.h hasshsgr.h haswaitp.h \ |
---|
| 11 | iopause.h iopause.o it load lock_ex.o lock_exnb.o makelib match.o \ |
---|
| 12 | matchtest matchtest.o multilog multilog.o ndelay_off.o ndelay_on.o \ |
---|
| 13 | open_append.o open_read.o open_trunc.o open_write.o openreadclose.o \ |
---|
| 14 | pathexec_env.o pathexec_run.o pgrphack pgrphack.o prot.o readclose.o \ |
---|
| 15 | readproctitle readproctitle.o rts scan_ulong.o seek_set.o select.h \ |
---|
| 16 | setlock setlock.o setuidgid setuidgid.o sgetopt.o sig.o sig_block.o \ |
---|
| 17 | sig_catch.o sig_pause.o softlimit softlimit.o str_chr.o str_diff.o \ |
---|
| 18 | str_len.o str_start.o stralloc_cat.o stralloc_catb.o stralloc_cats.o \ |
---|
| 19 | stralloc_eady.o stralloc_opyb.o stralloc_opys.o stralloc_pend.o \ |
---|
| 20 | strerr_die.o strerr_sys.o subgetopt.o supervise supervise.o svc svc.o \ |
---|
| 21 | svok svok.o svscan svscan.o svscanboot svstat svstat.o sysdeps \ |
---|
| 22 | systype tai64n tai64n.o tai64nlocal tai64nlocal.o tai_now.o \ |
---|
| 23 | tai_pack.o tai_sub.o tai_unpack.o taia_add.o taia_approx.o \ |
---|
| 24 | taia_frac.o taia_less.o taia_now.o taia_pack.o taia_sub.o taia_uint.o \ |
---|
| 25 | time.a timestamp.o uint64.h unix.a wait_nohang.o wait_pid.o |
---|
| 26 | |
---|
| 27 | alloc.o: alloc.c alloc.h compile error.h |
---|
| 28 | ./compile alloc.c |
---|
| 29 | |
---|
| 30 | alloc_re.o: alloc.h alloc_re.c byte.h compile |
---|
| 31 | ./compile alloc_re.c |
---|
| 32 | |
---|
| 33 | buffer.o: buffer.c buffer.h compile |
---|
| 34 | ./compile buffer.c |
---|
| 35 | |
---|
| 36 | buffer_0.o: buffer.h buffer_0.c compile |
---|
| 37 | ./compile buffer_0.c |
---|
| 38 | |
---|
| 39 | buffer_1.o: buffer.h buffer_1.c compile |
---|
| 40 | ./compile buffer_1.c |
---|
| 41 | |
---|
| 42 | buffer_2.o: buffer.h buffer_2.c compile |
---|
| 43 | ./compile buffer_2.c |
---|
| 44 | |
---|
| 45 | buffer_get.o: buffer.h buffer_get.c byte.h compile error.h |
---|
| 46 | ./compile buffer_get.c |
---|
| 47 | |
---|
| 48 | buffer_put.o: buffer.h buffer_put.c byte.h compile error.h str.h |
---|
| 49 | ./compile buffer_put.c |
---|
| 50 | |
---|
| 51 | buffer_read.o: buffer.h buffer_read.c compile |
---|
| 52 | ./compile buffer_read.c |
---|
| 53 | |
---|
| 54 | buffer_write.o: buffer.h buffer_write.c compile |
---|
| 55 | ./compile buffer_write.c |
---|
| 56 | |
---|
| 57 | byte.a: byte_chr.o byte_copy.o byte_cr.o byte_diff.o byte_rchr.o \ |
---|
| 58 | fmt_uint.o fmt_uint0.o fmt_ulong.o makelib scan_ulong.o str_chr.o \ |
---|
| 59 | str_diff.o str_len.o str_start.o |
---|
| 60 | ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o \ |
---|
| 61 | byte_rchr.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o str_chr.o \ |
---|
| 62 | str_diff.o str_len.o str_start.o |
---|
| 63 | |
---|
| 64 | byte_chr.o: byte.h byte_chr.c compile |
---|
| 65 | ./compile byte_chr.c |
---|
| 66 | |
---|
| 67 | byte_copy.o: byte.h byte_copy.c compile |
---|
| 68 | ./compile byte_copy.c |
---|
| 69 | |
---|
| 70 | byte_cr.o: byte.h byte_cr.c compile |
---|
| 71 | ./compile byte_cr.c |
---|
| 72 | |
---|
| 73 | byte_diff.o: byte.h byte_diff.c compile |
---|
| 74 | ./compile byte_diff.c |
---|
| 75 | |
---|
| 76 | byte_rchr.o: byte.h byte_rchr.c compile |
---|
| 77 | ./compile byte_rchr.c |
---|
| 78 | |
---|
| 79 | chkshsgr: chkshsgr.o load |
---|
| 80 | ./load chkshsgr |
---|
| 81 | |
---|
| 82 | chkshsgr.o: chkshsgr.c compile |
---|
| 83 | ./compile chkshsgr.c |
---|
| 84 | |
---|
| 85 | choose: choose.sh home warn-auto.sh |
---|
| 86 | rm -f choose |
---|
| 87 | cat warn-auto.sh choose.sh \ |
---|
| 88 | | sed s}HOME}"`head -1 home`"}g \ |
---|
| 89 | > choose |
---|
| 90 | chmod 555 choose |
---|
| 91 | |
---|
| 92 | coe.o: coe.c coe.h compile |
---|
| 93 | ./compile coe.c |
---|
| 94 | |
---|
| 95 | compile: conf-cc print-cc.sh systype warn-auto.sh |
---|
| 96 | rm -f compile |
---|
| 97 | sh print-cc.sh > compile |
---|
| 98 | chmod 555 compile |
---|
| 99 | |
---|
| 100 | deepsleep.o: compile deepsleep.c deepsleep.h iopause.h tai.h taia.h \ |
---|
| 101 | uint64.h |
---|
| 102 | ./compile deepsleep.c |
---|
| 103 | |
---|
| 104 | direntry.h: choose compile direntry.h1 direntry.h2 trydrent.c |
---|
| 105 | ./choose c trydrent direntry.h1 direntry.h2 > direntry.h |
---|
| 106 | |
---|
| 107 | env.o: compile env.c env.h str.h |
---|
| 108 | ./compile env.c |
---|
| 109 | |
---|
| 110 | envdir: byte.a envdir.o load unix.a |
---|
| 111 | ./load envdir unix.a byte.a |
---|
| 112 | |
---|
| 113 | envdir.o: byte.h compile direntry.h envdir.c error.h gen_alloc.h \ |
---|
| 114 | open.h openreadclose.h pathexec.h stralloc.h strerr.h |
---|
| 115 | ./compile envdir.c |
---|
| 116 | |
---|
| 117 | envuidgid: byte.a envuidgid.o load unix.a |
---|
| 118 | ./load envuidgid unix.a byte.a |
---|
| 119 | |
---|
| 120 | envuidgid.o: compile envuidgid.c fmt.h pathexec.h strerr.h |
---|
| 121 | ./compile envuidgid.c |
---|
| 122 | |
---|
| 123 | error.o: compile error.c error.h |
---|
| 124 | ./compile error.c |
---|
| 125 | |
---|
| 126 | error_str.o: compile error.h error_str.c |
---|
| 127 | ./compile error_str.c |
---|
| 128 | |
---|
| 129 | fd_copy.o: compile fd.h fd_copy.c |
---|
| 130 | ./compile fd_copy.c |
---|
| 131 | |
---|
| 132 | fd_move.o: compile fd.h fd_move.c |
---|
| 133 | ./compile fd_move.c |
---|
| 134 | |
---|
| 135 | fghack: byte.a fghack.o load unix.a |
---|
| 136 | ./load fghack unix.a byte.a |
---|
| 137 | |
---|
| 138 | fghack.o: buffer.h compile error.h fghack.c pathexec.h strerr.h \ |
---|
| 139 | wait.h |
---|
| 140 | ./compile fghack.c |
---|
| 141 | |
---|
| 142 | fifo.o: compile fifo.c fifo.h hasmkffo.h |
---|
| 143 | ./compile fifo.c |
---|
| 144 | |
---|
| 145 | fmt_uint.o: compile fmt.h fmt_uint.c |
---|
| 146 | ./compile fmt_uint.c |
---|
| 147 | |
---|
| 148 | fmt_uint0.o: compile fmt.h fmt_uint0.c |
---|
| 149 | ./compile fmt_uint0.c |
---|
| 150 | |
---|
| 151 | fmt_ulong.o: compile fmt.h fmt_ulong.c |
---|
| 152 | ./compile fmt_ulong.c |
---|
| 153 | |
---|
| 154 | hasflock.h: choose compile hasflock.h1 hasflock.h2 load tryflock.c |
---|
| 155 | ./choose cl tryflock hasflock.h1 hasflock.h2 > hasflock.h |
---|
| 156 | |
---|
| 157 | hasmkffo.h: choose compile hasmkffo.h1 hasmkffo.h2 load trymkffo.c |
---|
| 158 | ./choose cl trymkffo hasmkffo.h1 hasmkffo.h2 > hasmkffo.h |
---|
| 159 | |
---|
| 160 | hassgact.h: choose compile hassgact.h1 hassgact.h2 load trysgact.c |
---|
| 161 | ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h |
---|
| 162 | |
---|
| 163 | hassgprm.h: choose compile hassgprm.h1 hassgprm.h2 load trysgprm.c |
---|
| 164 | ./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h |
---|
| 165 | |
---|
| 166 | hasshsgr.h: chkshsgr choose compile hasshsgr.h1 hasshsgr.h2 load \ |
---|
| 167 | tryshsgr.c warn-shsgr |
---|
| 168 | ./chkshsgr || ( cat warn-shsgr; exit 1 ) |
---|
| 169 | ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h |
---|
| 170 | |
---|
| 171 | haswaitp.h: choose compile haswaitp.h1 haswaitp.h2 load trywaitp.c |
---|
| 172 | ./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h |
---|
| 173 | |
---|
| 174 | iopause.h: choose compile iopause.h1 iopause.h2 load trypoll.c |
---|
| 175 | ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h |
---|
| 176 | |
---|
| 177 | iopause.o: compile iopause.c iopause.h select.h tai.h taia.h uint64.h |
---|
| 178 | ./compile iopause.c |
---|
| 179 | |
---|
| 180 | it: rts sysdeps |
---|
| 181 | |
---|
| 182 | load: conf-ld print-ld.sh systype warn-auto.sh |
---|
| 183 | rm -f load |
---|
| 184 | sh print-ld.sh > load |
---|
| 185 | chmod 555 load |
---|
| 186 | |
---|
| 187 | lock_ex.o: compile hasflock.h lock.h lock_ex.c |
---|
| 188 | ./compile lock_ex.c |
---|
| 189 | |
---|
| 190 | lock_exnb.o: compile hasflock.h lock.h lock_exnb.c |
---|
| 191 | ./compile lock_exnb.c |
---|
| 192 | |
---|
| 193 | makelib: print-ar.sh systype warn-auto.sh |
---|
| 194 | rm -f makelib |
---|
| 195 | sh print-ar.sh > makelib |
---|
| 196 | chmod 555 makelib |
---|
| 197 | |
---|
| 198 | match.o: compile match.c match.h |
---|
| 199 | ./compile match.c |
---|
| 200 | |
---|
| 201 | matchtest: byte.a load match.o matchtest.o unix.a |
---|
| 202 | ./load matchtest match.o unix.a byte.a |
---|
| 203 | |
---|
| 204 | matchtest.o: buffer.h compile match.h matchtest.c str.h |
---|
| 205 | ./compile matchtest.c |
---|
| 206 | |
---|
| 207 | multilog: byte.a deepsleep.o load match.o multilog.o time.a \ |
---|
| 208 | timestamp.o unix.a |
---|
| 209 | ./load multilog deepsleep.o timestamp.o match.o time.a unix.a byte.a |
---|
| 210 | |
---|
| 211 | multilog.o: alloc.h buffer.h byte.h coe.h compile deepsleep.h \ |
---|
| 212 | direntry.h env.h error.h fd.h lock.h match.h multilog.c open.h scan.h \ |
---|
| 213 | seek.h sig.h str.h strerr.h timestamp.h wait.h |
---|
| 214 | ./compile multilog.c |
---|
| 215 | |
---|
| 216 | ndelay_off.o: compile ndelay.h ndelay_off.c |
---|
| 217 | ./compile ndelay_off.c |
---|
| 218 | |
---|
| 219 | ndelay_on.o: compile ndelay.h ndelay_on.c |
---|
| 220 | ./compile ndelay_on.c |
---|
| 221 | |
---|
| 222 | open_append.o: compile open.h open_append.c |
---|
| 223 | ./compile open_append.c |
---|
| 224 | |
---|
| 225 | open_read.o: compile open.h open_read.c |
---|
| 226 | ./compile open_read.c |
---|
| 227 | |
---|
| 228 | open_trunc.o: compile open.h open_trunc.c |
---|
| 229 | ./compile open_trunc.c |
---|
| 230 | |
---|
| 231 | open_write.o: compile open.h open_write.c |
---|
| 232 | ./compile open_write.c |
---|
| 233 | |
---|
| 234 | openreadclose.o: compile error.h gen_alloc.h open.h openreadclose.c \ |
---|
| 235 | openreadclose.h readclose.h stralloc.h |
---|
| 236 | ./compile openreadclose.c |
---|
| 237 | |
---|
| 238 | pathexec_env.o: alloc.h byte.h compile env.h gen_alloc.h pathexec.h \ |
---|
| 239 | pathexec_env.c str.h stralloc.h |
---|
| 240 | ./compile pathexec_env.c |
---|
| 241 | |
---|
| 242 | pathexec_run.o: compile env.h error.h gen_alloc.h pathexec.h \ |
---|
| 243 | pathexec_run.c str.h stralloc.h |
---|
| 244 | ./compile pathexec_run.c |
---|
| 245 | |
---|
| 246 | pgrphack: byte.a load pgrphack.o unix.a |
---|
| 247 | ./load pgrphack unix.a byte.a |
---|
| 248 | |
---|
| 249 | pgrphack.o: compile pathexec.h pgrphack.c strerr.h |
---|
| 250 | ./compile pgrphack.c |
---|
| 251 | |
---|
| 252 | prot.o: compile hasshsgr.h prot.c prot.h |
---|
| 253 | ./compile prot.c |
---|
| 254 | |
---|
| 255 | readclose.o: compile error.h gen_alloc.h readclose.c readclose.h \ |
---|
| 256 | stralloc.h |
---|
| 257 | ./compile readclose.c |
---|
| 258 | |
---|
| 259 | readproctitle: byte.a load readproctitle.o unix.a |
---|
| 260 | ./load readproctitle unix.a byte.a |
---|
| 261 | |
---|
| 262 | readproctitle.o: compile error.h readproctitle.c |
---|
| 263 | ./compile readproctitle.c |
---|
| 264 | |
---|
| 265 | rts: envdir envuidgid fghack matchtest multilog pgrphack \ |
---|
| 266 | readproctitle rts.tests setlock setuidgid softlimit supervise svc \ |
---|
| 267 | svok svscan svscanboot svstat tai64n tai64nlocal |
---|
| 268 | |
---|
| 269 | ##env - /bin/sh rts.tests 2>&1 | cat -v > rts |
---|
| 270 | |
---|
| 271 | scan_ulong.o: compile scan.h scan_ulong.c |
---|
| 272 | ./compile scan_ulong.c |
---|
| 273 | |
---|
| 274 | seek_set.o: compile seek.h seek_set.c |
---|
| 275 | ./compile seek_set.c |
---|
| 276 | |
---|
| 277 | select.h: choose compile select.h1 select.h2 trysysel.c |
---|
| 278 | ./choose c trysysel select.h1 select.h2 > select.h |
---|
| 279 | |
---|
| 280 | setlock: byte.a load setlock.o unix.a |
---|
| 281 | ./load setlock unix.a byte.a |
---|
| 282 | |
---|
| 283 | setlock.o: compile lock.h open.h pathexec.h setlock.c sgetopt.h \ |
---|
| 284 | strerr.h subgetopt.h |
---|
| 285 | ./compile setlock.c |
---|
| 286 | |
---|
| 287 | setuidgid: byte.a load setuidgid.o unix.a |
---|
| 288 | ./load setuidgid unix.a byte.a |
---|
| 289 | |
---|
| 290 | setuidgid.o: compile pathexec.h prot.h setuidgid.c strerr.h |
---|
| 291 | ./compile setuidgid.c |
---|
| 292 | |
---|
| 293 | sgetopt.o: buffer.h compile sgetopt.c sgetopt.h subgetopt.h |
---|
| 294 | ./compile sgetopt.c |
---|
| 295 | |
---|
| 296 | sig.o: compile sig.c sig.h |
---|
| 297 | ./compile sig.c |
---|
| 298 | |
---|
| 299 | sig_block.o: compile hassgprm.h sig.h sig_block.c |
---|
| 300 | ./compile sig_block.c |
---|
| 301 | |
---|
| 302 | sig_catch.o: compile hassgact.h sig.h sig_catch.c |
---|
| 303 | ./compile sig_catch.c |
---|
| 304 | |
---|
| 305 | sig_pause.o: compile hassgprm.h sig.h sig_pause.c |
---|
| 306 | ./compile sig_pause.c |
---|
| 307 | |
---|
| 308 | softlimit: byte.a load softlimit.o unix.a |
---|
| 309 | ./load softlimit unix.a byte.a |
---|
| 310 | |
---|
| 311 | softlimit.o: compile pathexec.h scan.h sgetopt.h softlimit.c str.h \ |
---|
| 312 | strerr.h subgetopt.h |
---|
| 313 | ./compile softlimit.c |
---|
| 314 | |
---|
| 315 | str_chr.o: compile str.h str_chr.c |
---|
| 316 | ./compile str_chr.c |
---|
| 317 | |
---|
| 318 | str_diff.o: compile str.h str_diff.c |
---|
| 319 | ./compile str_diff.c |
---|
| 320 | |
---|
| 321 | str_len.o: compile str.h str_len.c |
---|
| 322 | ./compile str_len.c |
---|
| 323 | |
---|
| 324 | str_start.o: compile str.h str_start.c |
---|
| 325 | ./compile str_start.c |
---|
| 326 | |
---|
| 327 | stralloc_cat.o: byte.h compile gen_alloc.h stralloc.h stralloc_cat.c |
---|
| 328 | ./compile stralloc_cat.c |
---|
| 329 | |
---|
| 330 | stralloc_catb.o: byte.h compile gen_alloc.h stralloc.h \ |
---|
| 331 | stralloc_catb.c |
---|
| 332 | ./compile stralloc_catb.c |
---|
| 333 | |
---|
| 334 | stralloc_cats.o: byte.h compile gen_alloc.h str.h stralloc.h \ |
---|
| 335 | stralloc_cats.c |
---|
| 336 | ./compile stralloc_cats.c |
---|
| 337 | |
---|
| 338 | stralloc_eady.o: alloc.h compile gen_alloc.h gen_allocdefs.h \ |
---|
| 339 | stralloc.h stralloc_eady.c |
---|
| 340 | ./compile stralloc_eady.c |
---|
| 341 | |
---|
| 342 | stralloc_opyb.o: byte.h compile gen_alloc.h stralloc.h \ |
---|
| 343 | stralloc_opyb.c |
---|
| 344 | ./compile stralloc_opyb.c |
---|
| 345 | |
---|
| 346 | stralloc_opys.o: byte.h compile gen_alloc.h str.h stralloc.h \ |
---|
| 347 | stralloc_opys.c |
---|
| 348 | ./compile stralloc_opys.c |
---|
| 349 | |
---|
| 350 | stralloc_pend.o: alloc.h compile gen_alloc.h gen_allocdefs.h \ |
---|
| 351 | stralloc.h stralloc_pend.c |
---|
| 352 | ./compile stralloc_pend.c |
---|
| 353 | |
---|
| 354 | strerr_die.o: buffer.h compile strerr.h strerr_die.c |
---|
| 355 | ./compile strerr_die.c |
---|
| 356 | |
---|
| 357 | strerr_sys.o: compile error.h strerr.h strerr_sys.c |
---|
| 358 | ./compile strerr_sys.c |
---|
| 359 | |
---|
| 360 | subgetopt.o: compile subgetopt.c subgetopt.h |
---|
| 361 | ./compile subgetopt.c |
---|
| 362 | |
---|
| 363 | supervise: byte.a deepsleep.o load supervise.o time.a unix.a |
---|
| 364 | ./load supervise deepsleep.o time.a unix.a byte.a libtimesaver.a |
---|
| 365 | |
---|
| 366 | supervise.o: coe.h compile deepsleep.h env.h error.h fifo.h iopause.h \ |
---|
| 367 | lock.h ndelay.h open.h sig.h strerr.h supervise.c tai.h taia.h \ |
---|
| 368 | uint64.h wait.h |
---|
| 369 | ./compile supervise.c |
---|
| 370 | |
---|
| 371 | svc: byte.a load svc.o unix.a |
---|
| 372 | ./load svc unix.a byte.a |
---|
| 373 | |
---|
| 374 | svc.o: buffer.h byte.h compile error.h ndelay.h open.h sgetopt.h \ |
---|
| 375 | sig.h strerr.h subgetopt.h svc.c |
---|
| 376 | ./compile svc.c |
---|
| 377 | |
---|
| 378 | svok: byte.a load svok.o unix.a |
---|
| 379 | ./load svok unix.a byte.a |
---|
| 380 | |
---|
| 381 | svok.o: compile error.h open.h strerr.h svok.c |
---|
| 382 | ./compile svok.c |
---|
| 383 | |
---|
| 384 | svscan: byte.a load svscan.o unix.a |
---|
| 385 | ./load svscan unix.a byte.a |
---|
| 386 | |
---|
| 387 | svscan.o: byte.h coe.h compile direntry.h env.h error.h fd.h \ |
---|
| 388 | pathexec.h str.h strerr.h svscan.c wait.h |
---|
| 389 | ./compile svscan.c |
---|
| 390 | |
---|
| 391 | svscanboot: home svscanboot.sh warn-auto.sh |
---|
| 392 | rm -f svscanboot |
---|
| 393 | cat warn-auto.sh svscanboot.sh \ |
---|
| 394 | | sed s}HOME}"`head -1 home`"}g \ |
---|
| 395 | > svscanboot |
---|
| 396 | chmod 555 svscanboot |
---|
| 397 | |
---|
| 398 | svstat: byte.a load svstat.o time.a unix.a |
---|
| 399 | ./load svstat time.a unix.a byte.a |
---|
| 400 | |
---|
| 401 | svstat.o: buffer.h compile error.h fmt.h open.h strerr.h svstat.c \ |
---|
| 402 | tai.h uint64.h |
---|
| 403 | ./compile svstat.c |
---|
| 404 | |
---|
| 405 | sysdeps: compile direntry.h hasflock.h hasmkffo.h hassgact.h \ |
---|
| 406 | hassgprm.h hasshsgr.h haswaitp.h iopause.h load select.h systype \ |
---|
| 407 | uint64.h |
---|
| 408 | rm -f sysdeps |
---|
| 409 | cat systype compile load >> sysdeps |
---|
| 410 | grep sysdep direntry.h >> sysdeps |
---|
| 411 | grep sysdep haswaitp.h >> sysdeps |
---|
| 412 | grep sysdep hassgact.h >> sysdeps |
---|
| 413 | grep sysdep hassgprm.h >> sysdeps |
---|
| 414 | grep sysdep select.h >> sysdeps |
---|
| 415 | grep sysdep uint64.h >> sysdeps |
---|
| 416 | grep sysdep iopause.h >> sysdeps |
---|
| 417 | grep sysdep hasmkffo.h >> sysdeps |
---|
| 418 | grep sysdep hasflock.h >> sysdeps |
---|
| 419 | grep sysdep hasshsgr.h >> sysdeps |
---|
| 420 | |
---|
| 421 | systype: find-systype.sh trycpp.c x86cpuid.c |
---|
| 422 | sh find-systype.sh > systype |
---|
| 423 | |
---|
| 424 | tai64n: byte.a load tai64n.o time.a timestamp.o unix.a |
---|
| 425 | ./load tai64n timestamp.o time.a unix.a byte.a |
---|
| 426 | |
---|
| 427 | tai64n.o: buffer.h compile tai64n.c timestamp.h |
---|
| 428 | ./compile tai64n.c |
---|
| 429 | |
---|
| 430 | tai64nlocal: byte.a load tai64nlocal.o unix.a |
---|
| 431 | ./load tai64nlocal unix.a byte.a |
---|
| 432 | |
---|
| 433 | tai64nlocal.o: buffer.h compile fmt.h tai64nlocal.c |
---|
| 434 | ./compile tai64nlocal.c |
---|
| 435 | |
---|
| 436 | tai_now.o: compile tai.h tai_now.c uint64.h |
---|
| 437 | ./compile tai_now.c |
---|
| 438 | |
---|
| 439 | tai_pack.o: compile tai.h tai_pack.c uint64.h |
---|
| 440 | ./compile tai_pack.c |
---|
| 441 | |
---|
| 442 | tai_sub.o: compile tai.h tai_sub.c uint64.h |
---|
| 443 | ./compile tai_sub.c |
---|
| 444 | |
---|
| 445 | tai_unpack.o: compile tai.h tai_unpack.c uint64.h |
---|
| 446 | ./compile tai_unpack.c |
---|
| 447 | |
---|
| 448 | taia_add.o: compile tai.h taia.h taia_add.c uint64.h |
---|
| 449 | ./compile taia_add.c |
---|
| 450 | |
---|
| 451 | taia_approx.o: compile tai.h taia.h taia_approx.c uint64.h |
---|
| 452 | ./compile taia_approx.c |
---|
| 453 | |
---|
| 454 | taia_frac.o: compile tai.h taia.h taia_frac.c uint64.h |
---|
| 455 | ./compile taia_frac.c |
---|
| 456 | |
---|
| 457 | taia_less.o: compile tai.h taia.h taia_less.c uint64.h |
---|
| 458 | ./compile taia_less.c |
---|
| 459 | |
---|
| 460 | taia_now.o: compile tai.h taia.h taia_now.c uint64.h |
---|
| 461 | ./compile taia_now.c |
---|
| 462 | |
---|
| 463 | taia_pack.o: compile tai.h taia.h taia_pack.c uint64.h |
---|
| 464 | ./compile taia_pack.c |
---|
| 465 | |
---|
| 466 | taia_sub.o: compile tai.h taia.h taia_sub.c uint64.h |
---|
| 467 | ./compile taia_sub.c |
---|
| 468 | |
---|
| 469 | taia_uint.o: compile tai.h taia.h taia_uint.c uint64.h |
---|
| 470 | ./compile taia_uint.c |
---|
| 471 | |
---|
| 472 | time.a: iopause.o makelib tai_now.o tai_pack.o tai_sub.o tai_unpack.o \ |
---|
| 473 | taia_add.o taia_approx.o taia_frac.o taia_less.o taia_now.o \ |
---|
| 474 | taia_pack.o taia_sub.o taia_uint.o |
---|
| 475 | ./makelib time.a iopause.o tai_now.o tai_pack.o tai_sub.o \ |
---|
| 476 | tai_unpack.o taia_add.o taia_approx.o taia_frac.o taia_less.o \ |
---|
| 477 | taia_now.o taia_pack.o taia_sub.o taia_uint.o |
---|
| 478 | |
---|
| 479 | timestamp.o: compile tai.h taia.h timestamp.c timestamp.h uint64.h |
---|
| 480 | ./compile timestamp.c |
---|
| 481 | |
---|
| 482 | uint64.h: choose compile load tryulong64.c uint64.h1 uint64.h2 |
---|
| 483 | ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h |
---|
| 484 | |
---|
| 485 | unix.a: alloc.o alloc_re.o buffer.o buffer_0.o buffer_1.o buffer_2.o \ |
---|
| 486 | buffer_get.o buffer_put.o buffer_read.o buffer_write.o coe.o env.o \ |
---|
| 487 | error.o error_str.o fd_copy.o fd_move.o fifo.o lock_ex.o lock_exnb.o \ |
---|
| 488 | makelib ndelay_off.o ndelay_on.o open_append.o open_read.o \ |
---|
| 489 | open_trunc.o open_write.o openreadclose.o pathexec_env.o \ |
---|
| 490 | pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o sig.o \ |
---|
| 491 | sig_block.o sig_catch.o sig_pause.o stralloc_cat.o stralloc_catb.o \ |
---|
| 492 | stralloc_cats.o stralloc_eady.o stralloc_opyb.o stralloc_opys.o \ |
---|
| 493 | stralloc_pend.o strerr_die.o strerr_sys.o subgetopt.o wait_nohang.o \ |
---|
| 494 | wait_pid.o |
---|
| 495 | ./makelib unix.a alloc.o alloc_re.o buffer.o buffer_0.o buffer_1.o \ |
---|
| 496 | buffer_2.o buffer_get.o buffer_put.o buffer_read.o buffer_write.o \ |
---|
| 497 | coe.o env.o error.o error_str.o fd_copy.o fd_move.o fifo.o lock_ex.o \ |
---|
| 498 | lock_exnb.o ndelay_off.o ndelay_on.o open_append.o open_read.o \ |
---|
| 499 | open_trunc.o open_write.o openreadclose.o pathexec_env.o \ |
---|
| 500 | pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o sig.o \ |
---|
| 501 | sig_block.o sig_catch.o sig_pause.o stralloc_cat.o stralloc_catb.o \ |
---|
| 502 | stralloc_cats.o stralloc_eady.o stralloc_opyb.o stralloc_opys.o \ |
---|
| 503 | stralloc_pend.o strerr_die.o strerr_sys.o subgetopt.o wait_nohang.o \ |
---|
| 504 | wait_pid.o |
---|
| 505 | |
---|
| 506 | wait_nohang.o: compile haswaitp.h wait_nohang.c |
---|
| 507 | ./compile wait_nohang.c |
---|
| 508 | |
---|
| 509 | wait_pid.o: compile error.h haswaitp.h wait_pid.c |
---|
| 510 | ./compile wait_pid.c |
---|
| 511 | |
---|