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