Importing external/mit/xorg support rules

Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
This commit is contained in:
2014-11-10 14:43:29 +01:00
parent 1230fdc108
commit 971bb1a587
872 changed files with 226588 additions and 104 deletions
+39
View File
@@ -0,0 +1,39 @@
# $NetBSD: Makefile,v 1.2 2008/10/14 23:37:19 cube 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'
BUILDSYMLINKS= client.cpp rstart.cpp \
server.cpp rstartd.cpp
CPPSCRIPTS= config rstart rstartd
CPPSCRIPTFLAGS_config= -DBINDIR=${X11BINDIR} -DLIBDIR=${RSTARTCONFIGDIR} \
-DPACKAGEname=rstart -DENVPREFIX=RSTART
CPPSCRIPTFLAGS_rstart= -DRSHCMD=rsh -DSERVERNAME=rstartd
CPPSCRIPTFLAGS_rstartd= -DLIBDIR=${RSTARTCONFIGDIR} -DSERVERNAME=rstartd \
-DBINDIR=${RSTARTDBINDIR}
SCRIPTS= rstart rstartd
SCRIPTSDIR= ${X11BINDIR}
CONFIGFILES= config
FILESDIR= ${RSTARTCONFIGDIR}
SUBDIR= commands contexts
TARGETS+= configinstall
.PATH: ${X11SRCDIR.xc}/programs/rstart
.include <bsd.x11.mk>
BINDIR= ${RSTARTDBINDIR}
.include <bsd.prog.mk>
.include <bsd.subdir.mk>
@@ -0,0 +1,21 @@
# $NetBSD: Makefile.rstart,v 1.2 2008/10/25 22:27:34 apb Exp $
.include <bsd.own.mk>
.PATH: ${X11SRCDIR.xc}/programs/rstart/${CFDIR}
FILESDIR= ${X11ETCDIR}/rstart/${CFDIR}
.for _F in ${CFFILES}
${_F}.sed: ${_F}
${_MKTARGET_CREATE}
rm -f ${.TARGET}
${TOOL_SED} ${CFSED} < ${.ALLSRC} > ${.TARGET}
CONFIGFILES+= ${_F}.sed
CLEANFILES+= ${_F}.sed
FILESNAME_${_F}.sed= ${_F}
.endfor
TARGETS+= configinstall
realall: ${CONFIGFILES}
@@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
.include <bsd.own.mk>
CFDIR= commands
CFFILES= @List ListContexts ListGenericCommands
CFSED= -e 's,ENVPREFIX,RSTART,g'
CONFIGSYMLINKS= x11r6 ${FILESDIR}/x \
x11r6 ${FILESDIR}/x11 \
SUBDIR= x11r6
.include "../Makefile.rstart"
.include <bsd.x11.mk>
.include <bsd.prog.mk>
.include <bsd.subdir.mk>
@@ -0,0 +1,12 @@
# $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
.include <bsd.own.mk>
CFDIR= commands/x11r6
CFFILES= @List LoadMonitor Terminal
CFSED= -e 's,ENVPREFIX,RSTART,g'
.include "../../Makefile.rstart"
.include <bsd.x11.mk>
.include <bsd.prog.mk>
@@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
CFDIR= contexts
CFFILES= @List default x11r6
CFSED= -e 's,_PATH,/bin:/usr/bin:/usr/pkg/bin:/usr/local/bin:${X11BINDIR},g' \
-e 's,_MANPATH,${X11MANDIR}:/usr/man,g'
CONFIGSYMLINKS= x11r6 ${FILESDIR}/x \
x11r6 ${FILESDIR}/x11 \
.include "../Makefile.rstart"
.include <bsd.x11.mk>
.include <bsd.prog.mk>