diff options
author | obrien <obrien@FreeBSD.org> | 2000-06-04 08:21:31 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-06-04 08:21:31 +0000 |
commit | b98ca06a57c4e10b0fef3580c32b03a8cefa4191 (patch) | |
tree | 3a0b1e9477cb2e6160c700e64fbffcc958bd2b52 /contrib/libio | |
parent | 890b30850f08010e6461f2af573cb7b53a82ef36 (diff) | |
download | FreeBSD-src-b98ca06a57c4e10b0fef3580c32b03a8cefa4191.zip FreeBSD-src-b98ca06a57c4e10b0fef3580c32b03a8cefa4191.tar.gz |
Import of a GCC 2.96 SNAPSHOT taken from the trunk of the GCC anoncvs
server on 3-June-2000.
Diffstat (limited to 'contrib/libio')
-rw-r--r-- | contrib/libio/config/beos.mt | 25 | ||||
-rw-r--r-- | contrib/libio/config/dgux.mt | 25 | ||||
-rw-r--r-- | contrib/libio/config/mpeix.mt | 20 | ||||
-rw-r--r-- | contrib/libio/config/vxworks.mt | 1 |
4 files changed, 71 insertions, 0 deletions
diff --git a/contrib/libio/config/beos.mt b/contrib/libio/config/beos.mt new file mode 100644 index 0000000..9e3c519 --- /dev/null +++ b/contrib/libio/config/beos.mt @@ -0,0 +1,25 @@ +# Use the libio which comes with the local libc. + +# Comment this out to avoid including the stdio functions in libiostream.a: +# LIBIOSTREAM_OBJECTS = $(IO_OBJECTS) $(IOSTREAM_OBJECTS) $(STDIO_WRAP_OBJECTS) $(OSPRIM_OBJECTS) +# LIBIOSTREAM_DEP = $(LIBIOSTREAM_OBJECTS) stdio.list +# LIBIOSTREAM_USE = $(LIBIOSTREAM_OBJECTS) `cat stdio.list` + +# Comment the above and uncomment the below to use the code in the Linux libc: +# We have _G_config.h in /usr/include. +_G_CONFIG_H= + +# We must not see the libio.h file from this library. +LIBIO_INCLUDE= + +# We have those in libc.a. +IO_OBJECTS= iogetline.o +STDIO_WRAP_OBJECTS= +OSPRIM_OBJECTS= +STDIO_OBJECTS= + +# We have the rest in /usr/include. +USER_INCLUDES=PlotFile.h SFile.h builtinbuf.h editbuf.h fstream.h \ + indstream.h iomanip.h iostream.h istream.h ostream.h \ + parsestream.h pfstream.h procbuf.h stdiostream.h stream.h \ + streambuf.h strfile.h strstream.h diff --git a/contrib/libio/config/dgux.mt b/contrib/libio/config/dgux.mt new file mode 100644 index 0000000..4731ef5 --- /dev/null +++ b/contrib/libio/config/dgux.mt @@ -0,0 +1,25 @@ +# Use the libio which comes with the local libc. + +# Comment this out to avoid including the stdio functions in libiostream.a: +# LIBIOSTREAM_OBJECTS = $(IO_OBJECTS) $(IOSTREAM_OBJECTS) $(STDIO_WRAP_OBJECTS) $(OSPRIM_OBJECTS) +# LIBIOSTREAM_DEP = $(LIBIOSTREAM_OBJECTS) stdio.list +# LIBIOSTREAM_USE = $(LIBIOSTREAM_OBJECTS) `cat stdio.list` + +# Comment the above and uncomment the below to use the code in the Linux libc: +# We have _G_config.h in /usr/include. +_G_CONFIG_H= + +# We must not see the libio.h file from this library. +LIBIO_INCLUDE= + +# We have those in libc.a. +IO_OBJECTS= iogetline.o +STDIO_WRAP_OBJECTS= +OSPRIM_OBJECTS= +STDIO_OBJECTS= + +# We have the rest in /usr/include. +USER_INCLUDES=PlotFile.h SFile.h builtinbuf.h editbuf.h fstream.h \ + indstream.h iomanip.h iostream.h istream.h ostream.h \ + parsestream.h pfstream.h procbuf.h stdiostream.h stream.h \ + streambuf.h strfile.h strstream.h diff --git a/contrib/libio/config/mpeix.mt b/contrib/libio/config/mpeix.mt new file mode 100644 index 0000000..9319939 --- /dev/null +++ b/contrib/libio/config/mpeix.mt @@ -0,0 +1,20 @@ +# Flags to pass to gen-params when building _G_config.h. +# For example: G_CONFIG_ARGS = size_t="unsigned long" +G_CONFIG_ARGS = DOLLAR_IN_LABEL=1 + +# +# gen-params tries to determine whether or not printf_fp exists by +# simply compiling a test program. Since MPE is by definition a +# shared runtime environment, this won't work unless the resulting +# program is run. Simply run _G_config.h through a sed script to +# update the values accordingly. +# +_G_CONFIG_H = stmp-Gconfig + +stmp-Gconfig: _G_config.h + sed -e "s/_G_HAVE_PRINTF_FP 1/_G_HAVE_PRINTF_FP 0/" \ + -e "s/_G_HAVE_LONG_DOUBLE_IO 1/_G_HAVE_LONG_DOUBLE_IO 0/" \ + <_G_config.h > tmp-config.h + mv -f tmp-config.h _G_config.h + touch stmp-Gconfig + $(MAKE) $(FLAGS_TO_PASS) _G_CONFIG_H=_G_config.h all diff --git a/contrib/libio/config/vxworks.mt b/contrib/libio/config/vxworks.mt new file mode 100644 index 0000000..087e309 --- /dev/null +++ b/contrib/libio/config/vxworks.mt @@ -0,0 +1 @@ +G_CONFIG_ARGS = HAVE_PRINTF_FP=0 HAVE_LONG_DOUBLE_IO=0 |