Makefile revision 5795
1308N/A#
1308N/A# CDDL HEADER START
1308N/A#
1308N/A# The contents of this file are subject to the terms of the
1308N/A# Common Development and Distribution License (the "License").
1308N/A# You may not use this file except in compliance with the License.
1308N/A#
1308N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1308N/A# or http://www.opensolaris.org/os/licensing.
1308N/A# See the License for the specific language governing permissions
1308N/A# and limitations under the License.
1308N/A#
1308N/A# When distributing Covered Code, include this CDDL HEADER in each
1308N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1308N/A# If applicable, add the following below this CDDL HEADER, with the
1308N/A# fields enclosed by brackets "[]" replaced with your own identifying
1308N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1308N/A#
1308N/A# CDDL HEADER END
1308N/A#
1308N/A
1308N/A#
1326N/A# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
1308N/A#
1308N/ABUILD_BITS= 32
1308N/Ainclude ../../make-rules/shared-macros.mk
1308N/A
1308N/ACOMPONENT_NAME= ntp
1308N/ACOMPONENT_VERSION= 4.2.8
1308N/ACOMPONENT_PATCH_VERSION= 6
1308N/ACOMPONENT_RC_VERSION= 1
1308N/AHUMAN_VERSION= $(COMPONENT_VERSION)p$(COMPONENT_PATCH_VERSION)
1308N/AIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
1308N/ACOMPONENT_PROJECT_URL= http://www.ntp.org/
1308N/ACOMPONENT_SRC_NAME= ntp
1308N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(HUMAN_VERSION)
1308N/ACOMPONENT_ARCHIVE_HASH= \
1308N/A sha256:583d0e1c573ace30a9c6afbea0fc52cae9c8c916dbc15c026e485a0dda4ba048
1308N/ACOMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/ntp-4.2/$(COMPONENT_ARCHIVE)
1308N/ACOMPONENT_BUGDB= service/ntp
1308N/A
1308N/ATPNO= 20866
1308N/A
1308N/APATCH_LEVEL = 0
1326N/A
1326N/ATEST_TARGET= $(NO_TESTS)
1326N/Ainclude $(WS_MAKE_RULES)/common.mk
1308N/A
1308N/ACFLAGS += -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
1308N/A
1308N/Astudio_C99MODE= $(studio_C99_ENABLE)
1308N/ACFLAGS.studio.i386 = -preserve_argvalues=complete
1308N/A
1308N/ACONFIGURE_BINDIR.32 = $(USRSBINDIR)
1308N/A
1308N/ACONFIGURE_OPTIONS += --with-binsubdir=sbin
1308N/ACONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)/inet
1308N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/inet
1308N/ACONFIGURE_OPTIONS += --enable-all-clocks
1308N/ACONFIGURE_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)
REQUIRED_PACKAGES += library/libedit
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += $(PERL_PKG)
REQUIRED_PACKAGES += service/network/dns/mdns
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += system/library/security/crypto