Makefile revision 1273
306N/A#
306N/A# CDDL HEADER START
306N/A#
306N/A# The contents of this file are subject to the terms of the
306N/A# Common Development and Distribution License (the "License").
306N/A# You may not use this file except in compliance with the License.
306N/A#
306N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
306N/A# or http://www.opensolaris.org/os/licensing.
306N/A# See the License for the specific language governing permissions
306N/A# and limitations under the License.
306N/A#
306N/A# When distributing Covered Code, include this CDDL HEADER in each
306N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
306N/A# If applicable, add the following below this CDDL HEADER, with the
306N/A# fields enclosed by brackets "[]" replaced with your own identifying
306N/A# information: Portions Copyright [yyyy] [name of copyright owner]
306N/A#
306N/A# CDDL HEADER END
306N/A#
306N/A
306N/A#
306N/A# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
306N/A#
306N/A
306N/Ainclude ../../make-rules/shared-macros.mk
306N/A
306N/ACOMPONENT_NAME= ntp
306N/ACOMPONENT_PATCH_VERSION= 200
306N/ACOMPONENT_VERSION= 4.2.5
306N/AHUMAN_VERSION= $(COMPONENT_VERSION)p$(COMPONENT_PATCH_VERSION)
306N/AIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
306N/ACOMPONENT_PROJECT_URL= http://www.ntp.org/
306N/ACOMPONENT_SRC_NAME= ntp-dev
306N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(HUMAN_VERSION)
306N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
306N/ACOMPONENT_ARCHIVE_HASH= \
306N/A sha256:97eeb4e90fba1ae3210e13574a4b3df715957cb9895264c6a455ee97dec87611
306N/ACOMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/ntp-dev/$(COMPONENT_ARCHIVE)
306N/ACOMPONENT_BUGDB= service/ntp
306N/A
306N/APATCH_LEVEL = 0
306N/A
306N/Ainclude ../../make-rules/prep.mk
306N/Ainclude ../../make-rules/configure.mk
306N/Ainclude ../../make-rules/ips.mk
306N/A
306N/ACFLAGS += $(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
306N/A
306N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
306N/ACONFIGURE_OPTIONS += --bindir=/usr/sbin
306N/ACONFIGURE_OPTIONS += --with-binsubdir=sbin
306N/ACONFIGURE_OPTIONS += --libexecdir=/usr/lib/inet
306N/ACONFIGURE_OPTIONS += --sysconfdir=/etc/inet
306N/ACONFIGURE_OPTIONS += --enable-all-clocks
306N/ACONFIGURE_OPTIONS += --enable-debugging
306N/ACONFIGURE_OPTIONS += --enable-debug-timing
306N/ACONFIGURE_OPTIONS += --disable-optional-args
306N/ACONFIGURE_OPTIONS += --enable-parse-clocks
CONFIGURE_OPTIONS += --enable-ignore-dns-errors
CONFIGURE_OPTIONS += --without-ntpsnmpd
CONFIGURE_OPTIONS += --without-lineeditlibs
CONFIGURE_OPTIONS += --with-openssl-libdir=/lib
CONFIGURE_OPTIONS += --disable-getifaddrs
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(NO_TESTS)
include ../../make-rules/depend.mk