summaryrefslogtreecommitdiff
path: root/gnu/egcs
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-05-26 15:47:03 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-05-26 15:47:03 +0000
commit65fa0603a58b26cc81d37e4a378857741f566f9b (patch)
treecb744e175ccc2595e452481f36a30de08790f5df /gnu/egcs
parent6e05ed8e30264d12948e8a5c201641e9eba78261 (diff)
Wrappers + lib versions
Diffstat (limited to 'gnu/egcs')
-rw-r--r--gnu/egcs/Makefile.bsd-wrapper15
-rw-r--r--gnu/egcs/Makefile.bsd-wrapper12
-rw-r--r--gnu/egcs/gcc/Makefile.bsd-wrapper145
-rw-r--r--gnu/egcs/libf2c/Makefile.bsd-wrapper156
-rw-r--r--gnu/egcs/libf2c/shlib_version2
-rw-r--r--gnu/egcs/libiberty/Makefile.bsd-wrapper35
-rw-r--r--gnu/egcs/libiberty/Makefile.bsd-wrapper117
-rw-r--r--gnu/egcs/libiberty/shlib_version2
-rw-r--r--gnu/egcs/libio/Makefile.bsd-wrapper96
-rw-r--r--gnu/egcs/libio/shlib_version2
-rw-r--r--gnu/egcs/libobjc/Makefile.bsd-wrapper103
-rw-r--r--gnu/egcs/libobjc/shlib_version2
-rw-r--r--gnu/egcs/libstdc++/Makefile.bsd-wrapper430
-rw-r--r--gnu/egcs/libstdc++/shlib_version2
14 files changed, 1009 insertions, 0 deletions
diff --git a/gnu/egcs/Makefile.bsd-wrapper b/gnu/egcs/Makefile.bsd-wrapper
new file mode 100644
index 00000000000..beb6b45016c
--- /dev/null
+++ b/gnu/egcs/Makefile.bsd-wrapper
@@ -0,0 +1,15 @@
+# $OpenBSD: Makefile.bsd-wrapper,v 1.1 1999/05/26 15:47:02 espie Exp $
+
+.if (${MACHINE_ARCH} == "mips")
+MAKE+= -DNOPIC
+.endif
+
+
+SUBDIR+= libiberty libio libstdc++ libf2c libobjc
+
+# just so that the main directory will have a subdir, which simplifies
+# libf2c/libobjc build
+obj: _SUBDIRUSE
+ cd $(.CURDIR) && $(MAKE) -f Makefile.bsd-wrapper1 obj
+
+.include <bsd.subdir.mk>
diff --git a/gnu/egcs/Makefile.bsd-wrapper1 b/gnu/egcs/Makefile.bsd-wrapper1
new file mode 100644
index 00000000000..2972469ffdc
--- /dev/null
+++ b/gnu/egcs/Makefile.bsd-wrapper1
@@ -0,0 +1,2 @@
+# $OpenBSD: Makefile.bsd-wrapper1,v 1.1 1999/05/26 15:47:02 espie Exp $
+.include <bsd.prog.mk>
diff --git a/gnu/egcs/gcc/Makefile.bsd-wrapper b/gnu/egcs/gcc/Makefile.bsd-wrapper
new file mode 100644
index 00000000000..08ddff8b1a3
--- /dev/null
+++ b/gnu/egcs/gcc/Makefile.bsd-wrapper
@@ -0,0 +1,145 @@
+# $OpenBSD: Makefile.bsd-wrapper,v 1.1 1999/05/26 15:47:00 espie Exp $
+
+MAN= cccp.1 gcc.1
+MLINKS+= gcc.1 cc.1
+MLINKS+= cccp.1 cpp.1
+
+.if !defined(BOOTSTRAP)
+MAN+= cp/g++.1 f/g77.1
+MLINKS+= g++.1 c++.1
+.endif
+
+GPP_INC_DIR= /usr/include/g++
+GNUCFLAGS= CFLAGS="${CFLAGS} ${COPTS} -DOPENBSD_NATIVE"
+CLEANFILES= .gdbinit cp/.gdbinit *.info* bi-parser.c bi-parser.h \
+ c-parse.c c-parse.h c-parse.y cexp.c cp/parse.c cp/parse.h \
+ f/.gdbinit f/*.info* objc-parse.c objc-parse.y target_path
+
+CXX_HEADERS= ${.CURDIR}/cp/inc/typeinfo ${.CURDIR}/cp/inc/exception \
+ ${.CURDIR}/cp/inc/new ${.CURDIR}/cp/inc/new.h
+
+.if ${MACHINE} == "arc" || ${MACHINE} == "pmax" || ${MACHINE} == "wgrisc"
+M_ARCH= mipsel
+.elif ${MACHINE} == "hkmips" || ${MACHINE} == "sgi"
+M_ARCH= mips
+.else
+M_ARCH= ${MACHINE_ARCH}
+.endif
+
+.if defined(BOOTSTRAP)
+LANGUAGES=--enable-languages=c
+.else
+LANGUAGES=--enable-languages='c,c++,objc,f77'
+.endif
+
+GCCARCH= ${M_ARCH}-unknown-openbsd`uname -r`
+
+all: config.status
+# disable the fixincludes mechanism
+ echo "#!/bin/sh" >${.OBJDIR}/fixinc.sh
+ ${MAKE} ${GNUCFLAGS} CC=${CC} LDFLAGS=${LDSTATIC} \
+ build_infodir=. all doc
+
+tree-check.h: config.status
+ ${MAKE} ${GNUCFLAGS} CC=${CC} LDFLAGS=${LDSTATIC} \
+ build_infodir=. tree-check.h
+
+
+.FORCE: .IGNORE
+
+.include <bsd.own.mk>
+
+.ifdef GLOBAL_AUTOCONF_CACHE
+CF= --cache-file=${GLOBAL_AUTOCONF_CACHE}
+.else
+CF=
+.endif
+
+config: .FORCE
+.ifndef GLOBAL_AUTOCONF_CACHE
+ -rm -f config.cache
+.endif
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
+ /bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
+ --prefix=/usr --with-local-prefix=/usr ${CF} \
+ ${LANGUAGES} --enable-cpp --disable-nls \
+ --with-gxx-include-dir=${GPP_INC_DIR} ${GCCARCH}
+
+config.status: Makefile.in configure c-parse.in
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
+ /bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
+ --prefix=/usr --with-local-prefix=/usr ${CF} \
+ ${LANGUAGES} --enable-cpp --disable-nls \
+ --with-gxx-include-dir=${GPP_INC_DIR} ${GCCARCH} && touch config.status
+
+includes:
+ @-for i in ${CXX_HEADERS}; do \
+ j=`basename $$i` \
+ cmp -s $$i ${DESTDIR}/${GPP_INC_DIR}/$$j || \
+ ${INSTALL} ${INSTALL_COPY} -m 444 $$i \
+ ${DESTDIR}/${GPP_INC_DIR}; \
+ done
+
+.ifdef NOMAN
+maninstall:
+ @echo NOMAN is set
+.endif
+
+# XXX INSTALL_TARGET should be install-normal, more or less
+# the only reason is not so is because our man handling is special
+# (pre-formatted) and also because of cpp, that we install by hand
+# elsewhere, until we get rid of that old `compatibility' script.
+
+target_path: Makefile
+ __target=`sed -n '/^target=/s/target=//p' Makefile`; \
+ __version=`sed -n '/^gcc_version=/s/gcc_version=//p' Makefile`; \
+ echo /usr/lib/gcc-lib/$$__target/$$__version >target_path
+
+install: maninstall target_path
+ ${MAKE} ${GNUCFLAGS} prefix=${DESTDIR}/usr \
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
+ infodir=${DESTDIR}/usr/share/info \
+ build_infodir=. \
+ tooldir=/tmp assertdir=/tmp \
+ LIBIBERTY=-liberty \
+ INSTALL_TARGET='install-common $$(INSTALL_HEADERS) \
+ $$(INSTALL_LIBGCC) install-info \
+ intl.install lang.install-normal install-driver' \
+ NO_TARGET_GCC=true bindir=${DESTDIR}/usr/bin \
+ install
+ ln -f ${DESTDIR}/usr/bin/gcc ${DESTDIR}/usr/bin/cc
+ chown -R ${BINOWN}.${BINGRP} ${DESTDIR}/usr/lib/gcc-lib
+ chmod -R a+rX ${DESTDIR}/usr/lib/gcc-lib
+# if [ -e ${DESTDIR}/usr/lib/libf2c.a ]; then \
+# chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/lib/libf2c.a; \
+# chmod 444 ${DESTDIR}/usr/lib/libf2c.a; \
+# fi
+ if [ -e ${DESTDIR}/usr/include/f2c.h ]; then \
+ chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/f2c.h; \
+ chmod 444 ${DESTDIR}/usr/include/f2c.h; \
+ fi
+ ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -m 755 xcpp \
+ ${DESTDIR}/usr/libexec/cpp
+# ln -fs `cat target-path`/cpp \
+# ${DESTDIR}/usr/libexec
+
+clean cleandir:
+ rm -f ${CLEANFILES}
+ -@if [ -e Makefile ]; then ${MAKE} distclean; fi
+
+depend:
+ # Nothing here so far...
+
+lint:
+ # Nothing here so far...
+
+tags:
+ # Nothing here so far...
+
+.include <bsd.obj.mk>
+.include <bsd.subdir.mk>
+.ifndef NOMAN
+.include <bsd.man.mk>
+.endif
diff --git a/gnu/egcs/libf2c/Makefile.bsd-wrapper b/gnu/egcs/libf2c/Makefile.bsd-wrapper
new file mode 100644
index 00000000000..9a73a48967b
--- /dev/null
+++ b/gnu/egcs/libf2c/Makefile.bsd-wrapper
@@ -0,0 +1,156 @@
+# $OpenBSD: Makefile.bsd-wrapper,v 1.1 1999/05/26 15:47:00 espie Exp $
+
+EGCS_DIR= $(.CURDIR)/..
+.if defined(OBJMACHINE)
+OBJDIR= obj.${MACHINE}
+.else
+OBJDIR= obj
+.endif
+EGCS_OBJDIR!= if [ -d $(EGCS_DIR)/$(OBJDIR) ]; then \
+ echo $(EGCS_DIR)/$(OBJDIR); \
+ else \
+ echo $(EGCS_DIR); \
+ fi
+
+#SUBDIR=libF77 libI77 libU77
+LIB=g2c
+
+I77_SRCS= backspace.c close.c dfe.c dolio.c due.c endfile.c err.c \
+ fmt.c fmtlib.c iio.c ilnw.c inquire.c lread.c lwrite.c open.c \
+ rdfmt.c rewind.c rsfe.c rsli.c rsne.c sfe.c sue.c typesize.c uio.c \
+ util.c wref.c wrtfmt.c wsfe.c wsle.c wsne.c xwsne.c \
+ ftell_.c
+
+U77_SRCS = gerror_.c perror_.c ierrno_.c itime_.c time_.c \
+ unlink_.c fnum_.c getpid_.c getuid_.c getgid_.c kill_.c rand_.c \
+ srand_.c irand_.c sleep_.c idate_.c ctime_.c etime_.c \
+ dtime_.c isatty_.c ltime_.c fstat_.c stat_.c \
+ lstat_.c access_.c link_.c getlog_.c ttynam_.c getcwd_.c symlnk_.c \
+ vxttime_.c vxtidate_.c gmtime_.c fdate_.c secnds_.c \
+ bes.c dbes.c \
+ chdir_.c chmod_.c lnblnk_.c hostnm_.c rename_.c fgetc_.c fputc_.c \
+ umask_.c sys_clock_.c date_.c second_.c flush1_.c mclock_.c \
+ alarm_.c datetime_.c
+
+DEFS=-DAllow_TYQUAD -DSTDC_HEADERS=1 -D_POSIX_SOURCE=1 -DHAVE_TEMPNAM=1 \
+-DNON_ANSI_RW_MODES=1 -DNO_EOF_CHAR_CHECK=1 -DSkip_f2c_Undefs=1 \
+-DRETSIGTYPE=void -DIEEE_drem=1 -DHAVE_CONFIG_H \
+-IlibU77 -I${.CURDIR}/libI77 -I${.OBJDIR} -I${.CURDIR}
+
+MISC = F77_aloc.c main.c s_rnge.c abort_.c getarg_.c iargc_.c\
+ getenv_.c signal_.c s_stop.c s_paus.c system_.c cabs.c\
+ derf_.c derfc_.c erf_.c erfc_.c sig_die.c exit_.c setarg.c setsig.c
+POW = pow_ci.c pow_dd.c pow_di.c pow_hh.c pow_ii.c pow_ri.c pow_zi.c pow_zz.c \
+ pow_qq.c
+CX = c_abs.c c_cos.c c_div.c c_exp.c c_log.c c_sin.c c_sqrt.c
+DCX = z_abs.c z_cos.c z_div.c z_exp.c z_log.c z_sin.c z_sqrt.c
+REAL = r_abs.c r_acos.c r_asin.c r_atan.c r_atn2.c r_cnjg.c r_cos.c\
+ r_cosh.c r_dim.c r_exp.c r_imag.c r_int.c\
+ r_lg10.c r_log.c r_mod.c r_nint.c r_sign.c\
+ r_sin.c r_sinh.c r_sqrt.c r_tan.c r_tanh.c
+DBL = d_abs.c d_acos.c d_asin.c d_atan.c d_atn2.c\
+ d_cnjg.c d_cos.c d_cosh.c d_dim.c d_exp.c\
+ d_imag.c d_int.c d_lg10.c d_log.c d_mod.c\
+ d_nint.c d_prod.c d_sign.c d_sin.c d_sinh.c\
+ d_sqrt.c d_tan.c d_tanh.c
+INT = i_abs.c i_dim.c i_dnnt.c i_indx.c i_len.c i_mod.c i_nint.c i_sign.c
+HALF = h_abs.c h_dim.c h_dnnt.c h_indx.c h_len.c h_mod.c h_nint.c h_sign.c
+CMP = l_ge.c l_gt.c l_le.c l_lt.c hl_ge.c hl_gt.c hl_le.c hl_lt.c
+EFL = ef1asc_.c ef1cmc_.c
+CHAR = s_cat.c s_cmp.c s_copy.c
+F90BIT = lbitbits.c lbitshft.c qbitbits.c qbitshft.c
+F77_SRCS=${MISC} ${POW} ${CX} ${DCX} ${REAL} ${DBL} ${INT} \
+${HALF} ${CMP} ${EFL} ${CHAR} ${F90BIT}
+
+VERSION_SRCS=${.OBJDIR}/VersionI.c ${.OBJDIR}/VersionF.c ${.OBJDIR}/VersionU.c
+
+F2CEXT = abort derf derfc ef1asc ef1cmc erf erfc exit getarg getenv iargc \
+ signal system flush ftell fseek access besj0 besj1 besjn besy0 besy1 \
+ besyn chdir chmod ctime date dbesj0 dbesj1 dbesjn dbesy0 dbesy1 dbesyn \
+ dtime etime fdate fgetc fget flush1 fnum fputc fput fstat gerror \
+ getcwd getgid getlog getpid getuid gmtime hostnm idate ierrno irand \
+ isatty itime kill link lnblnk lstat ltime mclock perror rand rename \
+ secnds second sleep srand stat symlnk time ttynam umask unlink \
+ vxtidt vxttim alarm
+
+F2CO=${F2CEXT:S/^/libE77\/L/:S/$/.o/}
+OBJS+=${F2CO}
+F2CPO=${F2CO:.o=.po}
+F2CSO=${F2CO:.o=.so}
+
+${F2CO}: f2cext.c
+ @echo "${COMPILE.c} -D${.TARGET:T:R} $> -o ${.TARGET}"
+ @${COMPILE.c} -D${.TARGET:T:R} $> -o ${.TARGET}.o
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
+${F2CPO}: f2cext.c
+ @echo "${COMPILE.c} -p -D${.TARGET:T:R} $> -o ${.TARGET}"
+ @${COMPILE.c} -p -D${.TARGET:T:R} $> -o ${.TARGET}.o
+ @${LD} -X -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
+${F2CSO}: f2cext.c
+ @echo "${COMPILE.c} ${PICFLAG} -DPIC -D${.TARGET:T:R} $> -o ${.TARGET}"
+ @${COMPILE.c} ${PICFLAG} -DPIC -D${.TARGET:T:R} $> -o ${.TARGET}.o
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
+CLEANFILES=${VERSION_SRCS} config.cache config.status config.log Makefile \
+libU77/config.log libU77/config.h libU77/config.status libU77/Makefile \
+libI77/config.log libI77/config.status libI77/Makefile \
+libF77/config.log libF77/config.status libF77/Makefile \
+g2c.h
+
+
+CFLAGS+=${DEFS}
+
+SRCS+= ${I77_SRCS:S/^/libI77\//}
+SRCS+= ${U77_SRCS:S/^/libU77\//}
+SRCS+= ${F77_SRCS:S/^/libF77\//}
+SRCS+= ${VERSION_SRCS}
+
+depend:
+ cd ${.CURDIR}/../gcc && \
+ make -f Makefile.bsd-wrapper config.status tree-check.h
+ mkdir -p libE77
+
+${.OBJDIR}/VersionI.c: libI77/Version.c
+ ln -sf $> $@
+
+${.OBJDIR}/VersionU.c: libU77/Version.c
+ ln -sf $> $@
+
+${.OBJDIR}/VersionF.c: libF77/Version.c
+ ln -sf $> $@
+
+all: config.status
+
+# CPPFLAGS=-I${.CURDIR}/../gcc/obj \
+
+config.status: Makefile.in configure
+ # fake g771 existence
+ cd $(EGCS_OBJDIR)/gcc && touch f771
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
+ r=$(EGCS_OBJDIR) \
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
+ /bin/sh ${.CURDIR}/configure \
+ --prefix=/usr --with-local-prefix=/usr ${CF} \
+ && touch config.status
+
+includes:
+ install -C -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
+ ${.CURDIR}/f2c.h ${DESTDIR}/usr/include
+
+.if (${MACHINE_ARCH} == "m68k")
+.for _I in libF77/r_nint libF77/d_nint libF77/i_dnnt libF77/i_nint \
+ libF77/h_dnnt libF77/h_nint
+${_I}.so: ${_I}.c
+ @echo "${COMPILE.c} ${PICFLAGS} -O1 -DPIC ${.IMPSRC} -o ${.TARGET}"
+ @${COMPILE.c} ${PICFLAGS} -O1 -DPIC ${.IMPSRC} -o ${.TARGET}.o
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+.endfor
+.endif
+
+.include <bsd.lib.mk>
diff --git a/gnu/egcs/libf2c/shlib_version b/gnu/egcs/libf2c/shlib_version
new file mode 100644
index 00000000000..da0e54acf07
--- /dev/null
+++ b/gnu/egcs/libf2c/shlib_version
@@ -0,0 +1,2 @@
+major=5
+minor=24
diff --git a/gnu/egcs/libiberty/Makefile.bsd-wrapper b/gnu/egcs/libiberty/Makefile.bsd-wrapper
new file mode 100644
index 00000000000..6d88c4df45c
--- /dev/null
+++ b/gnu/egcs/libiberty/Makefile.bsd-wrapper
@@ -0,0 +1,35 @@
+# $OpenBSD: Makefile.bsd-wrapper,v 1.1 1999/05/26 15:47:00 espie Exp $
+
+LIB= iberty
+CPPFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../include -I$(.OBJDIR)
+
+# XXX -- GNUism
+# As we need to fill variables with contents of dynamically created files
+# we must first see to that they are really generated. This is a hack that
+# ensures this. The echo at the end is because make doesn't like command
+# substitutions to not generate output.
+.ifmake !obj && !clean && !cleandir
+PREREQ!= test ! -f $(.OBJDIR)/needed-list && \
+ (cd $(.CURDIR); \
+ $(MAKE) -f Makefile.bsd-wrapper1 needed-list); \
+ echo 'Prerequistes made'
+HOST_FILES!= cat $(.OBJDIR)/needed-list
+.endif
+
+SRCS= argv.c choose-temp.c concat.c cplus-dem.c \
+ fdmatch.c getopt.c getopt1.c getruntime.c hex.c \
+ floatformat.c obstack.c pexecute.c spaces.c splay-tree.c \
+ strerror.c strsignal.c xatexit.c xexit.c xmalloc.c \
+ xstrerror.c \
+ $(HOST_FILES)
+
+# choose-temp.c fnmatch.c objalloc.c pexecute.c xstrdup.c \
+# basename.c vasprintf.c
+
+# XXX -- These files are generated during the PREREQ variable assignment.
+CLEANFILES+= config.h config.status needed-list
+
+# XXX -- Why are these not removed by the generated Makefile?
+CLEANFILES+= insque.o insque.po insque.so
+
+.include <bsd.lib.mk>
diff --git a/gnu/egcs/libiberty/Makefile.bsd-wrapper1 b/gnu/egcs/libiberty/Makefile.bsd-wrapper1
new file mode 100644
index 00000000000..9d72477b2e3
--- /dev/null
+++ b/gnu/egcs/libiberty/Makefile.bsd-wrapper1
@@ -0,0 +1,17 @@
+# $OpenBSD: Makefile.bsd-wrapper1,v 1.1 1999/05/26 15:47:00 espie Exp $
+#
+# XXX -- GNUism
+# This file's only purpose to help isolate
+# the funky GNU build mechanism!
+#
+CPPFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../include -I$(.OBJDIR)
+
+needed-list: config.status
+ ${MAKE} ${GNUCFLAGS} CC=${CC} needed-list
+
+config.status: Makefile.in configure
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
+ /bin/sh ${.CURDIR}/configure \
+ --prefix=/usr --with-local-prefix=/usr ${CF} \
+ && touch config.status
diff --git a/gnu/egcs/libiberty/shlib_version b/gnu/egcs/libiberty/shlib_version
new file mode 100644
index 00000000000..dea2b62cafc
--- /dev/null
+++ b/gnu/egcs/libiberty/shlib_version
@@ -0,0 +1,2 @@
+major=0
+minor=2
diff --git a/gnu/egcs/libio/Makefile.bsd-wrapper b/gnu/egcs/libio/Makefile.bsd-wrapper
new file mode 100644
index 00000000000..bcd4b2d0f98
--- /dev/null
+++ b/gnu/egcs/libio/Makefile.bsd-wrapper
@@ -0,0 +1,96 @@
+# $OpenBSD: Makefile.bsd-wrapper,v 1.1 1999/05/26 15:47:01 espie Exp $
+
+LIBIO= io
+LIBIOSTREAM= iostream
+LIB= $(LIBIO)
+CXXFLAGS+= -fno-implicit-templates
+CPPFLAGS+= -I$(.CURDIR) -I$(.OBJDIR)
+VERSION= 2.9.0
+
+IO_SRCS= filedoalloc.c floatconv.c genops.c fileops.c iovfprintf.c \
+ iovfscanf.c ioignore.c iopadn.c iofgetpos.c iofread.c \
+ iofscanf.c iofsetpos.c iogetdelim.c iogetline.c ioprintf.c \
+ ioseekoff.c ioseekpos.c outfloat.c strops.c iofclose.c \
+ iopopen.c ioungetc.c peekc.c iogetc.c ioputc.c iofeof.c \
+ ioferror.c
+STDIO_SRCS= stdfiles.c
+STDIO_WRAP_SRCS=iofdopen.c iofflush.c iofgets.c iofopen.c iofprintf.c \
+ iofputs.c iofwrite.c iogets.c ioperror.c ioputs.c ioscanf.c \
+ iosetbuffer.c iosetvbuf.c iosprintf.c iosscanf.c ioftell.c \
+ iovsscanf.c iovsprintf.c
+IOSTREAM_SRCS= builtinbuf.cc filebuf.cc fstream.cc indstream.cc ioassign.cc \
+ ioextend.cc iomanip.cc iostream.cc isgetline.cc isgetsb.cc \
+ isscan.cc osform.cc procbuf.cc sbform.cc sbgetline.cc \
+ sbscan.cc stdiostream.cc stdstrbufs.cc stdstreams.cc \
+ stream.cc streambuf.cc strstream.cc PlotFile.cc SFile.cc \
+ parsestream.cc pfstream.cc editbuf.cc
+OSPRIM_SRCS= ioprims.c iostrerror.c cleanup.c
+LIBIO_SRCS= $(IO_SRCS) $(STDIO_WRAP_SRCS) $(OSPRIM_SRCS) $(STDIO_SRCS)
+LIBIOSTREAM_SRCS= $(IO_SRCS) $(IOSTREAM_SRCS) $(OSPRIM_SRCS)
+
+SRCS= $(LIBIO_SRCS)
+
+CLEANFILES+= _G_config.h iostream.list dummy.h
+
+FILES= *.h
+
+all: _G_config.h iostream.list $(LIBIOSTREAM)
+
+beforedepend: _G_config.h
+
+$(LIBIOSTREAM):
+ @if [ -z "$(MAKE_IOSTREAM)" ] ; then \
+ cd $(.CURDIR); $(MAKE) -f $(.CURDIR)/Makefile.bsd-wrapper LIB=$(LIBIOSTREAM) SRCS='$$(LIBIOSTREAM_SRCS)' MAKE_IOSTREAM=true ; \
+ exit ; \
+ fi
+
+_G_config.h: gen-params
+ @echo Building $(.TARGET)
+ @rootme=`pwd`/ ; export rootme; \
+ CC="$(CC)"; export CC; \
+ CXX="$(CXX) $(CXXFLAGS)"; export CXX; \
+ CONFIG_NM="nm"; export CONFIG_NM; \
+ sh $(.CURDIR)/gen-params LIB_VERSION=$(VERSION) $(G_CONFIG_ARGS) >tmp-params.h
+ @mv tmp-params.h _G_config.h
+
+iostream.list: _G_config.h
+ @echo Generating $(.TARGET)
+ @echo "$(LIBIOSTREAM_SRCS:N*.h:R:S/$/.o/g)" > iostream.list
+clean:
+ rm -f a.out [Ee]rrs mklog core *.core $(CLEANFILES)
+ rm -f lib$(LIBIO).a $(LIBIO_SRCS:.c=.o)
+ rm -f lib$(LIBIO)_p.a $(LIBIO_SRCS:.c=.po)
+ rm -f lib$(LIBIO)_pic.a lib$(LIBIO).so.*.* $(LIBIO_SRCS:.c=.so)
+ rm -f llib-lib$(LIBIO).ln $(LIBIO_SRCS:.c=.ln)
+ rm -f lib$(LIBIOSTREAM).a $(IOSTREAM_SRCS:.cc=.o)
+ rm -f lib$(LIBIOSTREAM)_p.a $(IOSTREAM_SRCS:.cc=.po)
+ rm -f lib$(LIBIOSTREAM)_pic.a lib$(LIBIOSTREAM).so.*.* \
+ $(IOSTREAM_SRCS:.cc=.so)
+ rm -f llib-lib$(LIBIOSTREAM).ln $(IOSTREAM_SRCS:.cc=.ln)
+
+includes:
+ install -d -m 755 -o $(BINOWN) -g $(BINGRP) $(DESTDIR)/usr/include/g++
+ @-cd $(.CURDIR); for i in $(FILES); do \
+ if [ -e $$i ]; then \
+ cmp -s $$i $(DESTDIR)/usr/include/g++/$$i || \
+ install -c -o $(BINOWN) -g $(BINGRP) -m $(NONBINMODE) \
+ $$i $(DESTDIR)/usr/include/g++/$$i; \
+ fi \
+ done
+ @-for i in $(FILES); do \
+ if [ -e $$i ]; then \
+ cmp -s $$i $(DESTDIR)/usr/include/g++/$$i || \
+ install -c -o $(BINOWN) -g $(BINGRP) -m $(NONBINMODE) \
+ $$i $(DESTDIR)/usr/include/g++/$$i; \
+ fi \
+ done
+
+install:
+ @echo "done"
+# @-cd $(.CURDIR); for i in iostream.info* ; do \
+# cmp -s $$i $(DESTDIR)/usr/share/info/$$i || \
+# install -c -o $(BINOWN) -g $(BINGRP) -m $(NONBINMODE) \
+# $$i $(DESTDIR)/usr/share/info/$$i; \
+# done
+
+.include <bsd.lib.mk>
diff --git a/gnu/egcs/libio/shlib_version b/gnu/egcs/libio/shlib_version
new file mode 100644
index 00000000000..ade1e3940fb
--- /dev/null
+++ b/gnu/egcs/libio/shlib_version
@@ -0,0 +1,2 @@
+major=29
+minor=0
diff --git a/gnu/egcs/libobjc/Makefile.bsd-wrapper b/gnu/egcs/libobjc/Makefile.bsd-wrapper
new file mode 100644
index 00000000000..ac6a67dd1b9
--- /dev/null
+++ b/gnu/egcs/libobjc/Makefile.bsd-wrapper
@@ -0,0 +1,103 @@
+# $OpenBSD: Makefile.bsd-wrapper,v 1.1 1999/05/26 15:47:01 espie Exp $
+
+LIB= objc
+
+#CXXFLAGS+= -fno-implicit-templates
+#CPPFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/stl -I$(.CURDIR)/../libio -I$(IO_OBJDIR)
+#LDADD+= -lm
+
+EGCS_DIR= $(.CURDIR)/..
+.if defined(OBJMACHINE)
+OBJDIR= obj.${MACHINE}
+.else
+OBJDIR= obj
+.endif
+EGCS_OBJDIR!= if [ -d $(EGCS_DIR)/$(OBJDIR) ]; then \
+ echo $(EGCS_DIR)/$(OBJDIR); \
+ else \
+ echo $(EGCS_DIR); \
+ fi
+
+CPPFLAGS+= -I. -I$(.CURDIR) -I$(.CURDIR)/objc -I$(.CURDIR)/../gcc \
+-I$(.CURDIR)/../gcc/config -I$(EGCS_OBJDIR)/gcc -I$(.CURDIR)/../include \
+-DIN_GCC
+
+SRCS=archive.c class.c encoding.c gc.c hash.c init.c linking.m misc.c \
+nil_method.c NXConstStr.m Object.m objects.c Protocol.m sarray.c \
+selector.c sendmsg.c thr.c thr-single.c
+
+CLEANFILES= config.cache config.status config.log Makefile runtime-info.h
+#CFLAGS+=-save-temps
+
+
+includes:
+ install -d -m 755 -o $(BINOWN) -g $(BINGRP) \
+ $(DESTDIR)/usr/include/objc
+ @-cd $(.CURDIR)/objc; for i in *.h; do \
+ [ $$i = "runtime.h" ] || install -C -o $(BINOWN) -g $(BINGRP) -m $(NONBINMODE) \
+ $$i $(DESTDIR)/usr/include/objc/$$i; \
+ done
+
+
+all: config.status
+
+depend:
+ cd ${.CURDIR}/../gcc && make -f Makefile.bsd-wrapper config.status target_path
+
+sendmsg.o sengmsg.po sendmsg.so: runtime-info.h
+
+runtime-info.h:
+ echo "" > tmp-runtime
+ echo "/* This file is automatically generated */" > $@
+ `cat $(EGCS_OBJDIR)/gcc/target_path`/cc1obj -print-objc-runtime-info tmp-runtime >> $@
+ rm -f tmp-runtime
+
+config.status: Makefile.in configure
+ cd $(EGCS_OBJDIR)/gcc && touch cc1obj
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
+ r=$(EGCS_OBJDIR) \
+ /bin/sh ${.CURDIR}/configure \
+ --prefix=/usr --with-local-prefix=/usr ${CF} \
+ && touch config.status
+
+.include <bsd.lib.mk>
+.SUFFIXES: .m
+COMPILE.m=${COMPILE.c} -fgnu-runtime
+
+gc.o: gc.c
+ @echo "${COMPILE.m} ${.IMPSRC} -o ${.TARGET}"
+ @${COMPILE.m} ${.IMPSRC} -o ${.TARGET}.o
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
+gc.po: gc.c
+ @echo "${COMPILE.m} -p ${.IMPSRC} -o ${.TARGET}"
+ @${COMPILE.m} -p ${.IMPSRC} -o ${.TARGET}.o
+ @${LD} -X -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
+gc.so: gc.c
+ @echo "${COMPILE.m} ${PICFLAG} -DPIC ${.IMPSRC} -o ${.TARGET}"
+ @${COMPILE.m} ${PICFLAG} -DPIC ${.IMPSRC} -o ${.TARGET}.o
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
+.m.o:
+ @echo "${COMPILE.m} ${.IMPSRC} -o ${.TARGET}"
+ @${COMPILE.m} ${.IMPSRC} -o ${.TARGET}.o
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
+.m.po:
+ @echo "${COMPILE.m} -p ${.IMPSRC} -o ${.TARGET}"
+ @${COMPILE.m} -p ${.IMPSRC} -o ${.TARGET}.o
+ @${LD} -X -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
+.m.so:
+ @echo "${COMPILE.m} ${PICFLAG} -DPIC ${.IMPSRC} -o ${.TARGET}"
+ @${COMPILE.m} ${PICFLAG} -DPIC ${.IMPSRC} -o ${.TARGET}.o
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
diff --git a/gnu/egcs/libobjc/shlib_version b/gnu/egcs/libobjc/shlib_version
new file mode 100644
index 00000000000..97c9f92d6b8
--- /dev/null
+++ b/gnu/egcs/libobjc/shlib_version
@@ -0,0 +1,2 @@
+major=0
+minor=0
diff --git a/gnu/egcs/libstdc++/Makefile.bsd-wrapper b/gnu/egcs/libstdc++/Makefile.bsd-wrapper
new file mode 100644
index 00000000000..e124746c87f
--- /dev/null
+++ b/gnu/egcs/libstdc++/Makefile.bsd-wrapper
@@ -0,0 +1,430 @@
+# $OpenBSD: Makefile.bsd-wrapper,v 1.1 1999/05/26 15:47:01 espie Exp $
+
+IO_DIR= $(.CURDIR)/../libio
+LIBIBERTY_DIR= $(.CURDIR)/../libiberty
+STD_DIR= $(.CURDIR)/std
+
+.if defined(OBJMACHINE)
+OBJDIR= obj.${MACHINE}
+.else
+OBJDIR= obj
+.endif
+
+IO_OBJDIR!= if [ -d $(IO_DIR)/$(OBJDIR) ]; then \
+ echo $(IO_DIR)/$(OBJDIR); \
+ else \
+ echo $(IO_DIR); \
+ fi
+
+LIBIBERTY_OBJDIR!=if [ -d $(LIBIBERTY_DIR)/$(OBJDIR) ]; then \
+ echo $(LIBIBERTY_DIR)/$(OBJDIR); \
+ else \
+ echo $(LIBIBERTY_DIR); \
+ fi
+
+LIB= stdc++
+CXXFLAGS+= -fno-implicit-templates
+CPPFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/stl -I$(.CURDIR)/../libio -I$(IO_OBJDIR)
+LDADD+= -lm
+
+# stdc++ sources/objs
+STD_SRCS= cstringi.cc stdexcepti.cc cstdlibi.cc cmathi.cc stlinst.cc
+SPEC_OBJS= cstrmain.o cstrio.o fcomplex.o fcomio.o dcomplex.o dcomio.o \
+ ldcomplex.o ldcomio.o
+STD_OBJS= $(STD_SRCS:N*.h:R:S/$/.o/g) $(SPEC_OBJS)
+
+# As we need to fill variables with contents of dynamically created files
+# we must first see to that they are really generated. This is a hack that
+# ensures this. The echo at the end is because make doesn't like command
+# substitutions to not generate output.
+.ifmake !obj && !clean && !cleandir && !includes
+PREREQ!= test ! -f $(IO_OBJDIR)/iostream.list && \
+ (cd $(IO_DIR); \
+ make -f Makefile.bsd-wrapper iostream.list); \
+ test ! -f $(LIBIBERTY_OBJDIR)/needed-list && \
+ (cd $(LIBIBERTY_DIR); \
+ make -f Makefile.bsd-wrapper needed-list); \
+ echo 'Prerequistes made'
+
+IO_OBJS!= cat $(IO_OBJDIR)/iostream.list
+QIO_OBJS= $(IO_OBJS:S/^/$(IO_OBJDIR)\//g)
+
+LIBIBERTY_SRCS!=cat $(LIBIBERTY_OBJDIR)/needed-list
+LIBIBERTY_OBJS=$(LIBIBERTY_SRCS:N*.h:R:S/$/.o/g)
+# XXX why does strerror.o need to be hardwired?
+LIBIBERTY_OBJS+=strerror.o
+QLIBIBERTY_OBJS=$(LIBIBERTY_OBJS:S/^/$(LIBIBERTY_OBJDIR)\//g)
+.endif
+
+SRCS= $(STD_SRCS)
+
+OBJS= $(SPEC_OBJS) $(QIO_OBJS) $(QLIBIBERTY_OBJS)
+
+HEADERS= cassert cctype cerrno cfloat ciso646 climits clocale cmath complex \
+ csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime \
+ cwchar cwctype string stdexcept \
+ algorithm deque functional hash_map hash_set iterator list map \
+ memory numeric pthread_alloc queue rope set slist stack utility \
+ vector fstream iomanip iostream strstream iosfwd
+
+G_CFG_H= $(IO_OBJDIR)/_G_config.h
+
+all: $(G_CFG_H)
+
+beforedepend: $(G_CFG_H)
+
+$(G_CFG_H):
+ cd $(IO_DIR); make -f Makefile.bsd-wrapper _G_config.h
+
+clean: _SUBDIRUSE
+ rm -f a.out [Ee]rrs mklog core *.core ${CLEANFILES}
+ rm -f lib${LIB}.a ${STD_OBJS}
+ rm -f lib${LIB}_p.a ${STD_OBJS:.o=.po}
+ rm -f lib${LIB}_pic.a lib${LIB}.so.*.* ${STD_OBJS:.o=.so}
+ rm -f llib-l${LIB}.ln ${STD_OBJS:.o=.ln}
+
+includes:
+ install -d -m 755 -o $(BINOWN) -g $(BINGRP) \
+ $(DESTDIR)/usr/include/g++/std
+ @-cd $(.CURDIR); for i in $(HEADERS) *.h std/*.*; do \
+ if [ -f stl/$$i ]; then \
+ install -C -o $(BINOWN) -g $(BINGRP) -m $(NONBINMODE) \
+ stl/$$i $(DESTDIR)/usr/include/g++/$$i; \
+ else \
+ install -C -o $(BINOWN) -g $(BINGRP) -m $(NONBINMODE) \
+ $$i $(DESTDIR)/usr/include/g++/$$i; \
+ fi \
+ done
+ @-cd $(.CURDIR); for i in *.h std/*.*; do \
+ install -C -o $(BINOWN) -g $(BINGRP) -m $(NONBINMODE) \
+ $$i $(DESTDIR)/usr/include/g++/$$i; \
+ done
+ @-cd $(.CURDIR)/stl; for i in *.h; do \
+ install -C -o $(BINOWN) -g $(BINGRP) -m $(NONBINMODE) \
+ $$i $(DESTDIR)/usr/include/g++/$$i; \
+ done
+#
+# Misc GNU overidden targets.
+#
+$(QIO_OBJS) $(QIO_OBJS:.o=.po) $(QIO_OBJS:.o=.so):
+ cd $(IO_DIR); $(MAKE) -f Makefile.bsd-wrapper
+
+$(QLIBIBERTY_OBJS) $(QLIBIBERTY_OBJS:.o=.po) $(QLIBIBERTY_OBJS:.o=.so):
+ cd $(LIBIBERTY_DIR); $(MAKE) -f Makefile.bsd-wrapper
+
+stdexcepti.o: stdexcepti.cc
+ @echo "${COMPILE.cc} -frtti ${.IMPSRC}"
+ @${COMPILE.cc} -frtti ${.IMPSRC} -frtti -o ${.TARGET}.o
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
+stdexcepti.po: stdexcepti.cc
+ @echo "${COMPILE.cc} -frtti -p ${.IMPSRC} -o ${.TARGET}"
+ @${COMPILE.cc} -frtti -p ${.IMPSRC} -o ${.TARGET}.o
+ @${LD} -X -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
+stdexcepti.so: stdexcepti.cc
+ @echo "${COMPILE.cc} -frtti ${PICFLAG} -DPIC ${.IMPSRC} -o ${.TARGET}"
+ @${COMPILE.cc} -frtti ${PICFLAG} -DPIC ${.IMPSRC} -o ${.TARGET}.o
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
+typeinfoi.o: typeinfoi.cc $(.CURDIR)/std/typeinfo.h
+ @echo "${COMPILE.cc} -frtti ${.IMPSRC}"
+ @${COMPILE.cc} -frtti ${.IMPSRC} -o ${.TARGET}.o
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
+typeinfoi.po: typeinfoi.cc $(.CURDIR)/std/typeinfo.h
+ @echo "${COMPILE.cc} -frtti -p ${.IMPSRC} -o ${.TARGET}"
+ @${COMPILE.cc} -frtti -p ${.IMPSRC} -o ${.TARGET}.o
+ @${LD} -X -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
+typeinfoi.so: typeinfoi.cc $(.CURDIR)/std/typeinfo.h
+ @echo "${COMPILE.cc} -frtti ${PICFLAG} -DPIC ${.IMPSRC} -o ${.TARGET}"
+ @${COMPILE.cc} -frtti ${PICFLAG} -DPIC ${.IMPSRC} -o ${.TARGET}.o
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
+
+STRFUNCS= REP MAIN TRAITS ADDSS ADDPS ADDCS ADDSP ADDSC \
+ EQSS EQPS EQSP NESS NEPS NESP LTSS LTPS LTSP GTSS GTPS GTSP \
+ LESS LEPS LESP GESS GEPS GESP
+STRIO= EXTRACT INSERT GETLINE
+COMFUNCS= MAIN ADDCC ADDCF ADDFC SUBCC SUBCF SUBFC MULCC MULCF MULFC \
+ DIVCC DIVCF DIVFC PLUS MINUS EQCC EQCF EQFC NECC NECF NEFC ABS \
+ ARG POLAR CONJ NORM COS COSH EXP LOG POWCC POWCF POWCI POWFC \
+ SIN SINH SQRT
+COMIO= EXTRACT INSERT
+
+cstrmain.o: sinst.cc $(STD_DIR)/bastring.h \
+ $(STD_DIR)/bastring.cc $(STD_DIR)/straits.h
+ @echo '$(COMPILE.cc) -DC \
+ `for N in $(STRFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/sinst.cc -o cstrmain.o'
+ @$(COMPILE.cc) -DC \
+ `for N in $(STRFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/sinst.cc -o cstrmain.o.o
+ @$(LD) -x -r cstrmain.o.o -o cstrmain.o
+ @rm -f cstrmain.o.o
+
+cstrmain.po: sinst.cc $(STD_DIR)/bastring.h \
+ $(STD_DIR)/bastring.cc $(STD_DIR)/straits.h
+ @echo '$(COMPILE.cc) -p -DC \
+ `for N in $(STRFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/sinst.cc -o cstrmain.po'
+ @$(COMPILE.cc) -p -DC \
+ `for N in $(STRFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/sinst.cc -o cstrmain.po.o
+ @$(LD) -X -r cstrmain.po.o -o cstrmain.po
+ @rm -f cstrmain.po.o
+
+cstrmain.so: sinst.cc $(STD_DIR)/bastring.h \
+ $(STD_DIR)/bastring.cc $(STD_DIR)/straits.h
+ @echo '$(COMPILE.cc) $(PICFLAG) -DPIC -DC \
+ `for N in $(STRFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/sinst.cc -o cstrmain.so'
+ @$(COMPILE.cc) $(PICFLAG) -DPIC -DC \
+ `for N in $(STRFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/sinst.cc -o cstrmain.so.o
+ @$(LD) -x -r cstrmain.so.o -o cstrmain.so
+ @rm -f cstrmain.so.o
+
+cstrio.o: sinst.cc $(STD_DIR)/bastring.h \
+ $(STD_DIR)/bastring.cc $(STD_DIR)/straits.h
+ @echo '$(COMPILE.cc) -DC \
+ `for N in $(STRIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/sinst.cc -o cstrio.o'
+ @$(COMPILE.cc) -DC \
+ `for N in $(STRIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/sinst.cc -o cstrio.o.o
+ @$(LD) -x -r cstrio.o.o -o cstrio.o
+ @rm -f cstrio.o.o
+
+cstrio.po: sinst.cc $(STD_DIR)/bastring.h \
+ $(STD_DIR)/bastring.cc $(STD_DIR)/straits.h
+ @echo '$(COMPILE.cc) -p -DC \
+ `for N in $(STRIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/sinst.cc -o cstrio.po'
+ @$(COMPILE.cc) -p -DC \
+ `for N in $(STRIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/sinst.cc -o cstrio.po.o
+ @$(LD) -X -r cstrio.po.o -o cstrio.po
+ @rm -f cstrio.po.o
+
+cstrio.so: sinst.cc $(STD_DIR)/bastring.h \
+ $(STD_DIR)/bastring.cc $(STD_DIR)/straits.h
+ @echo '$(COMPILE.cc) $(PICFLAG) -DPIC -DC \
+ `for N in $(STRIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/sinst.cc -o cstrio.so'
+ @$(COMPILE.cc) $(PICFLAG) -DPIC -DC \
+ `for N in $(STRIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/sinst.cc -o cstrio.so.o
+ @$(LD) -x -r cstrio.so.o -o cstrio.so
+ @rm -f cstrio.so.o
+
+fcomplex.o: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) -DF \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o fcomplex.o'
+ @$(COMPILE.cc) -DF \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o fcomplex.o.o
+ @$(LD) -x -r fcomplex.o.o -o fcomplex.o
+ @rm -f fcomplex.o.o
+
+fcomplex.po: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) -p -DF \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o fcomplex.po'
+ @$(COMPILE.cc) -p -DF \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o fcomplex.po.o
+ @$(LD) -X -r fcomplex.po.o -o fcomplex.po
+ @rm -f fcomplex.po.o
+
+fcomplex.so: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) $(PICFLAG) -DPIC -DF \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o fcomplex.so'
+ @$(COMPILE.cc) $(PICFLAG) -DPIC -DF \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o fcomplex.so.o
+ @$(LD) -x -r fcomplex.so.o -o fcomplex.so
+ @rm -f fcomplex.so.o
+
+
+fcomio.o: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) -DF \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o fcomio.o'
+ @$(COMPILE.cc) -DF \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o fcomio.o.o
+ @$(LD) -x -r fcomio.o.o -o fcomio.o
+ @rm -f fcomio.o.o
+
+fcomio.po: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) -p -DF \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o fcomio.po'
+ @$(COMPILE.cc) -p -DF \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o fcomio.po.o
+ @$(LD) -X -r fcomio.po.o -o fcomio.po
+ @rm -f fcomio.po.o
+
+fcomio.so: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) $(PICFLAG) -DPIC -DF \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o fcomio.so'
+ @$(COMPILE.cc) $(PICFLAG) -DPIC -DF \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o fcomio.so.o
+ @$(LD) -x -r fcomio.so.o -o fcomio.so
+ @rm -f fcomio.so.o
+
+dcomplex.o: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) -DD \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o dcomplex.o'
+ @$(COMPILE.cc) -DD \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o dcomplex.o.o
+ @$(LD) -x -r dcomplex.o.o -o dcomplex.o
+ @rm -f dcomplex.o.o
+
+dcomplex.po: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) -p -DD \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o dcomplex.po'
+ @$(COMPILE.cc) -p -DD \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o dcomplex.po.o
+ @$(LD) -X -r dcomplex.po.o -o dcomplex.po
+ @rm -f dcomplex.po.o
+
+dcomplex.so: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) $(PICFLAG) -DPIC -DD \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o dcomplex.so'
+ @$(COMPILE.cc) $(PICFLAG) -DPIC -DD \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o dcomplex.so.o
+ @$(LD) -x -r dcomplex.so.o -o dcomplex.so
+ @rm -f dcomplex.so.o
+
+dcomio.o: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) -DD \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o dcomio.o'
+ @$(COMPILE.cc) -DD \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o dcomio.o.o
+ @$(LD) -x -r dcomio.o.o -o dcomio.o
+ @rm -f dcomio.o.o
+
+dcomio.po: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) -p -DD \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o dcomio.po'
+ @$(COMPILE.cc) -p -DD \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o dcomio.po.o
+ @$(LD) -X -r dcomio.po.o -o dcomio.po
+ @rm -f dcomio.po.o
+
+dcomio.so: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) $(PICFLAG) -DPIC -DD \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o dcomio.so'
+ @$(COMPILE.cc) $(PICFLAG) -DPIC -DD \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o dcomio.so.o
+ @$(LD) -x -r dcomio.so.o -o dcomio.so
+ @rm -f dcomio.so.o
+
+ldcomplex.o: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) -DLD \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o ldcomplex.o'
+ @$(COMPILE.cc) -DLD \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o ldcomplex.o.o
+ @$(LD) -x -r ldcomplex.o.o -o ldcomplex.o
+ @rm -f ldcomplex.o.o
+
+ldcomplex.po: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) -p -DLD \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o ldcomplex.po'
+ @$(COMPILE.cc) -p -DLD \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o ldcomplex.po.o
+ @$(LD) -X -r ldcomplex.po.o -o ldcomplex.po
+ @rm -f ldcomplex.po.o
+
+ldcomplex.so: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) $(PICFLAG) -DPIC -DLD \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o ldcomplex.so'
+ @$(COMPILE.cc) $(PICFLAG) -DPIC -DLD \
+ `for N in $(COMFUNCS); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o ldcomplex.so.o
+ @$(LD) -x -r ldcomplex.so.o -o ldcomplex.so
+ @rm -f ldcomplex.so.o
+
+ldcomio.o: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) -DLD \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o ldcomio.o'
+ @$(COMPILE.cc) -DLD \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o ldcomio.o.o
+ @$(LD) -x -r ldcomio.o.o -o ldcomio.o
+ @rm -f ldcomio.o.o
+
+ldcomio.po: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) -p -DLD \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o ldcomio.po'
+ @$(COMPILE.cc) -p -DLD \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o ldcomio.po.o
+ @$(LD) -X -r ldcomio.po.o -o ldcomio.po
+ @rm -f ldcomio.po.o
+
+ldcomio.so: cinst.cc $(STD_DIR)/complext.h $(STD_DIR)/complext.cc \
+ $(STD_DIR)/dcomplex.h $(STD_DIR)/ldcomplex.h
+ @echo '$(COMPILE.cc) $(PICFLAG) -DPIC -DLD \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o ldcomio.so'
+ @$(COMPILE.cc) $(PICFLAG) -DPIC -DLD \
+ `for N in $(COMIO); do echo " -D$${N}"; done` \
+ $(.CURDIR)/cinst.cc -o ldcomio.so.o
+ @$(LD) -x -r ldcomio.so.o -o ldcomio.so
+ @rm -f ldcomio.so.o
+
+.if defined(DESTDIR)
+CPPFLAGS+= -idirafter ${DESTDIR}/usr/include/g++
+.endif
+
+.include <bsd.lib.mk>
diff --git a/gnu/egcs/libstdc++/shlib_version b/gnu/egcs/libstdc++/shlib_version
new file mode 100644
index 00000000000..ade1e3940fb
--- /dev/null
+++ b/gnu/egcs/libstdc++/shlib_version
@@ -0,0 +1,2 @@
+major=29
+minor=0