Makefile revision 1105
2e37d45867d081db150ab78dad303b9077aea24fTimo Sirainen#
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen# CDDL HEADER START
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen#
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen# The contents of this file are subject to the terms of the
16f816d3f3c32ae3351834253f52ddd0212bcbf3Timo Sirainen# Common Development and Distribution License (the "License").
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen# You may not use this file except in compliance with the License.
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen#
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# or http://www.opensolaris.org/os/licensing.
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen# See the License for the specific language governing permissions
e54512a5189192fe72d1e2c53927c98c5ac920b4Timo Sirainen# and limitations under the License.
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen#
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
645f258ea29afaf09b673fc65d1bd788dfec8db8Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen#
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen# CDDL HEADER END
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen#
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen#
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
c9dea5c23355dea35c6fa423de69f6507852efe4Timo Sirainen#
c9dea5c23355dea35c6fa423de69f6507852efe4Timo Sirainen
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Siraineninclude ../../make-rules/shared-macros.mk
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen
1bdda5c0c30463160c47151537e6bb2c6c994841Timo SirainenCOMPONENT_NAME= ntp-dev
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenCOMPONENT_PATCH_VERSION= 200
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenCOMPONENT_VERSION= 4.2.5
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenHUMAN_VERSION= $(COMPONENT_VERSION)p$(COMPONENT_PATCH_VERSION)
1bdda5c0c30463160c47151537e6bb2c6c994841Timo SirainenIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
1bdda5c0c30463160c47151537e6bb2c6c994841Timo SirainenCOMPONENT_PROJECT_URL= http://www.ntp.org/
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenCOMPONENT_SRC= $(COMPONENT_NAME)-$(HUMAN_VERSION)
1bdda5c0c30463160c47151537e6bb2c6c994841Timo SirainenCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo SirainenCOMPONENT_ARCHIVE_HASH= \
c9dea5c23355dea35c6fa423de69f6507852efe4Timo Sirainen sha256:97eeb4e90fba1ae3210e13574a4b3df715957cb9895264c6a455ee97dec87611
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenCOMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/ntp-dev/$(COMPONENT_ARCHIVE)
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenPATCH_LEVEL = 0
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Siraineninclude ../../make-rules/prep.mk
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Siraineninclude ../../make-rules/configure.mk
6ef7e31619edfaa17ed044b45861d106a86191efTimo Siraineninclude ../../make-rules/ips.mk
8fb1e3e2349c9940732b5bb77a2a4053b8f72a4fTimo Sirainen
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenCFLAGS += $(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen
c9dea5c23355dea35c6fa423de69f6507852efe4Timo SirainenCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenCONFIGURE_OPTIONS += --bindir=/usr/sbin
c9dea5c23355dea35c6fa423de69f6507852efe4Timo SirainenCONFIGURE_OPTIONS += --with-binsubdir=sbin
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo SirainenCONFIGURE_OPTIONS += --libexecdir=/usr/lib/inet
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenCONFIGURE_OPTIONS += --sysconfdir=/etc/inet
4b058f90f9e8a2c6b2eed275de4eb8cc5195a71dTimo SirainenCONFIGURE_OPTIONS += --enable-all-clocks
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenCONFIGURE_OPTIONS += --enable-debugging
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo SirainenCONFIGURE_OPTIONS += --enable-debug-timing
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo SirainenCONFIGURE_OPTIONS += --disable-optional-args
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo SirainenCONFIGURE_OPTIONS += --enable-parse-clocks
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo SirainenCONFIGURE_OPTIONS += --enable-ignore-dns-errors
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenCONFIGURE_OPTIONS += --without-ntpsnmpd
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo SirainenCONFIGURE_OPTIONS += --without-lineeditlibs
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo SirainenCONFIGURE_OPTIONS += --with-openssl-libdir=/lib
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo SirainenCONFIGURE_OPTIONS += --disable-getifaddrs
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainenbuild: $(BUILD_32)
5cda0bfea032000c4a51134c748d9efe6614870bTimo Siraineninstall: $(INSTALL_32)
5cda0bfea032000c4a51134c748d9efe6614870bTimo Sirainentest: $(NO_TESTS)
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Siraineninclude ../../make-rules/depend.mk
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen