blob: 2d971c5ac6672b980e92d86be95e69527f4e8379 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
libintel_tools_la_SOURCES = \
debug.h \
drmtest.c \
drmtest.h \
i830_reg.h \
i915_3d.h \
i915_reg.h \
i915_pciids.h \
igt_debugfs.c \
igt_debugfs.h \
igt_aux.c \
igt_aux.h \
instdone.c \
instdone.h \
intel_batchbuffer.c \
intel_batchbuffer.h \
intel_chipset.h \
intel_os.c \
intel_io.h \
intel_mmio.c \
intel_chipset.c \
intel_reg.h \
ioctl_wrappers.c \
ioctl_wrappers.h \
media_fill.h \
media_fill_gen7.c \
media_fill_gen8.c \
gen7_media.h \
gen8_media.h \
rendercopy_i915.c \
rendercopy_i830.c \
gen6_render.h \
gen7_render.h \
gen8_render.h \
rendercopy_gen6.c \
rendercopy_gen7.c \
rendercopy_gen8.c \
rendercopy.h \
intel_reg_map.c \
intel_iosf.c \
igt_kms.c \
igt_kms.h \
igt_edid.h \
igt_fb.c \
igt_fb.h \
igt_core.c \
igt_core.h \
$(NULL)
.PHONY: version.h.tmp
version.h.tmp:
@touch $@
@if test -d $(top_srcdir)/.git; then \
if which git > /dev/null 2>&1; then git log -n 1 --oneline | \
sed 's/^\([^ ]*\) .*/#define IGT_GIT_SHA1 "g\1"/' \
>> $@ ; \
else \
echo '#define IGT_GIT_SHA1 "NO-GIT"' >> $@ ; \
fi \
else \
echo '#define IGT_GIT_SHA1 "NOT-GIT"' >> $@ ; \
fi
version.h: version.h.tmp
@if ! cmp -s version.h.tmp version.h; then \
echo "updating version.h"; \
mv version.h.tmp version.h ;\
else \
rm version.h.tmp ;\
fi
BUILT_SOURCES = version.h
CLEANFILES = version.h version.h.tmp
|