Makefile revision 5259
1096N/A#
2362N/A# CDDL HEADER START
1096N/A#
1096N/A# The contents of this file are subject to the terms of the
1096N/A# Common Development and Distribution License (the "License").
1096N/A# You may not use this file except in compliance with the License.
2362N/A#
1096N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2362N/A# or http://www.opensolaris.org/os/licensing.
1096N/A# See the License for the specific language governing permissions
1096N/A# and limitations under the License.
1096N/A#
1096N/A# When distributing Covered Code, include this CDDL HEADER in each
1096N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1096N/A# If applicable, add the following below this CDDL HEADER, with the
1096N/A# fields enclosed by brackets "[]" replaced with your own identifying
1096N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1096N/A#
1096N/A# CDDL HEADER END
1096N/A#
2362N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
2362N/A#
2362N/Ainclude ../../make-rules/shared-macros.mk
1096N/A
1096N/ACOMPONENT_NAME= isc-dhcp
1096N/ACOMPONENT_VERSION= 4.1-ESV-R7
1096N/AHUMAN_VERSION= $(COMPONENT_VERSION)-P1
1096N/AIPS_COMPONENT_VERSION= 4.1.0.7.1
1096N/ACOMPONENT_SRC_NAME= dhcp
1096N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
2080N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1096N/ACOMPONENT_PROJECT_URL= http://www.isc.org/software/dhcp/
1096N/ACOMPONENT_ARCHIVE_URL= \
1096N/A http://ftp.isc.org/isc/dhcp/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
1096N/ACOMPONENT_ARCHIVE_HASH= \
1096N/A sha256:25d579291a13ccce39c5dbb0e2f2ce8e974c82015bc4e3ee653cf95a4ed15ca4
1096N/ACOMPONENT_BUGDB= service/dhcp-server
1096N/A
1096N/ATPNO= 10383
1096N/A
1096N/Ainclude $(WS_MAKE_RULES)/prep.mk
1096N/Ainclude $(WS_MAKE_RULES)/configure.mk
1096N/Ainclude $(WS_MAKE_RULES)/ips.mk
1096N/Ainclude $(WS_MAKE_RULES)/lint-libraries.mk
1096N/A
1096N/ALINT_FLAGS += -I$(BUILD_DIR_32)/includes \
1096N/A -I$(BUILD_DIR_64)/includes -I$(SOURCE_DIR)/includes -I.
1096N/A
1096N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
1096N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
1096N/A
1096N/A# Some patches need configure script re-creation.
1096N/ACOMPONENT_PREP_ACTION +=(cd $(@D); autoreconf -vfi);
1096N/A
1096N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/inet
1096N/ACONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/inet
1096N/ACONFIGURE_OPTIONS += --bindir=$(USRSBINDIR)
1096N/ACONFIGURE_OPTIONS += --enable-use-sockets
1096N/ACONFIGURE_OPTIONS += --enable-ipv4-pktinfo
1096N/ACONFIGURE_OPTIONS += --with-pic
1096N/A
1096N/A
1096N/A# Disable message in omapip/errwarn.c.
1096N/ACPPFLAGS += -DNOMINUM
1096N/ACONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
1096N/A
1096N/ACFLAGS += -g -fPIC
1096N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
1096N/A
1096N/ACOMPONENT_TEST_DIR = $(@D)
1096N/A
1096N/Aconfigure: $(CONFIGURE_32_and_64)
1096N/A
1096N/Abuild: $(BUILD_32_and_64)
1096N/A
1096N/Ainstall: build $(INSTALL_32_and_64) $(PROTO_DIR)/dhcpd.leases
1096N/A
1096N/Atest: $(TEST_32_and_64)
1096N/A
1096N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
1096N/A
$(PROTO_DIR)/dhcpd.leases: $(INSTALL_32_and_64)
$(TOUCH) $@
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/network