diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2013-11-25 09:09:20 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-11-25 09:25:56 +0000 |
commit | 2275ef581ee1a1c45a45df40f952779f62fb53ed (patch) | |
tree | 9cc452947b745cb77a32945cb92563b83bb592cb /src/legacy | |
parent | 12e974c7bc8c85dbccd3d9ef91c1315e85bbeb6c (diff) |
Makefile convert @var@ to $(var)
Avoid using @var@ since this could not be easily overwritten through
'make var=xxx' option which is normally available.
For Makefile.am users should avoid using @var@.
Signed-off-by: Zdenek Kabelac <zkabelac@redhat.com>
Diffstat (limited to 'src/legacy')
-rw-r--r-- | src/legacy/i810/Makefile.am | 2 | ||||
-rw-r--r-- | src/legacy/i810/xvmc/Makefile.am | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/legacy/i810/Makefile.am b/src/legacy/i810/Makefile.am index 8414c5f3..8846e4e9 100644 --- a/src/legacy/i810/Makefile.am +++ b/src/legacy/i810/Makefile.am @@ -2,7 +2,7 @@ SUBDIRS = xvmc noinst_LTLIBRARIES = liblegacy-i810.la -AM_CFLAGS = @CWARNFLAGS@ @XORG_CFLAGS@ @DRM_CFLAGS@ @DRI1_CFLAGS@ @PCIACCESS_CFLAGS@ \ +AM_CFLAGS = $(CWARNFLAGS) $(XORG_CFLAGS) $(DRM_CFLAGS) $(DRI1_CFLAGS) $(PCIACCESS_CFLAGS) \ -I$(top_srcdir)/src \ -I$(top_srcdir)/src/legacy \ $(NULL) diff --git a/src/legacy/i810/xvmc/Makefile.am b/src/legacy/i810/xvmc/Makefile.am index 7f28b8bb..6c40f20c 100644 --- a/src/legacy/i810/xvmc/Makefile.am +++ b/src/legacy/i810/xvmc/Makefile.am @@ -5,7 +5,7 @@ endif libI810XvMC_la_SOURCES = I810XvMC.c \ I810XvMC.h -AM_CFLAGS = @CWARNFLAGS@ @XORG_CFLAGS@ @DRM_CFLAGS@ @DRI1_CFLAGS@ -DTRUE=1 -DFALSE=0 +AM_CFLAGS = $(CWARNFLAGS) $(XORG_CFLAGS) $(DRM_CFLAGS) $(DRI1_CFLAGS) -DTRUE=1 -DFALSE=0 libI810XvMC_la_LDFLAGS = -version-number 1:0:0 -libI810XvMC_la_LIBADD = @DRI1_LIBS@ @DRM_LIBS@ @XVMCLIB_LIBS@ +libI810XvMC_la_LIBADD = $(DRI1_LIBS) $(DRM_LIBS) $(XVMCLIB_LIBS) |