summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPauli Nieminen <suokkos@gmail.com>2009-09-14 16:36:48 +0300
committerAlex Deucher <alexdeucher@gmail.com>2009-09-14 18:21:50 -0400
commitee9f6d802988a4d7f7985687036db854f4a14fe5 (patch)
tree50de7bc668a81c1abcae86192ac36a7038003cfb
parentac853ca0a950d6147cd6a0b4a1b089f5d2f080ea (diff)
radeon: Add missing libdrm_radeon cflags to compiler paramaters.
This fixes compilation if libdrm_radeon is installed to non-standard location like /opt.
-rw-r--r--src/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e0434f4..93f237c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -73,7 +73,16 @@ if USE_EXA
RADEON_EXA_SOURCES = radeon_exa.c r600_exa.c r6xx_accel.c r600_textured_videofuncs.c r600_shader.c
endif
-AM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@ @XMODES_CFLAGS@ -DDISABLE_EASF -DENABLE_ALL_SERVICE_FUNCTIONS -DATOM_BIOS -DATOM_BIOS_PARSER -DDRIVER_PARSER
+AM_CFLAGS = \
+ @LIBDRM_RADEON_CFLAGS@ \
+ @XORG_CFLAGS@ \
+ @DRI_CFLAGS@ \
+ @XMODES_CFLAGS@ \
+ -DDISABLE_EASF \
+ -DENABLE_ALL_SERVICE_FUNCTIONS \
+ -DATOM_BIOS \
+ -DATOM_BIOS_PARSER \
+ -DDRIVER_PARSER
INCLUDES = -I$(srcdir)/AtomBios/includes