1 # $NetBSD: Makefile.xdm,v 1.8 2013/06/05 00:01:16 mrg Exp $
4 XDMDIR= ${X11ETCDIR}/xdm
5 XDMCHOOSERPATH= ${X11ROOTDIR}/libexec/chooser
6 XDMGREETERLIB= ${X11ROOTDIR}/lib/libXdmGreet.so
10 CPPFLAGS+= -DBINDIR=\"${X11BINDIR}\" -DXDMDIR=\"${XDMDIR}\" \
11 -DHASXDMAUTH ${X11FLAGS.CONNECTION} \
13 -DFRAGILE_DEV_MEM -DARC4_RANDOM \
14 -DDEV_RANDOM=\"dev/urandom\" \
19 -DHAVE_SETUSERCONTEXT \
27 -DHAVE_WORKING_VFORK \
34 -I${X11SRCDIR.xdm}/include \
35 -I${DESTDIR}${X11INCDIR}/freetype2 \
38 LDFLAGS+= -Wl,--export-dynamic
40 .if (${USE_PAM} != "no")
44 .if (${USE_INET6} != "no")
48 .PATH: ${X11SRCDIR.xdm}
49 .PATH: ${X11SRCDIR.xdm}/xdm
50 .PATH: ${X11SRCDIR.xdm}/man
51 .PATH: ${X11SRCDIR.xdm}/chooser
52 .PATH: ${X11SRCDIR.xdm}/greeter
53 .PATH: ${X11SRCDIR.xdm}/app-defaults