Makefile.inc revision 837
70N/A# -*- Makefile -*- rules common to most X.Org font modules
70N/A#
1276N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
70N/A# Use is subject to license terms.
1345N/A#
70N/A# Permission is hereby granted, free of charge, to any person obtaining a
70N/A# copy of this software and associated documentation files (the
919N/A# "Software"), to deal in the Software without restriction, including
919N/A# without limitation the rights to use, copy, modify, merge, publish,
919N/A# distribute, and/or sell copies of the Software, and to permit persons
919N/A# to whom the Software is furnished to do so, provided that the above
919N/A# copyright notice(s) and this permission notice appear in all copies of
919N/A# the Software and that both the above copyright notice(s) and this
919N/A# permission notice appear in supporting documentation.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
919N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
919N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
919N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
919N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
919N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
919N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
919N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
919N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
70N/A#
70N/A# Except as contained in this notice, the name of a copyright holder
70N/A# shall not be used in advertising or otherwise to promote the sale, use
70N/A# or other dealings in this Software without prior written authorization
493N/A# of the copyright holder.
70N/A#
70N/A# ident "@(#)Makefile.inc 1.9 09/11/23 SMI"
1370N/A#
70N/A
911N/A### Makefile settings/rules common to all X.Org font modules
1370N/A
1370N/APWD:sh=pwd
1370N/ATOP=$(PWD)/../..
911N/A
70N/AMODTYPE=font
1370N/A
70N/A### Include common definitions
70N/Ainclude $(TOP)/common/Makefile.init
70N/A
70N/A# Most font modules have no man pages
70N/AMODTYPE_SUNTOUCH_MAN_FLAGS=
70N/A
493N/A# No common dependencies
969N/AMODTYPE_CONFIGURE_DEPS=
70N/A
70N/A# Set default installation path for fonts
70N/AMODTYPE_CONFIG_OPTS = --with-fontrootdir="$(X11_FONT_DIR)"
70N/A
970N/A# Disable compression of pcf fonts
970N/AMODTYPE_CONFIG_OPTS += --without-compression
970N/A
1196N/A# Most font modules have nothing to build, for those that do, use lib flags
1196N/AMODTYPE_CFLAGS=$(LIB_CFLAGS)
1196N/AMODTYPE_LDFLAGS=$(LIB_LDFLAGS)
1196N/AMODTYPE_LD_OPTIONS=
70N/A
# Paths to find mkfontscale, fc-cache & the libraries they need in build area
FONT_UTILS_PATH=$(PROTODIR)$(X11_DIR)/bin:$(PROTODIR)/usr/bin
FONT_LIBS_PATH=$(PROTODIR)$(X11_SERVERLIBS_DIR):$(PROTODIR)$(X11_DIR)/lib:$(PROTODIR)/usr/lib
# Additional environment variable options to GNU autoconf configure script
MODTYPE_CONFIG_ENV = PATH="$(FONT_UTILS_PATH):$$PATH" \
LD_LIBRARY_PATH="$(FONT_LIBS_PATH)"
# Environment variable options needed when building
MODTYPE_BUILD_ENV = PATH="$(FONT_UTILS_PATH):$$PATH" \
LD_LIBRARY_PATH="$(FONT_LIBS_PATH)"
### Include common rulesets
include $(TOP)/common/Makefile.inc