Makefile revision 844
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# CDDL HEADER START
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# The contents of this file are subject to the terms of the
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Common Development and Distribution License (the "License").
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# You may not use this file except in compliance with the License.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# or http://www.opensolaris.org/os/licensing.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# See the License for the specific language governing permissions
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# and limitations under the License.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# When distributing Covered Code, include this CDDL HEADER in each
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# If applicable, add the following below this CDDL HEADER, with the
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# fields enclosed by brackets "[]" replaced with your own identifying
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# information: Portions Copyright [yyyy] [name of copyright owner]
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# CDDL HEADER END
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkinclude ../../make-rules/shared-macros.mk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_NAME= ntp-dev
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_PATCH_VERSION= 200
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_VERSION= 4.2.5
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkHUMAN_VERSION= $(COMPONENT_VERSION)p$(COMPONENT_PATCH_VERSION)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_PROJECT_URL= http://www.ntp.org/
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_SRC= $(COMPONENT_NAME)-$(HUMAN_VERSION)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_ARCHIVE_HASH= \
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk sha256:97eeb4e90fba1ae3210e13574a4b3df715957cb9895264c6a455ee97dec87611
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/ntp-dev/$(COMPONENT_ARCHIVE)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkPATCH_LEVEL = 0
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkinclude ../../make-rules/prep.mk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkinclude ../../make-rules/configure.mk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkinclude ../../make-rules/ips.mk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCFLAGS += $(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --bindir=/usr/sbin
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --with-binsubdir=sbin
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --libexecdir=/usr/lib/inet
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --sysconfdir=/etc/inet
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --enable-all-clocks
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --enable-debugging
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --enable-debug-timing
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --disable-optional-args
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --enable-parse-clocks
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --enable-ignore-dns-errors
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --without-ntpsnmpd
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --without-lineeditlibs
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --with-openssl-libdir=/lib
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --disable-getifaddrs
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkbuild: $(BUILD_32)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkinstall: $(INSTALL_32)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpktest: $(NO_TESTS)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkinclude ../../make-rules/depend.mk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk