Remove building with NOCRYPTO option
[minix.git] / external / mit / xorg / bin / xdm / Makefile.xdm
blobda0364554297f1040a817b05ca233633c9ab03ee
1 #       $NetBSD: Makefile.xdm,v 1.8 2013/06/05 00:01:16 mrg Exp $
3 XDMVARDIR=      /var/db/xdm
4 XDMDIR=         ${X11ETCDIR}/xdm
5 XDMCHOOSERPATH= ${X11ROOTDIR}/libexec/chooser
6 XDMGREETERLIB=  ${X11ROOTDIR}/lib/libXdmGreet.so
7 XDMLOGDIR=      /var/log
8 XDMPIDDIR=      /var/run
10 CPPFLAGS+=      -DBINDIR=\"${X11BINDIR}\" -DXDMDIR=\"${XDMDIR}\" \
11                 -DHASXDMAUTH ${X11FLAGS.CONNECTION} \
12                 -DBSD44SOCKETS \
13                 -DFRAGILE_DEV_MEM -DARC4_RANDOM \
14                 -DDEV_RANDOM=\"dev/urandom\" \
15                 -DXPM -DUSE_XFT \
16                 -DHAVE_GETIFADDRS \
17                 -DHAVE_MKSTEMP \
18                 -DHAVE_SETPROCTITLE \
19                 -DHAVE_SETUSERCONTEXT \
20                 -DHAVE_ARC4RANDOM \
21                 -DHAVE_DAEMON \
22                 -DHAVE_SIGACTION \
23                 -DHAVE_ASPRINTF \
24                 -DHAVE_OPENLOG \
25                 -DUNIXCONN \
26                 -DTCPCONN \
27                 -DHAVE_WORKING_VFORK \
28                 -DHAVE_VFORK_H \
29                 -DHAVE_VFORK \
30                 -DHAVE_INTTYPES_H \
31                 -DHAVE_SYS_PARAM_H \
32                 -DHAVE_GRP_H \
33                 -I${X11SRCDIR.xdm} \
34                 -I${X11SRCDIR.xdm}/include \
35                 -I${DESTDIR}${X11INCDIR}/freetype2 \
36                 ${X11FLAGS.VERSION}
38 LDFLAGS+=       -Wl,--export-dynamic
40 .if (${USE_PAM} != "no")
41 CPPFLAGS+=      -DUSE_PAM
42 .endif
44 .if (${USE_INET6} != "no")
45 CPPFLAGS+=      -DIPv6
46 .endif
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