etc/protocols - sync with NetBSD-8
[minix.git] / external / mit / xorg / bin / xinit / Makefile
blobb2330848b7050882f1b4c22e244c42bee424fb7d
1 # $NetBSD: Makefile,v 1.6 2011/08/03 02:56:29 mrg Exp $
3 .include <bsd.own.mk>
5 PROG= xinit
6 MAN= xinit.1 startx.1
8 XINITDIR= ${X11ETCDIR}/xinit
10 CPPFLAGS+= ${X11FLAGS.CONNECTION} -DBINDIR=\"${X11BINDIR}\" \
11 -DRETSIGTYPE=void
13 CPPSCRIPTS= startx xinitrc
14 CPPSCRIPTFLAGS_xinitrc= -DXINITDIR=${XINITDIR} -DBINDIR=${X11BINDIR} \
15 -DSHELL_CMD=/bin/sh -DXRDB=xrdb -DXMODMAP=xmodmap \
16 -DTWM=twm -DXCLOCK=xclock -DXTERM=${X11BINDIR}/xterm
17 CPPSCRIPTFLAGS_startx= -DXINITDIR=${XINITDIR} -DBINDIR=${X11BINDIR} \
18 -DSHELL_CMD=/bin/sh -DXAUTH=xauth -DXINIT=xinit \
19 -DXSERVER=${X11BINDIR}/X -DXTERM=${X11BINDIR}/xterm \
20 -DHAS_COOKIE_MAKER \
21 -DMK_COOKIE='dd if=/dev/urandom bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"'
23 SCRIPTS= startx
24 CONFIGFILES= xinitrc
25 FILESDIR= ${XINITDIR}
27 LDADD+= -lXmuu -lXt -lSM -lICE -lXext -lX11
28 DPADD+= ${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
30 X11EXTRAMANDEFS=-D__xinitdir__=${XINITDIR}
31 X11MANCPP= yes
33 .PATH: ${X11SRCDIR.${PROG}}
34 .PATH: ${X11SRCDIR.${PROG}}/man
36 .include <bsd.x11.mk>
37 .include <bsd.prog.mk>