Makefile revision 1308
ff7e6f2791cc5ad7c5f401a184b88343fde5ec3cAndreas Gustafsson#
693ddf84daa745a0ea8ca311a8154dfa03eabc43Andreas Gustafsson# CDDL HEADER START
93d5a6b95e88f57b7619d9728f06e3aa5e2f0c65Andreas Gustafsson#
693ddf84daa745a0ea8ca311a8154dfa03eabc43Andreas Gustafsson# The contents of this file are subject to the terms of the
ff7e6f2791cc5ad7c5f401a184b88343fde5ec3cAndreas Gustafsson# Common Development and Distribution License (the "License").
ff7e6f2791cc5ad7c5f401a184b88343fde5ec3cAndreas Gustafsson# You may not use this file except in compliance with the License.
ff7e6f2791cc5ad7c5f401a184b88343fde5ec3cAndreas Gustafsson#
ff7e6f2791cc5ad7c5f401a184b88343fde5ec3cAndreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ff7e6f2791cc5ad7c5f401a184b88343fde5ec3cAndreas Gustafsson# or http://www.opensolaris.org/os/licensing.
2bebe117bf96d7e24df4d703d6488d61a5179bcaMark Andrews# See the License for the specific language governing permissions
2bebe117bf96d7e24df4d703d6488d61a5179bcaMark Andrews# and limitations under the License.
4da10bce4bf64b574b59aa4fb5be0f237d0d41edBrian Wellington#
4da10bce4bf64b574b59aa4fb5be0f237d0d41edBrian Wellington# When distributing Covered Code, include this CDDL HEADER in each
3f123dcc2fe5d2cd08ca91b732741d86a4036906Brian Wellington# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3f123dcc2fe5d2cd08ca91b732741d86a4036906Brian Wellington# If applicable, add the following below this CDDL HEADER, with the
16ea60d0dbbaf1206f4800cb16744ef568fd7be8Michael Sawyer# fields enclosed by brackets "[]" replaced with your own identifying
16ea60d0dbbaf1206f4800cb16744ef568fd7be8Michael Sawyer# information: Portions Copyright [yyyy] [name of copyright owner]
16ea60d0dbbaf1206f4800cb16744ef568fd7be8Michael Sawyer#
16ea60d0dbbaf1206f4800cb16744ef568fd7be8Michael Sawyer# CDDL HEADER END
85b23709431b1a84924fe2844f5cf657d1689eefMichael Sawyer#
85b23709431b1a84924fe2844f5cf657d1689eefMichael Sawyer
85b23709431b1a84924fe2844f5cf657d1689eefMichael Sawyer#
85b23709431b1a84924fe2844f5cf657d1689eefMichael Sawyer# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
d15f51c600ed29b2dc379c433fb226c3a13ac0bbAndreas Gustafsson#
d15f51c600ed29b2dc379c433fb226c3a13ac0bbAndreas Gustafsson
d15f51c600ed29b2dc379c433fb226c3a13ac0bbAndreas Gustafssoninclude ../../make-rules/shared-macros.mk
d15f51c600ed29b2dc379c433fb226c3a13ac0bbAndreas Gustafsson
d15f51c600ed29b2dc379c433fb226c3a13ac0bbAndreas GustafssonCOMPONENT_NAME= ntp
aa2c453d3c6e416b56b29247bedd9a0af2721e93Mark AndrewsCOMPONENT_PATCH_VERSION= 200
2ce1e232ae1108f5a4363aa59fa785bc55ceb535Andreas GustafssonCOMPONENT_VERSION= 4.2.5
aa2c453d3c6e416b56b29247bedd9a0af2721e93Mark AndrewsHUMAN_VERSION= $(COMPONENT_VERSION)p$(COMPONENT_PATCH_VERSION)
e412ae947df6de858883564b8676a9650df70d9aMark AndrewsIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
e412ae947df6de858883564b8676a9650df70d9aMark AndrewsCOMPONENT_PROJECT_URL= http://www.ntp.org/
e412ae947df6de858883564b8676a9650df70d9aMark AndrewsCOMPONENT_SRC_NAME= ntp-dev
07a926724c0a91d85b85a94441938d0094e88cffMark AndrewsCOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(HUMAN_VERSION)
07a926724c0a91d85b85a94441938d0094e88cffMark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
07a926724c0a91d85b85a94441938d0094e88cffMark AndrewsCOMPONENT_ARCHIVE_HASH= \
07a926724c0a91d85b85a94441938d0094e88cffMark Andrews sha256:97eeb4e90fba1ae3210e13574a4b3df715957cb9895264c6a455ee97dec87611
07a926724c0a91d85b85a94441938d0094e88cffMark AndrewsCOMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/ntp-dev/$(COMPONENT_ARCHIVE)
90023730de34721b8cd8f3b5d059a28b7a65cf04Andreas GustafssonCOMPONENT_BUGDB= service/ntp
90023730de34721b8cd8f3b5d059a28b7a65cf04Andreas Gustafsson
90023730de34721b8cd8f3b5d059a28b7a65cf04Andreas GustafssonPATCH_LEVEL = 0
922e6a3c2ac4ef900dd9dc99f0cc137f18372583Andreas Gustafsson
922e6a3c2ac4ef900dd9dc99f0cc137f18372583Andreas Gustafssoninclude ../../make-rules/prep.mk
922e6a3c2ac4ef900dd9dc99f0cc137f18372583Andreas Gustafssoninclude ../../make-rules/configure.mk
280747fa7c1d4597d47f7be8ec5fb7c8980c1952Andreas Gustafssoninclude ../../make-rules/ips.mk
280747fa7c1d4597d47f7be8ec5fb7c8980c1952Andreas Gustafsson
280747fa7c1d4597d47f7be8ec5fb7c8980c1952Andreas GustafssonCFLAGS += $(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
0e07026a21dfcaf57dc789e7ece20182dc36029cMark Andrews
0e07026a21dfcaf57dc789e7ece20182dc36029cMark AndrewsCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
27d725f2b0f8d176d4625dc8b2ed71269b25c9a7Andreas GustafssonCONFIGURE_OPTIONS += --bindir=/usr/sbin
337ca1838428c52bca3c72288342ce3dee550a04Andreas GustafssonCONFIGURE_OPTIONS += --with-binsubdir=sbin
337ca1838428c52bca3c72288342ce3dee550a04Andreas GustafssonCONFIGURE_OPTIONS += --libexecdir=/usr/lib/inet
337ca1838428c52bca3c72288342ce3dee550a04Andreas GustafssonCONFIGURE_OPTIONS += --sysconfdir=/etc/inet
337ca1838428c52bca3c72288342ce3dee550a04Andreas GustafssonCONFIGURE_OPTIONS += --enable-all-clocks
337ca1838428c52bca3c72288342ce3dee550a04Andreas GustafssonCONFIGURE_OPTIONS += --enable-debugging
337ca1838428c52bca3c72288342ce3dee550a04Andreas GustafssonCONFIGURE_OPTIONS += --enable-debug-timing
337ca1838428c52bca3c72288342ce3dee550a04Andreas GustafssonCONFIGURE_OPTIONS += --disable-optional-args
6b0ce7d29fac9df84ed34aa2d4634e754aec750dAndreas GustafssonCONFIGURE_OPTIONS += --enable-parse-clocks
6b0ce7d29fac9df84ed34aa2d4634e754aec750dAndreas GustafssonCONFIGURE_OPTIONS += --enable-ignore-dns-errors
6b0ce7d29fac9df84ed34aa2d4634e754aec750dAndreas GustafssonCONFIGURE_OPTIONS += --without-ntpsnmpd
dc2e45d08d73fdaefd92dbfa4d69b4d3f3b0f249Andreas GustafssonCONFIGURE_OPTIONS += --without-lineeditlibs
6b0ce7d29fac9df84ed34aa2d4634e754aec750dAndreas GustafssonCONFIGURE_OPTIONS += --with-openssl-libdir=/lib
27d725f2b0f8d176d4625dc8b2ed71269b25c9a7Andreas GustafssonCONFIGURE_OPTIONS += --disable-getifaddrs
27d725f2b0f8d176d4625dc8b2ed71269b25c9a7Andreas Gustafsson
27d725f2b0f8d176d4625dc8b2ed71269b25c9a7Andreas GustafssonBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
27d725f2b0f8d176d4625dc8b2ed71269b25c9a7Andreas Gustafsson
c89ac488df58cf6a37918cd00236eedf015830f8Andreas Gustafssonbuild: $(BUILD_32)
c89ac488df58cf6a37918cd00236eedf015830f8Andreas Gustafssoninstall: $(INSTALL_32)
c89ac488df58cf6a37918cd00236eedf015830f8Andreas Gustafssontest: $(NO_TESTS)
c89ac488df58cf6a37918cd00236eedf015830f8Andreas Gustafsson
46a7e707fee6d7ba6ca6dae200ff6e0230f4d2f1Brian Wellingtoninclude ../../make-rules/depend.mk
46a7e707fee6d7ba6ca6dae200ff6e0230f4d2f1Brian Wellington