Define CHOOSERPATH to /usr/X11R6/libexec/chooser, and use appropriately.

This commit is contained in:
lukem 2004-01-02 17:19:51 +00:00
parent 8ab300d124
commit b5b40b6c35
4 changed files with 15 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2003/12/20 01:22:39 rtr Exp $
# $NetBSD: Makefile,v 1.4 2004/01/02 17:19:51 lukem Exp $
.include <bsd.own.mk>
@ -23,7 +23,6 @@ CPPFLAGS.resource.c= \
-DDEF_SYSTEM_SHELL=\"/bin/sh\" \
-DDEF_FAILSAFE_CLIENT=\"${X11BINDIR}/xterm\" \
-DDEF_XDM_CONFIG=\"${X11LIBDIR}/xdm/xdm-config\" \
-DDEF_CHOOSER=\"${X11LIBDIR}/xdm/chooser\" \
-DDEF_AUTH_DIR=\"${X11LIBDIR}/xdm\" \
-DDEF_GREETER_LIB=\"${X11LIBDIR}/xdm/libXdmGreet.so\"
@ -44,6 +43,10 @@ SUBDIR= chooser config sessreg
.include "Makefile.xdm"
CPPFLAGS.resource.c+= -DDEF_CHOOSER=\"${CHOOSERPATH}\"
X11EXTRAMANDEFS+= -DCHOOSERPATH=${CHOOSERPATH}
SYMLINKS+= ${CHOOSERPATH} ${X11LIBDIR}/xdm/chooser
.include <bsd.x11.mk>
.include <bsd.prog.mk>
.include <bsd.subdir.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.xdm,v 1.1.1.1 2003/09/12 02:52:11 lukem Exp $
# $NetBSD: Makefile.xdm,v 1.2 2004/01/02 17:19:51 lukem Exp $
CPPFLAGS+= -DBINDIR=\"${X11BINDIR}\" -DXDMDIR=\"${X11LIBDIR}/xdm\" \
-DHASXDMAUTH ${X11FLAGS.CONNECTION} -DGREET_USER_STATIC \
@ -7,4 +7,6 @@ CPPFLAGS+= -DBINDIR=\"${X11BINDIR}\" -DXDMDIR=\"${X11LIBDIR}/xdm\" \
-I${X11SRCDIR.xc}/programs/xdm \
${X11FLAGS.VERSION}
CHOOSERPATH= ${X11ROOTDIR}/libexec/chooser
.PATH: ${X11SRCDIR.xc}/programs/xdm

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2003/09/13 20:18:16 lukem Exp $
# $NetBSD: Makefile,v 1.3 2004/01/02 17:19:51 lukem Exp $
NOMAN= 1
@ -6,8 +6,6 @@ NOMAN= 1
PROG= chooser
BINDIR= ${X11LIBDIR}/xdm
CPPFLAGS.chooser.c= -DBSD44SOCKETS
APPDEFS=Chooser.ad
@ -19,4 +17,5 @@ DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
.include "../Makefile.xdm"
.include <bsd.x11.mk>
BINDIR= ${CHOOSERPATH:H}
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2003/09/20 06:20:50 lukem Exp $
# $NetBSD: Makefile,v 1.4 2004/01/02 17:19:51 lukem Exp $
.include <bsd.own.mk>
@ -26,5 +26,9 @@ BUILDSYMLINKS= Xres.cpp Xresources.cpp \
.PATH: ${X11SRCDIR.xc}/programs/xdm/config
.include "../Makefile.xdm"
CPPSCRIPTFLAGS_xdm-config+= -DCHOOSERPATH=${CHOOSERPATH}
.include <bsd.x11.mk>
.include <bsd.prog.mk>