harfbuzz/src/Makefile.am

134 lines
2.3 KiB
Makefile
Raw Normal View History

2009-08-11 05:35:05 +02:00
# Process this file with automake to produce Makefile.in
NULL =
EXTRA_DIST =
# 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 = \
2009-07-30 21:33:57 +02:00
hb-blob.c \
2010-04-24 02:49:18 +02:00
hb-blob-private.h \
hb-buffer.cc \
hb-buffer-private.hh \
2010-05-21 14:43:49 +02:00
hb-common.c \
2009-08-03 02:06:48 +02:00
hb-font.cc \
hb-font-private.h \
hb-object-private.h \
hb-open-file-private.hh \
hb-open-type-private.hh \
hb-language.c \
2010-05-19 18:03:35 +02:00
hb-ot-head-private.hh \
hb-private.h \
hb-shape.cc \
2009-08-11 02:05:16 +02:00
hb-unicode.c \
hb-unicode-private.h \
$(NULL)
HBHEADERS = \
hb.h \
hb-blob.h \
hb-buffer.h \
hb-common.h \
hb-font.h \
hb-language.h \
hb-shape.h \
hb-unicode.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 \
2010-11-17 22:58:21 +01:00
hb-ot-shape-complex-arabic-table.h \
hb-ot-shape-complex-private.hh \
2010-10-09 01:18:40 +02:00
hb-ot-shape-private.hh \
hb-ot-tag.c \
$(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)
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 += \
hb-glib.c \
$(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 += \
hb-icu.c \
$(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.c \
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_LIBADD = $(HBLIBS)
2009-11-02 22:28:39 +01:00
pkginclude_HEADERS = $(HBHEADERS)
GENERATORS = \
gen-arabic-joining-table.py \
$(NULL)
EXTRA_DIST += $(GENERATORS)
2010-09-22 23:42:59 +02:00
noinst_PROGRAMS = main test
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
2010-09-22 23:42:59 +02:00
test_SOURCES = test.c
test_CPPFLAGS = $(HBCFLAGS)
test_LDADD = libharfbuzz.la $(HBLIBS)
2010-05-13 05:28:38 +02:00
TESTS = \
2010-07-23 21:11:18 +02:00
check-c-linkage-decls.sh \
check-header-guards.sh \
check-internal-symbols.sh \
$(NULL)
if HAVE_ICU
else
TESTS += check-libstdc++.sh
endif
2009-11-03 20:28:32 +01:00
2009-04-17 23:03:39 +02:00
-include $(top_srcdir)/git.mk