harfbuzz/src/Makefile.am

177 lines
3.4 KiB
Makefile
Raw Normal View History

2009-08-11 05:35:05 +02:00
# Process this file with automake to produce Makefile.in
NULL =
2011-01-10 04:29:14 +01:00
EXTRA_DIST =
CLEANFILES =
DISTCLEANFILES =
MAINTAINERCLEANFILES =
# The following warning options are useful for debugging: -Wpadded -Wcast-align
#AM_CXXFLAGS =
2009-11-02 22:28:39 +01:00
lib_LTLIBRARIES = libharfbuzz.la
2009-11-03 22:35:10 +01:00
HBCFLAGS =
HBLIBS =
HBSOURCES = \
hb-blob.cc \
hb-buffer-private.hh \
hb-buffer.cc \
hb-common.cc \
hb-font-private.hh \
hb-font.cc \
hb-mutex-private.hh \
hb-object-private.hh \
hb-open-file-private.hh \
hb-open-type-private.hh \
2010-05-19 18:03:35 +02:00
hb-ot-head-private.hh \
hb-ot-maxp-private.hh \
hb-private.hh \
hb-shape.cc \
2011-04-20 08:00:47 +02:00
hb-unicode-private.hh \
hb-unicode.cc \
$(NULL)
HBHEADERS = \
hb.h \
hb-blob.h \
hb-buffer.h \
hb-common.h \
hb-font.h \
hb-shape.h \
hb-unicode.h \
hb-version.h \
$(NULL)
HBSOURCES += \
hb-ot-layout.cc \
hb-ot-layout-common-private.hh \
hb-ot-layout-gdef-private.hh \
hb-ot-layout-gpos-private.hh \
hb-ot-layout-gsubgpos-private.hh \
hb-ot-layout-gsub-private.hh \
hb-ot-layout-private.hh \
2010-10-09 02:14:57 +02:00
hb-ot-map.cc \
2010-10-09 01:18:16 +02:00
hb-ot-map-private.hh \
hb-ot-shape.cc \
hb-ot-shape-complex-arabic.cc \
hb-ot-shape-complex-arabic-table.hh \
hb-ot-shape-complex-indic.cc \
hb-ot-shape-complex-indic-machine.hh \
hb-ot-shape-complex-indic-table.hh \
2011-07-08 04:35:17 +02:00
hb-ot-shape-complex-misc.cc \
hb-ot-shape-complex-private.hh \
2011-07-21 06:51:18 +02:00
hb-ot-shape-normalize.cc \
2010-10-09 01:18:40 +02:00
hb-ot-shape-private.hh \
hb-ot-tag.cc \
$(NULL)
HBHEADERS += \
2009-08-02 21:35:31 +02:00
hb-ot.h \
hb-ot-layout.h \
hb-ot-shape.h \
hb-ot-tag.h \
$(NULL)
2011-05-11 17:48:28 +02:00
MAINTAINERCLEANFILES += \
$(srcdir)/hb-version.h \
$(NULL)
2009-11-03 00:33:52 +01:00
if HAVE_GLIB
2009-11-03 22:35:10 +01:00
HBCFLAGS += $(GLIB_CFLAGS)
2009-11-04 00:34:20 +01:00
HBLIBS += $(GLIB_LIBS)
2009-11-03 00:33:52 +01:00
HBSOURCES += \
2011-04-20 08:00:47 +02:00
hb-glib.cc \
2009-11-03 00:33:52 +01:00
$(NULL)
HBHEADERS += \
hb-glib.h \
$(NULL)
endif
2009-11-03 22:35:10 +01:00
if HAVE_ICU
HBCFLAGS += $(ICU_CFLAGS)
2009-11-04 00:34:20 +01:00
HBLIBS += $(ICU_LIBS)
2009-11-03 22:35:10 +01:00
HBSOURCES += \
2011-04-20 08:00:47 +02:00
hb-icu.cc \
2009-11-03 22:35:10 +01:00
$(NULL)
HBHEADERS += \
hb-icu.h \
$(NULL)
endif
2009-11-04 00:34:20 +01:00
if HAVE_FREETYPE
HBCFLAGS += $(FREETYPE_CFLAGS)
HBLIBS += $(FREETYPE_LIBS)
HBSOURCES += \
hb-ft.cc \
2009-11-04 00:34:20 +01:00
$(NULL)
HBHEADERS += \
hb-ft.h \
$(NULL)
endif
2009-11-04 00:34:20 +01:00
CXXLINK = $(LINK)
2009-08-05 20:49:25 +02:00
libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS)
2009-11-03 22:35:10 +01:00
libharfbuzz_la_CPPFLAGS = $(HBCFLAGS)
libharfbuzz_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(HB_LIBTOOL_VERSION_INFO) -no-undefined
2009-11-03 22:35:10 +01:00
libharfbuzz_la_LIBADD = $(HBLIBS)
2009-11-02 22:28:39 +01:00
pkginclude_HEADERS = $(HBHEADERS)
nodist_pkginclude_HEADERS = hb-version.h
GENERATORS = \
2011-06-02 00:10:10 +02:00
gen-arabic-table.py \
gen-indic-table.py \
$(NULL)
EXTRA_DIST += $(GENERATORS)
BUILT_SOURCES = hb-ot-shape-complex-indic-machine.hh
EXTRA_DIST += hb-ot-shape-complex-indic-machine.rl
hb-ot-shape-complex-indic-machine.hh: hb-ot-shape-complex-indic-machine.rl
$(AM_V_GEN)ragel -e -F1 -o $@ $^
2010-09-22 23:42:59 +02:00
noinst_PROGRAMS = main test
bin_PROGRAMS =
if HAVE_GLIB
if HAVE_FREETYPE
if HAVE_CAIRO_FT
if HAVE_CAIRO_PNG
hb_view_SOURCES = hb-view.cc
hb_view_CPPFLAGS = $(HBCFLAGS) $(CAIRO_FT_CFLAGS) $(CAIRO_PNG_CFLAGS)
2011-03-02 05:18:09 +01:00
hb_view_LDADD = libharfbuzz.la -lm $(HBLIBS) $(CAIRO_FT_LIBS) $(CAIRO_PNG_LIBS)
bin_PROGRAMS += hb-view
endif
endif
endif
endif
main_SOURCES = main.cc
2009-11-03 22:35:10 +01:00
main_CPPFLAGS = $(HBCFLAGS)
main_LDADD = libharfbuzz.la $(HBLIBS)
2009-11-02 20:35:51 +01:00
test_SOURCES = test.cc
2010-09-22 23:42:59 +02:00
test_CPPFLAGS = $(HBCFLAGS)
test_LDADD = libharfbuzz.la $(HBLIBS)
2011-01-10 04:29:14 +01:00
dist_check_SCRIPTS = \
2010-07-23 21:11:18 +02:00
check-c-linkage-decls.sh \
check-header-guards.sh \
check-internal-symbols.sh \
2011-05-27 21:58:54 +02:00
check-includes.sh \
$(NULL)
if HAVE_ICU
else
2011-01-10 04:29:14 +01:00
dist_check_SCRIPTS += check-libstdc++.sh
endif
2009-11-03 20:28:32 +01:00
TESTS = $(dist_check_SCRIPTS)
2011-05-27 21:58:54 +02:00
TESTS_ENVIRONMENT = \
srcdir="$(srcdir)" \
MAKE="$(MAKE) $(AM_MAKEFLAGS)" \
HBSOURCES="$(HBSOURCES)" \
HBHEADERS="$(HBHEADERS)" \
$(NULL)
2011-01-10 04:29:14 +01:00
2009-04-17 23:03:39 +02:00
-include $(top_srcdir)/git.mk