Use XORG_CWARNFLAGS for more warnings

master
Dan Nicholson 2009-01-23 18:09:31 -08:00
parent d60166b507
commit ffa0ccfad9
4 changed files with 4 additions and 3 deletions

View File

@ -71,6 +71,7 @@ m4_ifndef([XORG_MACROS_VERSION],
[m4_fatal([must install xorg-macros before running autoconf/autogen.sh])]) [m4_fatal([must install xorg-macros before running autoconf/autogen.sh])])
XORG_MACROS_VERSION([1.2.0]) XORG_MACROS_VERSION([1.2.0])
XORG_RELEASE_VERSION XORG_RELEASE_VERSION
XORG_CWARNFLAGS
XORG_CHANGELOG XORG_CHANGELOG
AC_OUTPUT([ AC_OUTPUT([

View File

@ -1,6 +1,7 @@
SUBDIRS = makekeys SUBDIRS = makekeys
INCLUDES = -I$(top_srcdir)/include INCLUDES = -I$(top_srcdir)/include
AM_CFLAGS = $(X11_CFLAGS) $(CWARNFLAGS)
BUILT_SOURCES = ks_tables.h BUILT_SOURCES = ks_tables.h
ks_tables.h: $(builddir)/makekeys/makekeys$(EXEEXT) ks_tables.h: $(builddir)/makekeys/makekeys$(EXEEXT)
@ -12,7 +13,6 @@ $(builddir)/makekeys/makekeys$(EXEEXT):
@cd makekeys && $(MAKE) $(AM_MAKEFLAGS) @cd makekeys && $(MAKE) $(AM_MAKEFLAGS)
lib_LTLIBRARIES = libxkbcommon.la lib_LTLIBRARIES = libxkbcommon.la
libxkbcommon_la_CFLAGS = $(X11_CFLAGS)
libxkbcommon_la_SOURCES = \ libxkbcommon_la_SOURCES = \
ks_tables.h \ ks_tables.h \
keysym.c keysym.c

View File

@ -1,6 +1,6 @@
INCLUDES = -I$(top_srcdir)/include INCLUDES = -I$(top_srcdir)/include
AM_CFLAGS = $(X11_CFLAGS) $(CWARNFLAGS)
# need to use build-native compiler # need to use build-native compiler
CC = $(CC_FOR_BUILD) CC = $(CC_FOR_BUILD)
noinst_PROGRAMS = makekeys noinst_PROGRAMS = makekeys
makekeys_CFLAGS = $(X11_CFLAGS)

View File

@ -1,5 +1,5 @@
INCLUDES = -I$(top_srcdir)/include INCLUDES = -I$(top_srcdir)/include
AM_CFLAGS = $(X11_CFLAGS) AM_CFLAGS = $(X11_CFLAGS) $(CWARNFLAGS)
check_PROGRAMS = xkey check_PROGRAMS = xkey
xkey_SOURCES = xkey.c xkey_SOURCES = xkey.c