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