summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/vga256/vga/Imakefile
blob: def27f7cfe366893c5d41cf366f88b56ba9eebdd (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
XCOMM $XConsortium: Imakefile,v 1.3 95/01/06 20:58:59 kaleb Exp kaleb $
XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/vga256/vga/Imakefile,v 3.4 1995/01/26 02:21:32 dawes Exp $
#include <Server.tmpl>

FSRCS =  fBitBlt.s fFillCopy.s fFillOr.s fFillAnd.s \
         fFillXor.s fFillSet.s vgabres.s vgalineH.s vgalineV.s

SRCS =	 vgagc.c vgawindow.c vgascrinit.c \
	 vgapntwin.c vgapwinS.c vgabitblt.c \
	 vgafillsp.c vgasetsp.c vgaimage.c \
	 vgagetsp.c vgafillrct.c vgaBitBlt.c \
	 vgasolidC.c vgasolidCS.c vgasolidX.c \
	 vgasolidO.c vgasolidA.c vgasolidG.c \
	 vgatile32C.c vgatile32G.c \
	 vgatileoddC.c vgatileoddG.c \
	 vgazerarcC.c vgazerarcX.c vgazerarcG.c \
	 vgafillarcC.c vgafillarcG.c \
	 vgategblt.c vgabstore.c vga8cppl.c \
	 vgabltC.c vgabltCS.c vgabltX.c vgabltO.c vgabltG.c \
	 vgateblt8.c vgateblt8S.c vgaglblt8.c vgaglrop8.c \
 	 vgapush8.c vgarctstp8.c vgarctstp8S.c vgapolypnt.c \
	 vgaline.c vgalineS.c vgabresd.c \
	 vgalined.c vgasegd.c vgaseg.c vgasegS.c \
	 vgaply1rctC.c vgaply1rctG.c vgafuncs.c \
	 SpeedUpBlt.c BitBlt.s BitBlt2.s Box.s Line.s \
	 VHLine.s vgaBanks.c $(FSRCS) vgaHW.c vga.c vgaCmap.c vgaBank.s

FOBJS =  fBitBlt.o fFillCopy.o fFillXor.o fFillOr.o fFillAnd.o \
         fFillSet.o vgabres.o vgalineH.o vgalineV.o

OBJS =   vgagc.o vgawindow.o vgascrinit.o \
	 vgagetsp.o vgafillrct.o vgaimage.o \
	 vgasolidC.o vgasolidCS.o vgasolidX.o \
	 vgasolidO.o vgasolidA.o vgasolidG.o \
	 vgatile32C.o vgatile32G.o \
	 vgatileoddC.o vgatileoddG.o \
	 vgafillsp.o vgasetsp.o \
	 vgapntwin.o vgapwinS.o vgaBitBlt.o \
	 vgazerarcC.o vgazerarcX.o vgazerarcG.o \
	 vgafillarcC.o vgafillarcG.o \
	 vgategblt.o vgabstore.o vga8cppl.o \
	 vgateblt8.o vgateblt8S.o vgaglblt8.o vgaglrop8.o \
 	 vgarctstp8.o vgarctstp8S.o vgapolypnt.o \
	 vgaline.o vgalineS.o vgabresd.o \
	 vgalined.o vgasegd.o vgaseg.o vgasegS.o \
 	 vgabitblt.o vgabltC.o vgabltCS.o vgabltX.o \
	 vgabltO.o vgabltG.o \
	 vgapush8.o vgaply1rctC.o vgaply1rctG.o $(STIPPLEOBJ) vgafuncs.o \
	 SpeedUpBlt.o BitBlt.o BitBlt2.o Box.o Line.o \
	 VHLine.o vgaBanks.o $(FOBJS) vgaHW.o vga.o vgaCmap.o vgaBank.o

   INCLUDES = -I. -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(XF86HWSRC) \
	      -I$(SERVERSRC)/cfb -I$(SERVERSRC)/mfb -I$(SERVERSRC)/mi \
              -I$(SERVERSRC)/include -I$(INCLUDESRC) -I$(FONTINCSRC) \
	      -I../vgainit
   LINTLIBS = ../../../dix/llib-ldix.ln ../../../os/llib-los.ln \
	     ../../mfb/llib-lmfb.ln ../../mi/llib-lmi.ln

#if DirtyStartup
STARTUPDEFINES = -DDIRTY_STARTUP
#endif

    DEFINES = $(SPEEDUPDEFINES) $(STARTUPDEFINES) -DPSZ=8

VGADRIVERS = XF86Vga256Drivers

SubdirLibraryRule($(OBJS))
NormalLibraryObjectRule()
NormalAsmObjectRule()

NormalLintTarget($(SRCS))

ObjectFromSpecialAsmSource(BitBlt,../enhanced/suBitBlt,NullParameter)
ObjectFromSpecialAsmSource(BitBlt2,../enhanced/suBBlt2,NullParameter)
ObjectFromSpecialAsmSource(Box,../enhanced/suBox,NullParameter)
ObjectFromSpecialAsmSource(Line,../enhanced/suLine,NullParameter)
ObjectFromSpecialAsmSource(VHLine,../enhanced/suVHLine,NullParameter)
ObjectFromSpecialAsmSource(vgabres,../enhanced/fLineBres,NullParameter)
ObjectFromSpecialAsmSource(vgalineH,../enhanced/fLineH,NullParameter)
ObjectFromSpecialAsmSource(vgalineV,../enhanced/fLineV,NullParameter)
ObjectFromSpecialSource(vgaBanks,../enhanced/gBanks,NullParameter)
LinkSourceFile(fBitBlt.s,../enhanced)
LinkSourceFile(fFill.s,../enhanced)
LinkSourceFile(fFillSet.s,../enhanced)
LinkSourceFile(SpeedUpBlt.c,../enhanced)
LinkSourceFile(vgaBitBlt.c,../enhanced)
LinkSourceFile(vgaFasm.h,../enhanced)

ObjectFromSpecialSource(vgaseg,vgaline,-DPOLYSEGMENT)
ObjectFromSpecialSource(vgasegd,vgalined,-DPOLYSEGMENT)
ObjectFromSpecialSource(vgaglrop8,vgaglblt8,-DGLYPHROP)
SpecialObjectRule(vgaglblt8.o,vgaglblt8.c,$(STIPPLEDEF))

ObjectFromSpecialSource(vgalineS,vgaline,-DSPEEDUP)
ObjectFromSpecialSource(vgasegS,vgaline,-DSPEEDUP -DPOLYSEGMENT)
ObjectFromSpecialSource(vgateblt8S,vgateblt8,-DSPEEDUP)
ObjectFromSpecialSource(vgarctstp8S,vgarctstp8,-DSPEEDUP)

ObjectFromSpecialSource(vgafillarcC,vgafillarc,-DRROP=GXcopy)
ObjectFromSpecialSource(vgafillarcG,vgafillarc,-DRROP=GXset)

ObjectFromSpecialSource(vgazerarcC,vgazerarc,-DRROP=GXcopy)
ObjectFromSpecialSource(vgazerarcX,vgazerarc,-DRROP=GXxor)
ObjectFromSpecialSource(vgazerarcG,vgazerarc,-DRROP=GXset)

ObjectFromSpecialSource(vgabltCS,vgablt,-DMROP=Mcopy -DSPEEDUP)
ObjectFromSpecialSource(vgabltX,vgablt,-DMROP=Mxor)
ObjectFromSpecialSource(vgabltO,vgablt,-DMROP=Mor)
ObjectFromSpecialSource(vgabltG,vgablt,-DMROP=0)

ObjectFromSpecialSource(vgasolidC,vgasolid,-DRROP=GXcopy)
ObjectFromSpecialSource(vgasolidCS,vgasolid,-DRROP=GXcopy -DSPEEDUP)
ObjectFromSpecialSource(vgasolidX,vgasolid,-DRROP=GXxor)
ObjectFromSpecialSource(vgasolidO,vgasolid,-DRROP=GXor)
ObjectFromSpecialSource(vgasolidA,vgasolid,-DRROP=GXand)
ObjectFromSpecialSource(vgasolidG,vgasolid,-DRROP=GXset)

ObjectFromSpecialSource(vgatile32C,vgatile32,-DMROP=Mcopy)
ObjectFromSpecialSource(vgatile32G,vgatile32,-DMROP=0)

ObjectFromSpecialSource(vgatileoddC,vgatileodd,-DMROP=Mcopy)
ObjectFromSpecialSource(vgatileoddG,vgatileodd,-DMROP=0)

ObjectFromSpecialSource(vgaply1rctC,vgaply1rct,-DRROP=GXcopy)
ObjectFromSpecialSource(vgaply1rctG,vgaply1rct,-DRROP=GXset)

ObjectFromSpecialAsmSource(fFillAnd,fFill,-DRROP=GXAnd)
ObjectFromSpecialAsmSource(fFillCopy,fFill,-DRROP=GXCopy)
ObjectFromSpecialAsmSource(fFillOr,fFill,-DRROP=GXOr)
ObjectFromSpecialAsmSource(fFillXor,fFill,-DRROP=GXXor)

InstallLinkKitNonExecFile(vga.h,$(LINKKITDIR)/drivers)
InstallLinkKitNonExecFile(vgaBank.h,$(LINKKITDIR)/drivers)
InstallLinkKitNonExecFile(vga.h,$(LINKKITDIR)/include)
InstallLinkKitNonExecFile(vga256.h,$(LINKKITDIR)/include)
InstallLinkKitNonExecFile(vgaFasm.h,$(LINKKITDIR)/include)
InstallLinkKitNonExecFile(vgaHW.c,$(LINKKITDIR)/VGADriverDoc)

#ifndef OS2Architecture
DependTarget()
#endif