Makefile revision 438
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew#
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew# CDDL HEADER START
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew#
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew# The contents of this file are subject to the terms of the
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew# Common Development and Distribution License (the "License").
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew# You may not use this file except in compliance with the License.
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew#
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# or http://www.opensolaris.org/os/licensing.
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# See the License for the specific language governing permissions
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew# and limitations under the License.
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew#
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew# When distributing Covered Code, include this CDDL HEADER in each
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# If applicable, add the following below this CDDL HEADER, with the
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# fields enclosed by brackets "[]" replaced with your own identifying
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# information: Portions Copyright [yyyy] [name of copyright owner]
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac#
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew# CDDL HEADER END
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew#
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew#
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewinclude ../../make-rules/shared-macros.mk
d0aa543aa42f16d9760442d7a2b4fe13246f3a3bn
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewCOMPONENT_NAME= dhcp
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewCOMPONENT_VERSION= 4.1
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-ESV-R1
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewCOMPONENT_ARCHIVE_HASH= sha1:64664b2fd3ce9e372785cbbef685f86ee3dcd53a
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewCOMPONENT_ARCHIVE_URL= http://ftp.isc.org/isc/dhcp/$(COMPONENT_ARCHIVE)
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewinclude ../../make-rules/prep.mk
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewinclude ../../make-rules/configure.mk
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewinclude ../../make-rules/ips.mk
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewCOMPONENT_PRE_CONFIGURE_ACTION = \
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew ($(CLONEY) $(SOURCE_DIR) $(@D))
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewCONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/inet
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewCONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/inet
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewCONFIGURE_OPTIONS += --bindir=$(USRSBINDIR)
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DUSE_SOCKETS"
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewbuild: $(BUILD_32)
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewinstall: build $(INSTALL_32) $(PROTO_DIR)/dhcpd.leases
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewtest: build
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew @cd $(BUILD_DIR_32); $(MAKE) check
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew$(PROTO_DIR)/dhcpd.leases: $(INSTALL_32)
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew $(TOUCH) $@
4b1f2a42576c438c05498b77031e13872408e493matthew
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthewinclude ../../make-rules/depend.mk
3237926e4f6d3198e5a152cc99ae0ac68bf48238matthew