summaryrefslogtreecommitdiff
path: root/pango/Makefile.am
blob: 7ffb4114729de42ae457581505819ef28d498299 (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
## Process this file with automake to create Makefile.in.

if HAVE_FRIBIDI
else
SUBDIRS = mini-fribidi
endif

INCLUDES = 					\
	-DSYSCONFDIR=\"$(sysconfdir)\" 		\
	-DLIBDIR=\"$(libdir)\" 			\
	$(X_CFLAGS)				\
	-I$(top_srcdir)

if HAVE_XFT
XFT_HFILES=pangoxft.h
XFT_BUILD_LIBS=libpangoxft.la
else
XFT_HFILES=
XFT_BUILD_LIBS=
endif

lib_LTLIBRARIES = libpango.la libpangox.la $(XFT_BUILD_LIBS)

bin_PROGRAMS = pango-querymodules

libpango_la_SOURCES = 	   \
	break.c 	   \
	fonts.c 	   \
	glyphstring.c 	   \
	mapping.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

libpangox_la_SOURCES = 	   \
	modules.c 	   \
	modules.h 	   \
	module-defs.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_MODULES) $(X_LIBS)

libpangoxft_la_SOURCES =   	\
	pangoxft-font.c		\
	pangoxft-fontmap.c

libpangoxft_la_LIBADD = $(INCLUDED_MODULES) $(XFT_LIBS)
libpangoxft_la_LDFLAGS = -release $(VERSION)

pangoincludedir=$(includedir)/pango-1.0/pango

pangoinclude_HEADERS = 	   \
	pango.h		   \
	pango-attributes.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	   \
	pangox.h	   \
	$(XFT_HFILES) 

#
# 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 = libpangox.la libpangoxft.la libpango.la $(GLIB_LIBS) $(FRIBIDI_LIBS) $(XFT_LIBS)
else
pango_querymodules_LDADD = libpangox.la libpango.la $(GLIB_LIBS) $(FRIBIDI_LIBS) $(X_LIBS)
endif

EXTRA_DIST =			\
	module-defs.c.win32	\
	pango.def		\
	pangowin32.def		\
	pangowin32.h		\
	pangowin32.c		\
	pangowin32-private.h	\
	pangowin32-fontcache.c	\
	pangowin32-fontmap.c	\
	pangoft2.def		\
	pangoft2.h		\
	pangoft2.c		\
	pangoft2-private.h	\
	pangoft2-fontcache.c	\
	pangoft2-fontmap.c	\
	makefile.mingw		\
	makefile.mingw.in	\
	pango.rc		\
	pango.rc.in		\
	pangoft2.rc		\
	pangoft2.rc.in		\
	pangowin32.rc		\
	pangowin32.rc.in