blob: 1f5cb44b8ee7d547cb1a6478941ea86fdcae5db9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.1 2015/07/23 07:34:38 mrg Exp $
.include <bsd.own.mk>
PROG= rstartd.real
SRCS= auth.c server.c
RSTARTDBINDIR= ${X11ROOTDIR}/libexec
RSTARTCONFIGDIR= ${X11ETCDIR}/rstart
CPPFLAGS.server.c= -DSERVERNAME=\"rstartd\" \
-DDEFAULT_CONFIG=\"${RSTARTCONFIGDIR}/config\"
MAN= rstart.1 rstartd.1
X11EXTRAMANDEFS+= -e 's,RSTARTCONFIGDIR,${RSTARTCONFIGDIR},g'
SEDCMD= sed -e 's/@RSH@/ssh/' -e 's/@rstartdir@/${RSTARTCONFIGDIR}/'
rstart: rstart.in
${SEDCMD} < ${.IMPSRC} > ${.TARGET}
rstartd: rstartd.in
${SEDCMD} < ${.IMPSRC} > ${.TARGET}
config: config.in
${SEDCMD} < ${.IMPSRC} > ${.TARGET}
SCRIPTS= rstart rstartd
SCRIPTSDIR= ${X11BINDIR}
CONFIGFILES= config
FILESDIR= ${RSTARTCONFIGDIR}
SUBDIR= commands contexts
TARGETS+= configinstall
.PATH: ${X11SRCDIR.${PROG}}
.PATH: ${X11SRCDIR.${PROG}}/man
.PATH: ${X11SRCDIR.${PROG}}/scripts
.include <bsd.x11.mk>
BINDIR= ${RSTARTDBINDIR}
.include <bsd.prog.mk>
.include <bsd.subdir.mk>
|