Remove building with NOCRYPTO option
[minix.git] / external / mit / xorg / bin / rstart / Makefile
blob1f5cb44b8ee7d547cb1a6478941ea86fdcae5db9
1 # $NetBSD: Makefile,v 1.1 2015/07/23 07:34:38 mrg Exp $
3 .include <bsd.own.mk>
5 PROG= rstartd.real
6 SRCS= auth.c server.c
7 RSTARTDBINDIR= ${X11ROOTDIR}/libexec
8 RSTARTCONFIGDIR= ${X11ETCDIR}/rstart
10 CPPFLAGS.server.c= -DSERVERNAME=\"rstartd\" \
11 -DDEFAULT_CONFIG=\"${RSTARTCONFIGDIR}/config\"
13 MAN= rstart.1 rstartd.1
15 X11EXTRAMANDEFS+= -e 's,RSTARTCONFIGDIR,${RSTARTCONFIGDIR},g'
17 SEDCMD= sed -e 's/@RSH@/ssh/' -e 's/@rstartdir@/${RSTARTCONFIGDIR}/'
19 rstart: rstart.in
20 ${SEDCMD} < ${.IMPSRC} > ${.TARGET}
21 rstartd: rstartd.in
22 ${SEDCMD} < ${.IMPSRC} > ${.TARGET}
23 config: config.in
24 ${SEDCMD} < ${.IMPSRC} > ${.TARGET}
26 SCRIPTS= rstart rstartd
27 SCRIPTSDIR= ${X11BINDIR}
28 CONFIGFILES= config
29 FILESDIR= ${RSTARTCONFIGDIR}
31 SUBDIR= commands contexts
32 TARGETS+= configinstall
34 .PATH: ${X11SRCDIR.${PROG}}
35 .PATH: ${X11SRCDIR.${PROG}}/man
36 .PATH: ${X11SRCDIR.${PROG}}/scripts
38 .include <bsd.x11.mk>
39 BINDIR= ${RSTARTDBINDIR}
40 .include <bsd.prog.mk>
41 .include <bsd.subdir.mk>