1 # $NetBSD: Makefile,v 1.7 2009/03/13 17:12:44 plunky Exp $
5 # native only gives DEFAULTVT for i386 and amd64.
6 .if
${MACHINE_ARCH} == "i386" ||
${MACHINE_ARCH} == "x86_64"
9 DEFAULTVT
= # defined empty
12 CPPSCRIPTS
= Xresources Xreset Xservers.ws Xsession Xstartup xdm-config
14 CPPSCRIPTFLAGS_Xresources
= -DXPM
-DBITMAPDIR
=${X11INCDIR}/X11
/pixmaps \
15 -DXDM_PIXMAP
=NetBSD.xpm \
16 -DXDM_BWPIXMAP
=NetBSD-bw.xpm
17 CPPSCRIPTFLAGS_Xreset
= -DBINDIR
=${X11BINDIR} -DXDMCONFIGDIR
=${XDMDIR}
18 CPPSCRIPTFLAGS_Xservers.ws
= -DBINDIR
=${X11BINDIR} -DDEFAULTVT
=${DEFAULTVT}
19 CPPSCRIPTFLAGS_Xsession
= -DBINDIR
=${X11BINDIR} \
20 -DMKTEMP_COMMAND
=/usr
/bin
/mktemp \
22 CPPSCRIPTFLAGS_Xstartup
= -DBINDIR
=${X11BINDIR} -DXDMCONFIGDIR
=${XDMDIR}
23 CPPSCRIPTFLAGS_xdm-config
= -DXDMDIR
=${XDMDIR} \
24 -DXDMXAUTHDIR
=${XDMVARDIR} \
25 -DXDMLOGDIR
=${XDMLOGDIR} \
26 -DXDMPIDDIR
=${XDMPIDDIR} \
30 CONFIGFILES
= GiveConsole TakeConsole \
31 Xaccess Xservers.fs Xsession Xsetup_0 Xwilling \
33 FILES
= xorg-bw.xpm xorg.xpm \
34 NetBSD-bw.xpm NetBSD-inv.xpm NetBSD.xpm
36 FILESDIR_xorg.xpm
= ${X11INCDIR}/X11
/pixmaps
37 FILESDIR_xorg-bw.xpm
= ${X11INCDIR}/X11
/pixmaps
38 FILESDIR_NetBSD.xpm
= ${X11INCDIR}/X11
/pixmaps
39 FILESDIR_NetBSD-bw.xpm
= ${X11INCDIR}/X11
/pixmaps
40 FILESDIR_NetBSD-inv.xpm
=${X11INCDIR}/X11
/pixmaps
41 FILESMODE_GiveConsole
= ${BINMODE}
42 FILESMODE_TakeConsole
= ${BINMODE}
43 FILESMODE_Xreset
= ${BINMODE}
44 FILESMODE_Xsetup_0
= ${BINMODE}
45 FILESMODE_Xsession
= ${BINMODE}
46 FILESMODE_Xstartup
= ${BINMODE}
47 FILESMODE_Xwilling
= ${BINMODE}
49 CONFIGSYMLINKS
= Xservers.ws
${XDMDIR}/Xservers
51 .PATH
: ${X11SRCDIR.xdm
}/config
53 .
include "../Makefile.xdm"
55 CPPSCRIPTFLAGS_xdm-config
+= -DCHOOSERPATH
=${XDMCHOOSERPATH}
58 .
include <bsd.prog.mk
>