author | Alan Coopersmith <Alan.Coopersmith@Sun.COM> |
Wed, 24 Feb 2010 21:41:03 -0800 | |
changeset 911 | a3e7e197651c |
parent 907 | 3c35d611cdaa |
child 919 | 425233ae7236 |
permissions | -rw-r--r-- |
535
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
1 |
############################################################################### |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
2 |
# |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
3 |
# Xp 1.x Makefile |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
4 |
# |
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
5 |
# Copyright 2010 Sun Microsystems, Inc. All rights reserved. |
535
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
6 |
# Use subject to license terms. |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
7 |
# |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
8 |
# Permission is hereby granted, free of charge, to any person obtaining a |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
9 |
# copy of this software and associated documentation files (the |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
10 |
# "Software"), to deal in the Software without restriction, including |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
11 |
# without limitation the rights to use, copy, modify, merge, publish, |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
12 |
# distribute, and/or sell copies of the Software, and to permit persons |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
13 |
# to whom the Software is furnished to do so, provided that the above |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
14 |
# copyright notice(s) and this permission notice appear in all copies of |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
15 |
# the Software and that both the above copyright notice(s) and this |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
16 |
# permission notice appear in supporting documentation. |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
17 |
# |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
18 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
19 |
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
20 |
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
21 |
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
22 |
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
23 |
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
24 |
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
25 |
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
26 |
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
27 |
# |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
28 |
# Except as contained in this notice, the name of a copyright holder |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
29 |
# shall not be used in advertising or otherwise to promote the sale, use |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
30 |
# or other dealings in this Software without prior written authorization |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
31 |
# of the copyright holder. |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
32 |
# |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
33 |
# |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
34 |
|
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
35 |
# Package name used in tarballs |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
36 |
MODULE_NAME=libXp |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
37 |
|
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
38 |
# Version number (used in path names) |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
39 |
MODULE_VERSION=1.0.0 |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
40 |
|
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
41 |
# Checksums for upstream tarball |
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
42 |
TARBALL_MD5 = 0f4ac39108c1ae8c443cdfac259b58fa |
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
43 |
TARBALL_SHA1 = fac67954e247fc805af6e495ff8695b5724cd1e2 |
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
44 |
|
535
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
45 |
# Patches to apply to source after unpacking, in order |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
46 |
SOURCE_PATCHES = solaris-abi.patch 6724993.patch |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
47 |
|
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
48 |
# Since we're patching src/Makefile.am in solaris-abi.patch, |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
49 |
# we need to autoreconf |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
50 |
AUTORECONF=yes |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
51 |
|
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
52 |
|
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
53 |
# Library name |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
54 |
LIBNAME=Xp |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
55 |
|
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
56 |
# Man pages to apply Sun footer to & attributes to list |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
57 |
SUNTOUCHED_MANPAGES=man/*.man |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
58 |
SUN_PACKAGE=SUNWxwplt |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
59 |
MODULE_STABILITY=Committed |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
60 |
LIB_MAN_SUFFIX=3Xp |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
61 |
|
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
62 |
|
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
63 |
|
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
64 |
# pkg-config files that need to have -R added |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
65 |
FIX_PC_FILES=xp.pc.in |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
66 |
|
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
67 |
include ../Makefile.inc |