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