author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Sun, 23 Nov 2014 21:46:46 -0800 | |
changeset 1422 | e9cadc0026d8 |
parent 1339 | 4f152696e5f2 |
child 1434 | 91ac25efa152 |
permissions | -rw-r--r-- |
499
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
1 |
############################################################################### |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
2 |
# |
1339
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1003
diff
changeset
|
3 |
# libXtsol - client library for TSOL extension for Solaris Trusted Extensions |
499
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
4 |
# |
1422
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
5 |
# Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved. |
499
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
6 |
# |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
7 |
# Permission is hereby granted, free of charge, to any person obtaining a |
919
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
8 |
# copy of this software and associated documentation files (the "Software"), |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
9 |
# to deal in the Software without restriction, including without limitation |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
10 |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
11 |
# and/or sell copies of the Software, and to permit persons to whom the |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
12 |
# Software is furnished to do so, subject to the following conditions: |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
13 |
# |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
14 |
# The above copyright notice and this permission notice (including the next |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
15 |
# paragraph) shall be included in all copies or substantial portions of the |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
16 |
# Software. |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
17 |
# |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
18 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
19 |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
20 |
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
21 |
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
22 |
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
23 |
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
24 |
# DEALINGS IN THE SOFTWARE. |
499
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
25 |
# |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
26 |
# |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
27 |
|
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
28 |
# Package name used in tarballs |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
29 |
MODULE_NAME=libXtsol |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
30 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
31 |
# Package classification (override default) |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
32 |
MODULE_PKGCLASS=System/Trusted |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
33 |
MODULE_PKGCLASS_SET=yes |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
34 |
|
1003
a4d17d6bc179
6980773 X gate needs branding options
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
35 |
# Package metadata |
a4d17d6bc179
6980773 X gate needs branding options
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
36 |
MODULE_LICENSE = Oracle |
a4d17d6bc179
6980773 X gate needs branding options
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
37 |
MODULE_LICENSE_SET = yes |
a4d17d6bc179
6980773 X gate needs branding options
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
38 |
|
1339
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1003
diff
changeset
|
39 |
# 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:
1003
diff
changeset
|
40 |
# 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:
1003
diff
changeset
|
41 |
ORACLE_COPYRIGHT_YEARS = 2004, 2007 |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1003
diff
changeset
|
42 |
|
499
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
43 |
# No upstream sources, only local sources |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
44 |
MODULE_VERSION=src |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
45 |
SOURCE_TARBALL_NAME=NONE |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
46 |
SOURCE_TARBALL_NAME_SET=yes |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
47 |
ADDITIONAL_SOURCE_DIR=sun-src |
910
0a08683bf637
6928500 Race conditions in parallel make break X nightly builds
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
48 |
MODULE_ADD_SOURCE_TARGETS=source_auditwrite |
499
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
49 |
|
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
50 |
# Library name (used for specfiles/mapfiles) |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
51 |
LIBNAME=Xtsol |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
52 |
|
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
53 |
# Man pages to apply Sun footer to & attributes to list |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
54 |
SUNTOUCHED_MANPAGES= # None |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
55 |
MODULE_STABILITY=Committed |
969
f3e9f1ddd6a8
6965575 Section 3X* man pages can't be found since move to /usr/share/man
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
56 |
LIB_MAN_SUFFIX=3xtsol |
499
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
57 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
58 |
# pkg(5) name we deliver the files in (override default) |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
59 |
MODULE_PKGNAME=x11/trusted/libxtsol |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
60 |
MODULE_PKGNAME_SET=yes |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
61 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
62 |
# ARC cases that covered this module |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
63 |
# LSARC/2004/109 - Trusted Solaris X Server Extension |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
64 |
MODULE_ARC_CASES = LSARC/2004/109 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
65 |
|
1422
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
66 |
# 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
|
67 |
CONFIGURE_TARGETS = $(BUILD_DIR) |
499
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
68 |
CONFIGURE_TARGETS_SET=yes |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
69 |
|
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
70 |
# Since we don't have a configure script, pass configure flags to make |
1422
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
71 |
# and pass path to $(SOURCE_DIR) for makefiles & source files |
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
72 |
REL_SOURCE_DIR = ../$(SOURCE_DIR) |
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
73 |
MODULE_MAKEFLAGS = VPATH=$(REL_SOURCE_DIR) -f $(REL_SOURCE_DIR)/Makefile |
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
74 |
MODULE_BUILD_ENV = $(CONFIG_ENV) PREFIX=$(MODULE_PREFIX) |
499
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
75 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
76 |
# Compatibility links from /usr/X11/lib to /usr/lib |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
77 |
MODULE_X11_LIBCOMPAT_LINKS = libXtsol.so libXtsol.so.1 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
78 |
|
499
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
79 |
include ../Makefile.inc |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
80 |
|
935
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
919
diff
changeset
|
81 |
source_auditwrite: $(SOURCE_DIR)/auditwrite.c $(SOURCE_DIR)/auditwrite.h |
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
919
diff
changeset
|
82 |
|
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
919
diff
changeset
|
83 |
$(SOURCE_DIR)/auditwrite.c + $(SOURCE_DIR)/auditwrite.h: |
499
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
84 |
mkdir -p $(SOURCE_DIR) |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
85 |
(cd $(SOURCE_DIR) ; \ |
1422
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
86 |
ln -s ../../../xserver/xorg/sun-src/tsol/auditwrite.[ch] . ) |