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