Makefile revision 1258
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# CDDL HEADER START
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# The contents of this file are subject to the terms of the
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# Common Development and Distribution License (the "License").
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# You may not use this file except in compliance with the License.
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# or http://www.opensolaris.org/os/licensing.
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# See the License for the specific language governing permissions
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# and limitations under the License.
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# When distributing Covered Code, include this CDDL HEADER in each
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# If applicable, add the following below this CDDL HEADER, with the
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# fields enclosed by brackets "[]" replaced with your own identifying
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# information: Portions Copyright [yyyy] [name of copyright owner]
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# CDDL HEADER END
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
a4e2a43f7941500341f4e4ea93bf5538bc21a9f8Michael Graff# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob Halleyinclude ../../make-rules/shared-macros.mk
a4e2a43f7941500341f4e4ea93bf5538bc21a9f8Michael Graff
44aae046c38e796e581110b7ecdf4478167d684dBob HalleyCOMPONENT_NAME= ntp
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David LawrenceCOMPONENT_PATCH_VERSION= 200
a4e2a43f7941500341f4e4ea93bf5538bc21a9f8Michael GraffCOMPONENT_VERSION= 4.2.5
HUMAN_VERSION= $(COMPONENT_VERSION)p$(COMPONENT_PATCH_VERSION)
IPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
COMPONENT_PROJECT_URL= http://www.ntp.org/
COMPONENT_SRC_NAME= ntp-dev
COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(HUMAN_VERSION)
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= \
sha256:97eeb4e90fba1ae3210e13574a4b3df715957cb9895264c6a455ee97dec87611
COMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/ntp-dev/$(COMPONENT_ARCHIVE)
COMPONENT_BUGDB= service/ntp
PATCH_LEVEL = 0
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 += --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