surface: added tbm_surface_internal_set/get_damage func
[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
31 nodist_libtbm_la_SOURCES =              \
32         wayland-tbm-drm-auth-server-protocol.h  \
33         wayland-tbm-drm-auth-client-protocol.h  \
34         wayland-tbm-drm-auth-protocol.c
35
36 %-protocol.c : $(top_srcdir)/protocol/%.xml
37         $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) code < $< > $@
38
39 %-server-protocol.h : $(top_srcdir)/protocol/%.xml
40         $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header < $< > $@
41
42 %-client-protocol.h : $(top_srcdir)/protocol/%.xml
43         $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header < $< > $@
44
45 BUILT_SOURCES = $(nodist_libtbm_la_SOURCES)
46
47 CLEANFILES = $(BUILT_SOURCES)