OLD | NEW |
(Empty) | |
| 1 # Process this file with automake to produce Makefile.in |
| 2 |
| 3 NULL = |
| 4 EXTRA_DIST = |
| 5 |
| 6 # The following warning options are useful for debugging: -Wpadded -Wcast-align |
| 7 #AM_CXXFLAGS = |
| 8 |
| 9 lib_LTLIBRARIES = libharfbuzz.la |
| 10 |
| 11 HBCFLAGS = |
| 12 HBLIBS = |
| 13 HBSOURCES = \ |
| 14 hb-blob.c \ |
| 15 hb-blob-private.h \ |
| 16 hb-buffer.cc \ |
| 17 hb-buffer-private.hh \ |
| 18 hb-common.c \ |
| 19 hb-font.cc \ |
| 20 hb-font-private.h \ |
| 21 hb-object-private.h \ |
| 22 hb-open-file-private.hh \ |
| 23 hb-open-type-private.hh \ |
| 24 hb-language.c \ |
| 25 hb-ot-head-private.hh \ |
| 26 hb-private.h \ |
| 27 hb-shape.cc \ |
| 28 hb-unicode.c \ |
| 29 hb-unicode-private.h \ |
| 30 $(NULL) |
| 31 HBHEADERS = \ |
| 32 hb.h \ |
| 33 hb-blob.h \ |
| 34 hb-buffer.h \ |
| 35 hb-common.h \ |
| 36 hb-font.h \ |
| 37 hb-language.h \ |
| 38 hb-shape.h \ |
| 39 hb-unicode.h \ |
| 40 $(NULL) |
| 41 |
| 42 HBSOURCES += \ |
| 43 hb-ot-layout.cc \ |
| 44 hb-ot-layout-common-private.hh \ |
| 45 hb-ot-layout-gdef-private.hh \ |
| 46 hb-ot-layout-gpos-private.hh \ |
| 47 hb-ot-layout-gsubgpos-private.hh \ |
| 48 hb-ot-layout-gsub-private.hh \ |
| 49 hb-ot-layout-private.hh \ |
| 50 hb-ot-map.cc \ |
| 51 hb-ot-map-private.hh \ |
| 52 hb-ot-shape.cc \ |
| 53 hb-ot-shape-complex-arabic.cc \ |
| 54 hb-ot-shape-complex-arabic-table.h \ |
| 55 hb-ot-shape-complex-private.hh \ |
| 56 hb-ot-shape-private.hh \ |
| 57 hb-ot-tag.c \ |
| 58 $(NULL) |
| 59 HBHEADERS += \ |
| 60 hb-ot.h \ |
| 61 hb-ot-layout.h \ |
| 62 hb-ot-shape.h \ |
| 63 hb-ot-tag.h \ |
| 64 $(NULL) |
| 65 |
| 66 if HAVE_GLIB |
| 67 HBCFLAGS += $(GLIB_CFLAGS) |
| 68 HBLIBS += $(GLIB_LIBS) |
| 69 HBSOURCES += \ |
| 70 hb-glib.c \ |
| 71 $(NULL) |
| 72 HBHEADERS += \ |
| 73 hb-glib.h \ |
| 74 $(NULL) |
| 75 endif |
| 76 |
| 77 if HAVE_ICU |
| 78 HBCFLAGS += $(ICU_CFLAGS) |
| 79 HBLIBS += $(ICU_LIBS) |
| 80 HBSOURCES += \ |
| 81 hb-icu.c \ |
| 82 $(NULL) |
| 83 HBHEADERS += \ |
| 84 hb-icu.h \ |
| 85 $(NULL) |
| 86 endif |
| 87 |
| 88 if HAVE_FREETYPE |
| 89 HBCFLAGS += $(FREETYPE_CFLAGS) |
| 90 HBLIBS += $(FREETYPE_LIBS) |
| 91 HBSOURCES += \ |
| 92 hb-ft.c \ |
| 93 $(NULL) |
| 94 HBHEADERS += \ |
| 95 hb-ft.h \ |
| 96 $(NULL) |
| 97 endif |
| 98 |
| 99 if HAVE_GRAPHITE |
| 100 HBCFLAGS += $(GRAPHITE_CFLAGS) |
| 101 HBLIBS += $(GRAPHITE_LIBS) |
| 102 HBSOURCES += \ |
| 103 hb-graphite.cc \ |
| 104 $(NULL) |
| 105 HBHEADERS += \ |
| 106 hb-graphite.h \ |
| 107 $(NULL) |
| 108 endif |
| 109 |
| 110 CXXLINK = $(LINK) |
| 111 libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS) |
| 112 libharfbuzz_la_CPPFLAGS = $(HBCFLAGS) |
| 113 libharfbuzz_la_LIBADD = $(HBLIBS) |
| 114 pkginclude_HEADERS = $(HBHEADERS) |
| 115 |
| 116 |
| 117 GENERATORS = \ |
| 118 gen-arabic-joining-table.py \ |
| 119 $(NULL) |
| 120 |
| 121 EXTRA_DIST += $(GENERATORS) |
| 122 |
| 123 noinst_PROGRAMS = main test |
| 124 |
| 125 main_SOURCES = main.cc |
| 126 main_CPPFLAGS = $(HBCFLAGS) |
| 127 main_LDADD = libharfbuzz.la $(HBLIBS) |
| 128 |
| 129 test_SOURCES = test.c |
| 130 test_CPPFLAGS = $(HBCFLAGS) |
| 131 test_LDADD = libharfbuzz.la $(HBLIBS) |
| 132 |
| 133 TESTS = \ |
| 134 check-c-linkage-decls.sh \ |
| 135 check-header-guards.sh \ |
| 136 check-internal-symbols.sh \ |
| 137 $(NULL) |
| 138 |
| 139 if HAVE_ICU |
| 140 else |
| 141 if HAVE_GRAPHITE |
| 142 else |
| 143 TESTS += check-libstdc++.sh |
| 144 endif |
| 145 endif |
| 146 |
| 147 -include $(top_srcdir)/git.mk |
OLD | NEW |