xenocara/xserver/hw/xfree86/xf1bpp/Makefile.am

181 lines
5.7 KiB
Makefile
Raw Normal View History

2006-11-26 11:13:41 -07:00
module_LTLIBRARIES = libxf1bpp.la
sdk_HEADERS = xf1bpp.h mfbmap.h mfbunmap.h
libxf1bpp_la_LDFLAGS = -avoid-version
libxf1bppgen_a_SOURCES = \
mfbseg.c \
mfbpgbwht.c \
mfbpgbblak.c \
mfbpgbinv.c \
mfbigbwht.c \
mfbigbblak.c \
mfbpawhite.c \
mfbpablack.c \
mfbpainv.c \
mfbtewhite.c \
mfbteblack.c \
mfbplywhite.c \
mfbplyblack.c \
mfbplyinv.c \
mfbbltC.c \
mfbbltX.c \
mfbbltCI.c \
mfbbltO.c \
mfbbltG.c \
mfbtileC.c \
mfbtileG.c
libxf1bppmfb_a_SOURCES = \
2007-11-24 12:04:00 -07:00
maskbits.c \
mfbbitblt.c \
mfbbres.c \
mfbbresd.c \
mfbbstore.c \
mfbclip.c \
mfbcmap.c \
mfbfillarc.c \
mfbfillrct.c \
mfbfillsp.c \
mfbfont.c \
mfbgc.c \
mfbgetsp.c \
mfbhrzvert.c \
mfbimage.c \
mfbline.c \
mfbmisc.c \
mfbpixmap.c \
mfbpntwin.c \
mfbpolypnt.c \
mfbpushpxl.c \
mfbscrclse.c \
mfbscrinit.c \
mfbsetsp.c \
mfbwindow.c \
mfbzerarc.c
2006-11-26 11:13:41 -07:00
2007-11-24 12:04:00 -07:00
BUILT_SOURCES = $(libxf1bppmfb_a_SOURCES) $(libxf1bppgen_a_SOURCES)
2006-11-26 11:13:41 -07:00
2007-11-24 12:04:00 -07:00
libxf1bpp_la_SOURCES = $(libxf1bppmfb_a_SOURCES) $(libxf1bppgen_a_SOURCES) \
mfbmodule.c
AM_CFLAGS = -DXF86MONO $(DIX_CFLAGS) $(XORG_CFLAGS)
2006-11-26 11:13:41 -07:00
INCLUDES = $(XORG_INCS) -I$(top_srcdir)/mfb
mfbseg.c:
echo "#define POLYSEGMENT" > $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbline.c\"" >> $@
mfbpgbwht.c:
echo "#define MFBPOLYGLYPHBLT xf1bppPolyGlyphBltWhite" > $@
echo "#define OPEQ |=" >> $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbplygblt.c\"" >> $@
mfbpgbblak.c:
echo "#define MFBPOLYGLYPHBLT xf1bppPolyGlyphBltBlack" > $@
echo "#define OPEQ &=~" >> $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbplygblt.c\"" >> $@
mfbpgbinv.c:
echo "#define MFBPOLYGLYPHBLT xf1bppPolyGlyphBltInvert" > $@
echo "#define OPEQ ^=" >> $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbplygblt.c\"" >> $@
mfbigbwht.c:
echo "#define MFBIMAGEGLYPHBLT xf1bppImageGlyphBltWhite" > $@
echo "#define OPEQ |=" >> $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbimggblt.c\"" >> $@
mfbigbblak.c:
echo "#define MFBIMAGEGLYPHBLT xf1bppImageGlyphBltBlack" > $@
echo "#define OPEQ &=~" >> $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbimggblt.c\"" >> $@
mfbpawhite.c:
echo "#define MFBSOLIDFILLAREA xf1bppSolidWhiteArea" > $@
echo "#define MFBSTIPPLEFILLAREA xf1bppStippleWhiteArea" >> $@
echo "#define OPEQ |=" >> $@
echo "#define EQWHOLEWORD =~0" >> $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbpntarea.c\"" >> $@
mfbpablack.c:
echo "#define MFBSOLIDFILLAREA xf1bppSolidBlackArea" > $@
echo "#define MFBSTIPPLEFILLAREA xf1bppStippleBlackArea" >> $@
echo "#define OPEQ &=~" >> $@
echo "#define EQWHOLEWORD =0" >> $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbpntarea.c\"" >> $@
mfbpainv.c:
echo "#define MFBSOLIDFILLAREA xf1bppSolidInvertArea" > $@
echo "#define MFBSTIPPLEFILLAREA xf1bppStippleInvertArea" >> $@
echo "#define OPEQ ^=" >> $@
echo "#define EQWHOLEWORD ^=~0" >> $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbpntarea.c\"" >> $@
mfbtewhite.c:
echo "#define OP" > $@
echo "#define CLIPTETEXT xf1bppImageGlyphBltWhite" >> $@
echo "#define MFBTEGLYPHBLT xf1bppTEGlyphBltWhite" >> $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbtegblt.c\"" >> $@
mfbteblack.c:
echo "#define OP ~" > $@
echo "#define CLIPTETEXT xf1bppImageGlyphBltBlack" >> $@
echo "#define MFBTEGLYPHBLT xf1bppTEGlyphBltBlack" >> $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbtegblt.c\"" >> $@
mfbplywhite.c:
echo "#define MFBFILLPOLY1RECT xf1bppFillPolyWhite" > $@
echo "#define OPEQ |=" >> $@
echo "#define EQWHOLEWORD =~0" >> $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbply1rct.c\"" >> $@
mfbplyblack.c:
echo "#define MFBFILLPOLY1RECT xf1bppFillPolyBlack" > $@
echo "#define OPEQ &=~" >> $@
echo "#define EQWHOLEWORD =0" >> $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbply1rct.c\"" >> $@
mfbplyinv.c:
echo "#define MFBFILLPOLY1RECT xf1bppFillPolyInvert" > $@
echo "#define OPEQ ^=" >> $@
echo "#define EQWHOLEWORD ^=~0" >> $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbply1rct.c\"" >> $@
mfbbltC.c:
echo "#define MROP Mcopy" > $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbblt.c\"" >> $@
mfbbltX.c:
echo "#define MROP Mxor" > $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbblt.c\"" >> $@
mfbbltCI.c:
echo "#define MROP McopyInverted" > $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbblt.c\"" >> $@
mfbbltO.c:
echo "#define MROP Mor" > $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbblt.c\"" >> $@
mfbbltG.c:
echo "#define MROP M0" > $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbblt.c\"" >> $@
mfbtileC.c:
echo "#define MROP Mcopy" > $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbtile.c\"" >> $@
mfbtileG.c:
echo "#define MRop M0" > $@
2007-11-24 12:04:00 -07:00
echo "#include \"mfbmap.h\"" >> $@
2006-11-26 11:13:41 -07:00
echo "#include \"$(top_srcdir)/mfb/mfbtile.c\"" >> $@
2007-11-24 12:04:00 -07:00
$(libxf1bppmfb_a_SOURCES):
echo "#include \"mfbmap.h\"" > $@
echo "#include \"$(top_srcdir)/mfb/$@\"" >> $@
2006-11-26 11:13:41 -07:00
EXTRA_DIST = mfbmap.sh mfbunmap.sh
2007-11-24 12:04:00 -07:00
DISTCLEANFILES = $(BUILT_SOURCES)