1 # $NetBSD: Makefile,v 1.2 2004/02/07 06:52:07 lukem Exp $
3 XMODULEDIR
= ${X11USRLIBDIR}/modules
5 .
include "../../../Makefile.serverlib"
8 .PATH
: ${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/${LIB}
9 SRCS
= maskbits.c mfbbitblt.c mfbbltC.c mfbbltCI.c mfbbltG.c mfbbltO.c \
10 mfbbltX.c mfbbres.c mfbbresd.c mfbbstore.c mfbclip.c mfbcmap.c \
11 mfbfillarc.c mfbfillrct.c mfbfillsp.c mfbfont.c mfbgc.c mfbgetsp.c \
12 mfbhrzvert.c mfbigbblak.c mfbigbwht.c mfbimage.c mfbline.c mfbmisc.c \
13 mfbmodule.c mfbpablack.c mfbpainv.c mfbpawhite.c mfbpgbblak.c \
14 mfbpgbinv.c mfbpgbwht.c mfbpixmap.c mfbplyblack.c mfbplyinv.c \
15 mfbplywhite.c mfbpntwin.c mfbpolypnt.c mfbpushpxl.c mfbscrclse.c \
16 mfbscrinit.c mfbseg.c mfbsetsp.c mfbteblack.c mfbtewhite.c mfbtileC.c \
17 mfbtileG.c mfbwindow.c mfbzerarc.c
19 CPPFLAGS
+= -I
${X11SRCDIR.xc
} \
20 -I
${X11SRCDIR.xc
}/include/fonts \
21 -I
${X11SRCDIR.xc
}/programs
/Xserver
/mfb \
22 -I
${X11SRCDIR.xc
}/programs
/Xserver
/mi \
23 -I
${X11SRCDIR.xc
}/programs
/Xserver
/include \
24 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/${LIB} \
25 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/common \
26 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86 \
27 -I
${DESTDIR}${X11INCDIR}/X11 \
30 CPPFLAGS.mfbbltC.c
= -DMROP
=Mcopy
31 CPPFLAGS.mfbbltCI.c
= -DMROP
=McopyInverted
32 CPPFLAGS.mfbbltO.c
= -DMROP
=Mor
33 CPPFLAGS.mfbbltG.c
= -DMROP
=0
34 CPPFLAGS.mfbbltX.c
= -DMROP
=Mxor
35 CPPFLAGS.mfbigbblak.c
= -DMFBIMAGEGLYPHBLT
=mfbImageGlyphBltBlack
-DOPEQ
=\
&=\~
36 CPPFLAGS.mfbigbwht.c
= -DMFBIMAGEGLYPHBLT
=mfbImageGlyphBltWhite
-DOPEQ
=\|
=
37 CPPFLAGS.mfbpablack.c
= -DMFBSOLIDFILLAREA
=mfbSolidBlackArea \
38 -DMFBSTIPPLEFILLAREA
=mfbStippleBlackArea \
39 -DOPEQ
=\
&=\~
-DEQWHOLEWORD
=\
=0
40 CPPFLAGS.mfbpainv.c
= -DMFBSOLIDFILLAREA
=mfbSolidInvertArea \
41 -DMFBSTIPPLEFILLAREA
=mfbStippleInvertArea \
42 -DOPEQ
=\^
= -DEQWHOLEWORD
=\^
=\~
0
43 CPPFLAGS.mfbpawhite.c
= -DMFBSOLIDFILLAREA
=mfbSolidWhiteArea \
44 -DMFBSTIPPLEFILLAREA
=mfbStippleWhiteArea
-DOPEQ
=\|
= \
46 CPPFLAGS.mfbpgbblak.c
= -DMFBPOLYGLYPHBLT
=mfbPolyGlyphBltBlack
-DOPEQ
=\
&=\~
47 CPPFLAGS.mfbpgbinv.c
= -DMFBPOLYGLYPHBLT
=mfbPolyGlyphBltInvert
-DOPEQ
=\^
=
48 CPPFLAGS.mfbpgbwht.c
= -DMFBPOLYGLYPHBLT
=mfbPolyGlyphBltWhite
-DOPEQ
=\|
=
49 CPPFLAGS.mfbplyblack.c
= -DMFBFILLPOLY1RECT
=mfbFillPolyBlack
-DOPEQ
=\
&=\~ \
51 CPPFLAGS.mfbplyinv.c
= -DMFBFILLPOLY1RECT
=mfbFillPolyInvert
-DOPEQ
=\^
= \
53 CPPFLAGS.mfbplywhite.c
= -DMFBFILLPOLY1RECT
=mfbFillPolyWhite
-DOPEQ
=\|
= \
55 CPPFLAGS.mfbseg.c
= -DPOLYSEGMENT
56 CPPFLAGS.mfbteblack.c
= -DMFBTEGLYPHBLT
=mfbTEGlyphBltBlack
-DOP
=\~ \
57 -DCLIPTETEXT
=mfbImageGlyphBltBlack
58 CPPFLAGS.mfbtewhite.c
= -DMFBTEGLYPHBLT
=mfbTEGlyphBltWhite
-DOP
= \
59 -DCLIPTETEXT
=mfbImageGlyphBltWhite
60 CPPFLAGS.mfbtileC.c
= -DMROP
=Mcopy
61 CPPFLAGS.mfbtileG.c
= -DMROP
=0
63 BUILDSYMLINKS
= mfbline.c mfbseg.c \
64 mfbplygblt.c mfbpgbwht.c \
65 mfbplygblt.c mfbpgbblak.c \
66 mfbplygblt.c mfbpgbinv.c \
67 mfbimggblt.c mfbigbwht.c \
68 mfbimggblt.c mfbigbblak.c \
69 mfbpntarea.c mfbpawhite.c \
70 mfbpntarea.c mfbpablack.c \
71 mfbpntarea.c mfbpainv.c \
72 mfbtegblt.c mfbtewhite.c \
73 mfbtegblt.c mfbteblack.c \
74 mfbply1rct.c mfbplywhite.c \
75 mfbply1rct.c mfbplyblack.c \
76 mfbply1rct.c mfbplyinv.c \
82 mfbtile.c mfbtileC.c \
85 GENSRCS
= maskbits.c mfbbitblt.c mfbblt.c mfbbres.c mfbbresd.c \
86 mfbbstore.c mfbclip.c mfbcmap.c mfbfillarc.c mfbfillrct.c \
87 mfbfillsp.c mfbfont.c mfbgc.c mfbgetsp.c mfbhrzvert.c \
88 mfbimage.c mfbimggblt.c mfbline.c mfbmisc.c mfbpixmap.c \
89 mfbply1rct.c mfbplygblt.c mfbpntarea.c mfbpntwin.c \
90 mfbpolypnt.c mfbpushpxl.c mfbscrclse.c mfbscrinit.c \
91 mfbsetsp.c mfbtegblt.c mfbtile.c mfbwindow.c mfbzerarc.c
95 ${f}: ..
/..
/..
/mfb
/${f}
99 echo
'#include "mfbmap.h"' ; \
100 echo
'#include "../../../mfb/${f}"' ; \
104 .
include <bsd.x11.mk
>
105 LIBDIR
= ${XMODULEDIR}
106 .
include <bsd.lib.mk
>