Makefile revision 1258
842ae4bd224140319ae7feec1872b93dfd491143fielding#
842ae4bd224140319ae7feec1872b93dfd491143fielding# CDDL HEADER START
842ae4bd224140319ae7feec1872b93dfd491143fielding#
842ae4bd224140319ae7feec1872b93dfd491143fielding# The contents of this file are subject to the terms of the
842ae4bd224140319ae7feec1872b93dfd491143fielding# Common Development and Distribution License (the "License").
842ae4bd224140319ae7feec1872b93dfd491143fielding# You may not use this file except in compliance with the License.
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe#
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe# or http://www.opensolaris.org/os/licensing.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# See the License for the specific language governing permissions
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# and limitations under the License.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd#
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# When distributing Covered Code, include this CDDL HEADER in each
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe# If applicable, add the following below this CDDL HEADER, with the
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe# fields enclosed by brackets "[]" replaced with your own identifying
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe# information: Portions Copyright [yyyy] [name of copyright owner]
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe#
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe# CDDL HEADER END
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe#
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe#
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe#
d6fc66efa723db8b3ee5e9fd32579bed884e4e58sf
f4e4643c309e5b5da60e13f9a25984d54b307caawroweinclude ../../make-rules/shared-macros.mk
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCOMPONENT_NAME= ntp
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCOMPONENT_PATCH_VERSION= 200
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCOMPONENT_VERSION= 4.2.5
f4e4643c309e5b5da60e13f9a25984d54b307caawroweHUMAN_VERSION= $(COMPONENT_VERSION)p$(COMPONENT_PATCH_VERSION)
f4e4643c309e5b5da60e13f9a25984d54b307caawroweIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
d6fc66efa723db8b3ee5e9fd32579bed884e4e58sfCOMPONENT_PROJECT_URL= http://www.ntp.org/
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCOMPONENT_SRC_NAME= ntp-dev
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(HUMAN_VERSION)
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCOMPONENT_ARCHIVE_HASH= \
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe sha256:97eeb4e90fba1ae3210e13574a4b3df715957cb9895264c6a455ee97dec87611
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCOMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/ntp-dev/$(COMPONENT_ARCHIVE)
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCOMPONENT_BUGDB= service/ntp
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe
f4e4643c309e5b5da60e13f9a25984d54b307caawrowePATCH_LEVEL = 0
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe
7635a730c3917a9ae573c54e6676208e9312d4e7trawickinclude ../../make-rules/prep.mk
f4e4643c309e5b5da60e13f9a25984d54b307caawroweinclude ../../make-rules/configure.mk
f4e4643c309e5b5da60e13f9a25984d54b307caawroweinclude ../../make-rules/ips.mk
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCFLAGS += $(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe
40b10b9bf464adaaf1bb0fab6c8a81a2f0b7c1a8trawickCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
40b10b9bf464adaaf1bb0fab6c8a81a2f0b7c1a8trawickCONFIGURE_OPTIONS += --bindir=/usr/sbin
40b10b9bf464adaaf1bb0fab6c8a81a2f0b7c1a8trawickCONFIGURE_OPTIONS += --with-binsubdir=sbin
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCONFIGURE_OPTIONS += --libexecdir=/usr/lib/inet
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCONFIGURE_OPTIONS += --sysconfdir=/etc/inet
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCONFIGURE_OPTIONS += --enable-all-clocks
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCONFIGURE_OPTIONS += --enable-debugging
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCONFIGURE_OPTIONS += --enable-debug-timing
8cd53d45c40b817e3467b29262ee0a2892fe98ddwroweCONFIGURE_OPTIONS += --disable-optional-args
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCONFIGURE_OPTIONS += --enable-parse-clocks
8cd53d45c40b817e3467b29262ee0a2892fe98ddwroweCONFIGURE_OPTIONS += --enable-ignore-dns-errors
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCONFIGURE_OPTIONS += --without-ntpsnmpd
d6fc66efa723db8b3ee5e9fd32579bed884e4e58sfCONFIGURE_OPTIONS += --without-lineeditlibs
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCONFIGURE_OPTIONS += --with-openssl-libdir=/lib
f4e4643c309e5b5da60e13f9a25984d54b307caawroweCONFIGURE_OPTIONS += --disable-getifaddrs
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe
f4e4643c309e5b5da60e13f9a25984d54b307caawroweBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe
f4e4643c309e5b5da60e13f9a25984d54b307caawrowebuild: $(BUILD_32)
185b73b1f914e5d8f99f31225cc656b882dcbf73ianhinstall: $(INSTALL_32)
f4e4643c309e5b5da60e13f9a25984d54b307caawrowetest: $(NO_TESTS)
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe
f4e4643c309e5b5da60e13f9a25984d54b307caawroweinclude ../../make-rules/depend.mk
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe