11 libtbm_la_LTLIBRARIES = libtbm.la
12 libtbm_ladir = $(libdir)
13 libtbm_la_LDFLAGS = $(LDFLAGS) -version-number 1:0:0 -no-undefined
14 libtbm_la_LIBADD = @LIBTBM_LIBS@ @CLOCK_LIB@ -ldl
17 tbm_surface_internal.c \
20 tbm_bufmgr_backend.c \
22 tbm_drm_helper_server.c \
23 tbm_drm_helper_client.c \
26 nodist_libtbm_la_SOURCES = \
27 wayland-tbm-drm-auth-server-protocol.h \
28 wayland-tbm-drm-auth-client-protocol.h \
29 wayland-tbm-drm-auth-protocol.c
31 %-protocol.c : $(top_srcdir)/protocol/%.xml
32 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) code < $< > $@
34 %-server-protocol.h : $(top_srcdir)/protocol/%.xml
35 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header < $< > $@
37 %-client-protocol.h : $(top_srcdir)/protocol/%.xml
38 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header < $< > $@
40 BUILT_SOURCES = $(nodist_libtbm_la_SOURCES)
42 libtbmincludedir=$(includedir)
43 libtbminclude_HEADERS = tbm_bufmgr.h tbm_surface.h tbm_bufmgr_backend.h tbm_type.h tbm_surface_internal.h tbm_surface_queue.h tbm_drm_helper.h tbm_sync.h
45 CLEANFILES = $(BUILT_SOURCES)