Commit | Line | Data |
---|---|---|
d42e7319 JB |
1 | pkglib_LTLIBRARIES = eglplatform_wayland.la |
2 | ||
3 | eglplatform_wayland_la_SOURCES = eglplatform_wayland.cpp wayland_window.cpp | |
4 | eglplatform_wayland_la_CXXFLAGS = \ | |
5 | -I$(top_srcdir)/common \ | |
6 | -I$(top_srcdir)/include \ | |
7 | -I$(top_srcdir)/egl \ | |
8 | -I$(top_srcdir)/egl/platforms/common \ | |
9 | -I$(top_srcdir)/include/android \ | |
10 | $(WAYLAND_CLIENT_CFLAGS) | |
11 | ||
12 | if WANT_DEBUG | |
13 | eglplatform_wayland_la_CXXFLAGS += -I$(top_srcdir)/common | |
14 | endif | |
15 | ||
16 | if WANT_TRACE | |
17 | eglplatform_wayland_la_CXXFLAGS += -DDEBUG | |
18 | endif | |
19 | ||
20 | if WANT_DEBUG | |
21 | eglplatform_wayland_la_CXXFLAGS += -ggdb -O0 | |
22 | endif | |
23 | ||
24 | ||
25 | ||
26 | eglplatform_wayland_la_LDFLAGS = \ | |
27 | -avoid-version -module -shared -export-dynamic \ | |
28 | $(top_builddir)/egl/platforms/common/libhybris-eglplatformcommon.la \ | |
29 | $(top_builddir)/hardware/libhardware.la \ | |
30 | $(WAYLAND_CLIENT_LIBS) | |
31 | ||
32 | if HAS_ANDROID_4_2_0 | |
33 | eglplatform_wayland_la_LDFLAGS += $(top_builddir)/libsync/libsync.la | |
34 | endif |