summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am6
-rw-r--r--lib/Makefile.sources2
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 7232f966..460e0046 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -8,6 +8,12 @@ include Makefile.sources
noinst_LTLIBRARIES = libintel_tools.la
noinst_HEADERS = check-ndebug.h
+if HAVE_VC4
+ libintel_tools_la_SOURCES += \
+ igt_vc4.c \
+ igt_vc4.h
+endif
+
AM_CPPFLAGS = -I$(top_srcdir)
AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) $(LIBUNWIND_CFLAGS) $(DEBUG_CFLAGS) \
-DIGT_SRCDIR=\""$(abs_top_srcdir)/tests"\" \
diff --git a/lib/Makefile.sources b/lib/Makefile.sources
index 8a8143f2..49998680 100644
--- a/lib/Makefile.sources
+++ b/lib/Makefile.sources
@@ -16,8 +16,6 @@ libintel_tools_la_SOURCES = \
igt_gt.h \
igt_stats.c \
igt_stats.h \
- igt_vc4.c \
- igt_vc4.h \
instdone.c \
instdone.h \
intel_batchbuffer.c \