blob: a351fc879b82b5212012b911868f50a60156f335 [file] [log] [blame]
Behdad Esfahbod49f261d2009-08-10 23:35:05 -04001# Process this file with automake to produce Makefile.in
Owen Taylor80a15822000-12-20 04:41:36 +00002
Behdad Esfahbodb857b492009-05-20 05:35:14 -04003NULL =
4
Behdad Esfahboda62f7762009-08-10 13:57:02 -04005# The following warning options are useful for debugging: -Wpadded -Wcast-align
Behdad Esfahbod69367062009-08-12 19:45:50 -04006#AM_CXXFLAGS =
Owen Taylor80a15822000-12-20 04:41:36 +00007
Behdad Esfahbod1f0ceeb2009-11-02 16:28:39 -05008lib_LTLIBRARIES = libharfbuzz.la
Owen Taylor80a15822000-12-20 04:41:36 +00009
Behdad Esfahbodd94647e2009-11-03 16:35:10 -050010HBCFLAGS =
11HBLIBS =
Behdad Esfahbodb857b492009-05-20 05:35:14 -040012HBSOURCES = \
Behdad Esfahbodf0954d12009-07-30 15:33:57 -040013 hb-blob.c \
Behdad Esfahbod5c0adce2009-05-20 05:42:12 -040014 hb-buffer.c \
15 hb-buffer-private.h \
Behdad Esfahbodb28e21b2009-08-02 20:06:48 -040016 hb-font.cc \
Behdad Esfahbodc62b5032009-08-01 19:54:49 -040017 hb-font-private.h \
Behdad Esfahbodd5a8e462009-11-03 15:14:40 -050018 hb-object-private.h \
Behdad Esfahbod5f5b24f2009-08-02 20:03:12 -040019 hb-open-file-private.hh \
Behdad Esfahbod7edb4302009-08-04 22:06:57 -040020 hb-open-type-private.hh \
Behdad Esfahbod8a3511a2009-11-04 19:45:39 -050021 hb-language.c \
Behdad Esfahbodd5a8e462009-11-03 15:14:40 -050022 hb-private.h \
23 hb-shape.c \
24 hb-unicode.c \
25 hb-unicode-private.h \
Behdad Esfahbodb857b492009-05-20 05:35:14 -040026 $(NULL)
Behdad Esfahbodb857b492009-05-20 05:35:14 -040027HBHEADERS = \
Behdad Esfahbod678bed42009-08-02 15:35:31 -040028 hb.h \
Behdad Esfahbodf0954d12009-07-30 15:33:57 -040029 hb-blob.h \
Behdad Esfahbod5c0adce2009-05-20 05:42:12 -040030 hb-buffer.h \
Behdad Esfahbodf0954d12009-07-30 15:33:57 -040031 hb-common.h \
Behdad Esfahbodc62b5032009-08-01 19:54:49 -040032 hb-font.h \
Behdad Esfahbod8a3511a2009-11-04 19:45:39 -050033 hb-language.h \
Behdad Esfahbodd5a8e462009-11-03 15:14:40 -050034 hb-shape.h \
35 hb-unicode.h \
36 $(NULL)
37
38HBSOURCES += \
39 hb-ot-layout.cc \
40 hb-ot-layout-common-private.hh \
41 hb-ot-layout-gdef-private.hh \
42 hb-ot-layout-gpos-private.hh \
43 hb-ot-layout-gsubgpos-private.hh \
44 hb-ot-layout-gsub-private.hh \
45 hb-ot-layout-private.h \
Behdad Esfahbod2014b8d2009-12-20 20:58:26 +010046 hb-ot-shape.c \
47 hb-ot-shape-private.h \
Behdad Esfahbod8a3511a2009-11-04 19:45:39 -050048 hb-ot-tag.c \
Behdad Esfahbodd5a8e462009-11-03 15:14:40 -050049 $(NULL)
50HBHEADERS += \
Behdad Esfahbod678bed42009-08-02 15:35:31 -040051 hb-ot.h \
Behdad Esfahbodb857b492009-05-20 05:35:14 -040052 hb-ot-layout.h \
Behdad Esfahbod8a3511a2009-11-04 19:45:39 -050053 hb-ot-tag.h \
Behdad Esfahbodb857b492009-05-20 05:35:14 -040054 $(NULL)
Owen Taylor80a15822000-12-20 04:41:36 +000055
Behdad Esfahbod63a792a2009-11-02 18:33:52 -050056if HAVE_GLIB
Behdad Esfahbodd94647e2009-11-03 16:35:10 -050057HBCFLAGS += $(GLIB_CFLAGS)
Behdad Esfahbod8fb3d1a2009-11-03 18:34:20 -050058HBLIBS += $(GLIB_LIBS)
Behdad Esfahbod63a792a2009-11-02 18:33:52 -050059HBSOURCES += \
60 hb-glib.c \
61 $(NULL)
62HBHEADERS += \
63 hb-glib.h \
64 $(NULL)
65endif
66
Behdad Esfahbodd94647e2009-11-03 16:35:10 -050067if HAVE_ICU
68HBCFLAGS += $(ICU_CFLAGS)
Behdad Esfahbod8fb3d1a2009-11-03 18:34:20 -050069HBLIBS += $(ICU_LIBS)
Behdad Esfahbodd94647e2009-11-03 16:35:10 -050070HBSOURCES += \
71 hb-icu.c \
72 $(NULL)
73HBHEADERS += \
74 hb-icu.h \
75 $(NULL)
76endif
77
Behdad Esfahbod8fb3d1a2009-11-03 18:34:20 -050078if HAVE_FREETYPE
79HBCFLAGS += $(FREETYPE_CFLAGS)
80HBLIBS += $(FREETYPE_LIBS)
81HBSOURCES += \
82 hb-ft.c \
83 $(NULL)
84HBHEADERS += \
85 hb-ft.h \
86 $(NULL)
87endif
Behdad Esfahbodca95ce42009-11-03 14:18:33 -050088
Behdad Esfahbod8fb3d1a2009-11-03 18:34:20 -050089CXXLINK = $(LINK)
Behdad Esfahbodd3418812009-08-05 14:49:25 -040090libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS)
Behdad Esfahbodd94647e2009-11-03 16:35:10 -050091libharfbuzz_la_CPPFLAGS = $(HBCFLAGS)
92libharfbuzz_la_LIBADD = $(HBLIBS)
Behdad Esfahbod1f0ceeb2009-11-02 16:28:39 -050093pkginclude_HEADERS = $(HBHEADERS)
Owen Taylor80a15822000-12-20 04:41:36 +000094
Behdad Esfahbodb857b492009-05-20 05:35:14 -040095noinst_PROGRAMS = main
Behdad Esfahbod9f8da382006-03-31 12:28:09 +000096
Behdad Esfahbodb857b492009-05-20 05:35:14 -040097main_SOURCES = main.cc
Behdad Esfahbodd94647e2009-11-03 16:35:10 -050098main_CPPFLAGS = $(HBCFLAGS)
99main_LDADD = libharfbuzz.la $(HBLIBS)
Owen Taylor80a15822000-12-20 04:41:36 +0000100
Behdad Esfahbodb8a53e42009-12-20 14:56:25 +0100101TESTS =
102
103if HAVE_ICU
104else
105TESTS += check-libstdc++.sh
106endif
Behdad Esfahbod21d0fce2009-11-03 14:28:32 -0500107
Behdad Esfahbod0e13bee2009-04-17 17:03:39 -0400108-include $(top_srcdir)/git.mk