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/Makefile.am | |
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/Makefile.am')
-rw-r--r-- | src/Makefile.am | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index b0781ca4..e87f030d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -28,16 +28,16 @@ SUBDIRS = render_program legacy AM_CFLAGS = \ @CWARNFLAGS@ \ - @XORG_CFLAGS@ \ - @DRM_CFLAGS@ \ - @PCIACCESS_CFLAGS@ \ + $(XORG_CFLAGS) \ + $(DRM_CFLAGS) \ + $(PCIACCESS_CFLAGS) \ @NOWARNFLAGS@ \ $(NULL) intel_drv_la_LTLIBRARIES = intel_drv.la intel_drv_la_LDFLAGS = -module -avoid-version -intel_drv_ladir = @moduledir@/drivers -intel_drv_la_LIBADD = legacy/liblegacy.la @PCIACCESS_LIBS@ $(XORG_LIBS) +intel_drv_ladir = $(moduledir)/drivers +intel_drv_la_LIBADD = legacy/liblegacy.la $(PCIACCESS_LIBS) $(XORG_LIBS) if SNA SUBDIRS += sna |