1 # $NetBSD: Makefile,v 1.6 2004/12/08 05:34:50 jmc Exp $
5 .
include "../../Xserver/Makefile.common"
10 XINITDIR
= ${X11ETCDIR}/xinit
12 CPPFLAGS
+= -DHAS_VFORK
${X11FLAGS.CONNECTION
} -DBINDIR
=\"${X11BINDIR}\" \
15 .if
(${USE_PAM} != "no")
19 CPPSCRIPTS
= startx xinitrc
20 CPPSCRIPTFLAGS_xinitrc
= -DXINITDIR
=${XINITDIR} -DBINDIR
=${X11BINDIR}
21 CPPSCRIPTFLAGS_startx
= -DXINITDIR
=${XINITDIR} -DBINDIR
=${X11BINDIR} \
23 -DMK_COOKIE
='dd if=/dev/urandom bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"'
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}
37 .
include <bsd.prog.mk
>