Makefile revision 1258
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User#
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
c7ef13f6c9ef4436bc804b150e0a93307b11fa27Tinderbox User#
c7ef13f6c9ef4436bc804b150e0a93307b11fa27Tinderbox User# The contents of this file are subject to the terms of the
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# Common Development and Distribution License (the "License").
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# You may not use this file except in compliance with the License.
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater#
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fe84edc17e0d582cf7b4270f8df9d4742a107b1cAutomatic Updater# or http://www.opensolaris.org/os/licensing.
79b273c187a4aa1016a62181983dfdd0521681aeMark Andrews# See the License for the specific language governing permissions
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User# and limitations under the License.
bed0874e1a09e810575328c4bfc346a47514b69fMark Andrews#
b253dcf9668f95e141bce9556dc88e30d3305a1dTinderbox User# When distributing Covered Code, include this CDDL HEADER in each
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# If applicable, add the following below this CDDL HEADER, with the
1ac49378a458420bc685293d12e567d7222d17b6Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
bbde8dc56605130058a1540609264fa109da3b63Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
6c910bd5e4a85a56e3a61fdf7b237a45bb2553eeTinderbox User# CDDL HEADER END
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
a01aa536188bb3535dfc1107a623e6355a8e6b7cMark Andrewsinclude ../../make-rules/shared-macros.mk
89623368b8f662d458d9964b923050f33c5f75b0Tinderbox User
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsCOMPONENT_NAME= isc-dhcp
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_VERSION= 4.1-ESV-R7
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark AndrewsIPS_COMPONENT_VERSION= 4.1.0.7
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_SRC_NAME= dhcp
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_PROJECT_URL= http://www.isc.org/software/dhcp/
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCOMPONENT_ARCHIVE_URL= \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater http://ftp.isc.org/isc/dhcp/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox UserCOMPONENT_ARCHIVE_HASH= \
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User sha256:25d579291a13ccce39c5dbb0e2f2ce8e974c82015bc4e3ee653cf95a4ed15ca4
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntCOMPONENT_BUGDB= service/dhcp-server
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterinclude ../../make-rules/prep.mk
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Huntinclude ../../make-rules/configure.mk
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterinclude ../../make-rules/ips.mk
e6fc17ec5ad5ba1c4bf5730b2b97c82d1f2b8f3cMark Andrews
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCOMPONENT_PRE_CONFIGURE_ACTION = \
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt ($(CLONEY) $(SOURCE_DIR) $(@D))
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic UpdaterCONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/inet
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntCONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/inet
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox UserCONFIGURE_OPTIONS += --bindir=$(USRSBINDIR)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCONFIGURE_OPTIONS += --enable-use-sockets
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCONFIGURE_OPTIONS += --enable-ipv4-pktinfo
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# Disable message in omapip/errwarn.c.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCPPFLAGS += -DNOMINUM
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterbuild: $(BUILD_32)
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrewsinstall: build $(INSTALL_32) $(PROTO_DIR)/dhcpd.leases
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox UserBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewstest: build
e5a3fb2b751598fdbcf2cde07a47202aaab93081Tinderbox User @cd $(BUILD_DIR_32); $(MAKE) check
8e9f3b69914ee02a80b87c97b1f8093edb3e9ae0Automatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews$(PROTO_DIR)/dhcpd.leases: $(INSTALL_32)
a80993946f29ff39df38818ee9b2e58a4e46cb7eTinderbox User $(TOUCH) $@
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c59750de3ea3c7d5890000fb4606e8f5835a52aaTinderbox Userinclude ../../make-rules/depend.mk
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater