Remove lock_instance()
[framework/uifw/harfbuzz.git] / src / Makefile.am
1 # Process this file with automake to produce Makefile.in
2
3 NULL =
4
5 # The following warning options are useful for debugging: -Wpadded -Wcast-align
6 #AM_CXXFLAGS =
7
8 lib_LTLIBRARIES = libharfbuzz.la
9
10 HBCFLAGS =
11 HBLIBS =
12 HBSOURCES =  \
13         hb-blob.c \
14         hb-buffer.c \
15         hb-buffer-private.h \
16         hb-font.cc \
17         hb-font-private.h \
18         hb-object-private.h \
19         hb-open-file-private.hh \
20         hb-open-type-private.hh \
21         hb-language.c \
22         hb-private.h \
23         hb-shape.c \
24         hb-unicode.c \
25         hb-unicode-private.h \
26         $(NULL)
27 HBHEADERS = \
28         hb.h \
29         hb-blob.h \
30         hb-buffer.h \
31         hb-common.h \
32         hb-font.h \
33         hb-language.h \
34         hb-shape.h \
35         hb-unicode.h \
36         $(NULL)
37
38 HBSOURCES += \
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 \
46         hb-ot-shape.c \
47         hb-ot-shape-private.h \
48         hb-ot-tag.c \
49         $(NULL)
50 HBHEADERS += \
51         hb-ot.h \
52         hb-ot-layout.h \
53         hb-ot-tag.h \
54         $(NULL)
55
56 if HAVE_GLIB
57 HBCFLAGS += $(GLIB_CFLAGS)
58 HBLIBS   += $(GLIB_LIBS)
59 HBSOURCES += \
60         hb-glib.c \
61         $(NULL)
62 HBHEADERS += \
63         hb-glib.h \
64         $(NULL)
65 endif
66
67 if HAVE_ICU
68 HBCFLAGS += $(ICU_CFLAGS)
69 HBLIBS   += $(ICU_LIBS)
70 HBSOURCES += \
71         hb-icu.c \
72         $(NULL)
73 HBHEADERS += \
74         hb-icu.h \
75         $(NULL)
76 endif
77
78 if HAVE_FREETYPE
79 HBCFLAGS += $(FREETYPE_CFLAGS)
80 HBLIBS   += $(FREETYPE_LIBS)
81 HBSOURCES += \
82         hb-ft.c \
83         $(NULL)
84 HBHEADERS += \
85         hb-ft.h \
86         $(NULL)
87 endif
88
89 CXXLINK = $(LINK)
90 libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS)
91 libharfbuzz_la_CPPFLAGS = $(HBCFLAGS)
92 libharfbuzz_la_LIBADD = $(HBLIBS)
93 pkginclude_HEADERS = $(HBHEADERS)
94
95 noinst_PROGRAMS = main
96
97 main_SOURCES = main.cc
98 main_CPPFLAGS = $(HBCFLAGS)
99 main_LDADD = libharfbuzz.la $(HBLIBS)
100
101 TESTS =
102
103 if HAVE_ICU
104 else
105 TESTS += check-libstdc++.sh
106 endif
107
108 -include $(top_srcdir)/git.mk