Makefile revision 851
0cba3a63e59bfa77f67955cb4e034264ed6c5523jerenkrantz###############################################################################
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# xterm Makefile
36bfefb6940a90242290e5b5713a2d831275eef1jim# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
36bfefb6940a90242290e5b5713a2d831275eef1jim# Use is subject to license terms.
36bfefb6940a90242290e5b5713a2d831275eef1jim# Permission is hereby granted, free of charge, to any person obtaining a
5a8bb5948d2a258145174320587706de3219d8a3pquerna# copy of this software and associated documentation files (the
5a8bb5948d2a258145174320587706de3219d8a3pquerna# "Software"), to deal in the Software without restriction, including
5a8bb5948d2a258145174320587706de3219d8a3pquerna# without limitation the rights to use, copy, modify, merge, publish,
5a8bb5948d2a258145174320587706de3219d8a3pquerna# distribute, and/or sell copies of the Software, and to permit persons
843a03fe0b138a4c1f64cb90a014e9417ac30691fielding# to whom the Software is furnished to do so, provided that the above
843a03fe0b138a4c1f64cb90a014e9417ac30691fielding# copyright notice(s) and this permission notice appear in all copies of
843a03fe0b138a4c1f64cb90a014e9417ac30691fielding# the Software and that both the above copyright notice(s) and this
843a03fe0b138a4c1f64cb90a014e9417ac30691fielding# permission notice appear in supporting documentation.
0cba3a63e59bfa77f67955cb4e034264ed6c5523jerenkrantz# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
e5abee85fe751fc27c5d4fc9a8ebe3b80f3d6603trawick# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
e5abee85fe751fc27c5d4fc9a8ebe3b80f3d6603trawick# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
e5abee85fe751fc27c5d4fc9a8ebe3b80f3d6603trawick# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
c169c5f94d61a860f3110c5d29a9fb306e762c11trawick# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
c169c5f94d61a860f3110c5d29a9fb306e762c11trawick# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
c169c5f94d61a860f3110c5d29a9fb306e762c11trawick# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
ca3a25d12c5fe0926aa97550be39f0d88d0decb1pquerna# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
ca3a25d12c5fe0926aa97550be39f0d88d0decb1pquerna# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
ca3a25d12c5fe0926aa97550be39f0d88d0decb1pquerna# Except as contained in this notice, the name of a copyright holder
74def8815c725f8128a4e76ab1f5704df80b024ajerenkrantz# shall not be used in advertising or otherwise to promote the sale, use
74def8815c725f8128a4e76ab1f5704df80b024ajerenkrantz# or other dealings in this Software without prior written authorization
4d553781254e46f1dfc8d86b79667a74fb8a3eb5brianp# of the copyright holder.
8f868f15482c7406db01216b6e4778ddabb26898trawick# Package name used in tarballs
f902601ea431a9b56106e0f5f641dd5fd7efbc30jorton# Version number (used in path names)
1e1e4f4f810b99732f06fc05141f42ca1965a9edpquerna# Source tarball
1e1e4f4f810b99732f06fc05141f42ca1965a9edpquernaSOURCE_URL=ftp://invisible-island.net/xterm/$(SOURCE_TARBALL_NAME:.tar.gz=.tgz)
5f80956ca9d98d5482f38eef0c465df0923d7781jerenkrantz# Source tarball
5f80956ca9d98d5482f38eef0c465df0923d7781jerenkrantzSOURCE_TARBALL_NAME=$(MODULE_NAME)-$(MODULE_VERSION).tar.gz
78fcc425fc9fc58202a1693fe40dd0ce75c031ffjorton# Patches to apply to source after unpacking, in order
d2ffb32434f79782ff7a364ffa31064698c5c645jorton# Man pages to apply Sun footer to & attributes to list
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz# Paths to find Xft/fontconfig/freetype headers libraries at build time
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz# and run time
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzFT_CFLAGS= -I$(PROTODIR)/usr/include -I$(PROTODIR)/usr/include/freetype2
dae3cb64cc6681b5f6b0fd12e7f8f6296ffaa19abnicholes -L$(PROTODIR)/usr/lib$(LIBSUBDIR) -R/usr/lib$(LIBSUBDIR) -lXft -lfontconfig
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz# Additional flags to pass to configure script
81540a0eb1da2c687e22de3367d8ded55e17e330pquernaMODULE_CONFIG_OPTS = --enable-256-color --enable-88-color --enable-wide-chars \
d2ffb32434f79782ff7a364ffa31064698c5c645jorton --with-freetype-cflags="$(FT_CFLAGS)" --with-freetype-libs="$(FT_LIBS)" \
ce66c67eba79a20118d8664b65b0c9eeec1bebdabnicholes --x-includes=$(PROTODIR)$(X11_INCLUDES_DIR) --x-libraries=$(X11_LIB_DIR) \
ce66c67eba79a20118d8664b65b0c9eeec1bebdabnicholes --with-icondir=/usr/share/pixmaps --enable-logging
ce66c67eba79a20118d8664b65b0c9eeec1bebdabnicholes# Tell configure where to find luit binary