Makefile revision 3573
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# CDDL HEADER START
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# The contents of this file are subject to the terms of the
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# Common Development and Distribution License (the "License").
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# You may not use this file except in compliance with the License.
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# or http://www.opensolaris.org/os/licensing.
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# See the License for the specific language governing permissions
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# and limitations under the License.
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# When distributing Covered Code, include this CDDL HEADER in each
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0662ed52e814f8f08ef0e09956413a792584eddffuankg# If applicable, add the following below this CDDL HEADER, with the
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# fields enclosed by brackets "[]" replaced with your own identifying
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# information: Portions Copyright [yyyy] [name of copyright owner]
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# CDDL HEADER END
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankginclude ../../make-rules/shared-macros.mk
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCOMPONENT_NAME= ntp
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCOMPONENT_VERSION= 4.2.8
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgHUMAN_VERSION= $(COMPONENT_VERSION)
16b55a35cff91315d261d1baa776138af465c4e4fuankgIPS_COMPONENT_VERSION= $(COMPONENT_VERSION)
16b55a35cff91315d261d1baa776138af465c4e4fuankgCOMPONENT_PROJECT_URL= http://www.ntp.org/
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCOMPONENT_SRC_NAME= ntp
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(HUMAN_VERSION)
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
16b55a35cff91315d261d1baa776138af465c4e4fuankgCOMPONENT_ARCHIVE_HASH= \
16b55a35cff91315d261d1baa776138af465c4e4fuankg sha256:2e920df8b6a5a410567a73767fa458c00c7f0acec3213e69ed0134414a50d8ee
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCOMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/$(COMPONENT_ARCHIVE)
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCOMPONENT_BUGDB= service/ntp
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgTPNO= 20866
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgPATCH_LEVEL = 0
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankginclude ../../make-rules/prep.mk
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankginclude ../../make-rules/configure.mk
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankginclude ../../make-rules/ips.mk
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCFLAGS += $(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCONFIGURE_OPTIONS += --bindir=/usr/sbin
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCONFIGURE_OPTIONS += --with-binsubdir=sbin
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCONFIGURE_OPTIONS += --libexecdir=/usr/lib/inet
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCONFIGURE_OPTIONS += --sysconfdir=/etc/inet
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCONFIGURE_OPTIONS += --enable-all-clocks
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCONFIGURE_OPTIONS += --enable-debugging
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCONFIGURE_OPTIONS += --enable-debug-timing
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCONFIGURE_OPTIONS += --disable-optional-args
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCONFIGURE_OPTIONS += --enable-parse-clocks
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCONFIGURE_OPTIONS += --enable-ignore-dns-errors
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCONFIGURE_OPTIONS += --without-ntpsnmpd
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCONFIGURE_OPTIONS += --with-openssl-libdir=/lib
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgbuild: $(BUILD_32)
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankginstall: $(INSTALL_32)
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgtest: $(NO_TESTS)
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankginclude ../../make-rules/depend.mk
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg