Makefile revision 172
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina#
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# CDDL HEADER START
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina#
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# The contents of this file are subject to the terms of the
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# Common Development and Distribution License (the "License").
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# You may not use this file except in compliance with the License.
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina#
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# or http://www.opensolaris.org/os/licensing.
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# See the License for the specific language governing permissions
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# and limitations under the License.
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina#
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# When distributing Covered Code, include this CDDL HEADER in each
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# If applicable, add the following below this CDDL HEADER, with the
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# fields enclosed by brackets "[]" replaced with your own identifying
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# information: Portions Copyright [yyyy] [name of copyright owner]
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina#
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# CDDL HEADER END
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina#
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina#
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina#
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březinainclude ../../make-rules/shared-macros.mk
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel BřezinaCOMPONENT_NAME= ntp-dev
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel BřezinaCOMPONENT_PATCH_VERSION= 200
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel BřezinaCOMPONENT_VERSION= 4.2.5
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel BřezinaIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel BřezinaCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)p$(COMPONENT_PATCH_VERSION)
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel BřezinaCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel BřezinaCOMPONENT_ARCHIVE_HASH= sha1:ff032582d66314ff2556a368162fd1fd15fbf9a6
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel BřezinaCOMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/ntp-dev/$(COMPONENT_ARCHIVE)
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel BřezinaPATCH_LEVEL = 0
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březinainclude ../../make-rules/prep.mk
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březinainclude ../../make-rules/configure.mk
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březinainclude ../../make-rules/ips.mk
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel Březina
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel BřezinaCONFIGURE_ENV += CFLAGS="$(CFLAGS) $(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
b407fe0474a674bb42f0f42ab47c7f530a07a367Pavel BřezinaCONFIGURE_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:
@echo "no tests available"
include ../../make-rules/depend.mk