aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/afb/Imakefile
blob: 340f3ba2eeb6f648f8b833ae8a5635e9f212da1c (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
XCOMM $XFree86: xc/programs/Xserver/afb/Imakefile,v 3.6 1999/08/14 10:49:26 dawes Exp $
XCOMM $XConsortium: Imakefile,v 1.38 94/03/11 18:47:47 dpw Exp $
#define IHaveModules
#include <Server.tmpl>

#if (defined(XFree86Version) || defined(XorgVersion))
#if DoLoadableServer
MODSRC = afbmodule.c
MODOBJ = afbmodule.o
#endif
#endif

SRCS1 =	 afbgc.c afbwindow.c afbfont.c afbfillrct.c afbpntwin.c afbpixmap.c \
	 afbimage.c afbline.c afbbres.c afbhrzvert.c afbbresd.c afbpushpxl.c \
	 afbzerarc.c afbfillarc.c afbfillsp.c afbsetsp.c afbscrinit.c \
	 afbclip.c afbbitblt.c afbgetsp.c afbpolypnt.c afbbltC.c afbbltX.c \
	 afbbltCI.c afbbltO.c afbbltG.c afbcmap.c afbtileC.c afbtileG.c \
	 afbmisc.c afbbstore.c

SRCS =	 $(SRCS1) afbseg.c afbbltC.c afbbltX.c afbbltCI.c afbbltO.c afbbltG.c \
	 afbtileC.c afbtileG.c $(MODSRC)

OBJS =   afbgc.o afbwindow.o afbfont.o afbpixmap.o afbfillsp.o afbsetsp.o \
	 afbscrinit.o afbclip.o afbbitblt.o afbgetsp.o afbbltC.o afbbltX.o \
	 afbbltCI.o afbbltO.o afbbltG.o afbcmap.o afbimage.o afbzerarc.o \
	 afbfillarc.o afbply1rct.o afbtileC.o afbtileG.o afbfillrct.o \
	 afbpolypnt.o afbmisc.o afbbstore.o afbbresd.o afbimggblt.o \
	 afbpushpxl.o afbplygblt.o afbtegblt.o afbpntwin.o afbpntarea.o \
	 afbbres.o afbhrzvert.o afbline.o afbseg.o $(MODOBJ)

INCLUDES = -I. -I../cfb -I../mfb -I../mi -I../include -I$(XINCLUDESRC) \
	   -I$(FONTINCSRC) $(EXTRAINCLUDES)
LINTDEFS = -DMFBPOLYGLYPHBLT=afbPolyGlyphBltWhite \
	   -DMFBIMAGEGLYPHBLT=afbImageGlyphBltWhite \
	   -DEQWHOLEWORD=MFB_EQWHOLEWORD_WHITE -DOPEQ=MFB_OPEQ_WHITE

LINTLIBS = ../dix/llib-ldix.ln ../os/llib-los.ln \
		../mfb/llib-lmfb.ln ../mi/llib-lmi.ln

ModuleObjectRule()
LibraryModuleTarget(afb,$(OBJS))
LintLibraryTarget(afb,$(SRCS1))
NormalLintTarget($(LINTDEFS) $(SRCS1))

ObjectFromSpecialSource(afbseg,afbline,-DPOLYSEGMENT)

ObjectFromSpecialSource(afbbltC,afbblt,-DMROP=Mcopy)

ObjectFromSpecialSource(afbbltX,afbblt,-DMROP=Mxor)

ObjectFromSpecialSource(afbbltCI,afbblt,-DMROP=McopyInverted)

ObjectFromSpecialSource(afbbltO,afbblt,-DMROP=Mor)

ObjectFromSpecialSource(afbbltG,afbblt,-DMROP=0)

ObjectFromSpecialSource(afbtileC,afbtile,-DMROP=Mcopy)

ObjectFromSpecialSource(afbtileG,afbtile,-DMROP=0)

InstallLibraryModule(afb,$(MODULEDIR),.)

DependTarget()

InstallDriverSDKLibraryModule(afb,$(DRIVERSDKMODULEDIR),.)

InstallDriverSDKNonExecFile(afb.h,$(DRIVERSDKINCLUDEDIR))