~sergiusens/libhybris/autotests

« back to all changes in this revision

Viewing changes to hybris/egl/platforms/common/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo
  • Date: 2013-06-04 07:33:11 UTC
  • Revision ID: package-import@ubuntu.com-20130604073311-20ldi2hm1axkvjl1
Tags: upstream-0.1.0+git20130601+dfb2e26
ImportĀ upstreamĀ versionĀ 0.1.0+git20130601+dfb2e26

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
lib_LTLIBRARIES = \
 
2
        libhybris-eglplatformcommon.la
 
3
 
 
4
libhybris_eglplatformcommon_la_SOURCES = \
 
5
        native_handle.c \
 
6
        nativewindowbase.cpp \
 
7
        eglplatformcommon.cpp
 
8
 
 
9
if WANT_WAYLAND
 
10
lib_LTLIBRARIES += libwayland-egl.la
 
11
 
 
12
libhybris_eglplatformcommon_la_SOURCES += \
 
13
        server_wlegl.cpp \
 
14
        server_wlegl_handle.cpp \
 
15
        server_wlegl_buffer.cpp \
 
16
        wayland-android-protocol.c
 
17
 
 
18
BUILT_SOURCES = wayland-android-protocol.c \
 
19
                wayland-android-client-protocol.h \
 
20
                wayland-android-server-protocol.h
 
21
 
 
22
%-protocol.c : %.xml
 
23
        $(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
 
24
 
 
25
%-server-protocol.h : %.xml
 
26
        $(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
 
27
 
 
28
%-client-protocol.h : %.xml
 
29
        $(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
 
30
 
 
31
libwayland_egl_la_SOURCES = wayland-egl.c
 
32
 
 
33
libwayland_egl_la_CFLAGS = -I. -I$(top_srcdir)/include $(WAYLAND_CLIENT_CFLAGS) $(WAYLAND_SERVER_CFLAGS)
 
34
if WANT_TRACE
 
35
libwayland_egl_la_CFLAGS += -DDEBUG
 
36
endif
 
37
if WANT_DEBUG
 
38
libwayland_egl_la_CFLAGS += -ggdb -O0
 
39
endif
 
40
 
 
41
libwayland_egl_la_CXXFLAGS = -I. -I$(top_srcdir)/include $(WAYLAND_CLIENT_CFLAGS) $(WAYLAND_SERVER_CFLAGS)
 
42
if WANT_TRACE
 
43
libwayland_egl_la_CXXFLAGS += -DDEBUG
 
44
endif
 
45
if WANT_DEBUG
 
46
libwayland_egl_la_CXXFLAGS += -ggdb -O0
 
47
endif
 
48
libwayland_egl_la_LDFLAGS = \
 
49
        -version-info "1":"0"
 
50
 
 
51
endif
 
52
 
 
53
libhybris_eglplatformcommon_la_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/egl -I$(top_srcdir)/common/
 
54
if WANT_WAYLAND
 
55
libhybris_eglplatformcommon_la_CFLAGS += $(WAYLAND_CLIENT_CFLAGS) $(WAYLAND_SERVER_CFLAGS) -I$(top_srcdir)/include/android
 
56
endif
 
57
 
 
58
if WANT_MESA
 
59
libhybris_eglplatformcommon_la_CFLAGS += -DLIBHYBRIS_WANTS_MESA_X11_HEADERS
 
60
endif
 
61
if WANT_TRACE
 
62
libhybris_eglplatformcommon_la_CFLAGS += -DDEBUG
 
63
endif
 
64
if WANT_DEBUG
 
65
libhybris_eglplatformcommon_la_CFLAGS += -ggdb -O0
 
66
endif
 
67
 
 
68
 
 
69
libhybris_eglplatformcommon_la_CXXFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/egl -I$(top_srcdir)/common/
 
70
if WANT_MESA
 
71
libhybris_eglplatformcommon_la_CXXFLAGS += -DLIBHYBRIS_WANTS_MESA_X11_HEADERS
 
72
endif
 
73
 
 
74
if WANT_WAYLAND
 
75
libhybris_eglplatformcommon_la_CXXFLAGS += $(WAYLAND_CLIENT_CFLAGS) $(WAYLAND_SERVER_CFLAGS) -I$(top_srcdir)/include/android
 
76
endif
 
77
 
 
78
if WANT_TRACE
 
79
libhybris_eglplatformcommon_la_CXXFLAGS += -DDEBUG
 
80
endif
 
81
if WANT_DEBUG
 
82
libhybris_eglplatformcommon_la_CXXFLAGS += -ggdb -O0
 
83
endif
 
84
libhybris_eglplatformcommon_la_LDFLAGS = \
 
85
        $(top_builddir)/common/libhybris-common.la \
 
86
        -version-info "1":"0":"0"
 
87
 
 
88
eglplatformcommondir = $(includedir)/hybris/eglplatformcommon
 
89
eglplatformcommon_HEADERS = \
 
90
        support.h \
 
91
        nativewindowbase.h
 
92
 
 
93
if WANT_WAYLAND
 
94
libhybris_eglplatformcommon_la_LDFLAGS += \
 
95
        $(WAYLAND_CLIENT_LIBS) \
 
96
        $(WAYLAND_SERVER_LIBS)
 
97
endif