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