author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Sun, 23 Nov 2014 21:46:46 -0800 | |
changeset 1422 | e9cadc0026d8 |
parent 1339 | 4f152696e5f2 |
permissions | -rw-r--r-- |
1193
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
1422
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
2 |
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. |
1193
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
4 |
# Permission is hereby granted, free of charge, to any person obtaining a |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
5 |
# copy of this software and associated documentation files (the "Software"), |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
6 |
# to deal in the Software without restriction, including without limitation |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
7 |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
8 |
# and/or sell copies of the Software, and to permit persons to whom the |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
9 |
# Software is furnished to do so, subject to the following conditions: |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
10 |
# |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
11 |
# The above copyright notice and this permission notice (including the next |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
12 |
# paragraph) shall be included in all copies or substantial portions of the |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
13 |
# Software. |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
14 |
# |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
15 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
16 |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
17 |
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
18 |
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
19 |
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
20 |
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
21 |
# DEALINGS IN THE SOFTWARE. |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
23 |
|
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
24 |
# No upstream sources, only local sources |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
25 |
MODULE_NAME = build-tools |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
26 |
MODULE_VERSION = src |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
27 |
SOURCE_TARBALL_NAME = NONE |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
28 |
SOURCE_TARBALL_NAME_SET = yes |
1422
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
29 |
SOURCE_TARGETS = |
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
30 |
SOURCE_TARGETS_SET = yes |
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
31 |
ACTUAL_SOURCE_DIR = ../sun-src |
1193
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
32 |
|
1339
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1195
diff
changeset
|
33 |
# Package metadata |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1195
diff
changeset
|
34 |
MODULE_DESC = custom tools used for building Solaris X11 consolidation |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1195
diff
changeset
|
35 |
MODULE_LICENSE = Oracle |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1195
diff
changeset
|
36 |
MODULE_LICENSE_SET = yes |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1195
diff
changeset
|
37 |
|
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1195
diff
changeset
|
38 |
# Dates to show in Oracle copyright notice in pkg license file |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1195
diff
changeset
|
39 |
# Earliest & latest of the copyrights in the Oracle files in this pkg |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1195
diff
changeset
|
40 |
ORACLE_COPYRIGHT_YEARS = 2008, 2012 |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1195
diff
changeset
|
41 |
|
1422
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
42 |
# No configure script to run, but need to make build dirs |
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
43 |
CONFIGURE_TARGETS = $(BUILD_DIR) |
1193
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
44 |
CONFIGURE_TARGETS_SET = yes |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
45 |
|
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
46 |
# Build both 32-bit & 64-bit versions |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
47 |
BUILD_TYPES = 32 64 |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
48 |
BUILD_TYPES_SET = yes |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
49 |
|
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
50 |
# Since we don't have a configure script, pass configure flags to make |
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
51 |
MODULE_CONFIG_ENV = MACH="$(MACH$(BUILD_TYPE))" DESTDIR="$(TOOLS_DIR)" |
1195
5257d09d4f0a
7080479 X binaries change too much on rebuilds (avoid build race w/ lndir)
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1193
diff
changeset
|
52 |
MODULE_CONFIG_ENV += srcdir="$(ACTUAL_SOURCE_DIR)" |
1422
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
53 |
MODULE_MAKEFLAGS = $(CONFIG_ENV) -f "$(ACTUAL_SOURCE_DIR)/Makefile" |
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
54 |
MODULE_MAKEFLAGS += VPATH="$(ACTUAL_SOURCE_DIR)" |
1193
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
55 |
|
81e7bcbed056
7080479 X binaries change too much on rebuilds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
56 |
include ../Makefile.inc |