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