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