From b74c0a1326386a7186c7c8c157a5063d4b417fb2 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 5 Jan 2024 17:54:12 -0800 Subject: Add X.Org's standard C warning flags to AM_CFLAGS Signed-off-by: Alan Coopersmith --- shared/Makefile.am | 2 +- src/Makefile.am | 2 +- tools/Makefile.am | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/shared/Makefile.am b/shared/Makefile.am index c1b6ca9..764534c 100644 --- a/shared/Makefile.am +++ b/shared/Makefile.am @@ -24,4 +24,4 @@ lib@DRIVER_NAME@_la_SOURCES = @DRIVER_NAME@_defs.h \ @DRIVER_NAME@_proto.c @DRIVER_NAME@_proto.h AM_CPPFLAGS = $(XORG_CFLAGS) - +AM_CFLAGS = $(BASE_CFLAGS) diff --git a/src/Makefile.am b/src/Makefile.am index 7e6ea36..fb83c57 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -24,6 +24,6 @@ @DRIVER_NAME@_drv_ladir = @inputdir@ AM_CPPFLAGS = -I$(top_srcdir)/shared $(XORG_CFLAGS) +AM_CFLAGS = $(BASE_CFLAGS) @DRIVER_NAME@_drv_la_SOURCES = @DRIVER_NAME@.c xf86OSmouse.h - diff --git a/tools/Makefile.am b/tools/Makefile.am index da0e782..a4d41ea 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -21,6 +21,7 @@ bin_PROGRAMS = @DRIVER_NAME@_detect AM_CPPFLAGS = -I$(top_srcdir)/shared $(XORG_CFLAGS) +AM_CFLAGS = $(BASE_CFLAGS) @DRIVER_NAME@_detect_SOURCES = vmmouse_detect.c vmmouse_udev.c vmmouse_iopl.c @DRIVER_NAME@_detect_LDADD = $(top_builddir)/shared/lib@DRIVER_NAME@.la \ -- cgit v1.2.3