Makefile revision 946
6ca0e6973c8176100f4a426444823ae5e777e28fsascha###############################################################################
cb5d3f2f217d457dada4883addb1dc9f3f17bb85fielding# X11 1.x Makefile
6ded37e63424e43b00ca7c9055d355e071d6a444rbb# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
9022fa73d4ac101553e7c36a1457ead52a73333borlikowski# Permission is hereby granted, free of charge, to any person obtaining a
9022fa73d4ac101553e7c36a1457ead52a73333borlikowski# copy of this software and associated documentation files (the "Software"),
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# to deal in the Software without restriction, including without limitation
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# the rights to use, copy, modify, merge, publish, distribute, sublicense,
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# and/or sell copies of the Software, and to permit persons to whom the
ce3da141a81ef0e22f46e496675f602e3c483b88rbb# Software is furnished to do so, subject to the following conditions:
6687a315a676cbcb8063a8477a579876d82ab327gstein# The above copyright notice and this permission notice (including the next
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# paragraph) shall be included in all copies or substantial portions of the
cb5d3f2f217d457dada4883addb1dc9f3f17bb85fielding# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
b20fd88fb62a14780223a39488dba735d3643fdcwrowe# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
b20fd88fb62a14780223a39488dba735d3643fdcwrowe# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
b20fd88fb62a14780223a39488dba735d3643fdcwrowe# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
cb5d3f2f217d457dada4883addb1dc9f3f17bb85fielding# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
9832ee60b23ca2a3faa403bbe88720815969a9fefielding# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
cb5d3f2f217d457dada4883addb1dc9f3f17bb85fielding# DEALINGS IN THE SOFTWARE.
2795c373a9fb112dc77576c1dfc23119f02d598amanoj# Package name used in tarballs
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Version number (used in path names)
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Checksums for upstream tarball
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaTARBALL_SHA1 = d4b3966d8eeb79514daad3eeae0debf65d16edca
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Patches to apply to source after unpacking, in order
6cb7893a671cebe32dd0455ba79781a4834e141egregames# Library name (used for specfiles/mapfiles)
6cb7893a671cebe32dd0455ba79781a4834e141egregames# Man pages to apply Sun footer to & attributes to list
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Command line options to GNU autoconf configure script
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaMODULE_CONFIG_OPTS = --enable-xthreads --enable-loadable-i18n \
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha --with-xcb=no --enable-loadable-xcursor --enable-xcms \
87193a6150fcb830b68d79fdbb3f068cb3724677sascha --enable-xlocaledir --enable-xkb --enable-man-pages=$(LIB_MAN_SUFFIX) \
bbd84c2a95afbca61ef7897e2fb8e897e4682f9drbb --with-locale-lib-dir='$${exec_prefix}/lib/X11/locale$(LIBSUBDIR)'
156e4036ec6e4b5d858025a1af72403c0eb15d9adreid# -xF is needed for mapfile reordering to work
b6d830878cedf541e64b399766a38ffc5d8edf05gstein# -DSUNSOFT enables SUN_SME (Shared Memory transport extension)
6f7e9706af6d8aa1153b5badcf0688835b4cde64rbb# -DMOTIFBC enables compatibility with bugs in Motif & other apps
2a0b1e02f6dc3b02b9a42448f35dcf39b929e37crbb# -DSUNSOFT_KBD enables Solaris traditional keyboard handling
7e73041858979fd162c849cc2e7447beb51eedf8rbb# Backwards compatibility for old paths until g11n moves all input methods
1e8d4cfede0bad3a1a33e3b2eef0ba6754746f72rbb XLOCALEDIR="/usr/share/X11/locale:/usr/X11/share/X11/locale" \
7e73041858979fd162c849cc2e7447beb51eedf8rbb XLOCALELIBDIR="/usr/lib/X11/locale$(LIBSUBDIR):/usr/X11/lib/X11/locale$(LIBSUBDIR)"
a773226ea345018b49d45cf2e076ff2452eead5arbb# Work around libtool's interference
a773226ea345018b49d45cf2e076ff2452eead5arbb# Use -KPIC instead of -Kpic because we have too many symbols on SPARC
150d51d42d77924d8b84d2f34299fb5ffc952679rbb# Need additional mapfile for additional symbols in 64-bit versions
150d51d42d77924d8b84d2f34299fb5ffc952679rbbMODULE_BUILD_64_FLAGS = ADD_libX11_LDFLAGS="-M $(PWD)/mapfile-vers-64"
a9c8d089de1ffb900c49f3c895a853db4c70bc18gregames# pkg-config files that need to have -R added
150d51d42d77924d8b84d2f34299fb5ffc952679rbb# Regenerate Makefile.in's from Makefile.am's after patching them
ce8d7a0627c0f246376cccd980463f8250a6a97ebjh# Merge in additional sources from sun-src directory
# packages, but which X.Org doesn't