Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / bin / xdm / config / Makefile
blob1d8c5aed6405f1a831e88b81808f8cbf3e77d1fc
1 # $NetBSD: Makefile,v 1.11 2004/11/29 16:49:18 skrll Exp $
3 .include <bsd.own.mk>
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"
13 DEFAULTVT=vt05
14 .else
15 DEFAULTVT= # defined empty
16 .endif
18 CPPSCRIPTFLAGS_Xservers.ws= -DBINDIR=${X11BINDIR} -DDEFAULTVT=${DEFAULTVT}
19 CPPSCRIPTFLAGS_xdm-config= -DXDMDIR=${XDMDIR} \
20 -DXDMAUTHDIR=${XDMVARDIR} \
21 -DXDMLOGDIR=${XDMLOGDIR} \
22 -DXDMPIDDIR=${XDMPIDDIR} \
23 -DSU="su -m"
25 CONFIGFILES= GiveConsole TakeConsole \
26 Xaccess Xservers.fs Xsession Xsetup_0 Xwilling \
27 ${CPPSCRIPTS}
28 FILES= NetBSD.xpm NetBSDbw.xpm NetBSDinv.xpm \
29 XFree86.xpm XFree86bw.xpm
30 FILESDIR= ${XDMDIR}
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}
54 .include <bsd.x11.mk>
55 .include <bsd.prog.mk>