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