GNUmakefile.am 714 Bytes
Newer Older
1 2 3 4 5
include $(srcdir)/Source/WTF/GNUmakefile.list.am

noinst_LTLIBRARIES += \
	libWTF.la

6 7 8
wtf_lib_for_dep = libWTF.la
$(wtf_lib_for_dep): $(srcdir)/Source/WTF/GNUmakefile.list.am

9 10 11 12 13 14 15 16 17 18
libWTF_la_LDFLAGS = \
	$(no_undefined)

libWTF_la_SOURCES = \
	$(wtf_sources)

libWTF_la_LIBADD = \
	$(UNICODE_LIBS) \
	$(GLIB_LIBS) \
	$(WINMM_LIBS) \
19 20
	-lpthread \
	-lz
21

22 23 24 25 26
if TARGET_WIN32
# OwnPtrWin.cpp needs the symbols from gdi32 dll
libWTF_la_LIBADD += -lgdi32
endif

27 28 29 30 31
libWTF_la_CXXFLAGS = \
	$(global_cxxflags) \
	$(libWTF_la_CFLAGS)

libWTF_la_CFLAGS = \
32 33 34
	$(global_cflags) \
	$(GLIB_CFLAGS) \
	$(UNICODE_CFLAGS)
35 36 37

libWTF_la_CPPFLAGS = \
	$(global_cppflags) \
38
	-I$(srcdir)/Source \
39
	-I$(srcdir)/Source/WTF \
40
	-I$(srcdir)/Source/WTF/wtf