Makefile revision 3572
4814N/A#
4814N/A# CDDL HEADER START
4814N/A#
4814N/A# The contents of this file are subject to the terms of the
4814N/A# Common Development and Distribution License (the "License").
4814N/A# You may not use this file except in compliance with the License.
4814N/A#
4814N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4814N/A# or http://www.opensolaris.org/os/licensing.
4814N/A# See the License for the specific language governing permissions
4814N/A# and limitations under the License.
4814N/A#
4814N/A# When distributing Covered Code, include this CDDL HEADER in each
4814N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4814N/A# If applicable, add the following below this CDDL HEADER, with the
4814N/A# fields enclosed by brackets "[]" replaced with your own identifying
4814N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4814N/A#
4814N/A# CDDL HEADER END
4814N/A#
4814N/A
4814N/A#
4814N/A# Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
4814N/A#
include ../../make-rules/shared-macros.mk
COMPONENT_NAME= ntp
COMPONENT_VERSION= 4.2.8
HUMAN_VERSION= $(COMPONENT_VERSION)
IPS_COMPONENT_VERSION= $(COMPONENT_VERSION)
COMPONENT_PROJECT_URL= http://www.ntp.org/
COMPONENT_SRC_NAME= ntp
COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(HUMAN_VERSION)
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= \
sha256:2e920df8b6a5a410567a73767fa458c00c7f0acec3213e69ed0134414a50d8ee
COMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/$(COMPONENT_ARCHIVE)
COMPONENT_BUGDB= service/ntp
TPNO= 20866
PATCH_LEVEL = 0
ASLR_MODE= $(ASLR_ENABLE)
include ../../make-rules/prep.mk
include ../../make-rules/configure.mk
include ../../make-rules/ips.mk
CFLAGS += $(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
CONFIGURE_OPTIONS += --bindir=/usr/sbin
CONFIGURE_OPTIONS += --with-binsubdir=sbin
CONFIGURE_OPTIONS += --libexecdir=/usr/lib/inet
CONFIGURE_OPTIONS += --sysconfdir=/etc/inet
CONFIGURE_OPTIONS += --enable-all-clocks
CONFIGURE_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=/lib
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
configure: $(CONFIGURE_32)
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(NO_TESTS)
include ../../make-rules/depend.mk