[m4_fatal([must install xorg-macros before running autoconf/autogen.sh])])
XORG_MACROS_VERSION([1.2.0])
XORG_RELEASE_VERSION
+XORG_CWARNFLAGS
XORG_CHANGELOG
AC_OUTPUT([
SUBDIRS = makekeys
INCLUDES = -I$(top_srcdir)/include
+AM_CFLAGS = $(X11_CFLAGS) $(CWARNFLAGS)
BUILT_SOURCES = ks_tables.h
ks_tables.h: $(builddir)/makekeys/makekeys$(EXEEXT)
@cd makekeys && $(MAKE) $(AM_MAKEFLAGS)
lib_LTLIBRARIES = libxkbcommon.la
-libxkbcommon_la_CFLAGS = $(X11_CFLAGS)
libxkbcommon_la_SOURCES = \
ks_tables.h \
keysym.c
INCLUDES = -I$(top_srcdir)/include
+AM_CFLAGS = $(X11_CFLAGS) $(CWARNFLAGS)
# need to use build-native compiler
CC = $(CC_FOR_BUILD)
noinst_PROGRAMS = makekeys
-makekeys_CFLAGS = $(X11_CFLAGS)
INCLUDES = -I$(top_srcdir)/include
-AM_CFLAGS = $(X11_CFLAGS)
+AM_CFLAGS = $(X11_CFLAGS) $(CWARNFLAGS)
check_PROGRAMS = xkey
xkey_SOURCES = xkey.c