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