Teach make to build WTF.
[WebKit-https.git] / Source / WTF / GNUmakefile.am
1 include $(srcdir)/Source/WTF/GNUmakefile.list.am
2
3 noinst_LTLIBRARIES += \
4         libWTF.la
5
6 libWTF_la_LDFLAGS = \
7         $(no_undefined)
8
9 libWTF_la_SOURCES = \
10         $(wtf_sources)
11
12 libWTF_la_LIBADD = \
13         $(UNICODE_LIBS) \
14         $(GLIB_LIBS) \
15         $(WINMM_LIBS) \
16         -lpthread
17
18 libWTF_la_CXXFLAGS = \
19         $(global_cxxflags) \
20         $(libWTF_la_CFLAGS)
21
22 wtf_cflags += \
23         $(global_cflags) \
24         $(GLIB_CFLAGS) \
25         $(UNICODE_CFLAGS)
26
27 libWTF_la_CFLAGS = \
28         -fstrict-aliasing \
29         -O3 \
30         $(wtf_cflags)
31
32 wtf_cppflags += \
33         -I$(srcdir)/Source \
34         -I$(srcdir)/Source/WTF
35
36 libWTF_la_CPPFLAGS = \
37         $(global_cppflags) \
38         $(wtf_cppflags)