Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / bin / xdm / Makefile.xdm
blob39f10aa481a0189c8c0ba4613903a5e7e40ce731
1 #       $NetBSD: Makefile.xdm,v 1.3 2009/05/06 08:49:37 mrg 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                 -DHAVE_ASPRINTF \
13                 -DFRAGILE_DEV_MEM -DARC4_RANDOM \
14                 -DXPM -DUSE_XFT -DUSE_XINERAMA -DHAS_SETPROCTITLE \
15                 -DHAS_GETIFADDRS -UIPv6 -DHAS_MKSTEMP \
16                 -I${X11SRCDIR.xdm} \
17                 ${X11FLAGS.VERSION}
19 .if (${USE_PAM} != "no")
20 CPPFLAGS+=      -DUSE_PAM
21 .endif
23 .PATH:          ${X11SRCDIR.xdm}