Makefile revision 3925
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff#
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# CDDL HEADER START
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff#
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# The contents of this file are subject to the terms of the
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# Common Development and Distribution License (the "License").
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# You may not use this file except in compliance with the License.
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff#
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
58007c5fde59b756174280d26916eb27f593e6ccBob Halley# or http://www.opensolaris.org/os/licensing.
58007c5fde59b756174280d26916eb27f593e6ccBob Halley# See the License for the specific language governing permissions
58007c5fde59b756174280d26916eb27f593e6ccBob Halley# and limitations under the License.
58007c5fde59b756174280d26916eb27f593e6ccBob Halley#
58007c5fde59b756174280d26916eb27f593e6ccBob Halley# When distributing Covered Code, include this CDDL HEADER in each
58007c5fde59b756174280d26916eb27f593e6ccBob Halley# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
58007c5fde59b756174280d26916eb27f593e6ccBob Halley# If applicable, add the following below this CDDL HEADER, with the
58007c5fde59b756174280d26916eb27f593e6ccBob Halley# fields enclosed by brackets "[]" replaced with your own identifying
58007c5fde59b756174280d26916eb27f593e6ccBob Halley# information: Portions Copyright [yyyy] [name of copyright owner]
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff#
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# CDDL HEADER END
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff#
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff#
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
a55d0a9080c8ef4117d2fc27f63220a56afb2434Andreas Gustafsson#
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff
353dcaf1cc77d122d9b4b750bbbfc4c96b4b292bAndreas Gustafssoninclude ../../make-rules/shared-macros.mk
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCOMPONENT_NAME= ntp
58007c5fde59b756174280d26916eb27f593e6ccBob HalleyCOMPONENT_VERSION= 4.2.8
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCOMPONENT_PATCH_VERSION= 1
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCOMPONENT_RC_VERSION= 1
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffHUMAN_VERSION= $(COMPONENT_VERSION)p$(COMPONENT_PATCH_VERSION)
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCOMPONENT_PROJECT_URL= http://www.ntp.org/
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCOMPONENT_SRC_NAME= ntp
a55d0a9080c8ef4117d2fc27f63220a56afb2434Andreas GustafssonCOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(HUMAN_VERSION)
7e4d75a5daeaaf8a7f559f9bd7fbf540184e235cMark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
353dcaf1cc77d122d9b4b750bbbfc4c96b4b292bAndreas GustafssonCOMPONENT_ARCHIVE_HASH= \
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff sha256:948274b88f1ed002d867ced6aaefdfd0999668b11285ac2b3a67ff2629d59d88
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCOMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/ntp-4.2/$(COMPONENT_ARCHIVE)
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCOMPONENT_BUGDB= service/ntp
58007c5fde59b756174280d26916eb27f593e6ccBob Halley
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffTPNO= 20866
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffPATCH_LEVEL = 0
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graffinclude ../../make-rules/prep.mk
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graffinclude ../../make-rules/configure.mk
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graffinclude ../../make-rules/ips.mk
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff
58007c5fde59b756174280d26916eb27f593e6ccBob HalleyCFLAGS += $(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
58007c5fde59b756174280d26916eb27f593e6ccBob Halley
58007c5fde59b756174280d26916eb27f593e6ccBob HalleyCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCONFIGURE_OPTIONS += --bindir=/usr/sbin
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCONFIGURE_OPTIONS += --with-binsubdir=sbin
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCONFIGURE_OPTIONS += --libexecdir=/usr/lib/inet
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCONFIGURE_OPTIONS += --sysconfdir=/etc/inet
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCONFIGURE_OPTIONS += --enable-all-clocks
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCONFIGURE_OPTIONS += --enable-debugging
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCONFIGURE_OPTIONS += --enable-debug-timing
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCONFIGURE_OPTIONS += --disable-optional-args
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCONFIGURE_OPTIONS += --enable-parse-clocks
58007c5fde59b756174280d26916eb27f593e6ccBob HalleyCONFIGURE_OPTIONS += --enable-ignore-dns-errors
58007c5fde59b756174280d26916eb27f593e6ccBob HalleyCONFIGURE_OPTIONS += --without-ntpsnmpd
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCONFIGURE_OPTIONS += --with-openssl-libdir=/lib
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graffbuild: $(BUILD_32)
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graffinstall: $(INSTALL_32)
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Grafftest: $(NO_TESTS)
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graffinclude ../../make-rules/depend.mk
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff