blob: 6b2028bcb7d740bdcf178536ff0973a93c2f47de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
|
## Process this file with automake to create Makefile.in.
if HAVE_FREETYPE
OPENTYPE_SUBDIR=opentype
endif
if HAVE_FRIBIDI
else
FRIBIDI_SUBDIR = mini-fribidi
endif
SUBDIRS = $(OPENTYPE_SUBDIR) $(FRIBIDI_SUBDIR)
DIST_SUBDIRS = mini-fribidi opentype
INCLUDES = \
-DSYSCONFDIR=\"$(sysconfdir)\" \
-DLIBDIR=\"$(libdir)\" \
$(X_CFLAGS) \
$(FREETYPE_CFLAGS) \
-I$(top_srcdir)
if HAVE_X
X_HFILES=pangox.h
X_BUILD_LIBS=libpangox.la
else
X_HFILES=
X_BUILD_LIBS=
endif
if HAVE_XFT
XFT_HFILES=pangoxft.h pango-ot.h
XFT_BUILD_LIBS=libpangoxft.la
else
XFT_HFILES=
XFT_BUILD_LIBS=
endif
if HAVE_FREETYPE
FT2_BUILD_LIBS=libpangoft2.la
FT2_HFILES=pangoft2.h
else
FT2_BUILD_LIBS=
FT2_HFILES=
endif
lib_LTLIBRARIES = libpango.la $(X_BUILD_LIBS) $(XFT_BUILD_LIBS) $(FT2_BUILD_LIBS)
bin_PROGRAMS = pango-querymodules
pango_built_headers= pango-enum-types.h
pango_built_cfiles= pango-enum-types.c
BUILT_SOURCES=$(pango_built_headers) $(pango_built_cfiles)
libpango_la_SOURCES = \
break.c \
fonts.c \
glyphstring.c \
mapping.c \
modules.c \
pango-attributes.c \
pango-context.c \
pango-coverage.c \
pango-fontmap.c \
pango-intset.c \
pango-intset.h \
pango-item.c \
pango-layout.c \
pango-markup.c \
pango-tabs.c \
pango-utils.c \
reorder-items.c \
shape.c \
$(pango_built_cfiles)
libpangox_la_SOURCES = \
modules.h \
module-defs-x.c \
pangox.c \
pangox-private.h \
pangox-fontcache.c \
pangox-fontmap.c \
pango-indic.c
# We use the -release flag for now until the API settles
# down at which point we'll either use the GTK+ versioning
# scheme or the standard libtool scheme.
#
libpango_la_LDFLAGS = -release $(VERSION) $(GLIB_LIBS)
if HAVE_FRIBIDI
else
libpango_la_LIBADD = mini-fribidi/libmini-fribidi.la
endif
libpangox_la_LDFLAGS = -release $(VERSION)
libpangox_la_LIBADD = $(INCLUDED_X_MODULES) $(X_LIBS) libpango.la
libpangox_la_DEPENDENCIES = $(INCLUDED_X_MODULES) libpango.la
libpangoxft_la_SOURCES = \
pangoxft-font.c \
pangoxft-fontmap.c \
pangoxft-private.h \
module-defs-xft.c
libpangoxft_la_LIBADD = $(INCLUDED_XFT_MODULES) $(XFT_LIBS) opentype/libpango-ot.la libpango.la
libpangoxft_la_LDFLAGS = -release $(VERSION)
libpangoxft_la_DEPENDENCIES = $(INCLUDED_XFT_MODULES) libpango.la
libpangoft2_la_SOURCES = \
pangoft2.h \
pangoft2.c \
pangoft2-private.h \
pangoft2-fontcache.c \
pangoft2-fontmap.c \
module-defs-ft2.c
libpangoft2_la_LIBADD = $(INCLUDED_FT2_MODULES) $(FREETYPE_LIBS) libpango.la
libpangoft2_la_LDFLAGS = -release $(VERSION)
libpangoft2_la_DEPENDENCIES = $(INCLUDED_FT2_MODULES) libpango.la
pangoincludedir=$(includedir)/pango-1.0/pango
pango_headers= \
pango.h \
pango-attributes.h \
pango-break.h \
pango-context.h \
pango-coverage.h \
pango-engine.h \
pango-font.h \
pango-fontmap.h \
pango-glyph.h \
pango-indic.h \
pango-item.h \
pango-layout.h \
pango-modules.h \
pango-tabs.h \
pango-types.h \
pango-utils.h
pangoinclude_HEADERS = \
$(pango_headers) \
$(pango_built_headers) \
$(X_HFILES) \
$(XFT_HFILES) \
$(FT2_HFILES)
pango-enum-types.h: @REBUILD@ $(pango_headers) makeenums.pl
cd $(srcdir) \
&& $(PERL) ./makeenums.pl include $(pango_headers) > pango-enum-types.h
pango-enum-types.c: @REBUILD@ $(pango_headers) makeenums.pl
cd $(srcdir) \
&& $(PERL) ./makeenums.pl cfile $(pango_headers) > pango-enum-types.c
#
# As a temporary hack, we pull in libpangox here so that we can link
#
pango_querymodules_SOURCES = \
querymodules.c
if HAVE_XFT
pango_querymodules_LDADD = $(FT2_BUILD_LIBS) $(X_BUILD_LIBS) libpangoxft.la libpango.la $(GLIB_LIBS) $(FRIBIDI_LIBS) $(XFT_LIBS) $(FREETYPE_LIBS)
else
pango_querymodules_LDADD = $(FT2_BUILD_LIBS) $(X_BUILD_LIBS) libpango.la $(GLIB_LIBS) $(FRIBIDI_LIBS) $(X_LIBS) $(FREETYPE_LIBS)
endif
EXTRA_DIST = \
$(pango_built_headers) \
makeenums.pl \
module-defs-ft2.c.win32 \
module-defs-win32.c.win32 \
module-defs.h \
pango.def \
pangowin32.def \
pangowin32.h \
pangowin32.c \
pangowin32-private.h \
pangowin32-fontcache.c \
pangowin32-fontmap.c \
pangoft2.def \
makefile.mingw \
makefile.mingw.in \
pango.rc \
pango.rc.in \
pangoft2.rc \
pangoft2.rc.in \
pangowin32.rc \
pangowin32.rc.in
if HAVE_INCLUDED_MODULES
included-modules:
@cd $(top_builddir)/modules && $(MAKE) $(AM_MAKEFLAGS) included-modules
$(INCLUDED_X_MODULES) $(INCLUDED_XFT_MODULES) $(INCLUDED_FT2_MODULES): included-modules
@true
.PHONY: included-modules
endif
|