Makefile revision 618
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
e379fc6d7f79163700290d92ce75deb4f3005301jerenkrantz# CDDL HEADER START
e379fc6d7f79163700290d92ce75deb4f3005301jerenkrantz#
e379fc6d7f79163700290d92ce75deb4f3005301jerenkrantz# The contents of this file are subject to the terms of the
e379fc6d7f79163700290d92ce75deb4f3005301jerenkrantz# Common Development and Distribution License (the "License").
e379fc6d7f79163700290d92ce75deb4f3005301jerenkrantz# You may not use this file except in compliance with the License.
e379fc6d7f79163700290d92ce75deb4f3005301jerenkrantz#
e379fc6d7f79163700290d92ce75deb4f3005301jerenkrantz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# or http://www.opensolaris.org/os/licensing.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# See the License for the specific language governing permissions
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# and limitations under the License.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# When distributing Covered Code, include this CDDL HEADER in each
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# If applicable, add the following below this CDDL HEADER, with the
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# fields enclosed by brackets "[]" replaced with your own identifying
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# information: Portions Copyright [yyyy] [name of copyright owner]
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# CDDL HEADER END
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
3a47c2ef905c3b6483279637fb8054ca67c5b6ddsaschainclude ../../make-rules/shared-macros.mk
3a47c2ef905c3b6483279637fb8054ca67c5b6ddsascha
3a47c2ef905c3b6483279637fb8054ca67c5b6ddsaschaCOMPONENT_NAME= dhcp
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_VERSION= 4.1
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_PROJECT_URL= http://www.isc.org/software/dhcp/
e50587e6b2ff25bdcbe29410be5bf8f4792016eegregamesCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-ESV-R3
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
0d9c389e9c63d02edb068917d49af2fa8012af91marcCOMPONENT_ARCHIVE_HASH= sha1:6fc5ad06b1192c76edb1a35980fcf070a393c075
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_ARCHIVE_URL= http://ftp.isc.org/isc/dhcp/$(COMPONENT_ARCHIVE)
dadf206a4cf1eccf5c13b64bd9678610dd763868rbb
dadf206a4cf1eccf5c13b64bd9678610dd763868rbbinclude ../../make-rules/prep.mk
a773226ea345018b49d45cf2e076ff2452eead5arbbinclude ../../make-rules/configure.mk
f9e54e16ac4952a85bb00b8043c1d1e0f495eefbgregamesinclude ../../make-rules/ips.mk
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_PRE_CONFIGURE_ACTION = \
ec9b5c4854a4055d00f5459dbbd879d517f1531dmartin ($(CLONEY) $(SOURCE_DIR) $(@D))
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
5181b311fbd45b65a34b3fddb3ace5fab85f36e4wroweCONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/inet
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/inet
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCONFIGURE_OPTIONS += --bindir=$(USRSBINDIR)
4cbb3bcf66a6788196bcc7244e4e36705acfbb57rbbCONFIGURE_OPTIONS += --enable-use-sockets --enable-ipv4-pktinfo
a91a466a0d812a522d492c3c182163f73591ca20aaron
a91a466a0d812a522d492c3c182163f73591ca20aaronbuild: $(BUILD_32)
5f69f46ccdf50afd8f0a23f134746e6066185e89rbb
12b0070d002520b81a273ae892b9ea08e810b123rbbinstall: build $(INSTALL_32) $(PROTO_DIR)/dhcpd.leases
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
886cd69ebf69e990dbc365be87ff8ea7cd681904rbbBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
305a68a1a5db3cc264077d89b3caa6f923257150fieldingtest: build
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha @cd $(BUILD_DIR_32); $(MAKE) check
105475009f541187ba7a14a367547d9404c578befielding
105475009f541187ba7a14a367547d9404c578befielding$(PROTO_DIR)/dhcpd.leases: $(INSTALL_32)
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha $(TOUCH) $@
f07a80771bc5d30b1e0cfcb7256c1a302da77675rbb
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainclude ../../make-rules/depend.mk
80e9324586de2fa55e2da4df409e6a85885ea659fielding