etc/protocols - sync with NetBSD-8
[minix.git] / external / mit / xorg / server / xorg-server / cfb / Makefile.cfb
blob8f028f6ec0002fa83e8f855a52ea371d2e94f388
1 #       $NetBSD: Makefile.cfb,v 1.4 2008/10/24 19:47:24 macallan Exp $
3 .PATH:          ${X11SRCDIR.xorg-server}/cfb
4 SRCS.cfb+=      cfbseg.c cfbfillarcC.c cfbfillarcG.c cfbzerarcC.c \
5                 cfbzerarcX.c cfbzerarcG.c cfbbltC.c cfbbltX.c \
6                 cfbbltO.c cfbbltG.c cfbsolidC.c cfbsolidX.c \
7                 cfbsolidG.c cfbtileoddC.c cfbtileoddG.c cfbtile32C.c \
8                 cfbtile32G.c cfb8lineCO.c cfb8lineCP.c cfb8lineX.c \
9                 cfb8lineG.c cfb8segCS.c cfb8segC.c cfb8segX.c \
10                 cfb8setG.c cfbply1rctC.c cfbply1rctG.c
12 SRCS.cfb+=      cfbgc.c cfbrrop.c cfbwindow.c cfbpntwin.c \
13                 cfbmskbits.c cfbpixmap.c cfbbitblt.c cfbfillsp.c \
14                 cfbsetsp.c cfbscrinit.c cfballpriv.c cfbgetsp.c \
15                 cfbfillrct.c cfbigblt8.c cfbglblt8.c cfbtegblt.c \
16                 cfbbstore.c cfbpolypnt.c cfbbres.c cfbline.c \
17                 cfbhrzvert.c cfbbresd.c cfbimage.c cfbcppl.c \
18                 cfbcmap.c
20 X11XSERVERDIR=  ${X11SRCDIR.xorg-server}
22 .if 0
23 BUILDSYMLINKS=  cfbline.c cfbseg.c \
24                 cfbfillarc.c cfbfillarcC.c \
25                 cfbfillarc.c cfbfillarcG.c \
26                 cfbzerarc.c cfbzerarcC.c \
27                 cfbzerarc.c cfbzerarcX.c \
28                 cfbzerarc.c cfbzerarcG.c \
29                 cfbblt.c cfbbltC.c \
30                 cfbblt.c cfbbltX.c \
31                 cfbblt.c cfbbltO.c \
32                 cfbblt.c cfbbltG.c \
33                 cfbsolid.c cfbsolidC.c \
34                 cfbsolid.c cfbsolidX.c \
35                 cfbsolid.c cfbsolidG.c \
36                 cfbtileodd.c cfbtileoddC.c \
37                 cfbtileodd.c cfbtileoddG.c \
38                 cfbtile32.c cfbtile32C.c \
39                 cfbtile32.c cfbtile32G.c \
40                 cfb8line.c cfb8lineCO.c \
41                 cfb8line.c cfb8lineCP.c \
42                 cfb8line.c cfb8lineX.c \
43                 cfb8line.c cfb8lineG.c \
44                 cfb8line.c cfb8segCS.c \
45                 cfb8line.c cfb8segC.c \
46                 cfb8line.c cfb8segX.c \
47                 cfb8line.c cfb8segG.c \
48                 cfbply1rct.c cfbply1rctC.c \
49                 cfbply1rct.c cfbply1rctG.c \
50                 ${X11XSERVERDIR}/cfb32/cfbmodule.c cfbmodule32.c
51 .endif
52                 
54 .if ${PIXELSIZE} == 8                                                   # {
55 SRCS.cfb+=      cfb8bit.c cfbteblt8.c cfbglrop8.c cfbpush8.c cfbrctstp8.c
56 .if 0
57 BUILDSYMLINKS+= cfbglblt8.c cfbglrop8.c
58 .endif
59 .endif                                                                  # }
61 .include "../Makefile.common"
63 .if ${XSERVER_XAMIGA} != "no"
64 CPPFLAGS+=      -DFORCE_SEPARATE_PRIVATE
65 .endif
67 CPPFLAGS+=      -I${X11SRCDIR.xorg-server}/cfb \
68                 -I${X11SRCDIR.xorg-server}/mfb \
69                 -I${X11SRCDIR.xorg-server}/mi \
70                 -I${X11SRCDIR.xorg-server}/include \
71                 -I${DESTDIR}${X11INCDIR}/xorg \
72                 -I${DESTDIR}${X11INCDIR}/pixman-1 \
73                 -I${X11SRCDIR.xorg-server}/Xext
75 # XXX some path so that "../../mfb/mfbblt.c" works
76 CPPFLAGS+=      -I${X11SRCDIR.xorg-server}/hw/xfree86
78 CPPFLAGS+=      -DPSZ=${PIXELSIZE} -DXFREE86
81 .if 0
82 CPPFLAGS.cfb8lineCO.c=  -DRROP=GXcopy
83 CPPFLAGS.cfb8lineCP.c=  -DRROP=GXcopy -DPREVIOUS
84 CPPFLAGS.cfb8lineG.c=   -DRROP=GXset
85 CPPFLAGS.cfb8lineX.c=   -DRROP=GXxor
86 CPPFLAGS.cfb8segC.c=    -DRROP=GXcopy -DPOLYSEGMENT
87 CPPFLAGS.cfb8segCS.c=   -DRROP=GXcopy -DPOLYSEGMENT -DWIDTH_SHIFT
88 CPPFLAGS.cfb8segG.c=    -DRROP=GXset -DPOLYSEGMENT
89 CPPFLAGS.cfb8segX.c=    -DRROP=GXxor -DPOLYSEGMENT
90 CPPFLAGS.cfbbltC.c=     -DMROP=Mcopy
91 CPPFLAGS.cfbbltG.c=     -DMROP=0
92 CPPFLAGS.cfbbltO.c=     -DMROP=Mor
93 CPPFLAGS.cfbbltX.c=     -DMROP=Mxor
94 CPPFLAGS.cfbcmap.c=     ${X11FLAGS.EXTENSION} -DGLXEXT -DGLX_USE_MESA
95 CPPFLAGS.cfbfillarcC.c= -DRROP=GXcopy
96 CPPFLAGS.cfbfillarcG.c= -DRROP=GXset
97 CPPFLAGS.cfbglrop8.c=   -DGLYPHROP
98 CPPFLAGS.cfbply1rctC.c= -DRROP=GXcopy
99 CPPFLAGS.cfbply1rctG.c= -DRROP=GXset
100 CPPFLAGS.cfbseg.c=      -DPOLYSEGMENT
101 CPPFLAGS.cfbsolidC.c=   -DRROP=GXcopy
102 CPPFLAGS.cfbsolidG.c=   -DRROP=GXset
103 CPPFLAGS.cfbsolidX.c=   -DRROP=GXxor
104 CPPFLAGS.cfbtile32C.c=  -DMROP=Mcopy
105 CPPFLAGS.cfbtile32G.c=  -DMROP=0
106 CPPFLAGS.cfbtileoddC.c= -DMROP=Mcopy
107 CPPFLAGS.cfbtileoddG.c= -DMROP=0
108 CPPFLAGS.cfbzerarcC.c=  -DRROP=GXcopy
109 CPPFLAGS.cfbzerarcG.c=  -DRROP=GXset
110 CPPFLAGS.cfbzerarcX.c=  -DRROP=GXxor
111 .endif
113 # XXX
114 COPTS.cfbgc.c=          -Wno-error
115 COPTS.cfbscrinit.c=     -Wno-error
117 .include <bsd.x11.mk>
118 LIBDIR= ${XMODULEDIR}
119 .include <bsd.lib.mk>