Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / bin / xdm / config / Makefile
bloba1de88906cece5491f6067f2013e7d88426b812e
1 # $NetBSD: Makefile,v 1.7 2009/03/13 17:12:44 plunky Exp $
3 .include <bsd.own.mk>
5 # native only gives DEFAULTVT for i386 and amd64.
6 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
7 DEFAULTVT=vt05
8 .else
9 DEFAULTVT= # defined empty
10 .endif
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 \
21 -DSHELL_CMD=/bin/sh
22 CPPSCRIPTFLAGS_Xstartup= -DBINDIR=${X11BINDIR} -DXDMCONFIGDIR=${XDMDIR}
23 CPPSCRIPTFLAGS_xdm-config= -DXDMDIR=${XDMDIR} \
24 -DXDMXAUTHDIR=${XDMVARDIR} \
25 -DXDMLOGDIR=${XDMLOGDIR} \
26 -DXDMPIDDIR=${XDMPIDDIR} \
27 -DXPM \
28 -DSU="su -m"
30 CONFIGFILES= GiveConsole TakeConsole \
31 Xaccess Xservers.fs Xsession Xsetup_0 Xwilling \
32 ${CPPSCRIPTS}
33 FILES= xorg-bw.xpm xorg.xpm \
34 NetBSD-bw.xpm NetBSD-inv.xpm NetBSD.xpm
35 FILESDIR= ${XDMDIR}
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}
57 .include <bsd.x11.mk>
58 .include <bsd.prog.mk>