Makefile revision 1021
4901N/A#
4901N/A# CDDL HEADER START
4901N/A#
4901N/A# The contents of this file are subject to the terms of the
4901N/A# Common Development and Distribution License (the "License").
4901N/A# You may not use this file except in compliance with the License.
4901N/A#
4901N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4901N/A# or http://www.opensolaris.org/os/licensing.
4901N/A# See the License for the specific language governing permissions
4901N/A# and limitations under the License.
4901N/A#
4901N/A# When distributing Covered Code, include this CDDL HEADER in each
4901N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4901N/A# If applicable, add the following below this CDDL HEADER, with the
4901N/A# fields enclosed by brackets "[]" replaced with your own identifying
4901N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4901N/A#
4901N/A# CDDL HEADER END
4901N/A#
4901N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
4901N/A#
5453N/Ainclude ../../make-rules/shared-macros.mk
4901N/A
4901N/ACOMPONENT_NAME= dhcp
4901N/ACOMPONENT_VERSION= 4.1-ESV-R6
4901N/AIPS_COMPONENT_VERSION= 4.1.0.6
4901N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5141N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4901N/ACOMPONENT_PROJECT_URL= http://www.isc.org/software/dhcp/
4901N/ACOMPONENT_ARCHIVE_URL= \
4901N/A http://ftp.isc.org/isc/dhcp/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
4901N/ACOMPONENT_ARCHIVE_HASH= \
5141N/A sha256:deb666a1ab02dd1375c0ebd237ce1fcb3e4d9e7be520d25ba25f1f40eb0ead9e
4901N/A
4901N/Ainclude ../../make-rules/prep.mk
4901N/Ainclude ../../make-rules/configure.mk
5141N/Ainclude ../../make-rules/ips.mk
4901N/A
4901N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
4901N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
4901N/A
4901N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/inet
4901N/ACONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/inet
4901N/ACONFIGURE_OPTIONS += --bindir=$(USRSBINDIR)
4901N/ACONFIGURE_OPTIONS += --enable-use-sockets
4901N/ACONFIGURE_OPTIONS += --enable-ipv4-pktinfo
4901N/A
4901N/A
4901N/A# Disable message in omapip/errwarn.c.
4901N/ACPPFLAGS += -DNOMINUM
4901N/ACONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
4901N/A
4901N/Abuild: $(BUILD_32)
5453N/A
5453N/Ainstall: build $(INSTALL_32) $(PROTO_DIR)/dhcpd.leases
5453N/A
5453N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
5453N/A
5453N/Atest: build
5453N/A @cd $(BUILD_DIR_32); $(MAKE) check
5453N/A
5453N/A$(PROTO_DIR)/dhcpd.leases: $(INSTALL_32)
5453N/A $(TOUCH) $@
5453N/A
5453N/Ainclude ../../make-rules/depend.mk
5453N/A