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