author | Laszlo Peter <laszlo.peter@oracle.com> |
Wed, 07 Sep 2016 14:48:21 -0700 | |
changeset 6746 | 5a7cd15a88f8 |
parent 5682 | 94c0ca64c022 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
1697
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
1 |
# |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
3 |
# |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
7 |
# |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
12 |
# |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
18 |
# |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
20 |
# |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
21 |
|
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
22 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
23 |
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
1697
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
24 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
25 |
BUILD_BITS= 64 |
1697
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
27 |
|
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
28 |
# i18n component requires GNU xgettext |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
29 |
PATH=$(GNUBIN):$(USRBINDIR):$(USRSBINDIR) |
1697
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
30 |
|
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_NAME= dnsmasq |
6746
5a7cd15a88f8
23210173 Upgrade dnsmasq to 2.75
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5682
diff
changeset
|
32 |
COMPONENT_VERSION= 2.75 |
1697
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_PROJECT_URL= http://www.thekelleys.org.uk |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_ARCHIVE_HASH= \ |
6746
5a7cd15a88f8
23210173 Upgrade dnsmasq to 2.75
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5682
diff
changeset
|
37 |
sha256:f8252c0a0ba162c2cd45f81140c7c17cc40a5fca2b869d1a420835b74acad294 |
1697
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
38 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
39 |
COMPONENT_BUGDB= service/dnsmasq |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
40 |
|
6746
5a7cd15a88f8
23210173 Upgrade dnsmasq to 2.75
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5682
diff
changeset
|
41 |
TPNO= 28028 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1697
diff
changeset
|
42 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
43 |
BUILD_STYLE= justmake |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
44 |
TEST_TARGET= $(NO_TESTS) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
45 |
include $(WS_MAKE_RULES)/common.mk |
1697
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
46 |
|
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
47 |
COMPONENT_BUILD_ENV += CC="$(CC)" |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
48 |
COMPONENT_BUILD_ARGS += CC="$(CC)" |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
49 |
COMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)" |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
50 |
COMPONENT_BUILD_ARGS += LOCALEDIR="$(USRSHARELOCALEDIR)" |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
51 |
COMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS) $(CC_BITS)" |
1697
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
52 |
COMPONENT_BUILD_TARGETS = "all-i18n" |
6746
5a7cd15a88f8
23210173 Upgrade dnsmasq to 2.75
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5682
diff
changeset
|
53 |
COMPONENT_INSTALL_ENV += CC="$(CC)" |
5a7cd15a88f8
23210173 Upgrade dnsmasq to 2.75
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5682
diff
changeset
|
54 |
COMPONENT_INSTALL_ARGS += CC="$(CC)" |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
55 |
COMPONENT_INSTALL_ARGS += PREFIX="$(USRDIR)" |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
56 |
COMPONENT_INSTALL_ARGS += BINDIR="$(USRLIBDIR)/inet" |
1697
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
57 |
COMPONENT_INSTALL_TARGETS = "install-i18n" |
418a0b84f905
PSARC 2014/035 Dnsmasq 2.68
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
58 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
59 |
REQUIRED_PACKAGES += library/libidn |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
60 |
REQUIRED_PACKAGES += system/core-os |