2009-02-14 16:48:16 +03:00
|
|
|
# $NetBSD: Makefile,v 1.12 2009/02/14 13:48:17 abs Exp $
|
2003-09-11 22:37:05 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
CPPSCRIPTS= Xresources Xservers.ws xdm-config
|
|
|
|
|
2004-05-16 14:25:13 +04:00
|
|
|
CPPSCRIPTFLAGS_Xresources= -DXPM -DBITMAPDIR=${X11INCDIR}/X11/pixmaps \
|
2004-11-16 17:42:19 +03:00
|
|
|
-DXDM_PIXMAP=NetBSD.xpm \
|
|
|
|
-DXDM_BWPIXMAP=NetBSDbw.xpm
|
2004-03-01 17:56:51 +03:00
|
|
|
|
2004-04-05 16:21:04 +04:00
|
|
|
# native only gives DEFAULTVT for i386 and amd64.
|
2009-02-14 16:48:16 +03:00
|
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || ${MACHINE} == "cats"
|
2004-03-01 17:56:51 +03:00
|
|
|
DEFAULTVT=vt05
|
2004-04-05 16:21:04 +04:00
|
|
|
.else
|
|
|
|
DEFAULTVT= # defined empty
|
2004-03-01 17:56:51 +03:00
|
|
|
.endif
|
|
|
|
|
|
|
|
CPPSCRIPTFLAGS_Xservers.ws= -DBINDIR=${X11BINDIR} -DDEFAULTVT=${DEFAULTVT}
|
2004-05-16 14:25:13 +04:00
|
|
|
CPPSCRIPTFLAGS_xdm-config= -DXDMDIR=${XDMDIR} \
|
2004-05-12 07:58:47 +04:00
|
|
|
-DXDMAUTHDIR=${XDMVARDIR} \
|
2004-05-16 14:25:13 +04:00
|
|
|
-DXDMLOGDIR=${XDMLOGDIR} \
|
|
|
|
-DXDMPIDDIR=${XDMPIDDIR} \
|
2004-05-12 07:58:47 +04:00
|
|
|
-DSU="su -m"
|
2003-09-11 22:37:05 +04:00
|
|
|
|
2004-05-16 14:25:13 +04:00
|
|
|
CONFIGFILES= GiveConsole TakeConsole \
|
2003-09-11 22:37:05 +04:00
|
|
|
Xaccess Xservers.fs Xsession Xsetup_0 Xwilling \
|
|
|
|
${CPPSCRIPTS}
|
2004-11-16 17:42:19 +03:00
|
|
|
FILES= NetBSD.xpm NetBSDbw.xpm NetBSDinv.xpm \
|
|
|
|
XFree86.xpm XFree86bw.xpm
|
2004-05-16 14:25:13 +04:00
|
|
|
FILESDIR= ${XDMDIR}
|
2004-11-16 17:42:19 +03:00
|
|
|
FILESDIR_NetBSD.xpm= ${X11INCDIR}/X11/pixmaps
|
|
|
|
FILESDIR_NetBSDbw.xpm= ${X11INCDIR}/X11/pixmaps
|
|
|
|
FILESDIR_NetBSDinv.xpm= ${X11INCDIR}/X11/pixmaps
|
2004-05-16 14:25:13 +04:00
|
|
|
FILESDIR_XFree86.xpm= ${X11INCDIR}/X11/pixmaps
|
|
|
|
FILESDIR_XFree86bw.xpm= ${X11INCDIR}/X11/pixmaps
|
2004-08-19 05:30:33 +04:00
|
|
|
FILESMODE_GiveConsole= ${BINMODE}
|
|
|
|
FILESMODE_TakeConsole= ${BINMODE}
|
|
|
|
FILESMODE_Xsetup_0= ${BINMODE}
|
|
|
|
FILESMODE_Xsession= ${BINMODE}
|
|
|
|
FILESMODE_Xwilling= ${BINMODE}
|
2003-09-11 22:37:05 +04:00
|
|
|
|
2004-05-16 14:25:13 +04:00
|
|
|
CONFIGSYMLINKS= Xservers.ws ${XDMDIR}/Xservers
|
2003-09-11 22:37:05 +04:00
|
|
|
|
2003-09-20 10:20:41 +04:00
|
|
|
BUILDSYMLINKS= Xres.cpp Xresources.cpp \
|
2003-09-11 22:37:05 +04:00
|
|
|
Xserv.ws.cpp Xservers.ws.cpp \
|
|
|
|
xdm-conf.cpp xdm-config.cpp
|
|
|
|
|
|
|
|
.PATH: ${X11SRCDIR.xc}/programs/xdm/config
|
|
|
|
|
2004-01-02 20:19:51 +03:00
|
|
|
.include "../Makefile.xdm"
|
|
|
|
|
2004-05-16 14:25:13 +04:00
|
|
|
CPPSCRIPTFLAGS_xdm-config+= -DCHOOSERPATH=${XDMCHOOSERPATH}
|
2004-01-02 20:19:51 +03:00
|
|
|
|
2003-09-11 22:37:05 +04:00
|
|
|
.include <bsd.x11.mk>
|
2003-09-14 00:17:57 +04:00
|
|
|
.include <bsd.prog.mk>
|