summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
-rw-r--r--src/Makefile.am17
2 files changed, 8 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index 307ffe2..26a3642 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,7 +58,8 @@ AC_ARG_ENABLE(geodegx-panel,
AC_HELP_STRING([--disable-geodegx-panel],
[Disable support for flatpanels with the Geode GX]),
[ ],
- [ AMD_CFLAGS="-DPNL_SUP $AMD_CFLAGS" ])
+ [ PANEL_CPPFLAGS=-DPNL_SUP ])
+AC_SUBST(PANEL_CPPFLAGS)
# Define a configure option to enable/disable ztv
AC_ARG_ENABLE(ztv,
@@ -136,7 +137,6 @@ fi
AC_SUBST([XORG_CFLAGS])
AC_SUBST([moduledir])
-AC_SUBST([AMD_CFLAGS])
DRIVER_NAME=geode
AC_SUBST([DRIVER_NAME])
diff --git a/src/Makefile.am b/src/Makefile.am
index 86139de..5df0a32 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -27,19 +27,14 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src/cim \
-I$(top_srcdir)/src/gfx \
- -I$(top_srcdir)/src/panel
-
-# -DPNL_SUP is now provided by AMD_CFLAGS
-#
-AM_CFLAGS = \
- $(XORG_CFLAGS) \
- $(CWARNFLAGS) \
- $(AMD_CFLAGS) \
- $(M32_CFLAGS) \
- -DHAVE_GX \
- -DHAVE_LX \
+ -I$(top_srcdir)/src/panel \
+ $(PANEL_CPPFLAGS) \
+ -DHAVE_GX \
+ -DHAVE_LX \
-DOPT_ACCEL
+AM_CFLAGS = $(XORG_CFLAGS) $(CWARNFLAGS) $(M32_CFLAGS)
+
geode_drv_la_LTLIBRARIES = geode_drv.la
geode_drv_la_LDFLAGS = -module -avoid-version
geode_drv_ladir = @moduledir@/drivers