author | Alan Coopersmith <Alan.Coopersmith@Sun.COM> |
Thu, 18 Feb 2010 16:03:08 -0800 | |
changeset 907 | 3c35d611cdaa |
parent 499 | 8670a6ee6406 |
child 910 | 0a08683bf637 |
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 |
# |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
3 |
# Xtsol 1.x Makefile |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
4 |
# |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
5 |
# Copyright 2008 Sun Microsystems, Inc. All rights reserved. |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
6 |
# Use subject to license terms. |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
7 |
# |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
8 |
# Permission is hereby granted, free of charge, to any person obtaining a |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
9 |
# copy of this software and associated documentation files (the |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
10 |
# "Software"), to deal in the Software without restriction, including |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
11 |
# without limitation the rights to use, copy, modify, merge, publish, |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
12 |
# distribute, and/or sell copies of the Software, and to permit persons |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
13 |
# to whom the Software is furnished to do so, provided that the above |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
14 |
# copyright notice(s) and this permission notice appear in all copies of |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
15 |
# the Software and that both the above copyright notice(s) and this |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
16 |
# permission notice appear in supporting documentation. |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
17 |
# |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
18 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
19 |
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
20 |
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
21 |
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
22 |
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
23 |
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
24 |
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
25 |
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
26 |
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
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 |
# Except as contained in this notice, the name of a copyright holder |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
29 |
# shall not be used in advertising or otherwise to promote the sale, use |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
30 |
# or other dealings in this Software without prior written authorization |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
31 |
# of the copyright holder. |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
32 |
# |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
33 |
# |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
34 |
|
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
35 |
# Package name used in tarballs |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
36 |
MODULE_NAME=libXtsol |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
37 |
|
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
38 |
# No upstream sources, only local sources |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
39 |
MODULE_VERSION=src |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
40 |
SOURCE_TARBALL_NAME=NONE |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
41 |
SOURCE_TARBALL_NAME_SET=yes |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
42 |
ADDITIONAL_SOURCE_DIR=sun-src |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
43 |
|
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
44 |
# Library name (used for specfiles/mapfiles) |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
45 |
LIBNAME=Xtsol |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
46 |
|
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
47 |
# 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
|
48 |
SUNTOUCHED_MANPAGES= # None |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
49 |
SUN_PACKAGE=SUNWxwplt |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
50 |
MODULE_STABILITY=Committed |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
51 |
LIB_MAN_SUFFIX=3Xtsol |
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 |
# No configure script to run |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
54 |
CONFIGURE_TARGETS= |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
55 |
CONFIGURE_TARGETS_SET=yes |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
56 |
|
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
57 |
# Since we don't have a configure script, pass configure flags to make |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
58 |
MODULE_BUILD_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX) |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
59 |
MODULE_INSTALL_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX) |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
60 |
|
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
61 |
include ../Makefile.inc |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
62 |
|
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
63 |
source_gen:: $(LNDIR) |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
64 |
mkdir -p $(SOURCE_DIR) |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
65 |
(cd $(SOURCE_DIR) ; \ |
8670a6ee6406
6736427 Move libXtsol sources to open-src
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
66 |
ln -s ../../../../xserver/xorg/sun-src/tsol/auditwrite.[ch] . ) |