Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5361 | serge | 1 | VME_CORE = batchbuffer.asm intra_frame.asm inter_frame.asm |
2 | VME7_CORE = batchbuffer.asm intra_frame_ivb.asm inter_frame_ivb.asm inter_bframe_ivb.asm mpeg2_inter_ivb.asm |
||
3 | VME75_CORE = batchbuffer.asm intra_frame_haswell.asm inter_frame_haswell.asm inter_bframe_haswell.asm mpeg2_inter_haswell.asm |
||
4 | VME8_CORE = intra_frame_gen8.asm inter_frame_gen8.asm inter_bframe_gen8.asm mpeg2_inter_gen8.asm |
||
5 | |||
6 | INTEL_G6B = batchbuffer.g6b intra_frame.g6b inter_frame.g6b |
||
7 | INTEL_G6A = batchbuffer.g6a intra_frame.g6a inter_frame.g6a |
||
8 | INTEL_GEN6_INC = batchbuffer.inc vme.inc |
||
9 | INTEL_GEN6_ASM = $(INTEL_G6A:%.g6a=%.gen6.asm) |
||
10 | |||
11 | INTEL_G7B = batchbuffer.g7b intra_frame.g7b inter_frame.g7b intra_frame_ivb.g7b inter_frame_ivb.g7b inter_bframe_ivb.g7b mpeg2_inter_ivb.g7b |
||
12 | INTEL_G7A = batchbuffer.g7a intra_frame.g7a inter_frame.g7a intra_frame_ivb.g7a inter_frame_ivb.g7a inter_bframe_ivb.g7a mpeg2_inter_ivb.g7a |
||
13 | INTEL_GEN7_INC = batchbuffer.inc vme.inc vme7_mpeg2.inc vme7.inc |
||
14 | INTEL_GEN7_ASM = $(INTEL_G7A:%.g7a=%.gen7.asm) |
||
15 | |||
16 | INTEL_G75B = batchbuffer.g75b intra_frame_haswell.g75b inter_frame_haswell.g75b inter_bframe_haswell.g75b mpeg2_inter_haswell.g75b |
||
17 | INTEL_G75A = batchbuffer.g75a intra_frame_haswell.g75a inter_frame_haswell.g75a inter_bframe_haswell.g75a mpeg2_inter_haswell.g75a |
||
18 | INTEL_GEN75_INC = batchbuffer.inc vme75.inc vme75_mpeg2.inc |
||
19 | INTEL_GEN75_ASM = $(INTEL_G75A:%.g75a=%.gen75.asm) |
||
20 | |||
21 | |||
22 | INTEL_G8B = intra_frame_gen8.g8b inter_frame_gen8.g8b inter_bframe_gen8.g8b mpeg2_inter_gen8.g8b |
||
23 | INTEL_G8A = intra_frame_gen8.g8a inter_frame_gen8.g8a inter_bframe_gen8.g8a mpeg2_inter_gen8.g8a |
||
24 | INTEL_GEN8_INC = vme8.inc vme75_mpeg2.inc |
||
25 | INTEL_GEN8_ASM = $(INTEL_G8A:%.g8a=%.gen8.asm) |
||
26 | |||
27 | |||
28 | TARGETS = |
||
29 | if HAVE_GEN4ASM |
||
30 | TARGETS += $(INTEL_G6B) |
||
31 | TARGETS += $(INTEL_G7B) |
||
32 | TARGETS += $(INTEL_G75B) |
||
33 | TARGETS += $(INTEL_G8B) |
||
34 | endif |
||
35 | |||
36 | all-local: $(TARGETS) |
||
37 | |||
38 | SUFFIXES = .g6a .g6b .g7a .g7b .gen6.asm .gen7.asm .g75a .g75b .gen75.asm .g8a .g8b .gen8.asm |
||
39 | |||
40 | if HAVE_GEN4ASM |
||
41 | $(INTEL_GEN6_ASM): $(VME_CORE) $(INTEL_GEN6_INC) |
||
42 | .g6a.gen6.asm: |
||
43 | $(AM_V_GEN)cpp -P -DDEV_SNB $< > _vme0.$@ && \ |
||
44 | m4 _vme0.$@ > $@ && \ |
||
45 | rm _vme0.$@ |
||
46 | .gen6.asm.g6b: |
||
47 | $(AM_V_GEN)$(GEN4ASM) -g 6 -o $@ $< |
||
48 | |||
49 | $(INTEL_GEN7_ASM): $(VME7_CORE) $(INTEL_GEN7_INC) |
||
50 | .g7a.gen7.asm: |
||
51 | $(AM_V_GEN)cpp -P -DDEV_IVB $< > _vme0.$@ && \ |
||
52 | m4 _vme0.$@ > $@ && \ |
||
53 | rm _vme0.$@ |
||
54 | .gen7.asm.g7b: |
||
55 | $(AM_V_GEN)$(GEN4ASM) -g 7 -o $@ $< |
||
56 | |||
57 | |||
58 | $(INTEL_GEN75_ASM): $(VME75_CORE) $(INTEL_GEN75_INC) |
||
59 | .g75a.gen75.asm: |
||
60 | $(AM_V_GEN)cpp -P $< > _vme0.$@ && \ |
||
61 | m4 _vme0.$@ > $@ && \ |
||
62 | rm _vme0.$@ |
||
63 | .gen75.asm.g75b: |
||
64 | $(AM_V_GEN)$(GEN4ASM) -g 7.5 -o $@ $< |
||
65 | |||
66 | $(INTEL_GEN8_ASM): $(VME8_CORE) $(INTEL_GEN8_INC) |
||
67 | .g8a.gen8.asm: |
||
68 | $(AM_V_GEN)cpp -P $< > _vme0.$@ && \ |
||
69 | m4 _vme0.$@ > $@ && \ |
||
70 | rm _vme0.$@ |
||
71 | .gen8.asm.g8b: |
||
72 | $(AM_V_GEN)$(GEN4ASM) -g 8 -o $@ $< |
||
73 | |||
74 | endif |
||
75 | |||
76 | CLEANFILES = $(INTEL_GEN6_ASM) $(INTEL_GEN7_ASM) $(INTEL_GEN75_ASM) $(INTEL_GEN8_ASM) |
||
77 | |||
78 | EXTRA_DIST = \ |
||
79 | $(INTEL_G6A) \ |
||
80 | $(INTEL_G6B) \ |
||
81 | $(INTEL_G75A) \ |
||
82 | $(INTEL_G75B) \ |
||
83 | $(INTEL_G7A) \ |
||
84 | $(INTEL_G7B) \ |
||
85 | $(INTEL_G8A) \ |
||
86 | $(INTEL_G8B) \ |
||
87 | $(INTEL_GEN6_INC) \ |
||
88 | $(INTEL_GEN75_INC) \ |
||
89 | $(INTEL_GEN7_INC) \ |
||
90 | $(INTEL_GEN8_INC) \ |
||
91 | $(VME75_CORE) \ |
||
92 | $(VME7_CORE) \ |
||
93 | $(VME8_CORE) \ |
||
94 | $(VME_CORE) \ |
||
95 | $(NULL) |
||
96 | |||
97 | # Extra clean files so that maintainer-clean removes *everything* |
||
98 | MAINTAINERCLEANFILES = Makefile.in |