summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-11-19 13:22:32 -0500
committerMartin-Éric Racine <martin-eric.racine@iki.fi>2011-11-21 10:33:11 +0200
commit03529b7b35fa8d7b5bac277d6abe1caf0557301a (patch)
tree3a5cf4c010fe4cc938bec2f2afdb22a1f2f29120 /src
parentac99bf2c5cdf86f039a290397614ca042a56c8db (diff)
Separate compiler from pre-processor options
Clean-up what goes in AM_CFLAGS and AM_CPPFLAGS Use more descriptive names such that comments are not needed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am17
1 files changed, 6 insertions, 11 deletions
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