1 module_LTLIBRARIES = libxf1bpp.la
3 sdk_HEADERS = xf1bpp.h mfbmap.h mfbunmap.h
5 libxf1bpp_la_LDFLAGS = -avoid-version
7 libxf1bppgen_a_SOURCES = \
30 libxf1bppmfb_a_SOURCES = \
58 BUILT_SOURCES = $(libxf1bppmfb_a_SOURCES) $(libxf1bppgen_a_SOURCES)
60 libxf1bpp_la_SOURCES = $(libxf1bppmfb_a_SOURCES) $(libxf1bppgen_a_SOURCES) \
63 AM_CFLAGS = -DXF86MONO $(DIX_CFLAGS) $(XORG_CFLAGS)
64 INCLUDES = $(XORG_INCS) -I$(top_srcdir)/mfb
67 echo "#define POLYSEGMENT" > $@
68 echo "#include \"mfbmap.h\"" >> $@
69 echo "#include \"$(top_srcdir)/mfb/mfbline.c\"" >> $@
71 echo "#define MFBPOLYGLYPHBLT xf1bppPolyGlyphBltWhite" > $@
72 echo "#define OPEQ |=" >> $@
73 echo "#include \"mfbmap.h\"" >> $@
74 echo "#include \"$(top_srcdir)/mfb/mfbplygblt.c\"" >> $@
76 echo "#define MFBPOLYGLYPHBLT xf1bppPolyGlyphBltBlack" > $@
77 echo "#define OPEQ &=~" >> $@
78 echo "#include \"mfbmap.h\"" >> $@
79 echo "#include \"$(top_srcdir)/mfb/mfbplygblt.c\"" >> $@
81 echo "#define MFBPOLYGLYPHBLT xf1bppPolyGlyphBltInvert" > $@
82 echo "#define OPEQ ^=" >> $@
83 echo "#include \"mfbmap.h\"" >> $@
84 echo "#include \"$(top_srcdir)/mfb/mfbplygblt.c\"" >> $@
86 echo "#define MFBIMAGEGLYPHBLT xf1bppImageGlyphBltWhite" > $@
87 echo "#define OPEQ |=" >> $@
88 echo "#include \"mfbmap.h\"" >> $@
89 echo "#include \"$(top_srcdir)/mfb/mfbimggblt.c\"" >> $@
91 echo "#define MFBIMAGEGLYPHBLT xf1bppImageGlyphBltBlack" > $@
92 echo "#define OPEQ &=~" >> $@
93 echo "#include \"mfbmap.h\"" >> $@
94 echo "#include \"$(top_srcdir)/mfb/mfbimggblt.c\"" >> $@
96 echo "#define MFBSOLIDFILLAREA xf1bppSolidWhiteArea" > $@
97 echo "#define MFBSTIPPLEFILLAREA xf1bppStippleWhiteArea" >> $@
98 echo "#define OPEQ |=" >> $@
99 echo "#define EQWHOLEWORD =~0" >> $@
100 echo "#include \"mfbmap.h\"" >> $@
101 echo "#include \"$(top_srcdir)/mfb/mfbpntarea.c\"" >> $@
103 echo "#define MFBSOLIDFILLAREA xf1bppSolidBlackArea" > $@
104 echo "#define MFBSTIPPLEFILLAREA xf1bppStippleBlackArea" >> $@
105 echo "#define OPEQ &=~" >> $@
106 echo "#define EQWHOLEWORD =0" >> $@
107 echo "#include \"mfbmap.h\"" >> $@
108 echo "#include \"$(top_srcdir)/mfb/mfbpntarea.c\"" >> $@
110 echo "#define MFBSOLIDFILLAREA xf1bppSolidInvertArea" > $@
111 echo "#define MFBSTIPPLEFILLAREA xf1bppStippleInvertArea" >> $@
112 echo "#define OPEQ ^=" >> $@
113 echo "#define EQWHOLEWORD ^=~0" >> $@
114 echo "#include \"mfbmap.h\"" >> $@
115 echo "#include \"$(top_srcdir)/mfb/mfbpntarea.c\"" >> $@
117 echo "#define OP" > $@
118 echo "#define CLIPTETEXT xf1bppImageGlyphBltWhite" >> $@
119 echo "#define MFBTEGLYPHBLT xf1bppTEGlyphBltWhite" >> $@
120 echo "#include \"mfbmap.h\"" >> $@
121 echo "#include \"$(top_srcdir)/mfb/mfbtegblt.c\"" >> $@
123 echo "#define OP ~" > $@
124 echo "#define CLIPTETEXT xf1bppImageGlyphBltBlack" >> $@
125 echo "#define MFBTEGLYPHBLT xf1bppTEGlyphBltBlack" >> $@
126 echo "#include \"mfbmap.h\"" >> $@
127 echo "#include \"$(top_srcdir)/mfb/mfbtegblt.c\"" >> $@
129 echo "#define MFBFILLPOLY1RECT xf1bppFillPolyWhite" > $@
130 echo "#define OPEQ |=" >> $@
131 echo "#define EQWHOLEWORD =~0" >> $@
132 echo "#include \"mfbmap.h\"" >> $@
133 echo "#include \"$(top_srcdir)/mfb/mfbply1rct.c\"" >> $@
135 echo "#define MFBFILLPOLY1RECT xf1bppFillPolyBlack" > $@
136 echo "#define OPEQ &=~" >> $@
137 echo "#define EQWHOLEWORD =0" >> $@
138 echo "#include \"mfbmap.h\"" >> $@
139 echo "#include \"$(top_srcdir)/mfb/mfbply1rct.c\"" >> $@
141 echo "#define MFBFILLPOLY1RECT xf1bppFillPolyInvert" > $@
142 echo "#define OPEQ ^=" >> $@
143 echo "#define EQWHOLEWORD ^=~0" >> $@
144 echo "#include \"mfbmap.h\"" >> $@
145 echo "#include \"$(top_srcdir)/mfb/mfbply1rct.c\"" >> $@
147 echo "#define MROP Mcopy" > $@
148 echo "#include \"mfbmap.h\"" >> $@
149 echo "#include \"$(top_srcdir)/mfb/mfbblt.c\"" >> $@
151 echo "#define MROP Mxor" > $@
152 echo "#include \"mfbmap.h\"" >> $@
153 echo "#include \"$(top_srcdir)/mfb/mfbblt.c\"" >> $@
155 echo "#define MROP McopyInverted" > $@
156 echo "#include \"mfbmap.h\"" >> $@
157 echo "#include \"$(top_srcdir)/mfb/mfbblt.c\"" >> $@
159 echo "#define MROP Mor" > $@
160 echo "#include \"mfbmap.h\"" >> $@
161 echo "#include \"$(top_srcdir)/mfb/mfbblt.c\"" >> $@
163 echo "#define MROP M0" > $@
164 echo "#include \"mfbmap.h\"" >> $@
165 echo "#include \"$(top_srcdir)/mfb/mfbblt.c\"" >> $@
167 echo "#define MROP Mcopy" > $@
168 echo "#include \"mfbmap.h\"" >> $@
169 echo "#include \"$(top_srcdir)/mfb/mfbtile.c\"" >> $@
171 echo "#define MRop M0" > $@
172 echo "#include \"mfbmap.h\"" >> $@
173 echo "#include \"$(top_srcdir)/mfb/mfbtile.c\"" >> $@
175 $(libxf1bppmfb_a_SOURCES):
176 echo "#include \"mfbmap.h\"" > $@
177 echo "#include \"$(top_srcdir)/mfb/$@\"" >> $@
179 EXTRA_DIST = mfbmap.sh mfbunmap.sh
180 DISTCLEANFILES = $(BUILT_SOURCES)