Makefile revision 844
96fc773162e93e5b85686ab152f11baf4498d868rbb#
db9ac238bf63d7df2bebbaff4de1628a32151028trawick# CDDL HEADER START
e1ade9256c87684358786fcf7eef251bd4c1db10rbb#
e1ade9256c87684358786fcf7eef251bd4c1db10rbb# The contents of this file are subject to the terms of the
e1ade9256c87684358786fcf7eef251bd4c1db10rbb# Common Development and Distribution License (the "License").
e1ade9256c87684358786fcf7eef251bd4c1db10rbb# You may not use this file except in compliance with the License.
e1ade9256c87684358786fcf7eef251bd4c1db10rbb#
e1ade9256c87684358786fcf7eef251bd4c1db10rbb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
db9ac238bf63d7df2bebbaff4de1628a32151028trawick# or http://www.opensolaris.org/os/licensing.
db9ac238bf63d7df2bebbaff4de1628a32151028trawick# See the License for the specific language governing permissions
db9ac238bf63d7df2bebbaff4de1628a32151028trawick# and limitations under the License.
eae32ab3fb398ca408bc2d45b22adf1b67a75471rbb#
eae32ab3fb398ca408bc2d45b22adf1b67a75471rbb# When distributing Covered Code, include this CDDL HEADER in each
d1d25826dbd7d2ba97db90b77122ae2b0f363e89rbb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d1d25826dbd7d2ba97db90b77122ae2b0f363e89rbb# If applicable, add the following below this CDDL HEADER, with the
d1d25826dbd7d2ba97db90b77122ae2b0f363e89rbb# fields enclosed by brackets "[]" replaced with your own identifying
42ec91fadb5532438ab4c02993b15c18a517967frbb# information: Portions Copyright [yyyy] [name of copyright owner]
42ec91fadb5532438ab4c02993b15c18a517967frbb#
42ec91fadb5532438ab4c02993b15c18a517967frbb# CDDL HEADER END
42ec91fadb5532438ab4c02993b15c18a517967frbb#
42ec91fadb5532438ab4c02993b15c18a517967frbb# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
96fc773162e93e5b85686ab152f11baf4498d868rbb#
2975523a2901fc601ae9510082a7d4fb11bb9aecakeinclude ../../make-rules/shared-macros.mk
2975523a2901fc601ae9510082a7d4fb11bb9aecake
2975523a2901fc601ae9510082a7d4fb11bb9aecakeCOMPONENT_NAME= dhcp
5827adc4c40ff4b10db9b09cea43f4307c8fc319trawickCOMPONENT_VERSION= 4.1-ESV-R4-Oracle
5827adc4c40ff4b10db9b09cea43f4307c8fc319trawickIPS_COMPONENT_VERSION= 4.1.0.4
5827adc4c40ff4b10db9b09cea43f4307c8fc319trawickCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5827adc4c40ff4b10db9b09cea43f4307c8fc319trawickCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5827adc4c40ff4b10db9b09cea43f4307c8fc319trawickCOMPONENT_PROJECT_URL= http://www.isc.org/software/dhcp/
5827adc4c40ff4b10db9b09cea43f4307c8fc319trawickCOMPONENT_ARCHIVE_URL= http://ftp.isc.org/isc/dhcp/private/76c65da874a2be30/$(COMPONENT_ARCHIVE)
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingCOMPONENT_ARCHIVE_HASH= \
e7270e4daeb3e62414b361ca2bf0e707d0ae3310wrowe sha256:3160ede07cab03d78545fe5a18531f83237b404e6fc432ae46655ba6fe4957f1
e7270e4daeb3e62414b361ca2bf0e707d0ae3310wrowe
e7270e4daeb3e62414b361ca2bf0e707d0ae3310wroweinclude ../../make-rules/prep.mk
e7270e4daeb3e62414b361ca2bf0e707d0ae3310wroweinclude ../../make-rules/configure.mk
e7270e4daeb3e62414b361ca2bf0e707d0ae3310wroweinclude ../../make-rules/ips.mk
e7270e4daeb3e62414b361ca2bf0e707d0ae3310wrowe
f6e9f5600e77b78fb013bb543d364135961639d1rbbCOMPONENT_PRE_CONFIGURE_ACTION = \
f6e9f5600e77b78fb013bb543d364135961639d1rbb ($(CLONEY) $(SOURCE_DIR) $(@D))
f6e9f5600e77b78fb013bb543d364135961639d1rbb
f6e9f5600e77b78fb013bb543d364135961639d1rbbCONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/inet
f6e9f5600e77b78fb013bb543d364135961639d1rbbCONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/inet
f6e9f5600e77b78fb013bb543d364135961639d1rbbCONFIGURE_OPTIONS += --bindir=$(USRSBINDIR)
f6e9f5600e77b78fb013bb543d364135961639d1rbbCONFIGURE_OPTIONS += --enable-use-sockets
f6e9f5600e77b78fb013bb543d364135961639d1rbbCONFIGURE_OPTIONS += --enable-ipv4-pktinfo
f6e9f5600e77b78fb013bb543d364135961639d1rbb
f6e9f5600e77b78fb013bb543d364135961639d1rbb
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Disable message in omapip/errwarn.c.
b580e99ec29c68e3c56b5b1ad8a4ec1e2de865c0trawickCPPFLAGS += -DNOMINUM
b580e99ec29c68e3c56b5b1ad8a4ec1e2de865c0trawickCONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
b580e99ec29c68e3c56b5b1ad8a4ec1e2de865c0trawick
b580e99ec29c68e3c56b5b1ad8a4ec1e2de865c0trawickbuild: $(BUILD_32)
b580e99ec29c68e3c56b5b1ad8a4ec1e2de865c0trawick
cfa64348224b66dd1c9979b809406c4d15b1c137fieldinginstall: build $(INSTALL_32) $(PROTO_DIR)/dhcpd.leases
cfa64348224b66dd1c9979b809406c4d15b1c137fielding
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
cfa64348224b66dd1c9979b809406c4d15b1c137fielding
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingtest: build
cfa64348224b66dd1c9979b809406c4d15b1c137fielding @cd $(BUILD_DIR_32); $(MAKE) check
cfa64348224b66dd1c9979b809406c4d15b1c137fielding
cfa64348224b66dd1c9979b809406c4d15b1c137fielding$(PROTO_DIR)/dhcpd.leases: $(INSTALL_32)
cfa64348224b66dd1c9979b809406c4d15b1c137fielding $(TOUCH) $@
cfa64348224b66dd1c9979b809406c4d15b1c137fielding
cfa64348224b66dd1c9979b809406c4d15b1c137fieldinginclude ../../make-rules/depend.mk
cfa64348224b66dd1c9979b809406c4d15b1c137fielding