2005-12-21 00:30:19 +03:00
|
|
|
# $NetBSD: Makefile.xdm,v 1.12 2005/12/20 21:30:19 christos Exp $
|
2004-05-12 07:58:47 +04:00
|
|
|
|
2004-05-16 14:25:13 +04:00
|
|
|
XDMVARDIR= /var/db/xdm
|
|
|
|
XDMDIR= ${X11ETCDIR}/xdm
|
|
|
|
XDMCHOOSERPATH= ${X11ROOTDIR}/libexec/chooser
|
|
|
|
XDMGREETERLIB= ${X11ROOTDIR}/libexec/libXdmGreet.so
|
|
|
|
XDMLOGDIR= /var/log
|
|
|
|
XDMPIDDIR= /var/run
|
2003-09-12 06:49:56 +04:00
|
|
|
|
2004-05-16 14:25:13 +04:00
|
|
|
CPPFLAGS+= -DBINDIR=\"${X11BINDIR}\" -DXDMDIR=\"${XDMDIR}\" \
|
2003-09-12 06:49:56 +04:00
|
|
|
-DHASXDMAUTH ${X11FLAGS.CONNECTION} -DGREET_USER_STATIC \
|
2004-04-29 05:30:17 +04:00
|
|
|
-DFRAGILE_DEV_MEM -DARC4_RANDOM \
|
2005-12-21 00:30:19 +03:00
|
|
|
-DXPM -DUSE_XINERAMA -DHAS_SETPROCTITLE -DHAS_SETUSERCONTEXT \
|
2004-04-29 09:58:54 +04:00
|
|
|
-DHAS_GETIFADDRS -UIPv6 -DHAS_MKSTEMP \
|
2003-09-12 06:49:56 +04:00
|
|
|
-I${X11SRCDIR.xc}/programs/xdm \
|
|
|
|
${X11FLAGS.VERSION}
|
|
|
|
|
2005-12-21 00:30:19 +03:00
|
|
|
LDADD+= -lutil
|
|
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
|
2005-01-06 03:45:42 +03:00
|
|
|
.if (${USE_PAM} != "no")
|
2005-01-05 23:19:52 +03:00
|
|
|
CPPFLAGS+= -DUSE_PAM
|
2005-05-09 20:15:48 +04:00
|
|
|
LDADD+= -lpam ${PAM_STATIC_LDADD}
|
|
|
|
DPADD+= ${LIBPAM} ${PAM_STATIC_DPADD}
|
2005-01-05 23:19:52 +03:00
|
|
|
.endif
|
|
|
|
|
2003-09-12 06:49:56 +04:00
|
|
|
.PATH: ${X11SRCDIR.xc}/programs/xdm
|