summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-05 17:54:12 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-05 17:54:12 -0800
commitb74c0a1326386a7186c7c8c157a5063d4b417fb2 (patch)
tree63c5ab55a3e2f2af7704e2b6c2dab9149388cf0c
parent1ed3ed39fc47058f56db11f0d59d586bdbb05050 (diff)
Add X.Org's standard C warning flags to AM_CFLAGS
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--shared/Makefile.am2
-rw-r--r--src/Makefile.am2
-rw-r--r--tools/Makefile.am1
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 \