Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / Xserver / hw / xfree86 / Makefile
blob45f431571ac69ebeb44c03f0459f8449365415e3
1 # $NetBSD: Makefile,v 1.15 2007/04/22 23:42:38 macallan Exp $
3 .include <bsd.own.mk>
5 SUBDIR= ddc doc drivers dummy etc fbdevhw i2c input int10 loader \
6 pcidata rac ramdac scanpci shadowfb vbe vgahw xaa xf1bpp \
7 xf24_32bpp xf4bpp xf86 xf86_os xf86config xf8_16bpp \
8 xf8_32bpp
10 .if ${MACHINE_ARCH} == "sparc64"
11 SUBDIR+= xf8_32wid
12 .endif
14 .if ${MACHINE_ARCH} == "sparc"
15 SUBDIR+= xf8_32wid
16 .endif
18 SUBDIR+= xloader .WAIT bin
20 .if ${X11DRI} != "no"
21 SUBDIR+= drm
22 .endif
24 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86
26 BUILDSYMLINKS= XF86Conf.cpp XF86Config.eg.cpp \
27 XF98Conf.cpp XF86Config.98.cpp
29 CPPSCRIPTS= XF86Config.eg XF86Config.98
31 CPPSCRIPTFLAGS= -DRGBPATH=\"${X11LIBDIR}/rgb\" \
32 -DMISCFONTPATH=\"${X11FONTDIR}/misc/\" \
33 -DLOCALFONTPATH=\"${X11FONTDIR}/local/\" \
34 -DT1FONTPATH=\"${X11FONTDIR}/Type1/\" \
35 -DCIDFONTPATH=\"${X11FONTDIR}/CID/\" \
36 -DSPFONTPATH=\"${X11FONTDIR}/Speedo/\" \
37 -DDPI75FONTPATH=\"${X11FONTDIR}/75dpi/\" \
38 -DDPI100FONTPATH=\"${X11FONTDIR}/100dpi/\" \
39 -DDPI75USFONTPATH=\"${X11FONTDIR}/75dpi/:unscaled\" \
40 -DDPI100USFONTPATH=\"${X11FONTDIR}/100dpi/:unscaled\" \
41 -DMANPAGE=${X11MANDIR}/cat5/XF86Config.0 \
42 -DMODULEPATH=\"${X11USRLIBDIR}/modules\"
44 CPPSCRIPTFLAGS_XF86Config.98=${CPPSCRIPTFLAGS} \
45 -DFREEBSDMOUSEDEV='\# Option "Device" "/dev/mse0"' \
46 -DNETBSDNEWMOUSEDEV='Option "Device" "/dev/lms0"' \
47 -DNETBSDOLDMOUSEDEV='\# Option "Device" "/dev/mms0"' \
48 -DLINUXMOUSEDEV='\# Option "Device" "/dev/mouse"' \
50 ${CPPSCRIPTS}: Makefile
52 FILES= ${CPPSCRIPTS}
53 FILESDIR= ${X11LIBDIR}
55 .include <bsd.x11.mk>
56 .include <bsd.files.mk>
57 .include <bsd.subdir.mk>
58 .include <bsd.obj.mk>