Make remaining StringImpl functions return PassRef.
[WebKit-https.git] / Source / WTF / GNUmakefile.am
1 include $(srcdir)/Source/WTF/GNUmakefile.list.am
2
3 noinst_LTLIBRARIES += \
4         libWTF.la
5
6 wtf_lib_for_dep = libWTF.la
7 $(wtf_lib_for_dep): $(srcdir)/Source/WTF/GNUmakefile.list.am
8
9 libWTF_la_LDFLAGS = \
10         $(no_undefined)
11
12 libWTF_la_SOURCES = \
13         $(wtf_sources)
14
15 libWTF_la_LIBADD = \
16         $(UNICODE_LIBS) \
17         $(GLIB_LIBS) \
18         $(WINMM_LIBS) \
19         -lpthread \
20         -lz
21
22 if TARGET_WIN32
23 # OwnPtrWin.cpp needs the symbols from gdi32 dll
24 libWTF_la_LIBADD += -lgdi32
25 endif
26
27 libWTF_la_CXXFLAGS = \
28         $(global_cxxflags) \
29         $(libWTF_la_CFLAGS)
30
31 libWTF_la_CFLAGS = \
32         -fstrict-aliasing \
33         -O3 \
34         $(global_cflags) \
35         $(GLIB_CFLAGS) \
36         $(UNICODE_CFLAGS)
37
38 libWTF_la_CPPFLAGS = \
39         $(global_cppflags) \
40         -I$(srcdir)/Source \
41         -I$(srcdir)/Source/WTF \
42         -I$(srcdir)/Source/WTF/wtf