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