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