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