Makefile.am 11.6 KB
Newer Older
B
Behdad Esfahbod 已提交
1
# Process this file with automake to produce Makefile.in
2

3
NULL =
4 5
SUBDIRS =
DIST_SUBDIRS =
6
BUILT_SOURCES =
B
Behdad Esfahbod 已提交
7
EXTRA_DIST =
8 9 10
CLEANFILES =
DISTCLEANFILES =
MAINTAINERCLEANFILES =
11
DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
12

B
Behdad Esfahbod 已提交
13
# The following warning options are useful for debugging: -Wpadded
14
#AM_CXXFLAGS =
15

16
# Convenience targets:
B
Minor  
Behdad Esfahbod 已提交
17
lib: $(BUILT_SOURCES) libharfbuzz.la
18
fuzzing: $(BUILT_SOURCES) libharfbuzz-fuzzing.la
19

B
Behdad Esfahbod 已提交
20
lib_LTLIBRARIES = libharfbuzz.la
21

B
Behdad Esfahbod 已提交
22 23
HBCFLAGS =
HBLIBS =
24 25
HBNONPCLIBS =
HBDEPS =
26
HBSOURCES =  \
27
	hb-atomic-private.hh \
28
	hb-blob.cc \
B
Behdad Esfahbod 已提交
29 30
	hb-buffer-deserialize-json.hh \
	hb-buffer-deserialize-text.hh \
31
	hb-buffer-private.hh \
32
	hb-buffer-serialize.cc \
B
Behdad Esfahbod 已提交
33
	hb-buffer.cc \
34
	hb-cache-private.hh \
35
	hb-common.cc \
36 37
	hb-face-private.hh \
	hb-face.cc \
38
	hb-font-private.hh \
B
Behdad Esfahbod 已提交
39 40
	hb-font.cc \
	hb-mutex-private.hh \
41
	hb-object-private.hh \
B
Behdad Esfahbod 已提交
42 43
	hb-open-file-private.hh \
	hb-open-type-private.hh \
44
	hb-ot-cmap-table.hh \
45
	hb-ot-glyf-table.hh \
46
	hb-ot-head-table.hh \
B
Behdad Esfahbod 已提交
47 48
	hb-ot-hhea-table.hh \
	hb-ot-hmtx-table.hh \
49 50
	hb-ot-maxp-table.hh \
	hb-ot-name-table.hh \
S
Simon Cozens 已提交
51
	hb-ot-os2-table.hh \
52
	hb-ot-tag.cc \
53
	hb-private.hh \
B
Behdad Esfahbod 已提交
54 55
	hb-set-private.hh \
	hb-set.cc \
56
	hb-shape.cc \
57 58 59 60 61
	hb-shape-plan-private.hh \
	hb-shape-plan.cc \
	hb-shaper-list.hh \
	hb-shaper-impl-private.hh \
	hb-shaper-private.hh \
B
Minor  
Behdad Esfahbod 已提交
62
	hb-shaper.cc \
63
	hb-unicode-private.hh \
B
Behdad Esfahbod 已提交
64
	hb-unicode.cc \
65
	hb-utf-private.hh \
66
	hb-warning.cc \
B
Behdad Esfahbod 已提交
67 68 69 70 71 72
	$(NULL)
HBHEADERS = \
	hb.h \
	hb-blob.h \
	hb-buffer.h \
	hb-common.h \
73
	hb-deprecated.h \
74
	hb-face.h \
B
Behdad Esfahbod 已提交
75
	hb-font.h \
B
Behdad Esfahbod 已提交
76
	hb-set.h \
B
Behdad Esfahbod 已提交
77
	hb-shape.h \
78
	hb-shape-plan.h \
B
Behdad Esfahbod 已提交
79
	hb-unicode.h \
80 81
	$(NULL)
HBNODISTHEADERS = \
82
	hb-version.h \
B
Behdad Esfahbod 已提交
83 84
	$(NULL)

85
if HAVE_OT
B
Behdad Esfahbod 已提交
86
HBSOURCES += \
87
	hb-ot-font.cc \
88
	hb-ot-layout.cc \
89
	hb-ot-layout-common-private.hh \
90 91
	hb-ot-layout-gdef-table.hh \
	hb-ot-layout-gpos-table.hh \
92
	hb-ot-layout-gsubgpos-private.hh \
93
	hb-ot-layout-gsub-table.hh \
94
	hb-ot-layout-jstf-table.hh \
95
	hb-ot-layout-private.hh \
B
Behdad Esfahbod 已提交
96
	hb-ot-map.cc \
B
Behdad Esfahbod 已提交
97
	hb-ot-map-private.hh \
98
	hb-ot-shape.cc \
99
	hb-ot-shape-complex-arabic.cc \
100
	hb-ot-shape-complex-arabic-fallback.hh \
101
	hb-ot-shape-complex-arabic-private.hh \
102
	hb-ot-shape-complex-arabic-table.hh \
103
	hb-ot-shape-complex-arabic-win1256.hh \
104
	hb-ot-shape-complex-default.cc \
B
Behdad Esfahbod 已提交
105
	hb-ot-shape-complex-hangul.cc \
106
	hb-ot-shape-complex-hebrew.cc \
B
Behdad Esfahbod 已提交
107
	hb-ot-shape-complex-indic.cc \
108
	hb-ot-shape-complex-indic-machine.hh \
B
Behdad Esfahbod 已提交
109
	hb-ot-shape-complex-indic-private.hh \
B
Behdad Esfahbod 已提交
110
	hb-ot-shape-complex-indic-table.cc \
B
Behdad Esfahbod 已提交
111 112
	hb-ot-shape-complex-myanmar.cc \
	hb-ot-shape-complex-myanmar-machine.hh \
113
	hb-ot-shape-complex-thai.cc \
114
	hb-ot-shape-complex-tibetan.cc \
115 116 117 118
	hb-ot-shape-complex-use.cc \
	hb-ot-shape-complex-use-machine.hh \
	hb-ot-shape-complex-use-private.hh \
	hb-ot-shape-complex-use-table.cc \
119
	hb-ot-shape-complex-private.hh \
B
Behdad Esfahbod 已提交
120
	hb-ot-shape-normalize-private.hh \
B
Behdad Esfahbod 已提交
121
	hb-ot-shape-normalize.cc \
B
Behdad Esfahbod 已提交
122 123
	hb-ot-shape-fallback-private.hh \
	hb-ot-shape-fallback.cc \
B
Behdad Esfahbod 已提交
124
	hb-ot-shape-private.hh \
125
	$(NULL)
B
Behdad Esfahbod 已提交
126
HBHEADERS += \
B
Behdad Esfahbod 已提交
127
	hb-ot.h \
128
	hb-ot-font.h \
129
	hb-ot-layout.h \
L
Luis de Bethencourt 已提交
130
	hb-ot-shape.h \
131
	hb-ot-tag.h \
132
	$(NULL)
133
endif
134

135 136 137 138
if HAVE_FALLBACK
HBSOURCES += hb-fallback-shape.cc
endif

B
Behdad Esfahbod 已提交
139 140
if HAVE_PTHREAD
HBCFLAGS += $(PTHREAD_CFLAGS)
141
HBNONPCLIBS += $(PTHREAD_LIBS)
B
Behdad Esfahbod 已提交
142 143
endif

144
if HAVE_GLIB
B
Behdad Esfahbod 已提交
145
HBCFLAGS += $(GLIB_CFLAGS)
B
Behdad Esfahbod 已提交
146
HBLIBS   += $(GLIB_LIBS)
147
HBDEPS   += $(GLIB_DEPS)
148 149 150 151
HBSOURCES += hb-glib.cc
HBHEADERS += hb-glib.h
endif

B
Behdad Esfahbod 已提交
152 153 154
if HAVE_FREETYPE
HBCFLAGS += $(FREETYPE_CFLAGS)
HBLIBS   += $(FREETYPE_LIBS)
155 156 157 158 159 160
# XXX
# The following creates a recursive dependency on FreeType if FreeType is
# built with HarfBuzz support enabled.  Newer pkg-config handles that just
# fine but pkg-config 0.26 as shipped in Ubuntu 14.04 crashes.  Remove
# in a year or two, or otherwise work around it...
#HBDEPS   += $(FREETYPE_DEPS)
161 162
HBSOURCES += hb-ft.cc
HBHEADERS += hb-ft.h
B
Behdad Esfahbod 已提交
163
endif
B
Behdad Esfahbod 已提交
164

165 166 167
if HAVE_GRAPHITE2
HBCFLAGS += $(GRAPHITE2_CFLAGS)
HBLIBS   += $(GRAPHITE2_LIBS)
168
HBDEPS   += $(GRAPHITE2_DEPS)
169
HBSOURCES += hb-graphite2.cc
170 171 172
HBHEADERS += hb-graphite2.h
endif

173 174
if HAVE_UNISCRIBE
HBCFLAGS += $(UNISCRIBE_CFLAGS)
175
HBNONPCLIBS += $(UNISCRIBE_LIBS)
176
HBSOURCES += hb-uniscribe.cc
177
HBHEADERS += hb-uniscribe.h
178 179
endif

180 181
if HAVE_CORETEXT
HBCFLAGS += $(CORETEXT_CFLAGS)
182
HBNONPCLIBS += $(CORETEXT_LIBS)
183
HBSOURCES += hb-coretext.cc
184 185 186
HBHEADERS += hb-coretext.h
endif

B
Behdad Esfahbod 已提交
187 188 189 190 191 192 193
if HAVE_UCDN
SUBDIRS += hb-ucdn
HBCFLAGS += -I$(srcdir)/hb-ucdn
HBLIBS   += hb-ucdn/libhb-ucdn.la
HBSOURCES += hb-ucdn.cc
endif
DIST_SUBDIRS += hb-ucdn
194

195 196 197

# Put the library together

198 199
HBLIBS += $(HBNONPCLIBS)

200 201 202
if OS_WIN32
export_symbols = -export-symbols harfbuzz.def
harfbuzz_def_dependency = harfbuzz.def
B
Behdad Esfahbod 已提交
203 204
libharfbuzz_la_LINK = $(CXXLINK) $(libharfbuzz_la_LDFLAGS)
else
205 206
# Use a C linker for GCC, not C++; Don't link to libstdc++
if HAVE_GCC
B
Behdad Esfahbod 已提交
207
libharfbuzz_la_LINK = $(LINK) $(libharfbuzz_la_LDFLAGS)
208 209 210
else
libharfbuzz_la_LINK = $(CXXLINK) $(libharfbuzz_la_LDFLAGS)
endif
B
Behdad Esfahbod 已提交
211 212
endif

213
libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS) $(HBNODISTHEADERS)
B
Behdad Esfahbod 已提交
214
libharfbuzz_la_CPPFLAGS = $(HBCFLAGS)
215
libharfbuzz_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(HB_LIBTOOL_VERSION_INFO) $(export_symbols) -no-undefined
B
Behdad Esfahbod 已提交
216
libharfbuzz_la_LIBADD = $(HBLIBS)
B
Behdad Esfahbod 已提交
217
EXTRA_libharfbuzz_la_DEPENDENCIES = $(harfbuzz_def_dependency)
B
Behdad Esfahbod 已提交
218
pkginclude_HEADERS = $(HBHEADERS)
219
nodist_pkginclude_HEADERS = $(HBNODISTHEADERS)
B
Behdad Esfahbod 已提交
220 221
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = harfbuzz.pc
B
Behdad Esfahbod 已提交
222
EXTRA_DIST += harfbuzz.pc.in
223

224 225 226 227 228 229 230 231 232 233 234 235 236 237
FUZZING_CPPFLAGS= \
	-DHB_MAX_NESTING_LEVEL=3 \
	-DHB_SANITIZE_MAX_EDITS=3 \
	-DHB_BUFFER_MAX_EXPANSION_FACTOR=3 \
	-DHB_BUFFER_MAX_LEN_MIN=8 \
	-DHB_BUFFER_MAX_LEN_DEFAULT=128 \
	$(NULL)
EXTRA_LTLIBRARIES = libharfbuzz-fuzzing.la
libharfbuzz_fuzzing_la_LINK = $(libharfbuzz_la_LINK)
libharfbuzz_fuzzing_la_SOURCES = $(libharfbuzz_la_SOURCES)
libharfbuzz_fuzzing_la_CPPFLAGS = $(libharfbuzz_la_CPPFLAGS) $(FUZZING_CPPFLAGS)
libharfbuzz_fuzzing_la_LDFLAGS = $(libharfbuzz_la_LDFLAGS)
libharfbuzz_fuzzing_la_LIBADD = $(libharfbuzz_la_LIBADD)
EXTRA_libharfbuzz_fuzzing_la_DEPENDENCIES = $(EXTRA_libharfbuzz_la_DEPENDENCIES)
B
Behdad Esfahbod 已提交
238
CLEANFILES += libharfbuzz-fuzzing.la
239

240 241 242 243 244 245 246
if HAVE_ICU
lib_LTLIBRARIES += libharfbuzz-icu.la
libharfbuzz_icu_la_SOURCES = hb-icu.cc
libharfbuzz_icu_la_CPPFLAGS = $(ICU_CFLAGS)
libharfbuzz_icu_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(HB_LIBTOOL_VERSION_INFO) -no-undefined
libharfbuzz_icu_la_LIBADD = $(ICU_LIBS) libharfbuzz.la
pkginclude_HEADERS += hb-icu.h
B
Behdad Esfahbod 已提交
247
pkgconfig_DATA += harfbuzz-icu.pc
248
endif
B
Behdad Esfahbod 已提交
249
EXTRA_DIST += harfbuzz-icu.pc.in
250

B
Behdad Esfahbod 已提交
251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273
if HAVE_GOBJECT
lib_LTLIBRARIES += libharfbuzz-gobject.la
libharfbuzz_gobject_la_SOURCES = hb-gobject-structs.cc
nodist_libharfbuzz_gobject_la_SOURCES = hb-gobject-enums.cc
libharfbuzz_gobject_la_CPPFLAGS = $(GOBJECT_CFLAGS)
libharfbuzz_gobject_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(HB_LIBTOOL_VERSION_INFO) -no-undefined
libharfbuzz_gobject_la_LIBADD = $(GOBJECT_LIBS) libharfbuzz.la
pkginclude_HEADERS += hb-gobject.h hb-gobject-structs.h
nodist_pkginclude_HEADERS += hb-gobject-enums.h
pkgconfig_DATA += harfbuzz-gobject.pc

BUILT_SOURCES += \
	hb-gobject-enums.cc \
	hb-gobject-enums.h \
	$(NULL)
DISTCLEANFILES += \
	hb-gobject-enums.cc \
	hb-gobject-enums.h \
	$(NULL)
hb-gobject-enums.%: hb-gobject-enums.%.tmpl $(HBHEADERS)
	$(AM_V_GEN) $(GLIB_MKENUMS) \
		--identifier-prefix hb_ --symbol-prefix hb_gobject \
		--template $^ | \
B
Behdad Esfahbod 已提交
274 275
	sed 's/_t_get_type/_get_type/g; s/_T (/ (/g' > "$@" \
	|| ($(RM) "$@"; false)
B
Behdad Esfahbod 已提交
276
endif
B
Behdad Esfahbod 已提交
277 278 279 280 281
EXTRA_DIST += \
	harfbuzz-gobject.pc.in \
	hb-gobject-enums.cc.tmpl \
	hb-gobject-enums.h.tmpl \
	$(NULL)
B
Behdad Esfahbod 已提交
282 283


B
Behdad Esfahbod 已提交
284 285
%.pc: %.pc.in $(top_builddir)/config.status
	$(AM_V_GEN) \
B
Minor  
Behdad Esfahbod 已提交
286 287 288 289
	$(SED)	-e 's@%prefix%@$(prefix)@g' \
		-e 's@%exec_prefix%@$(exec_prefix)@g' \
		-e 's@%libdir%@$(libdir)@g' \
		-e 's@%includedir%@$(includedir)@g' \
290 291
		-e 's@%libs_private%@$(HBNONPCLIBS)@g' \
		-e 's@%requires_private%@$(HBDEPS)@g' \
B
Minor  
Behdad Esfahbod 已提交
292
		-e 's@%VERSION%@$(VERSION)@g' \
B
Behdad Esfahbod 已提交
293 294
	"$<" > "$@" \
	|| ($(RM) "$@"; false)
B
Behdad Esfahbod 已提交
295

B
Behdad Esfahbod 已提交
296 297
CLEANFILES += $(pkgconfig_DATA)

298

299
CLEANFILES += harfbuzz.def
300
harfbuzz.def: $(HBHEADERS) $(HBNODISTHEADERS)
301 302 303 304 305
	$(AM_V_GEN) (echo EXPORTS; \
	(cat $^ || echo 'hb_ERROR ()' ) | \
	$(EGREP) '^hb_.* \(' | \
	sed -e 's/ (.*//' | \
	LANG=C sort; \
306
	echo LIBRARY libharfbuzz-0.dll; \
B
Behdad Esfahbod 已提交
307 308 309
	) >"$@"
	@ ! grep -q hb_ERROR "$@" \
	|| ($(RM) "$@"; false)
310

311 312

GENERATORS = \
B
Behdad Esfahbod 已提交
313
	gen-arabic-table.py \
B
Behdad Esfahbod 已提交
314
	gen-indic-table.py \
315
	gen-use-table.py \
316 317 318
	$(NULL)
EXTRA_DIST += $(GENERATORS)

319
unicode-tables: arabic-table indic-table use-table
320

321
arabic-table: gen-arabic-table.py ArabicShaping.txt UnicodeData.txt Blocks.txt
B
Behdad Esfahbod 已提交
322 323
	$(AM_V_GEN) $(builddir)/$^ > hb-ot-shape-complex-arabic-table.hh \
	|| ($(RM) hb-ot-shape-complex-arabic-table.hh; false)
324

325 326 327 328
indic-table: gen-indic-table.py IndicSyllabicCategory-7.0.0.txt IndicMatraCategory-7.0.0.txt Blocks.txt
	$(AM_V_GEN) $(builddir)/$^ > hb-ot-shape-complex-indic-table.cc \
	|| ($(RM) hb-ot-shape-complex-indic-table.cc; false)

329
use-table: gen-use-table.py IndicSyllabicCategory.txt IndicPositionalCategory.txt UnicodeData.txt Blocks.txt
330 331 332
	$(AM_V_GEN) $(builddir)/$^ > hb-ot-shape-complex-use-table.cc \
	|| ($(RM) hb-ot-shape-complex-use-table.cc; false)

B
Behdad Esfahbod 已提交
333
built-sources: $(BUILT_SOURCES)
334

335
.PHONY: unicode-tables arabic-table indic-table use-table built-sources
336

337 338 339 340 341
RAGEL_GENERATED = \
	$(srcdir)/hb-buffer-deserialize-json.hh \
	$(srcdir)/hb-buffer-deserialize-text.hh \
	$(srcdir)/hb-ot-shape-complex-indic-machine.hh \
	$(srcdir)/hb-ot-shape-complex-myanmar-machine.hh \
342
	$(srcdir)/hb-ot-shape-complex-use-machine.hh \
B
Behdad Esfahbod 已提交
343
	$(NULL)
344
BUILT_SOURCES += $(RAGEL_GENERATED)
B
Behdad Esfahbod 已提交
345
EXTRA_DIST += \
346
	hb-buffer-deserialize-json.rl \
347
	hb-buffer-deserialize-text.rl \
B
Behdad Esfahbod 已提交
348 349
	hb-ot-shape-complex-indic-machine.rl \
	hb-ot-shape-complex-myanmar-machine.rl \
350
	hb-ot-shape-complex-use-machine.rl \
B
Behdad Esfahbod 已提交
351
	$(NULL)
352 353 354
MAINTAINERCLEANFILES += $(RAGEL_GENERATED)
$(srcdir)/%.hh: $(srcdir)/%.rl
	$(AM_V_GEN)(cd $(srcdir) && $(RAGEL) -e -F1 -o "$*.hh" "$*.rl") \
B
Behdad Esfahbod 已提交
355
	|| ($(RM) "$@"; false)
356

357 358 359 360 361 362 363
noinst_PROGRAMS = \
	main \
	test \
	test-buffer-serialize \
	test-size-params \
	test-would-substitute \
	$(NULL)
B
Behdad Esfahbod 已提交
364 365
bin_PROGRAMS =

366
main_SOURCES = main.cc
B
Behdad Esfahbod 已提交
367 368
main_CPPFLAGS = $(HBCFLAGS)
main_LDADD = libharfbuzz.la $(HBLIBS)
B
Behdad Esfahbod 已提交
369

B
Behdad Esfahbod 已提交
370 371 372 373
test_SOURCES = test.cc
test_CPPFLAGS = $(HBCFLAGS) $(FREETYPE_CFLAGS)
test_LDADD = libharfbuzz.la $(HBLIBS) $(FREETYPE_LIBS)

374 375 376 377
test_would_substitute_SOURCES = test-would-substitute.cc
test_would_substitute_CPPFLAGS = $(HBCFLAGS) $(FREETYPE_CFLAGS)
test_would_substitute_LDADD = libharfbuzz.la $(HBLIBS) $(FREETYPE_LIBS)

B
Behdad Esfahbod 已提交
378 379 380 381
test_size_params_SOURCES = test-size-params.cc
test_size_params_CPPFLAGS = $(HBCFLAGS)
test_size_params_LDADD = libharfbuzz.la $(HBLIBS)

382 383 384 385
test_buffer_serialize_SOURCES = test-buffer-serialize.cc
test_buffer_serialize_CPPFLAGS = $(HBCFLAGS)
test_buffer_serialize_LDADD = libharfbuzz.la $(HBLIBS)

B
Behdad Esfahbod 已提交
386
dist_check_SCRIPTS = \
B
Behdad Esfahbod 已提交
387
	check-c-linkage-decls.sh \
B
Behdad Esfahbod 已提交
388
	check-defs.sh \
389
	check-header-guards.sh \
B
Behdad Esfahbod 已提交
390
	check-includes.sh \
391 392
	check-libstdc++.sh \
	check-static-inits.sh \
393
	check-symbols.sh \
394
	$(NULL)
B
Minor  
Behdad Esfahbod 已提交
395

396
TESTS = $(dist_check_SCRIPTS)
B
Behdad Esfahbod 已提交
397 398 399 400
TESTS_ENVIRONMENT = \
	srcdir="$(srcdir)" \
	MAKE="$(MAKE) $(AM_MAKEFLAGS)" \
	HBSOURCES="$(HBSOURCES)" \
401
	HBHEADERS="$(HBHEADERS) $(HBNODISTHEADERS)" \
B
Behdad Esfahbod 已提交
402
	$(NULL)
B
Behdad Esfahbod 已提交
403

404 405
if HAVE_INTROSPECTION

406
-include $(INTROSPECTION_MAKEFILE)
B
1.0.0  
Behdad Esfahbod 已提交
407
INTROSPECTION_GIRS = HarfBuzz-0.0.gir # What does the 0 mean anyway?!
408 409
INTROSPECTION_SCANNER_ARGS = -I$(srcdir) -n hb --identifier-prefix=hb_ --warn-all
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
B
Behdad Esfahbod 已提交
410
INTROSPECTION_SCANNER_ENV = CC="$(CC)"
411

412 413 414
HarfBuzz-0.0.gir: libharfbuzz.la libharfbuzz-gobject.la
HarfBuzz_0_0_gir_INCLUDES = GObject-2.0
HarfBuzz_0_0_gir_CFLAGS = \
415 416 417 418 419 420
	$(INCLUDES) \
	$(HBCFLAGS) \
	-DHB_H \
	-DHB_H_IN \
	-DHB_OT_H \
	-DHB_OT_H_IN \
421 422
	-DHB_GOBJECT_H \
	-DHB_GOBJECT_H_IN \
423
	-DHB_EXTERN= \
424
	$(NULL)
425
HarfBuzz_0_0_gir_LIBS = \
426 427 428
	libharfbuzz.la \
	libharfbuzz-gobject.la \
	$(NULL)
429
HarfBuzz_0_0_gir_FILES = \
430 431
	$(HBHEADERS) \
	$(HBNODISTHEADERS) \
432
	$(HBSOURCES) \
433
	hb-gobject-enums.cc \
434
	hb-gobject-enums.h \
435
	hb-gobject-structs.cc \
436
	hb-gobject-structs.h \
437 438 439 440 441 442 443 444 445
	$(NULL)

girdir = $(datadir)/gir-1.0
gir_DATA = $(INTROSPECTION_GIRS)

typelibdir = $(libdir)/girepository-1.0
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)

CLEANFILES += $(gir_DATA) $(typelib_DATA)
446

447
endif
448

B
Behdad Esfahbod 已提交
449
-include $(top_srcdir)/git.mk