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