Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / x11 / bin / rstart / Makefile
blob446a7c777aa43b5878d39178c8115a1fefb332b7
1 # $NetBSD: Makefile,v 1.5 2004/01/02 16:38:14 lukem 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+= -DRSTARTCONFIGDIR=${RSTARTCONFIGDIR}
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>