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
|
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:53:32 cpqbld Exp $
XCOMM $XFree86: xc/programs/Xserver/mfb/Imakefile,v 3.15 2001/01/17 22:37:01 dawes Exp $
#define IHaveModules
#include <Server.tmpl>
#ifdef XFree86Version
#if DoLoadableServer
XF86INCL = -I$(XF86COMSRC) -I$(XF86SRC)
XFMODSRC = mfbmodule.c
XFMODOBJ = mfbmodule.o
#endif
#endif
#if BuildLowMem
DEFINES=-ULOWMEMFTPT
#endif
SRCS1 = mfbgc.c mfbwindow.c mfbfont.c \
mfbfillrct.c mfbpntwin.c maskbits.c mfbpixmap.c \
mfbimage.c mfbline.c mfbbres.c mfbhrzvert.c mfbbresd.c \
mfbpushpxl.c mfbzerarc.c mfbfillarc.c \
mfbfillsp.c mfbsetsp.c mfbscrinit.c mfbscrclse.c mfbclip.c \
mfbbitblt.c mfbgetsp.c mfbpolypnt.c \
mfbbltC.c mfbbltX.c mfbbltCI.c mfbbltO.c mfbbltG.c \
mfbcmap.c mfbtileC.c mfbtileG.c mfbmisc.c mfbbstore.c $(XFMODSRC)
SRCS = $(SRCS1) mfbseg.c mfbpgbwht.c mfbpgbblak.c mfbpgbinv.c mfbigbwht.c \
mfbigbblak.c mfbpawhite.c mfbpablack.c mfbpainv.c mfbtewhite.c \
mfbteblack.c mfbbltC.c mfbbltX.c mfbbltCI.c mfbbltO.c mfbbltG.c \
mfbtileC.c mfbtileG.c mfbplywhite.c mfbplyblack.c mfbplyinv.c
OBJS = mfbgc.o mfbwindow.o mfbfont.o \
mfbfillrct.o mfbpntwin.o maskbits.o mfbpixmap.o \
mfbimage.o mfbline.o mfbbres.o mfbhrzvert.o mfbbresd.o mfbseg.o \
mfbpushpxl.o mfbzerarc.o mfbfillarc.o \
mfbfillsp.o mfbsetsp.o mfbscrinit.o mfbscrclse.o mfbclip.o \
mfbbitblt.o mfbgetsp.o mfbpolypnt.o \
mfbbltC.o mfbbltX.o mfbbltCI.o mfbbltO.o mfbbltG.o \
mfbpgbwht.o mfbpgbblak.o mfbpgbinv.o \
mfbigbwht.o mfbigbblak.o mfbcmap.o \
mfbpawhite.o mfbpablack.o mfbpainv.o mfbtileC.o mfbtileG.o \
mfbtewhite.o mfbteblack.o mfbmisc.o mfbbstore.o \
mfbplywhite.o mfbplyblack.o mfbplyinv.o $(XFMODOBJ)
INCLUDES = -I. -I../mi -I../include -I$(XINCLUDESRC) -I$(FONTINCSRC) $(XF86INCL)
LINTDEFS = -DMFBPOLYGLYPHBLT=mfbPolyGlyphBltWhite \
-DMFBIMAGEGLYPHBLT=mfbImageGlyphBltWhite \
-DEQWHOLEWORD=MFB_EQWHOLEWORD_WHITE -DOPEQ=MFB_OPEQ_WHITE
LINTLIBS = ../dix/llib-ldix.ln ../os/llib-los.ln ../mi/llib-lmi.ln
ModuleObjectRule()
LibraryModuleTarget(mfb,$(OBJS))
LintLibraryTarget(mfb,$(SRCS1))
NormalLintTarget($(LINTDEFS) $(SRCS1))
ObjectFromSpecialSource(mfbseg,mfbline,-DPOLYSEGMENT)
ObjectFromSpecialSource(mfbpgbwht,mfbplygblt,-DMFBPOLYGLYPHBLT=mfbPolyGlyphBltWhite -DOPEQ=MFB_OPEQ_WHITE)
ObjectFromSpecialSource(mfbpgbblak,mfbplygblt,-DMFBPOLYGLYPHBLT=mfbPolyGlyphBltBlack -DOPEQ=MFB_OPEQ_BLACK)
ObjectFromSpecialSource(mfbpgbinv,mfbplygblt,-DMFBPOLYGLYPHBLT=mfbPolyGlyphBltInvert -DOPEQ=MFB_OPEQ_INVERT)
ObjectFromSpecialSource(mfbigbwht,mfbimggblt,-DMFBIMAGEGLYPHBLT=mfbImageGlyphBltWhite -DOPEQ=MFB_OPEQ_WHITE)
ObjectFromSpecialSource(mfbigbblak,mfbimggblt,-DMFBIMAGEGLYPHBLT=mfbImageGlyphBltBlack -DOPEQ=MFB_OPEQ_BLACK)
ObjectFromSpecialSource(mfbpawhite,mfbpntarea,-DMFBSOLIDFILLAREA=mfbSolidWhiteArea -DMFBSTIPPLEFILLAREA=mfbStippleWhiteArea -DOPEQ=MFB_OPEQ_WHITE -DEQWHOLEWORD=MFB_EQWHOLEWORD_WHITE)
ObjectFromSpecialSource(mfbpablack,mfbpntarea,-DMFBSOLIDFILLAREA=mfbSolidBlackArea -DMFBSTIPPLEFILLAREA=mfbStippleBlackArea -DOPEQ=MFB_OPEQ_BLACK -DEQWHOLEWORD=MFB_EQWHOLEWORD_BLACK)
ObjectFromSpecialSource(mfbpainv,mfbpntarea,-DMFBSOLIDFILLAREA=mfbSolidInvertArea -DMFBSTIPPLEFILLAREA=mfbStippleInvertArea -DOPEQ=MFB_OPEQ_INVERT -DEQWHOLEWORD=MFB_EQWHOLEWORD_INVERT)
ObjectFromSpecialSource(mfbtewhite,mfbtegblt,-DMFBTEGLYPHBLT=mfbTEGlyphBltWhite -DOP=MFB_OP_WHITE -DCLIPTETEXT=mfbImageGlyphBltWhite)
ObjectFromSpecialSource(mfbteblack,mfbtegblt,-DMFBTEGLYPHBLT=mfbTEGlyphBltBlack -DOP=MFB_OP_BLACK -DCLIPTETEXT=mfbImageGlyphBltBlack)
ObjectFromSpecialSource(mfbplywhite,mfbply1rct,-DMFBFILLPOLY1RECT=mfbFillPolyWhite -DOPEQ=MFB_OPEQ_WHITE -DEQWHOLEWORD=MFB_EQWHOLEWORD_WHITE)
ObjectFromSpecialSource(mfbplyblack,mfbply1rct,-DMFBFILLPOLY1RECT=mfbFillPolyBlack -DOPEQ=MFB_OPEQ_BLACK -DEQWHOLEWORD=MFB_EQWHOLEWORD_BLACK)
ObjectFromSpecialSource(mfbplyinv,mfbply1rct,-DMFBFILLPOLY1RECT=mfbFillPolyInvert -DOPEQ=MFB_OPEQ_INVERT -DEQWHOLEWORD=MFB_EQWHOLEWORD_INVERT)
ObjectFromSpecialSource(mfbbltC,mfbblt,-DMROP=Mcopy)
ObjectFromSpecialSource(mfbbltX,mfbblt,-DMROP=Mxor)
ObjectFromSpecialSource(mfbbltCI,mfbblt,-DMROP=McopyInverted)
ObjectFromSpecialSource(mfbbltO,mfbblt,-DMROP=Mor)
ObjectFromSpecialSource(mfbbltG,mfbblt,-DMROP=0)
ObjectFromSpecialSource(mfbtileC,mfbtile,-DMROP=Mcopy)
ObjectFromSpecialSource(mfbtileG,mfbtile,-DMROP=0)
SpecialCObjectRule(mfbpixmap,$(ICONFIGFILES),$(_NOOP_))
InstallLibraryModule(mfb,$(MODULEDIR),.)
#ifndef OS2Architecture
DependTarget()
#endif
InstallDriverSDKLibraryModule(mfb,$(DRIVERSDKMODULEDIR),.)
InstallDriverSDKNonExecFile(mfb.h,$(DRIVERSDKINCLUDEDIR))
|