Makefile revision 851
418N/A###############################################################################
418N/A#
605N/A# xterm Makefile
418N/A#
605N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
761N/A# Use is subject to license terms.
418N/A#
418N/A# Permission is hereby granted, free of charge, to any person obtaining a
418N/A# copy of this software and associated documentation files (the
418N/A# "Software"), to deal in the Software without restriction, including
418N/A# without limitation the rights to use, copy, modify, merge, publish,
418N/A# distribute, and/or sell copies of the Software, and to permit persons
418N/A# to whom the Software is furnished to do so, provided that the above
418N/A# copyright notice(s) and this permission notice appear in all copies of
418N/A# the Software and that both the above copyright notice(s) and this
418N/A# permission notice appear in supporting documentation.
418N/A#
418N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
418N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
418N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
418N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
418N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
418N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
418N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
418N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
418N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
418N/A#
418N/A# Except as contained in this notice, the name of a copyright holder
418N/A# shall not be used in advertising or otherwise to promote the sale, use
418N/A# or other dealings in this Software without prior written authorization
418N/A# of the copyright holder.
418N/A#
418N/A#
418N/A
418N/A# Package name used in tarballs
493N/AMODULE_NAME=xterm
418N/A
418N/A# Version number (used in path names)
761N/AMODULE_VERSION=243
418N/A
418N/A# Source tarball
553N/ASOURCE_URL=ftp://invisible-island.net/xterm/$(SOURCE_TARBALL_NAME:.tar.gz=.tgz)
418N/ASOURCE_URL_SET=yes
553N/A
553N/A# Source tarball
553N/ASOURCE_TARBALL_NAME=$(MODULE_NAME)-$(MODULE_VERSION).tar.gz
553N/ASOURCE_TARBALL_NAME_SET=yes
418N/ASOURCE_UNCOMPRESS=gzcat
418N/A
418N/A# Patches to apply to source after unpacking, in order
418N/ASOURCE_PATCHES = \
418N/A 4251073.patch
418N/A
418N/A# Man pages to apply Sun footer to & attributes to list
418N/ASUNTOUCHED_MANPAGES=*.man
493N/ASUN_PACKAGE=SUNWxwopt
493N/AMODULE_STABILITY=Committed
418N/A
418N/A# Paths to find Xft/fontconfig/freetype headers libraries at build time
418N/A# and run time
851N/AFT_CFLAGS= -I$(PROTODIR)/usr/include -I$(PROTODIR)/usr/include/freetype2
418N/AFT_LIBS= \
851N/A -L$(PROTODIR)/usr/lib$(LIBSUBDIR) -R/usr/lib$(LIBSUBDIR) -lXft -lfontconfig
418N/A
418N/A# Additional flags to pass to configure script
493N/AMODULE_CONFIG_OPTS = --enable-256-color --enable-88-color --enable-wide-chars \
418N/A --with-freetype-cflags="$(FT_CFLAGS)" --with-freetype-libs="$(FT_LIBS)" \
418N/A --disable-setuid --disable-setgid --enable-luit \
851N/A --x-includes=$(PROTODIR)$(X11_INCLUDES_DIR) --x-libraries=$(X11_LIB_DIR) \
851N/A --with-app-defaults=/usr/share/X11/app-defaults \
672N/A --with-icondir=/usr/share/pixmaps --enable-logging
418N/A
418N/A# Tell configure where to find luit binary
851N/AMODULE_CONFIG_ENV = LUIT=$(X11_BIN_DIR)/luit
418N/A
418N/Ainclude ../Makefile.inc