Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (2)
The libopts libray is long dead. Decomplicate the build recipe.
· 5b636939
Eric S. Raymond
authored
Oct 21, 2016
5b636939
Remove unecessary things from link lines.
· d3934c53
Eric S. Raymond
authored
Oct 21, 2016
d3934c53
Hide whitespace changes
Inline
Side-by-side
ntpd/wscript
View file @
d3934c53
...
...
@@ -130,11 +130,10 @@ def build(ctx):
target = "ntpd",
features = "c rtems_trace cprogram bld_include src_include libisc_include libisc_pthread_include ntp_version",
source = ntpd_source,
use = "libntpd_obj isc ntp sodium opts M parse RT CAP SECCOMP THR PTHREAD CRYPTO DNS_SD DNS_SD_INCLUDES %s" % use_refclock,
# use = "libntpd_obj bison_obj isc ntp sodium opts M parse RT CAP THR PTHREAD CRYPTO DNS_SD DNS_SD_INCLUDES %s" % use_refclock,
use = "libntpd_obj isc ntp sodium M parse RT CAP SECCOMP PTHREAD CRYPTO DNS_SD DNS_SD_INCLUDES %s" % use_refclock,
includes = [
"%s/host/ntpd/" % ctx.bldnode.parent.abspath(),
"%s/ntpd/" % srcnode,
"%s/host/ntpd/" % ctx.bldnode.parent.abspath(),
"%s/ntpd/" % srcnode,
"%s/libsodium/include" % srcnode
],
install_path = ntpd_install_path,
...
...
ntpdig/wscript
View file @
d3934c53
...
...
@@ -13,7 +13,7 @@ def build(ctx):
ctx(
target = "ntpdig_obj",
features = "c bld_include src_include libisc_include",
use = "ntp isc
opts
M PTHREAD LIBEVENT_CORE LIBEVENT_PTHREADS RT CRYPTO",
use = "ntp isc M PTHREAD LIBEVENT_CORE LIBEVENT_PTHREADS RT CRYPTO",
source = ntpdig_obj_source,
cwd = bldnode,
includes = [
...
...
@@ -28,7 +28,7 @@ def build(ctx):
ctx(
target = "ntpdig",
features = "c cprogram bld_include src_include libisc_include ntp_version",
use = "ntp isc
opts
ntpdig_obj M PTHREAD ntpdig_obj LIBEVENT_CORE LIBEVENT_PTHREADS RT CRYPTO",
use = "ntp isc ntpdig_obj M PTHREAD ntpdig_obj LIBEVENT_CORE LIBEVENT_PTHREADS RT CRYPTO",
source = ntpdig_source,
cwd = bldnode,
includes = [
...
...
ntpfrob/wscript
View file @
d3934c53
...
...
@@ -14,7 +14,6 @@ def build(ctx):
includes = [
"%s/ntpfrob/" % bldnode
],
use = "ntp opts isc M RT PTHREAD",
install_path = "${PREFIX}/bin/"
)
...
...
ntpkeygen/wscript
View file @
d3934c53
...
...
@@ -17,7 +17,7 @@ def build(ctx):
"%s/libsodium/include/" % srcnode
],
# clock_gettime needs -lrt for glibc versions before 2.17
use = "ntp
opts
isc sodium M
RT PTHREAD
CRYPTO",
use = "ntp isc sodium M CRYPTO",
install_path= "${PREFIX}/bin/"
)
...
...
ntpq/wscript
View file @
d3934c53
...
...
@@ -11,7 +11,7 @@ def build(ctx):
target = "ntpq",
features = "c cprogram bld_include src_include libisc_include ntp_version",
source = ntpq_source,
use = "ntp
opts
isc M RT READLINE EDIT PTHREAD CRYPTO CURSES NCURSES READLINE",
use = "ntp isc M RT READLINE EDIT PTHREAD CRYPTO CURSES NCURSES READLINE",
includes = [bldnode],
install_path = "${PREFIX}/bin/",
)
...
...
ntptime/wscript
View file @
d3934c53
...
...
@@ -13,7 +13,7 @@ def build(ctx):
"%s/ntptime/" % bldnode,
"%s/ntptime/" % srcnode,
],
use = "ntp
opts isc M RT PTHREAD
",
use = "ntp
isc M
",
install_path = "${PREFIX}/bin/"
)
...
...
util/wscript
View file @
d3934c53
...
...
@@ -13,6 +13,6 @@ def build(ctx):
includes = [
"%s/%s/" % (bldnode, name)
],
use = "ntp
opts
isc M RT THR PTHREAD",
use = "ntp isc M RT THR PTHREAD",
install_path = None,
)