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