Enable verbose warning messages during compilation.
[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         @LIBDRM_LIBS@
28
29 extdir = $(includedir)
30 ext_HEADERS = \
31         wayland-kms.h \
32         wayland-kms-server-protocol.h \
33         wayland-kms-client-protocol.h
34
35 %-protocol.c : %.xml
36         $(WAYLAND_SCANNER) code < $< > $@
37
38 %-server-protocol.h : %.xml
39         $(WAYLAND_SCANNER) server-header < $< > $@
40
41 %-client-protocol.h : %.xml
42         $(WAYLAND_SCANNER) client-header < $< > $@
43
44 pkgconfigdir = $(libdir)/pkgconfig
45 pkgconfig_DATA = wayland-kms.pc