summaryrefslogtreecommitdiff
path: root/cfb/Makefile.am.inc
blob: a2ee143aa2953c83fa0a897d72c6663e2f1d467b (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
libcfb_gen_sources = cfbseg.c cfbfillarcC.c cfbfillarcG.c cfbzerarcC.c cfbzerarcX.c cfbzerarcG.c \
	cfbbltC.c cfbbltX.c cfbbltO.c cfbbltG.c cfbsolidC.c cfbsolidX.c cfbsolidG.c cfbtileoddC.c \
	cfbtileoddG.c cfbtile32C.c cfbtile32G.c cfb8lineCO.c cfb8lineCP.c cfb8lineX.c cfb8lineG.c \
	cfb8segCS.c cfb8segC.c cfb8segX.c cfb8setG.c cfbply1rctC.c cfbply1rctG.c

DISTCLEANFILES = $(libcfb_gen_sources)

CFB_INCLUDES = -I$(top_srcdir)/mfb -I$(top_srcdir)/cfb

libcfb_common_sources =  $(top_srcdir)/cfb/cfbgc.c $(top_srcdir)/cfb/cfbrrop.c \
	$(top_srcdir)/cfb/cfbwindow.c \
	$(top_srcdir)/cfb/cfbmskbits.c $(top_srcdir)/cfb/cfbpixmap.c \
	$(top_srcdir)/cfb/cfbbitblt.c $(top_srcdir)/cfb/cfbfillsp.c \
	$(top_srcdir)/cfb/cfbsetsp.c $(top_srcdir)/cfb/cfbscrinit.c \
	$(top_srcdir)/cfb/cfballpriv.c $(top_srcdir)/cfb/cfbgetsp.c \
	$(top_srcdir)/cfb/cfbfillrct.c $(top_srcdir)/cfb/cfbigblt8.c \
	$(top_srcdir)/cfb/cfbglblt8.c $(top_srcdir)/cfb/cfbtegblt.c \
	$(top_srcdir)/cfb/cfbpolypnt.c \
	$(top_srcdir)/cfb/cfbbres.c $(top_srcdir)/cfb/cfbline.c \
	$(top_srcdir)/cfb/cfbhrzvert.c $(top_srcdir)/cfb/cfbbresd.c \
	$(top_srcdir)/cfb/cfbimage.c $(top_srcdir)/cfb/cfbcppl.c \
	$(top_srcdir)/cfb/cfbcmap.c

cfbseg.c:
	echo "#define POLYSEGMENT" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbline.c\"" >> $@

cfbfillarcC.c:
	echo "#define RROP GXcopy" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbfillarc.c\"" >> $@

cfbfillarcG.c:
	echo "#define RROP GXset" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbfillarc.c\"" >> $@

cfbzerarcC.c:
	echo "#define RROP GXcopy" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbzerarc.c\"" >> $@

cfbzerarcX.c:
	echo "#define RROP GXxor" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbzerarc.c\"" >> $@

cfbzerarcG.c:
	echo "#define RROP GXset" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbzerarc.c\"" >> $@

cfbbltC.c:
	echo "#define MROP Mcopy" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbblt.c\"" >> $@

cfbbltX.c:
	echo "#define MROP Mxor" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbblt.c\"" >> $@

cfbbltO.c:
	echo "#define MROP Mor" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbblt.c\"" >> $@

cfbbltG.c:
	echo "#define MROP 0" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbblt.c\"" >> $@

cfbsolidC.c:
	echo "#define RROP GXcopy" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbsolid.c\"" >> $@

cfbsolidX.c:
	echo "#define RROP GXxor" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbsolid.c\"" >> $@

cfbsolidG.c:
	echo "#define RROP GXset" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbsolid.c\"" >> $@

cfbtileoddC.c:
	echo "#define MROP Mcopy" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbtileodd.c\"" >> $@

cfbtileoddG.c:
	echo "#define MROP 0" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbtileodd.c\"" >> $@

cfbtile32C.c:
	echo "#define MROP Mcopy" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbtile32.c\"" >> $@

cfbtile32G.c:
	echo "#define MROP 0" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbtile32.c\"" >> $@

cfb8lineCO.c:
	echo "#define RROP GXcopy" > $@
	echo "#include \"$(top_srcdir)/cfb/cfb8line.c\"" >> $@

cfb8lineCP.c:
	echo "#define RROP GXcopy" > $@
	echo "#define PREVIOUS" >> $@
	echo "#include \"$(top_srcdir)/cfb/cfb8line.c\"" >> $@

cfb8lineX.c:
	echo "#define RROP GXxor" > $@
	echo "#include \"$(top_srcdir)/cfb/cfb8line.c\"" >> $@

cfb8lineG.c:
	echo "#define RROP GXset" > $@
	echo "#include \"$(top_srcdir)/cfb/cfb8line.c\"" >> $@

cfb8segCS.c:
	echo "#define RROP GXcopy" > $@
	echo "#define POLYSEGMENT" >> $@
	echo "#define WIDTH_SHIFT" >> $@
	echo "#include \"$(top_srcdir)/cfb/cfb8line.c\"" >> $@

cfb8segC.c:
	echo "#define RROP GXcopy" > $@
	echo "#define POLYSEGMENT" >> $@
	echo "#include \"$(top_srcdir)/cfb/cfb8line.c\"" >> $@

cfb8segX.c:
	echo "#define RROP GXxor" > $@
	echo "#define POLYSEGMENT" >> $@
	echo "#include \"$(top_srcdir)/cfb/cfb8line.c\"" >> $@

cfb8setG.c:
	echo "#define RROP GXset" > $@
	echo "#define POLYSEGMENT" >> $@
	echo "#include \"$(top_srcdir)/cfb/cfb8line.c\"" >> $@

cfbply1rctC.c:
	echo "#define RROP GXcopy" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbply1rct.c\"" >> $@

cfbply1rctG.c:
	echo "#define RROP GXset" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbply1rct.c\"" >> $@

cfbglrop8.c:
	echo "#define GLYPHROP" > $@
	echo "#include \"$(top_srcdir)/cfb/cfbglblt8.c\"" >> $@


if XPRINT

PLATFORMDEFS = -DXFREE86

cfb8bit.o:   compiler.h

compiler.h:
	echo "#include \"$(top_srcdir)/hw/xfree86/common/compiler.h\"" >> $@

endif