1 # $NetBSD: Makefile,v 1.1 2015/07/23 07:34:38 mrg Exp $
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}/'
20 ${SEDCMD} < ${.IMPSRC
} > ${.TARGET
}
22 ${SEDCMD} < ${.IMPSRC
} > ${.TARGET
}
24 ${SEDCMD} < ${.IMPSRC
} > ${.TARGET
}
26 SCRIPTS
= rstart rstartd
27 SCRIPTSDIR
= ${X11BINDIR}
29 FILESDIR
= ${RSTARTCONFIGDIR}
31 SUBDIR
= commands contexts
32 TARGETS
+= configinstall
34 .PATH
: ${X11SRCDIR.
${PROG}}
35 .PATH
: ${X11SRCDIR.
${PROG}}/man
36 .PATH
: ${X11SRCDIR.
${PROG}}/scripts
39 BINDIR
= ${RSTARTDBINDIR}
40 .
include <bsd.prog.mk
>
41 .
include <bsd.subdir.mk
>