Use XORG_CWARNFLAGS for more warnings
parent
d60166b507
commit
ffa0ccfad9
|
@ -71,6 +71,7 @@ m4_ifndef([XORG_MACROS_VERSION],
|
|||
[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([
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
SUBDIRS = makekeys
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include
|
||||
AM_CFLAGS = $(X11_CFLAGS) $(CWARNFLAGS)
|
||||
|
||||
BUILT_SOURCES = ks_tables.h
|
||||
ks_tables.h: $(builddir)/makekeys/makekeys$(EXEEXT)
|
||||
|
@ -12,7 +13,6 @@ $(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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
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)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
INCLUDES = -I$(top_srcdir)/include
|
||||
AM_CFLAGS = $(X11_CFLAGS)
|
||||
AM_CFLAGS = $(X11_CFLAGS) $(CWARNFLAGS)
|
||||
|
||||
check_PROGRAMS = xkey
|
||||
xkey_SOURCES = xkey.c
|
||||
|
|
Loading…
Reference in New Issue