Makefile revision 5420
172N/A#
172N/A# CDDL HEADER START
172N/A#
172N/A# The contents of this file are subject to the terms of the
172N/A# Common Development and Distribution License (the "License").
172N/A# You may not use this file except in compliance with the License.
172N/A#
172N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
172N/A# or http://www.opensolaris.org/os/licensing.
172N/A# See the License for the specific language governing permissions
172N/A# and limitations under the License.
172N/A#
172N/A# When distributing Covered Code, include this CDDL HEADER in each
172N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
172N/A# If applicable, add the following below this CDDL HEADER, with the
172N/A# fields enclosed by brackets "[]" replaced with your own identifying
172N/A# information: Portions Copyright [yyyy] [name of copyright owner]
172N/A#
172N/A# CDDL HEADER END
172N/A#
172N/A
172N/A#
3925N/A# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
172N/A#
172N/A
172N/Ainclude ../../make-rules/shared-macros.mk
172N/A
1273N/ACOMPONENT_NAME= ntp
3573N/ACOMPONENT_VERSION= 4.2.8
3925N/ACOMPONENT_PATCH_VERSION= 6
3925N/ACOMPONENT_RC_VERSION= 1
3925N/AHUMAN_VERSION= $(COMPONENT_VERSION)p$(COMPONENT_PATCH_VERSION)
3925N/AIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
618N/ACOMPONENT_PROJECT_URL= http://www.ntp.org/
3573N/ACOMPONENT_SRC_NAME= ntp
1273N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(HUMAN_VERSION)
172N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3925N/ACOMPONENT_ARCHIVE_HASH= \
3925N/A sha256:583d0e1c573ace30a9c6afbea0fc52cae9c8c916dbc15c026e485a0dda4ba048
3925N/ACOMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/ntp-4.2/$(COMPONENT_ARCHIVE)
3925N/ACOMPONENT_BUGDB= service/ntp
1273N/A
3573N/ATPNO= 20866
3347N/A
172N/APATCH_LEVEL = 0
172N/A
172N/AASLR_MODE= $(ASLR_ENABLE)
172N/A
172N/Ainclude $(WS_MAKE_RULES)/prep.mk
172N/Ainclude $(WS_MAKE_RULES)/configure.mk
181N/Ainclude $(WS_MAKE_RULES)/ips.mk
181N/A
181N/ACFLAGS += $(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
172N/A
172N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
172N/ACONFIGURE_OPTIONS += --bindir=/usr/sbin
172N/ACONFIGURE_OPTIONS += --with-binsubdir=sbin
172N/ACONFIGURE_OPTIONS += --libexecdir=/usr/lib/inet
172N/ACONFIGURE_OPTIONS += --sysconfdir=/etc/inet
172N/ACONFIGURE_OPTIONS += --enable-all-clocks
172N/ACONFIGURE_OPTIONS += --enable-debugging
172N/ACONFIGURE_OPTIONS += --enable-debug-timing
172N/ACONFIGURE_OPTIONS += --disable-optional-args
172N/ACONFIGURE_OPTIONS += --enable-parse-clocks
172N/ACONFIGURE_OPTIONS += --enable-ignore-dns-errors
172N/ACONFIGURE_OPTIONS += --without-ntpsnmpd
172N/ACONFIGURE_OPTIONS += --with-openssl-libdir=/lib
172N/A
172N/A
172N/Abuild: $(BUILD_32)
181N/Ainstall: $(INSTALL_32)
172N/Atest: $(NO_TESTS)
172N/A
REQUIRED_PACKAGES += library/libedit
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += runtime/perl-512
REQUIRED_PACKAGES += service/network/dns/mdns
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math