1 # $NetBSD: Makefile,v 1.14 2014/02/24 07:23:40 skrll Exp $
5 # DEFAULTVT for all arches that are able to switch virtual consoles
6 # while in X (currently this needs WSDISPLAY_COMPAT_USL and
7 # WSDISPLAY_COMPAT_PCVT, this might change soon)
8 .if
${MACHINE_ARCH} == "x86_64" \
9 ||
${MACHINE_ARCH} == "cats" \
10 ||
${MACHINE_ARCH} == "hpcmips" \
11 ||
${MACHINE_ARCH} == "hpcsh" \
12 ||
${MACHINE_ARCH} == "hppa" \
13 ||
${MACHINE_ARCH} == "i386" \
14 ||
${MACHINE_ARCH} == "netwinder" \
15 ||
${MACHINE_ARCH} == "shark" \
16 ||
${MACHINE_ARCH} == "sparc" \
17 ||
${MACHINE_ARCH} == "sparc64" \
18 ||
${MACHINE_ARCH} == "zaurus"
21 DEFAULTVT
= # defined empty
24 UUDECODE_FILES
= NetBSD-flag.png
25 CPPSCRIPTS
= Xresources Xreset Xservers.ws Xsession Xstartup xdm-config
27 CPPSCRIPTFLAGS_Xresources
= -DXPM
-DBITMAPDIR
=${X11INCDIR}/X11
/pixmaps \
28 -DXDM_PIXMAP
=NetBSD.xpm \
29 -DXDM_BWPIXMAP
=NetBSD-bw.xpm
30 CPPSCRIPTFLAGS_Xreset
= -DBINDIR
=${X11BINDIR} -DXDMCONFIGDIR
=${XDMDIR}
31 CPPSCRIPTFLAGS_Xservers.ws
= -DBINDIR
=${X11BINDIR} -DDEFAULTVT
=${DEFAULTVT}
32 CPPSCRIPTFLAGS_Xsession
= -DBINDIR
=${X11BINDIR} \
33 -DMKTEMP_COMMAND
=/usr
/bin
/mktemp \
35 CPPSCRIPTFLAGS_Xstartup
= -DBINDIR
=${X11BINDIR} -DXDMCONFIGDIR
=${XDMDIR} \
36 -DUTMP_FILE
=${XDMPIDDIR}/utmp \
37 -DWTMP_FILE
=${XDMLOGDIR}/wtmp
38 CPPSCRIPTFLAGS_xdm-config
= -DXDMDIR
=${XDMDIR} \
39 -DXDMXAUTHDIR
=${XDMVARDIR} \
40 -DXDMLOGDIR
=${XDMLOGDIR} \
41 -DXDMPIDDIR
=${XDMPIDDIR} \
45 CONFIGFILES
= GiveConsole TakeConsole \
46 Xaccess Xservers.fs Xsession Xsetup_0 Xwilling \
48 FILES
= xorg-bw.xpm xorg.xpm \
49 NetBSD-bw.xpm NetBSD-inv.xpm NetBSD.xpm \
50 NetBSD-flag.png NetBSD-flag1.xpm NetBSD-flag2.xpm
52 FILESDIR_xorg.xpm
= ${X11INCDIR}/X11
/pixmaps
53 FILESDIR_xorg-bw.xpm
= ${X11INCDIR}/X11
/pixmaps
54 FILESDIR_NetBSD.xpm
= ${X11INCDIR}/X11
/pixmaps
55 FILESDIR_NetBSD-flag.png
= ${X11INCDIR}/X11
/pixmaps
56 FILESDIR_NetBSD-flag1.xpm
= ${X11INCDIR}/X11
/pixmaps
57 FILESDIR_NetBSD-flag2.xpm
= ${X11INCDIR}/X11
/pixmaps
58 FILESDIR_NetBSD-bw.xpm
= ${X11INCDIR}/X11
/pixmaps
59 FILESDIR_NetBSD-inv.xpm
=${X11INCDIR}/X11
/pixmaps
60 FILESMODE_GiveConsole
= ${BINMODE}
61 FILESMODE_TakeConsole
= ${BINMODE}
62 FILESMODE_Xreset
= ${BINMODE}
63 FILESMODE_Xsetup_0
= ${BINMODE}
64 FILESMODE_Xsession
= ${BINMODE}
65 FILESMODE_Xstartup
= ${BINMODE}
66 FILESMODE_Xwilling
= ${BINMODE}
68 CONFIGSYMLINKS
= Xservers.ws
${XDMDIR}/Xservers
70 .PATH
: ${X11SRCDIR.xdm
}/config
72 .
include "../Makefile.xdm"
74 CPPSCRIPTFLAGS_xdm-config
+= -DCHOOSERPATH
=${XDMCHOOSERPATH}
77 .
include <bsd.prog.mk
>