mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
gallium/ilo: add automake target 'template'
Rather than duplicating the libdeps, extra define... all over the targets, define them only once and use when applicable. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
defd48c6c5
commit
ca32ce40b1
5 changed files with 15 additions and 29 deletions
11
src/gallium/drivers/ilo/Automake.inc
Normal file
11
src/gallium/drivers/ilo/Automake.inc
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
if HAVE_GALLIUM_ILO
|
||||
|
||||
TARGET_DRIVERS += ilo
|
||||
TARGET_CPPFLAGS += -DGALLIUM_ILO
|
||||
TARGET_LIB_DEPS += \
|
||||
$(top_builddir)/src/gallium/winsys/intel/drm/libintelwinsys.la \
|
||||
$(top_builddir)/src/gallium/drivers/ilo/libilo.la \
|
||||
$(INTEL_LIBS) \
|
||||
$(LIBDRM_LIBS)
|
||||
|
||||
endif
|
||||
|
|
@ -70,14 +70,7 @@ TARGET_LIB_DEPS =
|
|||
|
||||
include $(top_srcdir)/src/gallium/drivers/i915/Automake.inc
|
||||
|
||||
if HAVE_GALLIUM_ILO
|
||||
MEGADRIVERS += ilo
|
||||
STATIC_TARGET_CPPFLAGS += -DGALLIUM_ILO
|
||||
STATIC_TARGET_LIB_DEPS += \
|
||||
$(top_builddir)/src/gallium/winsys/intel/drm/libintelwinsys.la \
|
||||
$(top_builddir)/src/gallium/drivers/ilo/libilo.la \
|
||||
$(INTEL_LIBS)
|
||||
endif
|
||||
include $(top_srcdir)/src/gallium/drivers/ilo/Automake.inc
|
||||
|
||||
include $(top_srcdir)/src/gallium/drivers/nouveau/Automake.inc
|
||||
|
||||
|
|
|
|||
|
|
@ -163,13 +163,7 @@ TARGET_LIB_DEPS =
|
|||
|
||||
include $(top_srcdir)/src/gallium/drivers/i915/Automake.inc
|
||||
|
||||
if HAVE_GALLIUM_ILO
|
||||
egl_gallium_la_CPPFLAGS += -DGALLIUM_ILO
|
||||
egl_gallium_la_LIBADD += \
|
||||
$(top_builddir)/src/gallium/winsys/intel/drm/libintelwinsys.la \
|
||||
$(top_builddir)/src/gallium/drivers/ilo/libilo.la \
|
||||
$(INTEL_LIBS)
|
||||
endif
|
||||
include $(top_srcdir)/src/gallium/drivers/ilo/Automake.inc
|
||||
|
||||
include $(top_srcdir)/src/gallium/drivers/nouveau/Automake.inc
|
||||
|
||||
|
|
|
|||
|
|
@ -62,13 +62,7 @@ TARGET_LIB_DEPS =
|
|||
|
||||
include $(top_srcdir)/src/gallium/drivers/i915/Automake.inc
|
||||
|
||||
if HAVE_GALLIUM_ILO
|
||||
STATIC_TARGET_CPPFLAGS += -DGALLIUM_ILO
|
||||
STATIC_TARGET_LIB_DEPS += \
|
||||
$(top_builddir)/src/gallium/winsys/intel/drm/libintelwinsys.la \
|
||||
$(top_builddir)/src/gallium/drivers/ilo/libilo.la \
|
||||
$(INTEL_LIBS)
|
||||
endif
|
||||
include $(top_srcdir)/src/gallium/drivers/ilo/Automake.inc
|
||||
|
||||
include $(top_srcdir)/src/gallium/drivers/nouveau/Automake.inc
|
||||
|
||||
|
|
|
|||
|
|
@ -63,13 +63,7 @@ TARGET_LIB_DEPS =
|
|||
|
||||
include $(top_srcdir)/src/gallium/drivers/i915/Automake.inc
|
||||
|
||||
if HAVE_GALLIUM_ILO
|
||||
STATIC_TARGET_CPPFLAGS += -DGALLIUM_ILO
|
||||
STATIC_TARGET_LIB_DEPS += \
|
||||
$(top_builddir)/src/gallium/winsys/intel/drm/libintelwinsys.la \
|
||||
$(top_builddir)/src/gallium/drivers/ilo/libilo.la \
|
||||
$(INTEL_LIBS)
|
||||
endif
|
||||
include $(top_srcdir)/src/gallium/drivers/ilo/Automake.inc
|
||||
|
||||
include $(top_srcdir)/src/gallium/drivers/nouveau/Automake.inc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue