Makefile revision 586
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# CDDL HEADER START
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# The contents of this file are subject to the terms of the
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# Common Development and Distribution License (the "License").
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# You may not use this file except in compliance with the License.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# or http://www.opensolaris.org/os/licensing.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# See the License for the specific language governing permissions
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# and limitations under the License.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# When distributing Covered Code, include this CDDL HEADER in each
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# If applicable, add the following below this CDDL HEADER, with the
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# fields enclosed by brackets "[]" replaced with your own identifying
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# information: Portions Copyright [yyyy] [name of copyright owner]
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# CDDL HEADER END
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
0fbb751d81ab0a7c7ddfd8d4e447e075a9f7024fJohn Levon#
0ad555ad6a787635be8c8a424168dc59cfbce6c7Alex Wilson# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiinclude ../../make-rules/shared-macros.mk
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_NAME= ntp-dev
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_PATCH_VERSION= 200
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_VERSION= 4.2.5
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiHUMAN_VERSION= $(COMPONENT_VERSION)p$(COMPONENT_PATCH_VERSION)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_SRC= $(COMPONENT_NAME)-$(HUMAN_VERSION)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_ARCHIVE_HASH= sha1:ff032582d66314ff2556a368162fd1fd15fbf9a6
aa59c4cb15a6ac5d4e585dadf7a055b580abf579rsbCOMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/ntp-dev/$(COMPONENT_ARCHIVE)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiPATCH_LEVEL = 0
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
0ad555ad6a787635be8c8a424168dc59cfbce6c7Alex Wilsoninclude ../../make-rules/prep.mk
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiinclude ../../make-rules/configure.mk
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiinclude ../../make-rules/ips.mk
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCFLAGS += $(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --bindir=/usr/sbin
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --with-binsubdir=sbin
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --libexecdir=/usr/lib/inet
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --sysconfdir=/etc/inet
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --enable-all-clocks
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --enable-debugging
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --enable-debug-timing
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --disable-optional-args
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --enable-parse-clocks
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --enable-ignore-dns-errors
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --without-ntpsnmpd
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --without-lineeditlibs
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --with-openssl-libdir=/lib
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --disable-getifaddrs
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaibuild: $(BUILD_32)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiinstall: $(INSTALL_32)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaitest: $(NO_TESTS)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiinclude ../../make-rules/depend.mk
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai