Add UYVY, RGB888, and BGR888 as supported pixel formats.
[platform/adaptation/renesas_rcar/wayland-kms.git] / Makefile.am
1 lib_LTLIBRARIES = libwayland-kms.la
2
3 AM_CFLAGS = \
4         -Wall \
5         $(WAYLAND_CFLAGS)
6
7 AM_CPPFLAGS = \
8         -I$(top_srcdir)/include \
9         $(DEFINES)
10
11 BUILT_SOURCES = wayland-kms-protocol.c \
12                 wayland-kms-server-protocol.h \
13                 wayland-kms-client-protocol.h
14 CLEANFILES = $(BUILT_SOURCES)
15
16 libwayland_kms_la_SOURCES = \
17         wayland-kms.c \
18         wayland-kms-auth.c \
19         wayland-kms-protocol.c
20
21 libwayland_kms_la_CFLAGS = \
22         @WAYLAND_SERVER_CFLAGS@ \
23         @LIBDRM_CFLAGS@
24
25 libwayland_kms_la_LIBADD = \
26         @WAYLAND_SERVER_LIBS@ \
27         @WAYLAND_CLIENT_LIBS@ \
28         @LIBDRM_LIBS@
29
30 extdir = $(includedir)
31 ext_HEADERS = \
32         wayland-kms.h \
33         wayland-kms-server-protocol.h \
34         wayland-kms-client-protocol.h
35
36 %-protocol.c : %.xml
37         $(WAYLAND_SCANNER) code < $< > $@
38
39 %-server-protocol.h : %.xml
40         $(WAYLAND_SCANNER) server-header < $< > $@
41
42 %-client-protocol.h : %.xml
43         $(WAYLAND_SCANNER) client-header < $< > $@
44
45 pkgconfigdir = $(libdir)/pkgconfig
46 pkgconfig_DATA = wayland-kms.pc