summaryrefslogtreecommitdiff
path: root/src/Makefile.am
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 /src/Makefile.am
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.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e0434f49..93f237cb 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