1 # $NetBSD: Makefile,v 1.11 2004/11/29 16:49:18 skrll Exp $
5 CPPSCRIPTS
= Xresources Xservers.ws xdm-config
7 CPPSCRIPTFLAGS_Xresources
= -DXPM
-DBITMAPDIR
=${X11INCDIR}/X11
/pixmaps \
8 -DXDM_PIXMAP
=NetBSD.xpm \
9 -DXDM_BWPIXMAP
=NetBSDbw.xpm
11 # native only gives DEFAULTVT for i386 and amd64.
12 .if
${MACHINE_ARCH} == "i386" ||
${MACHINE_ARCH} == "x86_64" ||
${MACHINE} == "cats"
15 DEFAULTVT
= # defined empty
18 CPPSCRIPTFLAGS_Xservers.ws
= -DBINDIR
=${X11BINDIR} -DDEFAULTVT
=${DEFAULTVT}
19 CPPSCRIPTFLAGS_xdm-config
= -DXDMDIR
=${XDMDIR} \
20 -DXDMAUTHDIR
=${XDMVARDIR} \
21 -DXDMLOGDIR
=${XDMLOGDIR} \
22 -DXDMPIDDIR
=${XDMPIDDIR} \
25 CONFIGFILES
= GiveConsole TakeConsole \
26 Xaccess Xservers.fs Xsession Xsetup_0 Xwilling \
28 FILES
= NetBSD.xpm NetBSDbw.xpm NetBSDinv.xpm \
29 XFree86.xpm XFree86bw.xpm
31 FILESDIR_NetBSD.xpm
= ${X11INCDIR}/X11
/pixmaps
32 FILESDIR_NetBSDbw.xpm
= ${X11INCDIR}/X11
/pixmaps
33 FILESDIR_NetBSDinv.xpm
= ${X11INCDIR}/X11
/pixmaps
34 FILESDIR_XFree86.xpm
= ${X11INCDIR}/X11
/pixmaps
35 FILESDIR_XFree86bw.xpm
= ${X11INCDIR}/X11
/pixmaps
36 FILESMODE_GiveConsole
= ${BINMODE}
37 FILESMODE_TakeConsole
= ${BINMODE}
38 FILESMODE_Xsetup_0
= ${BINMODE}
39 FILESMODE_Xsession
= ${BINMODE}
40 FILESMODE_Xwilling
= ${BINMODE}
42 CONFIGSYMLINKS
= Xservers.ws
${XDMDIR}/Xservers
44 BUILDSYMLINKS
= Xres.
cpp Xresources.
cpp \
45 Xserv.ws.
cpp Xservers.ws.
cpp \
46 xdm-conf.
cpp xdm-config.
cpp
48 .PATH
: ${X11SRCDIR.xc
}/programs
/xdm
/config
50 .
include "../Makefile.xdm"
52 CPPSCRIPTFLAGS_xdm-config
+= -DCHOOSERPATH
=${XDMCHOOSERPATH}
55 .
include <bsd.prog.mk
>