Sync usage with man page.
[netbsd-mini2440.git] / external / mit / xorg / bin / missing-apps / rstart / Makefile
blobe81c787058b557da4f2b656b4ab46a041e0d37d2
1 # $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 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 BUILDSYMLINKS= client.cpp rstart.cpp \
18 server.cpp rstartd.cpp
20 CPPSCRIPTS= config rstart rstartd
21 CPPSCRIPTFLAGS_config= -DBINDIR=${X11BINDIR} -DLIBDIR=${RSTARTCONFIGDIR} \
22 -DPACKAGEname=rstart -DENVPREFIX=RSTART
23 CPPSCRIPTFLAGS_rstart= -DRSHCMD=rsh -DSERVERNAME=rstartd
24 CPPSCRIPTFLAGS_rstartd= -DLIBDIR=${RSTARTCONFIGDIR} -DSERVERNAME=rstartd \
25 -DBINDIR=${RSTARTDBINDIR}
26 SCRIPTS= rstart rstartd
27 SCRIPTSDIR= ${X11BINDIR}
28 CONFIGFILES= config
29 FILESDIR= ${RSTARTCONFIGDIR}
31 SUBDIR= commands contexts
32 TARGETS+= configinstall
34 .PATH: ${X11SRCDIR.xc}/programs/rstart
36 .include <bsd.x11.mk>
37 BINDIR= ${RSTARTDBINDIR}
38 .include <bsd.prog.mk>
39 .include <bsd.subdir.mk>