2004-05-16 14:25:13 +04:00
|
|
|
# $NetBSD: Makefile,v 1.6 2004/05/16 10:25:14 lukem Exp $
|
2003-09-11 22:37:05 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
PROG= rstartd.real
|
|
|
|
SRCS= auth.c server.c
|
2004-01-02 19:32:12 +03:00
|
|
|
RSTARTDBINDIR= ${X11ROOTDIR}/libexec
|
2004-05-16 14:25:13 +04:00
|
|
|
RSTARTCONFIGDIR= ${X11ETCDIR}/rstart
|
2003-09-11 22:37:05 +04:00
|
|
|
|
|
|
|
CPPFLAGS.server.c= -DSERVERNAME=\"rstartd\" \
|
2004-05-16 14:25:13 +04:00
|
|
|
-DDEFAULT_CONFIG=\"${RSTARTCONFIGDIR}/config\"
|
2003-09-11 22:37:05 +04:00
|
|
|
|
|
|
|
MAN= rstart.1 rstartd.1
|
|
|
|
|
2004-05-16 14:25:13 +04:00
|
|
|
X11EXTRAMANDEFS+= -DRSTARTCONFIGDIR=${RSTARTCONFIGDIR}
|
|
|
|
|
2004-01-02 19:38:14 +03:00
|
|
|
BUILDSYMLINKS= client.cpp rstart.cpp \
|
|
|
|
server.cpp rstartd.cpp
|
2003-09-11 22:37:05 +04:00
|
|
|
|
|
|
|
CPPSCRIPTS= config rstart rstartd
|
2004-05-16 14:25:13 +04:00
|
|
|
CPPSCRIPTFLAGS_config= -DBINDIR=${X11BINDIR} -DLIBDIR=${RSTARTCONFIGDIR} \
|
2003-09-11 22:37:05 +04:00
|
|
|
-DPACKAGEname=rstart -DENVPREFIX=RSTART
|
|
|
|
CPPSCRIPTFLAGS_rstart= -DRSHCMD=rsh -DSERVERNAME=rstartd
|
2004-05-16 14:25:13 +04:00
|
|
|
CPPSCRIPTFLAGS_rstartd= -DLIBDIR=${RSTARTCONFIGDIR} -DSERVERNAME=rstartd \
|
2004-01-02 19:32:12 +03:00
|
|
|
-DBINDIR=${RSTARTDBINDIR}
|
2003-09-11 22:37:05 +04:00
|
|
|
SCRIPTS= rstart rstartd
|
|
|
|
SCRIPTSDIR= ${X11BINDIR}
|
2004-05-16 14:25:13 +04:00
|
|
|
CONFIGFILES= config
|
|
|
|
FILESDIR= ${RSTARTCONFIGDIR}
|
2003-09-11 22:37:05 +04:00
|
|
|
|
|
|
|
SUBDIR= commands contexts
|
2004-05-16 14:25:13 +04:00
|
|
|
TARGETS+= configinstall
|
2003-09-11 22:37:05 +04:00
|
|
|
|
|
|
|
.PATH: ${X11SRCDIR.xc}/programs/rstart
|
|
|
|
|
2003-09-14 00:17:57 +04:00
|
|
|
.include <bsd.x11.mk>
|
2004-01-02 19:32:12 +03:00
|
|
|
BINDIR= ${RSTARTDBINDIR}
|
2003-09-11 22:37:05 +04:00
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.include <bsd.subdir.mk>
|