author | Ben Chang <Benjamin.Chang@Oracle.COM> |
Tue, 12 Jan 2016 17:16:02 -0800 | |
changeset 5261 | 172253f94ecf |
parent 4339 | 6501cf9c29f9 |
child 5682 | 94c0ca64c022 |
permissions | -rw-r--r-- |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
1 |
# |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
3 |
# |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
7 |
# |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
12 |
# |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
18 |
# |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
20 |
# |
5261
172253f94ecf
22517767 Upgrade Solaris' DHCP to version 4.1-ESV-R7-P1
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
4339
diff
changeset
|
21 |
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
22 |
# |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
23 |
include ../../make-rules/shared-macros.mk |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
24 |
|
1048
e82fa02a4d16
15863968 Auto-generation of Userland gate list - Phase 1.
Rich Burridge <rich.burridge@oracle.com>
parents:
982
diff
changeset
|
25 |
COMPONENT_NAME= isc-dhcp |
982
339360bfe9df
7196236 Problem with network/dhcp_server
tomas.jedlicka <tomas.jedlicka@oracle.com>
parents:
933
diff
changeset
|
26 |
COMPONENT_VERSION= 4.1-ESV-R7 |
5261
172253f94ecf
22517767 Upgrade Solaris' DHCP to version 4.1-ESV-R7-P1
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
4339
diff
changeset
|
27 |
HUMAN_VERSION= $(COMPONENT_VERSION)-P1 |
172253f94ecf
22517767 Upgrade Solaris' DHCP to version 4.1-ESV-R7-P1
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
4339
diff
changeset
|
28 |
IPS_COMPONENT_VERSION= 4.1.0.7.1 |
1048
e82fa02a4d16
15863968 Auto-generation of Userland gate list - Phase 1.
Rich Burridge <rich.burridge@oracle.com>
parents:
982
diff
changeset
|
29 |
COMPONENT_SRC_NAME= dhcp |
e82fa02a4d16
15863968 Auto-generation of Userland gate list - Phase 1.
Rich Burridge <rich.burridge@oracle.com>
parents:
982
diff
changeset
|
30 |
COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION) |
658
714803fd87a0
7116917 Problem with network/dhcp_server
Stacey Marshall <Stacey.Marshall@Oracle.COM>
parents:
609
diff
changeset
|
31 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
473
diff
changeset
|
32 |
COMPONENT_PROJECT_URL= http://www.isc.org/software/dhcp/ |
933
fbf8e08af1f1
7181717 Problem with network/dhcp_server
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
800
diff
changeset
|
33 |
COMPONENT_ARCHIVE_URL= \ |
fbf8e08af1f1
7181717 Problem with network/dhcp_server
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
800
diff
changeset
|
34 |
http://ftp.isc.org/isc/dhcp/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
736
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
982
339360bfe9df
7196236 Problem with network/dhcp_server
tomas.jedlicka <tomas.jedlicka@oracle.com>
parents:
933
diff
changeset
|
36 |
sha256:25d579291a13ccce39c5dbb0e2f2ce8e974c82015bc4e3ee653cf95a4ed15ca4 |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
1048
diff
changeset
|
37 |
COMPONENT_BUGDB= service/dhcp-server |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
38 |
|
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1058
diff
changeset
|
39 |
TPNO= 10383 |
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1058
diff
changeset
|
40 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/configure.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/ips.mk |
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
44 |
include $(WS_MAKE_RULES)/lint-libraries.mk |
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
45 |
|
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
46 |
LINT_FLAGS += -I$(BUILD_DIR_32)/includes \ |
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
47 |
-I$(BUILD_DIR_64)/includes -I$(SOURCE_DIR)/includes -I. |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
48 |
|
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
49 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
50 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
51 |
|
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
52 |
# Some patches need configure script re-creation. |
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
53 |
COMPONENT_PREP_ACTION +=(cd $(@D); autoreconf -vfi); |
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
54 |
|
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
55 |
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/inet |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
56 |
CONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/inet |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
57 |
CONFIGURE_OPTIONS += --bindir=$(USRSBINDIR) |
658
714803fd87a0
7116917 Problem with network/dhcp_server
Stacey Marshall <Stacey.Marshall@Oracle.COM>
parents:
609
diff
changeset
|
58 |
CONFIGURE_OPTIONS += --enable-use-sockets |
714803fd87a0
7116917 Problem with network/dhcp_server
Stacey Marshall <Stacey.Marshall@Oracle.COM>
parents:
609
diff
changeset
|
59 |
CONFIGURE_OPTIONS += --enable-ipv4-pktinfo |
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
60 |
CONFIGURE_OPTIONS += --with-pic |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
61 |
|
722
db6c773d591a
7143416 setting config/append_agent_option to true prevents dhcrelay from starting
Krishnan Chandrashekar <Krishnan.Chandrashekar@oracle.COM>
parents:
659
diff
changeset
|
62 |
|
db6c773d591a
7143416 setting config/append_agent_option to true prevents dhcrelay from starting
Krishnan Chandrashekar <Krishnan.Chandrashekar@oracle.COM>
parents:
659
diff
changeset
|
63 |
# Disable message in omapip/errwarn.c. |
db6c773d591a
7143416 setting config/append_agent_option to true prevents dhcrelay from starting
Krishnan Chandrashekar <Krishnan.Chandrashekar@oracle.COM>
parents:
659
diff
changeset
|
64 |
CPPFLAGS += -DNOMINUM |
933
fbf8e08af1f1
7181717 Problem with network/dhcp_server
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
800
diff
changeset
|
65 |
CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)" |
722
db6c773d591a
7143416 setting config/append_agent_option to true prevents dhcrelay from starting
Krishnan Chandrashekar <Krishnan.Chandrashekar@oracle.COM>
parents:
659
diff
changeset
|
66 |
|
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
67 |
CFLAGS += -g -fPIC |
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
68 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
69 |
|
2164
b580bc10e31a
19824924 Various Userland component test: Makefile targets should be standardized
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
70 |
COMPONENT_TEST_DIR = $(@D) |
b580bc10e31a
19824924 Various Userland component test: Makefile targets should be standardized
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
71 |
|
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
72 |
configure: $(CONFIGURE_32_and_64) |
2225
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
2164
diff
changeset
|
73 |
|
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
74 |
build: $(BUILD_32_and_64) |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
75 |
|
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
76 |
install: build $(INSTALL_32_and_64) $(PROTO_DIR)/dhcpd.leases |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
77 |
|
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
78 |
test: $(TEST_32_and_64) |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
79 |
|
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4084
diff
changeset
|
80 |
system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED) |
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4084
diff
changeset
|
81 |
|
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
82 |
$(PROTO_DIR)/dhcpd.leases: $(INSTALL_32_and_64) |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
83 |
$(TOUCH) $@ |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
84 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
85 |
|
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
86 |
REQUIRED_PACKAGES += shell/ksh93 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
87 |
REQUIRED_PACKAGES += system/core-os |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
88 |
REQUIRED_PACKAGES += system/library |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
89 |
REQUIRED_PACKAGES += system/network |