aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/iplan2p4/Imakefile
blob: 3a3526156e61e5fc0b5c6d103e618d968f4f62d2 (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
XCOMM $XFree86: xc/programs/Xserver/iplan2p4/Imakefile,v 3.4 1999/04/17 09:08:48 dawes Exp $
XCOMM $XConsortium: Imakefile,v 5.41 93/09/06 18:37:23 rws Exp $
#include <Server.tmpl>

#ifndef IPlanes
#define IPlanes 4
#endif

SRCS =	 iplgc.c iplrrop.c iplwindow.c \
	 iplpntwin.c iplmskbits.c iplpixmap.c iplbitblt.c \
	 iplfillsp.c iplsetsp.c iplscrinit.c iplallpriv.c \
	 iplgetsp.c iplfillrct.c \
	 iplsolidC.c iplsolidX.c iplsolidG.c \
	 ipltileoddC.c ipltileoddG.c ipltile32C.c ipltile32G.c \
	 iplcmap.c \
	 iplfillarcC.c iplfillarcG.c \
	 ipltegblt.c iplbstore.c \
	 iplpolypnt.c \
	 iplbres.c iplline.c iplhrzvert.c iplbresd.c iplimage.c iplseg.c \
	 iplbitblt.c iplbltC.c iplbltX.c iplbltO.c iplbltG.c \
	 iplply1rctC.c iplply1rctG.c iplpack.c

OBJS =   iplgc.o iplrrop.o iplwindow.o \
	 iplgetsp.o iplfillrct.o \
	 iplsolidC.o iplsolidX.o iplsolidG.o \
	 ipltileoddC.o ipltileoddG.o ipltile32C.o ipltile32G.o \
	 iplfillsp.o iplsetsp.o iplscrinit.o iplallpriv.o \
	 iplpntwin.o iplmskbits.o iplpixmap.o \
	 iplcmap.o \
	 iplfillarcC.o iplfillarcG.o \
	 ipltegblt.o iplbstore.o \
	 iplpolypnt.o \
	 iplbres.o iplline.o iplhrzvert.o iplbresd.o iplimage.o iplseg.o \
 	 iplbitblt.o iplbltC.o iplbltX.o iplbltO.o iplbltG.o \
	 iplply1rctC.o iplply1rctG.o iplpack.o

   INCLUDES = -I. -I../cfb -I../mfb -I../mi -I../include -I$(XINCLUDESRC) \
	      -I$(FONTINCSRC) $(EXTRAINCLUDES)
   LINTLIBS = ../dix/llib-ldix.ln ../os/llib-los.ln \
	     ../mfb/llib-lmfb.ln ../mi/llib-lmi.ln
    DEFINES = -DINTER_PLANES=IPlanes

NormalLibraryObjectRule()
#if IPlanes == 2
NormalLibraryTarget(ipl2p2,$(OBJS))
LintLibraryTarget(ipl2p2,$(SRCS))
#elif IPlanes == 4
NormalLibraryTarget(ipl2p4,$(OBJS))
LintLibraryTarget(ipl2p4,$(SRCS))
#elif IPlanes == 8
NormalLibraryTarget(ipl2p8,$(OBJS))
LintLibraryTarget(ipl2p8,$(SRCS))
#endif

NormalLintTarget($(SRCS))

#ifdef LinkDirectory

LinkSourceFile(ipl.h,LinkDirectory)
LinkSourceFile(iplallpriv.c,LinkDirectory)
LinkSourceFile(iplbitblt.c,LinkDirectory)
LinkSourceFile(iplblt.c,LinkDirectory)
LinkSourceFile(iplbres.c,LinkDirectory)
LinkSourceFile(iplbresd.c,LinkDirectory)
LinkSourceFile(iplbstore.c,LinkDirectory)
LinkSourceFile(iplcmap.c,LinkDirectory)
LinkSourceFile(iplfillarc.c,LinkDirectory)
LinkSourceFile(iplfillrct.c,LinkDirectory)
LinkSourceFile(iplfillsp.c,LinkDirectory)
LinkSourceFile(iplgc.c,LinkDirectory)
LinkSourceFile(iplgetsp.c,LinkDirectory)
LinkSourceFile(iplhrzvert.c,LinkDirectory)
LinkSourceFile(iplimage.c,LinkDirectory)
LinkSourceFile(iplline.c,LinkDirectory)
LinkSourceFile(iplmap.h,LinkDirectory)
LinkSourceFile(iplmergerop.h,LinkDirectory)
LinkSourceFile(iplmskbits.c,LinkDirectory)
LinkSourceFile(iplmskbits.h,LinkDirectory)
LinkSourceFile(iplpack.c,LinkDirectory)
LinkSourceFile(iplpack.h,LinkDirectory)
LinkSourceFile(iplpixmap.c,LinkDirectory)
LinkSourceFile(iplply1rct.c,LinkDirectory)
LinkSourceFile(iplpntwin.c,LinkDirectory)
LinkSourceFile(iplpolypnt.c,LinkDirectory)
LinkSourceFile(iplrrop.c,LinkDirectory)
LinkSourceFile(iplrrop.h,LinkDirectory)
LinkSourceFile(iplscrinit.c,LinkDirectory)
LinkSourceFile(iplsetsp.c,LinkDirectory)
LinkSourceFile(iplsolid.c,LinkDirectory)
LinkSourceFile(ipltegblt.c,LinkDirectory)
LinkSourceFile(ipltile32.c,LinkDirectory)
LinkSourceFile(ipltileodd.c,LinkDirectory)
LinkSourceFile(iplwindow.c,LinkDirectory)
#endif

ObjectFromSpecialSource(iplseg,iplline,-DPOLYSEGMENT)

ObjectFromSpecialSource(iplfillarcC,iplfillarc,-DRROP=GXcopy)
ObjectFromSpecialSource(iplfillarcG,iplfillarc,-DRROP=GXset)

ObjectFromSpecialSource(iplbltC,iplblt,-DMROP=Mcopy)
ObjectFromSpecialSource(iplbltX,iplblt,-DMROP=Mxor)
ObjectFromSpecialSource(iplbltO,iplblt,-DMROP=Mor)
ObjectFromSpecialSource(iplbltG,iplblt,-DMROP=0)

ObjectFromSpecialSource(iplsolidC,iplsolid,-DRROP=GXcopy)
ObjectFromSpecialSource(iplsolidX,iplsolid,-DRROP=GXxor)
ObjectFromSpecialSource(iplsolidG,iplsolid,-DRROP=GXset)

ObjectFromSpecialSource(ipltileoddC,ipltileodd,-DMROP=Mcopy)
ObjectFromSpecialSource(ipltileoddG,ipltileodd,-DMROP=0)

ObjectFromSpecialSource(ipltile32C,ipltile32,-DMROP=Mcopy)
ObjectFromSpecialSource(ipltile32G,ipltile32,-DMROP=0)

ObjectFromSpecialSource(iplply1rctC,iplply1rct,-DRROP=GXcopy)
ObjectFromSpecialSource(iplply1rctG,iplply1rct,-DRROP=GXset)

DependTarget()