open-src/lib/libXaw4/Makefile
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Fri, 02 Jul 2010 21:03:57 -0700
changeset 970 272328fe1b4a
parent 943 294f64612d23
child 977 46c5e46c27fb
permissions -rw-r--r--
6941932 X should be able to build IPS packages natively 6964006 X package boundaries are all wrong 6966504 lndir [PSARC/2010/219] Portions contributed by Richard Lowe <[email protected]>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
749
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     1
###############################################################################
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     2
#
920
9869a81e8122 6932946 Convert remaining X consolidation library.spec files to mapfile-vers
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 919
diff changeset
     3
# Xaw4 Makefile
749
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     4
#
943
294f64612d23 6948254 Mass update of X gate sources to Oracle copyright format
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 920
diff changeset
     5
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
749
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     6
#
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@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: 907
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: 907
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: 907
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: 907
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: 907
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: 907
diff changeset
    13
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
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: 907
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: 907
diff changeset
    16
# Software.
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    17
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
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: 907
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: 907
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: 907
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: 907
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: 907
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: 907
diff changeset
    24
# DEALINGS IN THE SOFTWARE.
749
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    25
#
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    26
#
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    27
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    28
BUILD_TYPES_SET=yes
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    29
BUILD_TYPES_sparc=32
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    30
BUILD_TYPES_i386=32
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    31
BUILD_TYPES=$(BUILD_TYPES_$(MACH))
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    32
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    33
MODULE_NAME=libXaw4
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    34
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    35
# 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: 943
diff changeset
    36
MODULE_PKGNAME=x11/toolkit/libxaw4
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    37
MODULE_PKGNAME_SET=yes
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    38
749
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    39
# No upstream sources, only local sources
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    40
MODULE_VERSION=src
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    41
SOURCE_TARBALL_NAME=NONE
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    42
SOURCE_TARBALL_NAME_SET=yes
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    43
ADDITIONAL_SOURCE_DIR=sun-src
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    44
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    45
# Library name (used for specfiles/mapfiles)
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    46
LIBNAME=Xaw4
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    47
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    48
# Man pages to apply Sun footer to & attributes to list
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    49
SUNTOUCHED_MANPAGES= # None
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    50
MODULE_STABILITY=Committed
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    51
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    52
# No configure script to run
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    53
CONFIGURE_TARGETS=
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    54
CONFIGURE_TARGETS_SET=yes
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    55
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    56
# Since we don't have a configure script, pass configure flags to make
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    57
MODULE_BUILD_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    58
MODULE_INSTALL_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    59
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    60
MODULE_CFLAGS += -I.
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    61
920
9869a81e8122 6932946 Convert remaining X consolidation library.spec files to mapfile-vers
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 919
diff changeset
    62
# Link with version mapfile
9869a81e8122 6932946 Convert remaining X consolidation library.spec files to mapfile-vers
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 919
diff changeset
    63
MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
9869a81e8122 6932946 Convert remaining X consolidation library.spec files to mapfile-vers
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 919
diff changeset
    64
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    65
# 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: 943
diff changeset
    66
MODULE_X11_LIBCOMPAT_LINKS = libXaw.so.4
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    67
749
d7a0cca9c876 6860468 move xc/lib/Xaw and xc/SUNWlib/3_1libXaw to open-src/lib/libXaw5 and open-src/lib/libXaw4
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    68
include ../Makefile.inc