Sync usage with man page.
[netbsd-mini2440.git] / x11 / Xserver / hw / netbsd / amiga / Makefile
blob458559c830616e4930c9e8b5563fc210fb5dd251
1 # $NetBSD: Makefile,v 1.2 2004/01/25 05:20:02 mhitch Exp $
3 .include "../../../Makefile.serverlib"
5 LIB= amiga
7 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/amiga
8 SRCS= amigaInit.c amigaCfb.c amigaCursor.c amigaFbs.c amigaIo.c \
9 amigaKbd.c amigaMfb.c amigaMouse.c amigaKeyMap.c amigaC.c \
10 amigaInEx.c
12 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/amiga/cirrus
13 SRCS.cirrus= amigaCL.c clbitblt.c clfillrct.c clbltC.c clgc.c clsolidC.c clwindow.c
15 .for _FN in ${SRCS.cirrus}
16 CPPFLAGS.${_FN}= -DPSZ=8
17 .endfor
19 SRCS+= ${SRCS.cirrus}
21 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/amiga/retina
22 SRCS+= amigaGX.c
24 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/amiga/s3
25 SRCS.s3= amigaCVscrin.c amigaCV.c amigaCVblt.c amigaCVfrect.c \
26 amiga8CVgc.c amiga16CVgc.c amiga32CVgc.c amigaCVim.c \
27 amigaCVline.c amigaCVCursor.c amigaCVseg.c amigaCVplypt.c \
28 mybcopyas.S amigaCVbstor.c s3bcach.c s3fcach.c s3text.c \
29 xf86bcache.c xf86fcache.c xf86text.c s3font.c s3ss.c
31 .for _FN in ${SRCS.s3}
32 CPPFLAGS.${_FN}= -DUSE_IMAGE_WRITE -DUSE_FONTCACHE
33 .endfor
35 SRCS+= ${SRCS.s3}
37 CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/amiga \
38 -I${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/amiga/cirrus \
39 -I${X11SRCDIR.xc}/programs/Xserver/mi \
40 -I${X11SRCDIR.xc}/programs/Xserver/fb \
41 -I${X11SRCDIR.xc}/programs/Xserver/mfb \
42 -I${X11SRCDIR.xc}/programs/Xserver/cfb \
43 -I${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/amiga/afb \
44 -I${X11SRCDIR.xc}/programs/Xserver/include \
45 -I${NETBSDSRCDIR}/sys/arch/amiga \
46 -I${DESTDIR}${X11INCDIR}/X11 \
47 -I${DESTDIR}${X11INCDIR}/X11/extensions \
48 -I${X11SRCDIR.xc}/include/fonts \
49 -I${XSERVERINCDIR}
51 CPPFLAGS+= -DAMIGAMAXDEPTH=32 -DGFX_CARD_SUPPORT -DAMIGA_CC_COLOR
52 CPPFLAGS+= -DCIRRUS_SUPPORT -DRETINAZ3_SUPPORT -DCV64_SUPPORT
53 #CPPFLAGS+= -DCV64_SUPPORT -DRETINAZ3_SUPPORT -DCIRRUS_SUPPORT
56 BUILDSYMLINKS= ../../../mi/miinitext.c amigaInEx.c \
57 clblt.c clbltC.c \
58 clsolid.c clsolidC.c
60 CPPFLAGS.clbltC.c+= -DMROP=Mcopy
61 CPPFLAGS.clsolidC.c+= -DRROP=GXcopy
63 COPTS.amigaCfb.c= -Wno-error
64 COPTS.amigaKbd.c= -Wno-error
66 .include <bsd.x11.mk>
67 .include <bsd.lib.mk>