Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/x11/Xserver/os The only file that needs to be compiled with ...



details:   https://anonhg.NetBSD.org/src/rev/d01551d2c1a1
branches:  trunk
changeset: 574231:d01551d2c1a1
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 24 14:54:02 2005 +0000

description:
The only file that needs to be compiled with -DUSE_PAM is utils.c

diffstat:

 x11/Xserver/os/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r e48d6661f589 -r d01551d2c1a1 x11/Xserver/os/Makefile
--- a/x11/Xserver/os/Makefile   Thu Feb 24 14:53:15 2005 +0000
+++ b/x11/Xserver/os/Makefile   Thu Feb 24 14:54:02 2005 +0000
@@ -1,9 +1,7 @@
-#      $NetBSD: Makefile,v 1.12 2004/04/29 02:14:52 lukem Exp $
+#      $NetBSD: Makefile,v 1.13 2005/02/24 14:54:02 christos Exp $
 
 .include "../Makefile.serverlib"
-
 .include <bsd.own.mk>
-
 LIB=   os
 .PATH: ${X11SRCDIR.xc}/programs/Xserver/os
 .PATH: ${X11SRCDIR.xc}/lib/xtrans
@@ -53,6 +51,9 @@
 CPPFLAGS.xdmauth.c=    ${XDMCP_DEFINES}
 COPTS.xdmauth.c=       -Wno-error      # XXX
 CPPFLAGS.xdmcp.c=      ${XDMCP_DEFINES} -DBSD44SOCKETS
+.if (${USE_PAM} != "no")
+CPPFLAGS.utils.c=      ${XDMCP_DEFINES} -DUSE_PAM
+.endif
 
 BUILDOBJS=             libc_wrapper.o
 .PATH:                 ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/shared



Home | Main Index | Thread Index | Old Index