components/ntp/Makefile
changeset 5957 c5fa57b940a5
parent 5797 432ac76de3b0
child 5958 8e562647e7c5
equal deleted inserted replaced
5956:bab7092584c6 5957:c5fa57b940a5
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 BUILD_BITS= 32
    25 BUILD_BITS= 64
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		ntp
    28 COMPONENT_NAME=		ntp
    29 COMPONENT_VERSION=	4.2.8
    29 COMPONENT_VERSION=	4.2.8
    30 COMPONENT_PATCH_VERSION=	6
    30 COMPONENT_PATCH_VERSION=	6
    49 CFLAGS +=	 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
    49 CFLAGS +=	 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
    50 
    50 
    51 studio_C99MODE= $(studio_C99_ENABLE)
    51 studio_C99MODE= $(studio_C99_ENABLE)
    52 CFLAGS.studio.i386 =	-preserve_argvalues=complete
    52 CFLAGS.studio.i386 =	-preserve_argvalues=complete
    53 
    53 
    54 CONFIGURE_BINDIR.32 = $(USRSBINDIR)
    54 CONFIGURE_BINDIR.64 = $(USRSBINDIR)
    55 
    55 
    56 CONFIGURE_OPTIONS +=	--with-binsubdir=sbin
    56 CONFIGURE_OPTIONS +=	--with-binsubdir=sbin
    57 CONFIGURE_OPTIONS +=	--libexecdir=$(USRLIBDIR)/inet
    57 CONFIGURE_OPTIONS +=	--libexecdir=$(USRLIBDIR)/inet
    58 CONFIGURE_OPTIONS +=	--sysconfdir=$(ETCDIR)/inet
    58 CONFIGURE_OPTIONS +=	--sysconfdir=$(ETCDIR)/inet
    59 CONFIGURE_OPTIONS +=	--enable-all-clocks
    59 CONFIGURE_OPTIONS +=	--enable-all-clocks
    61 CONFIGURE_OPTIONS +=	--enable-debug-timing
    61 CONFIGURE_OPTIONS +=	--enable-debug-timing
    62 CONFIGURE_OPTIONS +=	--disable-optional-args
    62 CONFIGURE_OPTIONS +=	--disable-optional-args
    63 CONFIGURE_OPTIONS +=	--enable-parse-clocks
    63 CONFIGURE_OPTIONS +=	--enable-parse-clocks
    64 CONFIGURE_OPTIONS +=	--enable-ignore-dns-errors
    64 CONFIGURE_OPTIONS +=	--enable-ignore-dns-errors
    65 CONFIGURE_OPTIONS +=	--without-ntpsnmpd
    65 CONFIGURE_OPTIONS +=	--without-ntpsnmpd
    66 CONFIGURE_OPTIONS +=	--with-openssl-libdir=$(LIBDIR)
    66 CONFIGURE_OPTIONS +=	--with-openssl-libdir=$(LIBDIR)/$(MACH64)
    67 
    67 
    68 REQUIRED_PACKAGES += library/libedit
    68 REQUIRED_PACKAGES += library/libedit
    69 REQUIRED_PACKAGES += library/security/openssl
    69 REQUIRED_PACKAGES += library/security/openssl
    70 REQUIRED_PACKAGES += $(PERL_PKG)
    70 REQUIRED_PACKAGES += $(PERL_PKG)
    71 REQUIRED_PACKAGES += service/network/dns/mdns
    71 REQUIRED_PACKAGES += service/network/dns/mdns