Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / bin / xdm / Makefile.xdm
blobbbef767952ae4e96f1dbe781179b0a336475ceec
1 #       $NetBSD: Makefile.xdm,v 1.11 2005/05/09 16:15:49 he Exp $
3 XDMVARDIR=      /var/db/xdm
4 XDMDIR=         ${X11ETCDIR}/xdm
5 XDMCHOOSERPATH= ${X11ROOTDIR}/libexec/chooser
6 XDMGREETERLIB=  ${X11ROOTDIR}/libexec/libXdmGreet.so
7 XDMLOGDIR=      /var/log
8 XDMPIDDIR=      /var/run
10 CPPFLAGS+=      -DBINDIR=\"${X11BINDIR}\" -DXDMDIR=\"${XDMDIR}\" \
11                 -DHASXDMAUTH ${X11FLAGS.CONNECTION} -DGREET_USER_STATIC \
12                 -DFRAGILE_DEV_MEM -DARC4_RANDOM \
13                 -DXPM -DUSE_XINERAMA -DHAS_SETPROCTITLE -DHAS_SETUSERCONTEXT \
14                 -DHAS_GETIFADDRS -UIPv6 -DHAS_MKSTEMP \
15                 -I${X11SRCDIR.xc}/programs/xdm \
16                 ${X11FLAGS.VERSION}
18 LDADD+=         -lutil
19 DPADD+=         ${LIBUTIL}
21 .if (${USE_PAM} != "no")
22 CPPFLAGS+=      -DUSE_PAM
23 LDADD+=         -lpam ${PAM_STATIC_LDADD}
24 DPADD+=         ${LIBPAM} ${PAM_STATIC_DPADD}
25 .endif
27 .PATH:          ${X11SRCDIR.xc}/programs/xdm