merge the formfield patch from ooo-build
[ooovba.git] / vcl / source / glyphs / makefile.mk
blob3e79cdc63da2fa6ff7f54578dce1a1155d5f56bd
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.14 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..
34 PRJNAME=vcl
35 TARGET=glyphs
37 ENABLE_EXCEPTIONS=true
38 # --- Settings -----------------------------------------------------
40 .INCLUDE : $(PRJ)$/util$/makefile.pmk
41 .INCLUDE : settings.mk
42 .INCLUDE : $(PRJ)$/util$/makefile2.pmk
44 CFLAGS+= $(FREETYPE_CFLAGS)
45 .IF "$(USE_FT_EMBOLDEN)" == "YES"
46 CFLAGS+=-DUSE_FT_EMBOLDEN
47 .ENDIF
49 # --- Files --------------------------------------------------------
51 .IF "$(USE_BUILTIN_RASTERIZER)" != ""
52 # GlyphCache + FreeType support (only on UNX platforms currently)
53 SLOFILES=\
54 $(SLO)$/glyphcache.obj \
55 $(SLO)$/gcach_rbmp.obj \
56 $(SLO)$/gcach_layout.obj \
57 $(SLO)$/gcach_ftyp.obj
59 .IF "$(ENABLE_GRAPHITE)" != ""
60 # Graphite support using the glyphcache infrastructure
61 CFLAGS+=-DENABLE_GRAPHITE
62 SLOFILES+= $(SLO)$/graphite_adaptors.obj \
63 $(SLO)$/graphite_features.obj \
64 $(SLO)$/graphite_cache.obj \
65 $(SLO)$/graphite_textsrc.obj \
66 $(SLO)$/graphite_serverfont.obj \
67 $(SLO)$/graphite_layout.obj
68 .ENDIF
70 .ELSE
72 .IF "$(ENABLE_GRAPHITE)" == "TRUE"
73 # Graphite support on non-UNX platforms
74 # make use of stlport headerfiles
75 EXT_USE_STLPORT=TRUE
76 SLOFILES=\
77 $(SLO)$/graphite_textsrc.obj \
78 $(SLO)$/graphite_cache.obj \
79 $(SLO)$/graphite_features.obj \
80 $(SLO)$/graphite_layout.obj
81 .ENDIF
82 .ENDIF
84 # --- Targets ------------------------------------------------------
86 .INCLUDE : target.mk