Makefile revision 766
418N/A#
418N/A# CDDL HEADER START
605N/A#
418N/A# The contents of this file are subject to the terms of the
1063N/A# Common Development and Distribution License (the "License").
418N/A# You may not use this file except in compliance with the License.
418N/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
418N/ACOMPONENT_NAME= dhcp
418N/ACOMPONENT_VERSION= 4.1-ESV-R4-Oracle
418N/AIPS_COMPONENT_VERSION= 4.1.0.4
418N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
493N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
418N/ACOMPONENT_PROJECT_URL= http://www.isc.org/software/dhcp/
970N/ACOMPONENT_ARCHIVE_URL= http://ftp.isc.org/isc/dhcp/private/76c65da874a2be30/$(COMPONENT_ARCHIVE)
970N/ACOMPONENT_ARCHIVE_HASH= sha1:3735f981a6492224a2f12f6a1ae9132644514aaf
970N/A
970N/Ainclude ../../make-rules/prep.mk
970N/Ainclude ../../make-rules/configure.mk
970N/Ainclude ../../make-rules/ips.mk
970N/A
970N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
970N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
970N/A
970N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/inet
970N/ACONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/inet
970N/ACONFIGURE_OPTIONS += --bindir=$(USRSBINDIR)
418N/ACONFIGURE_OPTIONS += --enable-use-sockets
1063N/ACONFIGURE_OPTIONS += --enable-ipv4-pktinfo
418N/A
911N/A
1063N/A# Disable message in omapip/errwarn.c.
1063N/ACPPFLAGS += -DNOMINUM
911N/ACONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
418N/A
553N/Abuild: $(BUILD_32)
418N/A
553N/Ainstall: build $(INSTALL_32) $(PROTO_DIR)/dhcpd.leases
553N/A
553N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
553N/A
418N/Atest: build
418N/A @cd $(BUILD_DIR_32); $(MAKE) check
418N/A
857N/A$(PROTO_DIR)/dhcpd.leases: $(INSTALL_32)
418N/A $(TOUCH) $@
418N/A
418N/Ainclude ../../make-rules/depend.mk
493N/A