Makefile revision 493
4117N/A# Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved. 4117N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4117N/A# This code is free software; you can redistribute it and/or modify it 4117N/A# under the terms of the GNU General Public License version 2 only, as 4117N/A# published by the Free Software Foundation. Sun designates this 4117N/A# particular file as subject to the "Classpath" exception as provided 4117N/A# by Sun in the LICENSE file that accompanied this code. 4117N/A# This code is distributed in the hope that it will be useful, but WITHOUT 4117N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 4117N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 4117N/A# version 2 for more details (a copy is included in the LICENSE file that 4117N/A# You should have received a copy of the GNU General Public License version 4117N/A# 2 along with this work; if not, write to the Free Software Foundation, 4117N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 5680N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 4117N/A# Makefile for building all of font tools 4117N/A# Indicate we want the C++ compiler to do the linking. 5402N/A# Created without -z defs on linux 5402N/A# Use higher optimization level 4117N/A#In the non-OpenJDK mode we need to build T2K 4745N/A#make sure freetype dll will be available at runtime as well as link time 4745N/A#NB: Default freetype build system uses -h linker option and 4745N/A# result .so contains hardcoded library name that is later 4745N/A# used for adding dependencies to other objects 4117N/A# without overcomplicating logic here. 4117N/A# To workaround this we hardcode .6 suffix for now. 4117N/A# but fortunately we need to load FreeType library explicitly 4156N/A#TODO: rework this to avoid hardcoding library name in the makefile #ifeq ($(PLATFORM), solaris) # FILES_reorder += reorder-$(ARCH) # Add to the ambient vpath to pick up files in subdirectories # Fontmanager is headless (independent of X/Motif) # Libraries to link, and other C flags. # Note that on Solaris, fontmanager is built against the headless library.