Makefile revision 6561
1571N/A#
1571N/A# CDDL HEADER START
1571N/A#
1571N/A# The contents of this file are subject to the terms of the
1571N/A# Common Development and Distribution License (the "License").
1571N/A# You may not use this file except in compliance with the License.
1571N/A#
1571N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1571N/A# or http://www.opensolaris.org/os/licensing.
1571N/A# See the License for the specific language governing permissions
1571N/A# and limitations under the License.
1571N/A#
1571N/A# When distributing Covered Code, include this CDDL HEADER in each
1571N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1571N/A# If applicable, add the following below this CDDL HEADER, with the
1571N/A# fields enclosed by brackets "[]" replaced with your own identifying
1571N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1571N/A#
1571N/A# CDDL HEADER END
1571N/A#
1571N/A
1571N/A#
2337N/A# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
1571N/A#
1571N/A
1571N/Ainclude ../../make-rules/shared-macros.mk
1571N/A
1571N/ACOMPONENT_NAME= ntp
1571N/ACOMPONENT_VERSION= 4.2.8
1571N/ACOMPONENT_PATCH_VERSION= 6
1571N/ACOMPONENT_RC_VERSION= 1
1571N/AHUMAN_VERSION= $(COMPONENT_VERSION)p$(COMPONENT_PATCH_VERSION)
1571N/AIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
1571N/ACOMPONENT_PROJECT_URL= http://www.ntp.org/
1571N/ACOMPONENT_SRC_NAME= ntp
3661N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(HUMAN_VERSION)
1571N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3661N/ACOMPONENT_ARCHIVE_HASH= \
1571N/A sha256:583d0e1c573ace30a9c6afbea0fc52cae9c8c916dbc15c026e485a0dda4ba048
1571N/ACOMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/ntp-4.2/$(COMPONENT_ARCHIVE)
1571N/ACOMPONENT_BUGDB= service/ntp
1571N/A
1571N/ATPNO= 20866
1571N/A
1571N/APATCH_LEVEL = 0
1571N/A
1571N/AASLR_MODE= $(ASLR_ENABLE)
1571N/A
1571N/Ainclude $(WS_MAKE_RULES)/prep.mk
1571N/Ainclude $(WS_MAKE_RULES)/configure.mk
1571N/Ainclude $(WS_MAKE_RULES)/ips.mk
1571N/A
1571N/ACFLAGS += $(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
1571N/A
1571N/ACONFIGURE_BINDIR.64 = /usr/sbin
1571N/ACONFIGURE_SBINDIR.64 = /usr/sbin
1571N/A
1571N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
1571N/ACONFIGURE_OPTIONS += --with-binsubdir=sbin
1571N/ACONFIGURE_OPTIONS += --libexecdir=/usr/lib/inet
1571N/ACONFIGURE_OPTIONS += --sysconfdir=/etc/inet
1571N/ACONFIGURE_OPTIONS += --enable-all-clocks
CONFIGURE_OPTIONS += --enable-debugging
CONFIGURE_OPTIONS += --enable-debug-timing
CONFIGURE_OPTIONS += --disable-optional-args
CONFIGURE_OPTIONS += --enable-parse-clocks
CONFIGURE_OPTIONS += --enable-ignore-dns-errors
CONFIGURE_OPTIONS += --without-ntpsnmpd
CONFIGURE_OPTIONS += --with-openssl-libdir=$(LIBDIR)/$(MACH64)
configure: $(CONFIGURE_64)
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(NO_TESTS)
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