Sync usage with man page.
[netbsd-mini2440.git] / x11 / Xserver / hw / netbsd / dec / Makefile
blob370d6ae88458fa197dbfde25d7b17705ff2ab94a
1 # $NetBSD: Makefile,v 1.2 2004/02/07 06:52:05 lukem Exp $
3 .include "../../../Makefile.serverlib"
5 LIB= dec
7 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/dec
8 SRCS= decInit.c decFbs.c decIo.c decCursor.c decKbd.c decKeyMap.c \
9 decColormap.c decMouse.c decInEx.c
11 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/dec/sfb
12 SRCS+= decSFB.c sfbgc.c sfbbitblt.c sfbblt.c sfbwindow.c sfbsimpleblt.c \
13 sfb32gc.c sfb32bitblt.c sfb32blt.c sfb32window.c
15 CPPFLAGS.sfb32gc.c= -DPSZ=32
16 CPPFLAGS.sfb32bitblt.c= -DPSZ=32
17 CPPFLAGS.sfb32blt.c= -DPSZ=32
18 CPPFLAGS.sfb32window.c= -DPSZ=32
20 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/dec/px
21 SRCS+= pxbitblt.c pxbresd.c pxgc.c pxgetsp.c pxline.c pxpacket.c \
22 pxpolypnt.c pxsetsp.c pxwindow.c pxsegment.c pxfillrct.c \
23 pxfillrctS.c pxfillrctSO.c pxfillsp.c pxPglyph.c \
24 pxIglyph.c pximage.c pxmisc.c pxpushpxl.c pxfillarc.c \
25 pxzerarc.c decPX.c
27 CPPFLAGS.pxsegment.c= -D_POLYSEGMENT=1
28 CPPFLAGS.pxfillrctS.c= -D_STIPPLE=1
29 CPPFLAGS.pxfillrctSO.c= -D_STIPPLE=1 -D_OPAQUE=1
30 CPPFLAGS.pxPglyph.c= -D_POLYGLYPH=1
31 CPPFLAGS.pxIglyph.c= -D_IMAGEGLYPH=1
33 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/dec/cfb
34 SRCS+= decCfb.c
36 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/dec/mfb
37 SRCS+= decMfb.c
39 .if ${MACHINE_ARCH} == "alpha"
40 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/dec/tga
41 SRCS+= decTGA.c tgagc.c tgabitblt.c tgablt.c tgawindow.c tgasimpleblt.c \
42 tga32gc.c tga32bitblt.c tga32blt.c tga32window.c
44 CPPFLAGS.tga32gc.c= -DPSZ=32
45 CPPFLAGS.tga32bitblt.c= -DPSZ=32
46 CPPFLAGS.tga32blt.c= -DPSZ=32
47 CPPFLAGS.tga32window.c= -DPSZ=32
49 BUILDSYMLINKS= tgagc.c tga32gc.c \
50 tgabitblt.c tga32bitblt.c \
51 tgablt.c tga32blt.c \
52 tgawindow.c tga32window.c
54 .endif
56 CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/dec \
57 -I${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/dec/sfb \
58 -I${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/dec/px \
59 -I${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/dec/cfb \
60 -I${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/dec/mfb \
61 -I${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/dec/tga \
62 -I${X11SRCDIR.xc}/programs/Xserver/mfb \
63 -I${X11SRCDIR.xc}/programs/Xserver/mi \
64 -I${X11SRCDIR.xc}/programs/Xserver/cfb \
65 -I${X11SRCDIR.xc}/programs/Xserver/include \
66 -I${X11SRCDIR.xc}/programs/Xserver/os \
67 -I${DESTDIR}${X11INCDIR}/X11 \
68 -I${DESTDIR}${X11INCDIR}/X11/extensions \
69 -I${X11SRCDIR.xc}/include/fonts \
70 -I${XSERVERINCDIR}
72 COPTS.decKbd.c= -Wno-error
74 #CPPFLAGS+= -UXFree86LOADER -UXF86VIDMODE -UXFreeXDGA -UXF86MISC \
75 # -UXF86DRI -UXF86BIGFONT
77 BUILDSYMLINKS+= ../../../mi/miinitext.c decInEx.c \
78 sfbgc.c sfb32gc.c \
79 sfbbitblt.c sfb32bitblt.c \
80 sfbblt.c sfb32blt.c \
81 sfbwindow.c sfb32window.c \
82 pxline.c pxsegment.c \
83 pxfillrct.c pxfillrctS.c \
84 pxfillrct.c pxfillrctSO.c \
85 pxglyph.c pxPglyph.c \
86 pxglyph.c pxIglyph.c
88 .include <bsd.x11.mk>
89 .include <bsd.lib.mk>