Importing texinfo

Also adapted the fetch rules to correctly generate the gitignore
files for gcc, and allow the case of multiple modules in the same
directory, as found in gnu/dist.

Warning: This patch has an entry in docs/UPDATING

Change-Id: Ib781734e8fd7f9c6265fa65d62ba2cf3fccbc5ba
This commit is contained in:
Lionel Sambuc 2013-04-10 18:13:48 +02:00
parent 35f59bfe5d
commit 3e2c2c7bb5
28 changed files with 4912 additions and 16 deletions

View File

@ -172,11 +172,9 @@ afterinstall: .PHONY .MAKE
${MAKEDIRTARGET} man makedb
.endif # !defined(__MINIX)
.endif
.if !defined(__MINIX)
.if (${MKUNPRIVED} != "no" && ${MKINFO} != "no")
${MAKEDIRTARGET} gnu/usr.bin/texinfo/install-info infodir-meta
.endif
.endif # !defined(__MINIX)
.if !defined(NOPOSTINSTALL)
${MAKEDIRTARGET} . postinstall-check
.endif

View File

@ -10,6 +10,7 @@
./multiboot/mod10_vm minix-sys
./multiboot/mod11_pfs minix-sys
./multiboot/mod12_init minix-sys
./usr/include/arm minix-sys
./usr/include/arm/aeabi.h minix-sys
./usr/include/arm/ansi.h minix-sys
./usr/include/arm/arm26 minix-sys
@ -39,7 +40,6 @@
./usr/include/arm/lock.h minix-sys
./usr/include/arm/math.h minix-sys
./usr/include/arm/mcontext.h minix-sys
./usr/include/arm minix-sys
./usr/include/arm/mutex.h minix-sys
./usr/include/arm/param.h minix-sys
./usr/include/arm/profile.h minix-sys
@ -48,6 +48,7 @@
./usr/include/arm/signal.h minix-sys
./usr/include/arm/types.h minix-sys
./usr/include/arm/wchar_limits.h minix-sys
./usr/include/evbarm minix-sys
./usr/include/evbarm/ansi.h minix-sys
./usr/include/evbarm/archconst.h minix-sys
./usr/include/evbarm/archtypes.h minix-sys
@ -77,7 +78,6 @@
./usr/include/evbarm/math.h minix-sys
./usr/include/evbarm/mcontext.h minix-sys
./usr/include/evbarm/memory.h minix-sys
./usr/include/evbarm minix-sys
./usr/include/evbarm/multiboot.h minix-sys
./usr/include/evbarm/mutex.h minix-sys
./usr/include/evbarm/param.h minix-sys

View File

@ -32,12 +32,13 @@
./usr/bin/doswrite minix-sys
./usr/bin/fdisk minix-sys
./usr/bin/loadfont minix-sys
./usr/bin/partition minix-sys
./usr/bin/part minix-sys
./usr/bin/partition minix-sys
./usr/bin/playwave minix-sys
./usr/bin/recwave minix-sys
./usr/bin/repartition minix-sys
./usr/bin/screendump minix-sys
./usr/include/i386 minix-sys
./usr/include/i386/ansi.h minix-sys
./usr/include/i386/archconst.h minix-sys
./usr/include/i386/archtypes.h minix-sys
@ -73,7 +74,6 @@
./usr/include/i386/math.h minix-sys
./usr/include/i386/mcontext.h minix-sys
./usr/include/i386/memory.h minix-sys
./usr/include/i386 minix-sys
./usr/include/i386/multiboot.h minix-sys
./usr/include/i386/mutex.h minix-sys
./usr/include/i386/npx.h minix-sys
@ -96,6 +96,7 @@
./usr/include/i386/vmparam.h minix-sys
./usr/include/i386/wchar_limits.h minix-sys
./usr/include/minix/vassert.h minix-sys
./usr/include/x86 minix-sys
./usr/include/x86/aout_machdep.h minix-sys
./usr/include/x86/bootinfo.h minix-sys
./usr/include/x86/cacheinfo.h minix-sys
@ -110,7 +111,6 @@
./usr/include/x86/intr.h minix-sys
./usr/include/x86/lock.h minix-sys
./usr/include/x86/math.h minix-sys
./usr/include/x86 minix-sys
./usr/include/x86/mtrr.h minix-sys
./usr/include/x86/mutex.h minix-sys
./usr/include/x86/pio.h minix-sys
@ -135,17 +135,17 @@
./usr/lib/libvboxfs_pic.a minix-sys
./usr/lib/libvirtio.a minix-sys
./usr/lib/libvirtio_pic.a minix-sys
./usr/mdec minix-sys
./usr/mdec/boot_monitor minix-sys
./usr/mdec/bootxx_cd9660 minix-sys
./usr/mdec/bootxx_ext2fs minix-sys
./usr/mdec/bootxx_minixfs3 minix-sys
./usr/mdec/gptmbr.bin minix-sys
./usr/mdec/mbr_bootsel minix-sys
./usr/mdec/mbr_com0_9600 minix-sys
./usr/mdec/mbr_com0 minix-sys
./usr/mdec/mbr_ext minix-sys
./usr/mdec/mbr minix-sys
./usr/mdec minix-sys
./usr/mdec/mbr_bootsel minix-sys
./usr/mdec/mbr_com0 minix-sys
./usr/mdec/mbr_com0_9600 minix-sys
./usr/mdec/mbr_ext minix-sys
./usr/sbin/acpi minix-sys
./usr/sbin/amddev minix-sys
./usr/sbin/atl2 minix-sys

View File

@ -313,9 +313,12 @@
./usr/bin/ifdef minix-sys
./usr/bin/indent minix-sys
./usr/bin/in.fingerd minix-sys
./usr/bin/info minix-sys
./usr/bin/infocmp minix-sys
./usr/bin/infokey minix-sys
./usr/bin/in.rshd minix-sys
./usr/bin/install minix-sys
./usr/bin/install-info minix-sys
./usr/bin/in.telnetd minix-sys
./usr/bin/ipcrm minix-sys
./usr/bin/ipcs minix-sys
@ -344,6 +347,7 @@
./usr/bin/mail minix-sys
./usr/bin/make minix-sys
./usr/bin/MAKEDEV minix-sys
./usr/bin/makeinfo minix-sys
./usr/bin/man minix-sys
./usr/bin/mandoc minix-sys
./usr/bin/md2 minix-sys
@ -435,6 +439,8 @@
./usr/bin/tee minix-sys
./usr/bin/term minix-sys
./usr/bin/termcap minix-sys
./usr/bin/texi2dvi minix-sys
./usr/bin/texindex minix-sys
./usr/bin/tget minix-sys
./usr/bin/tic minix-sys
./usr/bin/time minix-sys
@ -1298,8 +1304,11 @@
./usr/man/man1/if.1 minix-sys
./usr/man/man1/ifdef.1 minix-sys
./usr/man/man1/indent.1 minix-sys
./usr/man/man1/info.1 minix-sys
./usr/man/man1/infocmp.1 minix-sys
./usr/man/man1/infokey.1 minix-sys
./usr/man/man1/install.1 minix-sys
./usr/man/man1/install-info.1 minix-sys
./usr/man/man1/isodir.1 minix-sys
./usr/man/man1/isoinfo.1 minix-sys
./usr/man/man1/isoread.1 minix-sys
@ -1328,6 +1337,7 @@
./usr/man/man1/m4.1 minix-sys
./usr/man/man1/mail.1 minix-sys
./usr/man/man1/make.1 minix-sys
./usr/man/man1/makeinfo.1 minix-sys
./usr/man/man1/man.1 minix-sys
./usr/man/man1/mandoc.1 minix-sys
./usr/man/man1/md2.1 minix-sys
@ -1412,6 +1422,8 @@
./usr/man/man1/term.1 minix-sys
./usr/man/man1/termcap.1 minix-sys
./usr/man/man1/test.1 minix-sys
./usr/man/man1/texi2dvi.1 minix-sys
./usr/man/man1/texindex.1 minix-sys
./usr/man/man1/tget.1 minix-sys
./usr/man/man1/tic.1 minix-sys
./usr/man/man1/time.1 minix-sys
@ -3671,6 +3683,7 @@
./usr/man/man5/hosts.5 minix-sys
./usr/man/man5/httpd.conf.5 minix-sys
./usr/man/man5/http_status.5 minix-sys
./usr/man/man5/info.5 minix-sys
./usr/man/man5/keymap.5 minix-sys
./usr/man/man5/libarchive-formats.5 minix-sys
./usr/man/man5/magic.5 minix-sys
@ -3689,6 +3702,7 @@
./usr/man/man5/tar.5 minix-sys
./usr/man/man5/termcap.5 minix-sys
./usr/man/man5/terminfo.5 minix-sys
./usr/man/man5/texinfo.5 minix-sys
./usr/man/man5/ttytab.5 minix-sys
./usr/man/man5/TZ.5 minix-sys
./usr/man/man5/tzfile.5 minix-sys
@ -3872,6 +3886,11 @@
./usr/share/doc/psd/19.curses/twinkle1.c minix-sys
./usr/share/doc/psd/19.curses/twinkle2.c minix-sys
./usr/share/doc/psd/19.curses/win_st.c minix-sys
./usr/share/info minix-sys
./usr/share/info/dir minix-sys
./usr/share/info/info.info minix-sys
./usr/share/info/info-stnd.info minix-sys
./usr/share/info/texinfo.info minix-sys
./usr/share/misc minix-sys
./usr/share/misc/acronyms minix-sys
./usr/share/misc/acronyms.comp minix-sys
@ -3881,6 +3900,7 @@
./usr/share/misc/bsd-family-tree minix-sys
./usr/share/misc/country minix-sys
./usr/share/misc/domains minix-sys
./usr/share/misc/epsf.tex minix-sys
./usr/share/misc/eqnchar minix-sys
./usr/share/misc/flowers minix-sys
./usr/share/misc/indent.pro minix-sys
@ -3894,6 +3914,10 @@
./usr/share/misc/NetBSD.el minix-sys
./usr/share/misc/operator minix-sys
./usr/share/misc/style minix-sys
./usr/share/misc/texinfo.cat minix-sys
./usr/share/misc/texinfo.dtd minix-sys
./usr/share/misc/texinfo.tex minix-sys
./usr/share/misc/texinfo.xsl minix-sys
./usr/share/misc/zipcodes minix-sys
./usr/share/mk minix-sys
./usr/share/mk/bsd.clang-analyze.mk minix-sys
@ -4624,6 +4648,7 @@
./usr/tests/minix-posix/test59 minix-sys
./usr/tests/minix-posix/test60 minix-sys
./usr/tests/minix-posix/test6 minix-sys
./usr/tests/minix-posix/test6 minix-sys
./usr/tests/minix-posix/test61 minix-sys
./usr/tests/minix-posix/test64 minix-sys
./usr/tests/minix-posix/test65 minix-sys
@ -4632,10 +4657,10 @@
./usr/tests/minix-posix/test68 minix-sys
./usr/tests/minix-posix/test69 minix-sys
./usr/tests/minix-posix/test70 minix-sys
./usr/tests/minix-posix/test7 minix-sys
./usr/tests/minix-posix/test71 minix-sys
./usr/tests/minix-posix/test72 minix-sys
./usr/tests/minix-posix/test73 minix-sys
./usr/tests/minix-posix/test7 minix-sys
./usr/tests/minix-posix/test8 minix-sys
./usr/tests/minix-posix/test9 minix-sys
./usr/tests/minix-posix/testinterp minix-sys

View File

@ -1,3 +1,13 @@
20130423:
Texinfo needs itself to generate its manual pages. As it is not
yet installed on the system it fails to find the default makeinfo
tool. So we have to first compile it, then install it will specifying
the full path to makeinfo (Both commands have to be run, in the given
sequence):
# make -C gnu/usr.bin/texinfo all
# make -C gnu/usr.bin/texinfo all install TOOL_MAKEINFO=/usr/src/gnu/usr.bin/texinfo/makeinfo/makeinfo
20130422:
The ARM build no longer requires you to build as root user you
therefore need to wipe (or chmod) your build generated files

View File

@ -99,6 +99,7 @@
./usr/share/doc/html/bzip2
./usr/share/doc/psd
./usr/share/doc/psd/19.curses
./usr/share/info
./usr/share/misc
./usr/share/mk
./usr/share/terminfo

9
gnu/Makefile Normal file
View File

@ -0,0 +1,9 @@
# $NetBSD: Makefile,v 1.17 2010/12/03 21:38:47 plunky Exp $
SUBDIR+= dist .WAIT usr.bin
# Speedup stubs for some subtrees that don't need to run these rules
includes-libexec:
@true
.include <bsd.subdir.mk>

34
gnu/README Normal file
View File

@ -0,0 +1,34 @@
$NetBSD: README,v 1.5 2003/12/04 23:32:37 keihan Exp $
Organization of Sources:
This directory hierarchy is using a new organization that
separates the GNU sources from the BSD-style infrastructure
used to build the GNU sources. The GNU sources are kept in
the standard GNU source tree layout under:
dist/*
The build infrastructure uses the normal BSD way under:
lib/*
usr.bin/*
The makefiles in the above hierarchy will "reach over" into
the GNU sources (src/gnu/dist) for everything they need.
Maintenance Strategy:
The sources under src/gnu/dist are generally a combination of
some published distribution plus changes that we submit to the
maintainers and that are not yet published by them. There are
a few files that are never expected to be submitted to the FSF,
(i.e. BSD-style makefiles and such) and those generally should
stay in src/gnu/lib or src/gnu/usr.bin (the BSD build areas).
Make sure all changes made to the GNU sources are submitted to
the appropriate maintainer, but only after coordinating with the
NetBSD maintainers by sending your proposed submission to the
<tech-toolchain@NetBSD.org> mailing list. Only send the changes
to the third-party maintainers after consensus has been reached.

14
gnu/dist/Makefile vendored Normal file
View File

@ -0,0 +1,14 @@
# LSC FIXME: Hackish way to trigger the fetch phase from here
# in the same way as from tools.
.include <bsd.own.mk>
MODULE= texinfo
.include "${.CURDIR}/../../tools/Makefile.gnuhost"
# Force the mapping to standard targets even when not building tools
.if ${USETOOLS} != "yes"
realall: .build_done
realinstall: .install_done
.endif

32
gnu/dist/fetch.sh vendored
View File

@ -4,7 +4,7 @@
echo $0
cd `dirname $0`
# Configure fetch method
# Configure fetch method - GMAKE
URL="http://www.minix3.org/distfiles-minix/make-3.80.tar.bz2"
BACKUP_URL="ftp://ftp.gnu.org/gnu/make/make-3.80.tar.bz2"
FETCH=wget
@ -24,6 +24,34 @@ then
fi
tar -xjf make-3.80.tar.bz2 && \
mv make-3.80 gmake
mv make-3.80 gmake && \
echo "make*" >> .gitignore
echo "gmake*" >> .gitignore
fi
# Configure fetch method - TEXINFO
URL="http://www.minix3.org/distfiles-minix/texinfo-4.8.tar.bz2"
BACKUP_URL="ftp://ftp.gnu.org/gnu/texinfo/texinfo-4.8.tar.bz2"
FETCH=wget
which curl >/dev/null
if [ $? -eq 0 ]; then
FETCH="curl -O -f"
fi
# Fetch sources if not available
if [ ! -d texinfo ];
then
if [ ! -f texinfo-4.8.tar.bz2 ]; then
$FETCH $URL
if [ $? -ne 0 ]; then
$FETCH $BACKUP_URL
fi
fi
tar -xjf texinfo-4.8.tar.bz2 && \
cd texinfo-4.8 && \
cat ../../usr.bin/texinfo/patches/* | patch -p1 && \
cd - && \
mv texinfo-4.8 texinfo
fi

36
gnu/usr.bin/Makefile Normal file
View File

@ -0,0 +1,36 @@
# $NetBSD: Makefile,v 1.136 2012/08/10 12:11:30 joerg Exp $
.include <bsd.own.mk>
#SUBDIR+= bc
#SUBDIR+= c89 c99
#SUBDIR+= dc diffutils gkermit
SUBDIR+= texinfo
.if !defined(__MINIX)
.if ${MKBSDGREP} == "no"
SUBDIR+= grep
.endif
.if ${MKGROFF} != "no"
SUBDIR+= groff
.endif
SUBDIR+= gettext
.if ${MKGDB} != "no"
.if ${HAVE_GDB} == "6"
SUBDIR+= gdb6
.endif
.endif
.if ${MKGCC} != "no"
.if ${HAVE_GCC} == 4
.if ${MKGCCCMDS} != "no"
SUBDIR+= gcc4
.endif
.endif
.endif
.endif #!defined(__MINIX)
.include <bsd.subdir.mk>

3
gnu/usr.bin/Makefile.inc Normal file
View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile.inc,v 1.3 1997/10/25 10:10:19 lukem Exp $
BINDIR?= /usr/bin

View File

@ -0,0 +1,46 @@
# $NetBSD: Makefile,v 1.23 2008/10/25 22:35:36 apb Exp $
.include <bsd.own.mk>
SUBDIR= makedoc .WAIT common .WAIT info infokey install-info makeinfo \
texi2dvi texindex
.if ${MKSHARE} != "no"
FILESDIR= /usr/share/misc
FILES= epsf.tex texinfo.cat texinfo.dtd texinfo.tex texinfo.xsl
VERSION!= ${TOOL_SED} -n "s/^\#define VERSION \"\(.*\)\"/\1/p" \
${NETBSDSRCDIR}/gnu/usr.bin/texinfo/common/config.h
texinfo.cat: texinfo-cat.in
${TOOL_SED} 's/__VERSION__/${VERSION}/g' ${.ALLSRC} >${.TARGET}
realall: texinfo.cat
CLEANFILES+= texinfo.cat
.endif
.if ${MKNLS} != "no"
.for F in cs.gmo da.gmo de.gmo de_AT.gmo eo.gmo fr.gmo he.gmo hr.gmo ja.gmo \
nb.gmo nl.gmo no.gmo pl.gmo ro.gmo ru.gmo sv.gmo tr.gmo zh_CN.gmo zh_TW.gmo
FILES+= ${F}
FILESDIR_${F}= /usr/share/locale/${F:.gmo=}/LC_MESSAGES
FILESNAME_${F}= texinfo.mo
.endfor
# XXX: Do we want to install the following files too?
#FILES+= txi-cs.tex txi-de.tex txi-en.tex txi-es.tex txi-fr.tex txi-it.tex \
# txi-nl.tex txi-no.tex txi-pt.tex txi-tr.tex
.endif
MAN= info.5 texinfo.5
TEXINFO= info-stnd.texi info.texi texinfo.txi
DIST= ${NETBSDSRCDIR}/gnu/dist
IDIST= ${DIST}/texinfo
INFOFLAGS= -I${IDIST}/doc
.PATH: ${IDIST} ${IDIST}/doc ${IDIST}/po ${IDIST}/util
.include <bsd.info.mk>
.include <bsd.prog.mk>
.include <bsd.subdir.mk>

View File

@ -0,0 +1,32 @@
# $NetBSD: Makefile.inc,v 1.10 2011/05/26 12:56:29 joerg Exp $
.if !defined(__MAKEFILE_INC_INCLUDED__)
__MAKEFILE_INC_INCLUDED__=1
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/gnu/dist
IDIST= ${DIST}/texinfo
CPPFLAGS+= -I${.CURDIR}/../common -I${IDIST}/lib \
-DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H
CWARNFLAGS.clang+= -Wno-format-security
.if !defined(MAKEDOC)
DPADD+= ${LIBCOMMONDIR}/libcommon.a
LDADD+= -L${LIBCOMMONDIR} -lcommon
.if !defined(__MINIX)
DPADD+= ${LIBINTL}
LDADD+= -lintl
.endif # !defined(__MINIX)
LIBCOMMONDIR!= cd ${.CURDIR}/../common && ${PRINTOBJDIR}
.endif
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif
.endif # __MAKEFILE_INC_INCLUDED__

View File

@ -0,0 +1,36 @@
# $NetBSD: Makefile,v 1.13 2008/09/03 11:58:30 lukem Exp $
.include "../Makefile.inc"
LIBISPRIVATE= yes
LIB= common
SRCS+= substring.c xexit.c xmalloc.c xstrdup.c key.c doc.c
CPPFLAGS+= -DGNULOCALEDIR=\"/usr/share/locale\" \
-DLOCALE_ALIAS_PATH=\"/usr/share/locale:.\" \
-I${IDIST}/info
.include <bsd.lib.mk>
.PATH: ${IDIST}/lib ${IDIST}/po
all: ${FILES}
.SUFFIXES: .gmo .mo
.gmo.mo:
${_MKTARGET_CREATE}
@cp $< $@
GEN_SRCS = funs.h key.c doc.c
CLEANFILES+= ${GEN_SRCS}
CMD_SRCS = session.c echo-area.c infodoc.c m-x.c indices.c nodemenu.c \
footnotes.c variables.c
MAKEDOCDIR!=cd ${.CURDIR}/../makedoc && ${PRINTOBJDIR}
MAKEDOC=${MAKEDOCDIR}/makedoc
${GEN_SRCS}: ${MAKEDOC} ${CMD_SRCS}
${_MKMSG_CREATE} ${GEN_SRCS}
${.ALLSRC}
.PATH: ${IDIST}/info ${IDIST}/doc

View File

@ -0,0 +1,423 @@
/* config.h. Generated by configure. */
/* config.in. Generated from configure.ac by autoheader. */
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
*/
/* #undef CRAY_STACKSEG_END */
/* Define to 1 if using `alloca.c'. */
/* #undef C_ALLOCA */
/* Define to 1 if translation of program messages to the user's native
language is requested. */
#ifndef HOSTTOOL
/* #undef ENABLE_NLS */
#endif
/* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */
/* #undef GWINSZ_IN_SYS_IOCTL */
/* Define to 1 if you have `alloca', as a function or macro. */
/* #undef HAVE_ALLOCA */
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
*/
/* #undef HAVE_ALLOCA_H */
/* Define to 1 if you have the <argz.h> header file. */
/* #undef HAVE_ARGZ_H */
/* Define to 1 if you have the `asprintf' function. */
#define HAVE_ASPRINTF 1
/* Define to 1 if you have the `bzero' function. */
#define HAVE_BZERO 1
/* Define if the GNU dcgettext() function is already present or preinstalled.
*/
/* #undef HAVE_DCGETTEXT */
/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
don't. */
#define HAVE_DECL_FEOF_UNLOCKED 0
/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
you don't. */
#define HAVE_DECL_FGETS_UNLOCKED 0
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
don't. */
#define HAVE_DECL_GETC_UNLOCKED 1
/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
*/
#define HAVE_DECL_GETENV 1
/* Define to 1 if you have the declaration of `memchr', and to 0 if you don't.
*/
#define HAVE_DECL_MEMCHR 1
/* Define to 1 if you have the declaration of `strcoll', and to 0 if you
don't. */
#define HAVE_DECL_STRCOLL 1
/* Define to 1 if you have the declaration of `strerror', and to 0 if you
don't. */
#define HAVE_DECL_STRERROR 1
/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
don't. */
#define HAVE_DECL__SNPRINTF 0
/* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
don't. */
#define HAVE_DECL__SNWPRINTF 0
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
/* #undef HAVE_DOPRNT */
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `fwprintf' function. */
#define HAVE_FWPRINTF 1
/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1
/* Define to 1 if you have the `getegid' function. */
#define HAVE_GETEGID 1
/* Define to 1 if you have the `geteuid' function. */
#define HAVE_GETEUID 1
/* Define to 1 if you have the `getgid' function. */
#define HAVE_GETGID 1
/* Define to 1 if you have the `getpagesize' function. */
#define HAVE_GETPAGESIZE 1
/* Define if the GNU gettext() function is already present or preinstalled. */
/* #undef HAVE_GETTEXT */
/* Define to 1 if you have the `gettimeofday' function. */
/* #undef HAVE_GETTIMEOFDAY */
/* Define to 1 if you have the `getuid' function. */
#define HAVE_GETUID 1
/* Define if you have the iconv() function. */
#define HAVE_ICONV 1
/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
#define HAVE_INTMAX_T 1
/* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */
#define HAVE_INTTYPES_H 1
/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
declares uintmax_t. */
#define HAVE_INTTYPES_H_WITH_UINTMAX 1
/* Define to 1 if you have the <io.h> header file. */
/* #undef HAVE_IO_H */
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#define HAVE_LANGINFO_CODESET 1
/* Define if your <locale.h> file defines LC_MESSAGES. */
#define HAVE_LC_MESSAGES 1
/* Define to 1 if you have the `bsd' library (-lbsd). */
/* #undef HAVE_LIBBSD */
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define if you have the 'long double' type. */
#define HAVE_LONG_DOUBLE 1
/* Define if you have the 'long long' type. */
#define HAVE_LONG_LONG 1
/* Define to 1 if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1
/* Define to 1 if you have the `memcpy' function. */
#define HAVE_MEMCPY 1
/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `mempcpy' function. */
/* #undef HAVE_MEMPCPY */
/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define to 1 if you have the `mkstemp' function. */
#define HAVE_MKSTEMP 1
/* Define to 1 if you have a working `mmap' system call. */
/* #undef HAVE_MMAP */
/* Define to 1 if you have the `munmap' function. */
/* #undef HAVE_MUNMAP */
/* Define to 1 if you have the <ncurses/termcap.h> header file. */
/* #undef HAVE_NCURSES_TERMCAP_H */
/* Define to 1 if you have the <nl_types.h> header file. */
#define HAVE_NL_TYPES_H 1
/* Define if your printf() function supports format strings with positions. */
#define HAVE_POSIX_PRINTF 1
/* Define to 1 if you have the `putenv' function. */
#define HAVE_PUTENV 1
/* Define to 1 if you have the <pwd.h> header file. */
#define HAVE_PWD_H 1
/* Define to 1 if you have the `setenv' function. */
#define HAVE_SETENV 1
/* Define to 1 if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1
/* Define to 1 if you have the `setvbuf' function. */
#define HAVE_SETVBUF 1
/* Define to 1 if you have the `sigaction' function. */
#define HAVE_SIGACTION 1
/* Define to 1 if you have the `sigprocmask' function. */
#define HAVE_SIGPROCMASK 1
/* Define to 1 if you have the `sigsetmask' function. */
#define HAVE_SIGSETMASK 1
/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1
/* Define to 1 if you have the <stddef.h> header file. */
#define HAVE_STDDEF_H 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
uintmax_t. */
#define HAVE_STDINT_H_WITH_UINTMAX 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `stpcpy' function. */
/* #undef HAVE_STPCPY */
/* Define to 1 if you have the `strcasecmp' function. */
#define HAVE_STRCASECMP 1
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strcoll' function and it is properly defined.
*/
#define HAVE_STRCOLL 1
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strncasecmp' function. */
#define HAVE_STRNCASECMP 1
/* Define to 1 if you have the `strtoul' function. */
#define HAVE_STRTOUL 1
/* Define to 1 if you have the <sys/fcntl.h> header file. */
#define HAVE_SYS_FCNTL_H 1
/* Define to 1 if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1
/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the <sys/ptem.h> header file. */
/* #undef HAVE_SYS_PTEM_H */
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/stream.h> header file. */
/* #undef HAVE_SYS_STREAM_H */
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/ttold.h> header file. */
/* #undef HAVE_SYS_TTOLD_H */
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <sys/wait.h> header file. */
#define HAVE_SYS_WAIT_H 1
/* Define to 1 if you have the <termcap.h> header file. */
#define HAVE_TERMCAP_H 1
/* Define to 1 if you have the <termios.h> header file. */
#define HAVE_TERMIOS_H 1
/* Define to 1 if you have the <termio.h> header file. */
/* #undef HAVE_TERMIO_H */
/* Define to 1 if you have the `tsearch' function. */
#define HAVE_TSEARCH 1
/* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
#define HAVE_UINTMAX_T 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define if you have the 'unsigned long long' type. */
#define HAVE_UNSIGNED_LONG_LONG 1
/* Define to 1 if you have the `vprintf' function. */
#define HAVE_VPRINTF 1
/* Define if you have the 'wchar_t' type. */
#define HAVE_WCHAR_T 1
/* Define to 1 if you have the `wcslen' function. */
#define HAVE_WCSLEN 1
/* Define if you have the 'wint_t' type. */
#define HAVE_WINT_T 1
/* Define to 1 if you have the `__argz_count' function. */
/* #undef HAVE___ARGZ_COUNT */
/* Define to 1 if you have the `__argz_next' function. */
/* #undef HAVE___ARGZ_NEXT */
/* Define to 1 if you have the `__argz_stringify' function. */
/* #undef HAVE___ARGZ_STRINGIFY */
/* Define to 1 if you have the `__fsetlocking' function. */
/* #undef HAVE___FSETLOCKING */
/* Define to 1 if you have the `__secure_getenv' function. */
/* #undef HAVE___SECURE_GETENV */
/* Define as const if the declaration of iconv() needs const. */
#define ICONV_CONST const
/* Define if integer division by zero raises signal SIGFPE. */
#define INTDIV0_RAISES_SIGFPE 1
/* Name of package */
#define PACKAGE "texinfo"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME "GNU Texinfo"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "GNU Texinfo 4.8"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "texinfo"
/* Define to the version of this package. */
#define PACKAGE_VERSION "4.8"
/* Define if <inttypes.h> exists and defines unusable PRI* macros. */
/* #undef PRI_MACROS_BROKEN */
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* Define as the maximum value of type 'size_t', if the system doesn't define
it. */
/* #undef SIZE_MAX */
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at run-time.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
/* #undef STACK_DIRECTION */
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
/* #undef STAT_MACROS_BROKEN */
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef TM_IN_SYS_TIME */
/* Version number of package */
#define VERSION "4.8"
/* Define to 1 if on MINIX. */
/* #undef _MINIX */
/* Define to 2 if the system does not provide POSIX.1 features except with
this defined. */
/* #undef _POSIX_1_SOURCE */
/* Define to 1 if you need to in order for `stat' and other things to work. */
/* #undef _POSIX_SOURCE */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* Define to rpl_mkstemp if the replacement function should be used. */
/* #undef mkstemp */
/* Define to `long' if <sys/types.h> does not define. */
/* #undef off_t */
/* Define as the type of the result of subtracting two pointers, if the system
doesn't define it. */
/* #undef ptrdiff_t */
/* Define to empty if the C compiler doesn't support this keyword. */
/* #undef signed */
/* Define to `unsigned' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define to unsigned long or unsigned long long if <stdint.h> and
<inttypes.h> don't define. */
/* #undef uintmax_t */

View File

@ -0,0 +1,20 @@
# $NetBSD: Makefile,v 1.6 2010/02/03 15:34:39 roy Exp $
.include <bsd.own.mk>
PROG= info
SRCS= dir.c display.c dribble.c echo-area.c filesys.c \
footnotes.c gc.c indices.c info-utils.c info.c infodoc.c \
infomap.c m-x.c man.c nodemenu.c nodes.c search.c session.c \
signals.c terminal.c tilde.c variables.c window.c
COMMONDIR!=cd ${.CURDIR}/../common && ${PRINTOBJDIR}
CPPFLAGS+= -I${IDIST}/info -I${COMMONDIR} \
-DDEFAULT_INFOPATH=\"/usr/pkg/info:/usr/X11R6/info:/usr/X11/info:/usr/local/info:/usr/share/info:/usr/info\"
LDADD+= -lterminfo
DPADD+= ${LIBTERMINFO}
.include <bsd.prog.mk>
.PATH: ${IDIST}/info ${IDIST}/doc

View File

@ -0,0 +1,10 @@
# $NetBSD: Makefile,v 1.3 2008/09/02 08:38:36 christos Exp $
PROG= infokey
SRCS= infokey.c
CPPFLAGS+= -I${IDIST}/info
.include <bsd.prog.mk>
.PATH: ${IDIST}/info ${IDIST}/doc

View File

@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.10 2004/02/09 06:52:34 lukem Exp $
PROG= install-info
SRCS= install-info.c
.include <bsd.prog.mk>
.PATH: ${IDIST}/util ${IDIST}/doc
infodir-meta:
.if (${MKUNPRIVED} != "no" && ${MKINFO} != "no")
echo "./usr/share/info/dir type=file mode=0644 uname=${BINOWN} gname=${BINGRP}" \
| ${METALOG.add}
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.4 2008/09/09 06:31:33 lukem Exp $
NOMAN=
MAKEDOC=
.include "../Makefile.inc"
HOSTPROG= makedoc
SRCS= makedoc.c xexit.c xmalloc.c xstrdup.c
.PATH: ${IDIST}/info ${IDIST}/lib
HOST_CPPFLAGS+= -I${IDIST}/info -I${IDIST}/lib -I${.CURDIR}/../common
HOST_CPPFLAGS+= -DHOSTTOOL
.include <bsd.hostprog.mk>

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.7 2011/05/26 12:56:29 joerg Exp $
PROG= makeinfo
SRCS= cmds.c defun.c files.c float.c footnote.c \
html.c index.c insertion.c lang.c \
macro.c makeinfo.c multi.c node.c \
sectioning.c toc.c xml.c xref.c
CPPFLAGS+= -I${IDIST}/makeinfo
WARNS?= 0 # pointer sign issues
.include <bsd.prog.mk>
.PATH: ${IDIST}/makeinfo ${IDIST}/doc

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,9 @@
# $NetBSD: Makefile,v 1.4 2003/01/17 15:32:25 wiz Exp $
FILES= texi2dvi
FILESMODE= ${BINMODE}
MAN= texi2dvi.1
.include <bsd.prog.mk>
.PATH: ${IDIST}/util ${IDIST}/doc

View File

@ -0,0 +1,8 @@
# $NetBSD: Makefile,v 1.4 2003/01/17 15:32:25 wiz Exp $
PROG= texindex
SRCS= texindex.c
.include <bsd.prog.mk>
.PATH: ${IDIST}/util ${IDIST}/doc

View File

@ -58,6 +58,10 @@
2012/10/17 12:00:00,external/Makefile
2011/05/26 00:00:00,external/public-domain/xz
2012/10/17 12:00:00,external/README
2012/10/17 12:00:00,gnu/dist/texinfo
2012/10/17 12:00:00,gnu/usr.bin/texinfo
2012/10/17 12:00:00,gnu/Makefile
2012/10/17 12:00:00,gnu/README
2012/10/17 12:00:00,include
2012/10/17 12:00:00,libexec/ld.elf_so
2012/10/17 12:00:00,libexec/Makefile
@ -119,6 +123,7 @@
2012/10/17 12:00:00,tools/mtree
2012/10/17 12:00:00,tools/nbperf
2012/10/17 12:00:00,tools/sed
2012/10/17 12:00:00,tools/texinfo
2012/10/17 12:00:00,tools/tic
2012/10/17 12:00:00,tools/tsort
2009/05/08 12:48:43,usr.bin/apropos

View File

@ -63,6 +63,7 @@ SUBDIR= host-mkdep .WAIT compat .WAIT \
genassym join \
lorder makewhatis mkdep mtree nbperf .WAIT tsort \
m4 \
.WAIT texinfo \
.WAIT mkfs.mfs \
.WAIT toproto \
.WAIT yacc \

View File

@ -35,7 +35,7 @@ GNUHOSTDIST?= ${.CURDIR}/../../gnu/dist/${MODULE}
${GNUHOSTDIST:H}/.gitignore: ${GNUHOSTDIST:H}/fetch.sh
${HOST_SH} ${GNUHOSTDIST:H}/fetch.sh
@test -e ${GNUHOSTDIST}/configure
@echo "${MODULE:U${.CURDIR:T:C,^gcc[0-9]*$,gcc,}}-*.tar.*z*" > $@
@echo "${MODULE:U${.CURDIR:T}:C,gcc[0-9]*,gcc,}-*.tar.*z*" >> $@
@echo ${GNUHOSTDIST:T} >> $@
_gnu_get_src=${GNUHOSTDIST:H}/.gitignore
.endif # exists(GNUHOSTDIST:H/fetch.sh) on MINIX

7
tools/texinfo/Makefile Normal file
View File

@ -0,0 +1,7 @@
# $NetBSD: Makefile,v 1.9 2002/12/08 20:20:05 thorpej Exp $
MODULE= texinfo
CONFIGURE_ARGS= --program-prefix=${_TOOL_PREFIX}
.include "${.CURDIR}/../Makefile.gnuhost"