NetBSD/x11/bin/xdm/Makefile.xdm

28 lines
780 B
Makefile
Raw Normal View History

# $NetBSD: Makefile.xdm,v 1.12 2005/12/20 21:30:19 christos Exp $
XDMVARDIR= /var/db/xdm
XDMDIR= ${X11ETCDIR}/xdm
XDMCHOOSERPATH= ${X11ROOTDIR}/libexec/chooser
XDMGREETERLIB= ${X11ROOTDIR}/libexec/libXdmGreet.so
XDMLOGDIR= /var/log
XDMPIDDIR= /var/run
CPPFLAGS+= -DBINDIR=\"${X11BINDIR}\" -DXDMDIR=\"${XDMDIR}\" \
-DHASXDMAUTH ${X11FLAGS.CONNECTION} -DGREET_USER_STATIC \
-DFRAGILE_DEV_MEM -DARC4_RANDOM \
-DXPM -DUSE_XINERAMA -DHAS_SETPROCTITLE -DHAS_SETUSERCONTEXT \
-DHAS_GETIFADDRS -UIPv6 -DHAS_MKSTEMP \
-I${X11SRCDIR.xc}/programs/xdm \
${X11FLAGS.VERSION}
LDADD+= -lutil
DPADD+= ${LIBUTIL}
.if (${USE_PAM} != "no")
2005-01-05 23:19:52 +03:00
CPPFLAGS+= -DUSE_PAM
LDADD+= -lpam ${PAM_STATIC_LDADD}
DPADD+= ${LIBPAM} ${PAM_STATIC_DPADD}
2005-01-05 23:19:52 +03:00
.endif
.PATH: ${X11SRCDIR.xc}/programs/xdm