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