Makefile revision 672
48c0c81cd6fabac9d3386406d97633780365b839coar###############################################################################
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# xterm Makefile
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
8163c8f6e2a9a8e4aba318d874c54a3155d57e21jerenkrantz# Use subject to license terms.
d8028365066fca602bf35d014530a1802114378crbb# Permission is hereby granted, free of charge, to any person obtaining a
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# copy of this software and associated documentation files (the
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# "Software"), to deal in the Software without restriction, including
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# without limitation the rights to use, copy, modify, merge, publish,
d89c116f82699294ca744125723651c554bc5925wrowe# distribute, and/or sell copies of the Software, and to permit persons
4214e98fc9045e5010e66f9a967bd6d68f40d342aaron# to whom the Software is furnished to do so, provided that the above
8721697e2aece27b0e738519329f7976c72b27bfjerenkrantz# copyright notice(s) and this permission notice appear in all copies of
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# the Software and that both the above copyright notice(s) and this
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# permission notice appear in supporting documentation.
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
571760de5e60c0b459cb11be45507b923cd023eejwoolley# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
571760de5e60c0b459cb11be45507b923cd023eejwoolley# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
9180a5933673ffb1af633c255ceee029340f3b1erbb# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# Except as contained in this notice, the name of a copyright holder
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# shall not be used in advertising or otherwise to promote the sale, use
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb# or other dealings in this Software without prior written authorization
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# of the copyright holder.
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick# Package name used in tarballs
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# Version number (used in path names)
af4c982a7cf4515f124935f99a329744035fc699slive# Source tarball
af4c982a7cf4515f124935f99a329744035fc699sliveSOURCE_URL=ftp://invisible-island.net/xterm/$(SOURCE_TARBALL_NAME:.tar.gz=.tgz)
af4c982a7cf4515f124935f99a329744035fc699slive# Source tarball
af4c982a7cf4515f124935f99a329744035fc699sliveSOURCE_TARBALL_NAME=$(MODULE_NAME)-$(MODULE_VERSION).tar.gz
f9b8e29cfca92cf0a996e8ab17fa1a1f447cecc7stoddard# Patches to apply to source after unpacking, in order
8c8fbb8546af54582539898be704411a60058d85trawick# Man pages to apply Sun footer to & attributes to list
9143acbf9ad8a8bbfe928c8b25c08778435e055daaron# Paths to find Xft/fontconfig/freetype headers libraries at build time
9143acbf9ad8a8bbfe928c8b25c08778435e055daaron# and run time
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzFT_CFLAGS= -I$(PROTODIR)/usr/include -I$(PROTODIR)/usr/include/freetype2 \
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz -L$(PROTODIR)/usr/X11/lib$(LIBSUBDIR) -R/usr/X11/lib$(LIBSUBDIR) -lXft \
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz -L$(PROTODIR)/usr/lib$(LIBSUBDIR) -R/usr/lib$(LIBSUBDIR) -lfontconfig
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe# Additional flags to pass to configure script
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzMODULE_CONFIG_OPTS = --enable-256-color --enable-88-color --enable-wide-chars \
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz --with-freetype-cflags="$(FT_CFLAGS)" --with-freetype-libs="$(FT_LIBS)" \
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz --disable-setuid --disable-setgid --enable-luit \
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz --x-includes=$(PROTODIR)/usr/X11/include --x-libraries=/usr/X11/lib \
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz --with-icondir=/usr/share/pixmaps --enable-logging
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz# Tell configure where to find luit binary