Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / bin / xinit / Makefile
blob49663787d809018ca85376d2c5c858c26ec3a89a
1 # $NetBSD: Makefile,v 1.6 2004/12/08 05:34:50 jmc Exp $
3 .include <bsd.own.mk>
5 .include "../../Xserver/Makefile.common"
7 PROG= xinit
8 MAN= xinit.1 startx.1
10 XINITDIR= ${X11ETCDIR}/xinit
12 CPPFLAGS+= -DHAS_VFORK ${X11FLAGS.CONNECTION} -DBINDIR=\"${X11BINDIR}\" \
14 CPPFLAGS+= -DXFREE86
15 .if (${USE_PAM} != "no")
16 CPPFLAGS+= -DUSE_PAM
17 .endif
19 CPPSCRIPTS= startx xinitrc
20 CPPSCRIPTFLAGS_xinitrc= -DXINITDIR=${XINITDIR} -DBINDIR=${X11BINDIR}
21 CPPSCRIPTFLAGS_startx= -DXINITDIR=${XINITDIR} -DBINDIR=${X11BINDIR} \
22 -DHAS_COOKIE_MAKER \
23 -DMK_COOKIE='dd if=/dev/urandom bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"'
25 SCRIPTS= startx
26 CONFIGFILES= xinitrc
27 FILESDIR= ${XINITDIR}
29 LDADD+= -lXmuu -lXt -lSM -lICE -lXext -lX11
30 DPADD+= ${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
32 X11EXTRAMANDEFS=-D__xinitdir__=${XINITDIR}
34 .PATH: ${X11SRCDIR.xc}/programs/${PROG}
36 .include <bsd.x11.mk>
37 .include <bsd.prog.mk>