surface_queue: use MONOTOINIC timer in pthread_cond
[platform/core/uifw/libtbm.git] / src / Makefile.am
1 SUBDIRS =
2
3 AM_CFLAGS = \
4         $(WARN_CFLAGS) \
5         -I./ \
6         -I$(top_srcdir) \
7         -I$(top_srcdir)/include \
8         -I$(top_srcdir)/src \
9         @LIBTBM_CFLAGS@ \
10         $(CFLAGS)
11
12 libtbm_la_LTLIBRARIES = libtbm.la
13 libtbm_ladir = $(libdir)
14 libtbm_la_LDFLAGS = $(LDFLAGS) -version-number 1:0:0 -no-undefined
15 libtbm_la_LIBADD = @LIBTBM_LIBS@ @CLOCK_LIB@ -ldl
16
17 libtbm_la_SOURCES = \
18         tbm_surface_internal.c \
19         tbm_surface.c \
20         tbm_surface_queue.c \
21         tbm_bufmgr_backend.c \
22         tbm_bufmgr.c \
23         tbm_bo.c \
24         tbm_drm_helper_server.c \
25         tbm_drm_helper_client.c \
26         tbm_sync.c \
27         tbm_log.c \
28         tbm_error.c \
29         tbm_backend.c \
30         tbm_dummy_display.c
31
32 nodist_libtbm_la_SOURCES =              \
33         wayland-tbm-drm-auth-server-protocol.h  \
34         wayland-tbm-drm-auth-client-protocol.h  \
35         wayland-tbm-drm-auth-protocol.c
36
37 %-protocol.c : $(top_srcdir)/protocol/%.xml
38         $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) code < $< > $@
39
40 %-server-protocol.h : $(top_srcdir)/protocol/%.xml
41         $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header < $< > $@
42
43 %-client-protocol.h : $(top_srcdir)/protocol/%.xml
44         $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header < $< > $@
45
46 BUILT_SOURCES = $(nodist_libtbm_la_SOURCES)
47
48 CLEANFILES = $(BUILT_SOURCES)