diff options
| author | mycroft <mycroft@NetBSD.org> | 1998-05-06 11:59:09 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1998-05-06 11:59:09 +0000 |
| commit | 0b01550a6581e9ddd0c87d41e27f6b640e8d6263 (patch) | |
| tree | 8339fa06eac6b7fc5082303546cd6100efa7e0c7 /gnu/lib/libstdc++ | |
| parent | c0de9013eeca92f9b0905ca0ef544245c06cb784 (diff) | |
Run gen-params to build _G_config.h at build time.
Diffstat (limited to 'gnu/lib/libstdc++')
| -rw-r--r-- | gnu/lib/libstdc++/Makefile | 13 | ||||
| -rw-r--r-- | gnu/lib/libstdc++/_G_config.h | 87 |
2 files changed, 10 insertions, 90 deletions
diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile index 585135ec6b8..a70daf320b9 100644 --- a/gnu/lib/libstdc++/Makefile +++ b/gnu/lib/libstdc++/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 1998/04/12 14:18:41 tv Exp $ +# $NetBSD: Makefile,v 1.6 1998/05/06 11:59:09 mycroft Exp $ HAVE_GCC28!= ${CXX} --version | egrep "^(2\.8|egcs)" ; echo @@ -13,7 +13,8 @@ SUBDIR=std stl io LIB= stdc++ -SRCS= PlotFile.cc SFile.cc builtinbuf.cc editbuf.cc filebuf.cc fstream.cc \ +SRCS= _G_config.h \ + PlotFile.cc SFile.cc builtinbuf.cc editbuf.cc filebuf.cc fstream.cc \ indstream.cc ioassign.cc ioextend.cc iomanip.cc iostream.cc \ isgetline.cc isgetsb.cc isscan.cc osform.cc parsestream.cc \ pfstream.cc procbuf.cc sbform.cc sbgetline.cc sbscan.cc \ @@ -34,7 +35,7 @@ SRCS= PlotFile.cc SFile.cc builtinbuf.cc editbuf.cc filebuf.cc fstream.cc \ DIST= $(.CURDIR)/../../dist CXXFLAGS+= -nostdinc++ -CPPFLAGS+= -I$(.CURDIR) -I$(DIST)/libstdc++ -I$(DIST)/libio \ +CPPFLAGS+= -I. -I$(DIST)/libstdc++ -I$(DIST)/libio \ -I$(DIST)/libstdc++/stl -I$(DIST)/gcc/cp/inc NOMAN= noman NOLINT= nolint (c++) @@ -56,6 +57,12 @@ DPADD= ${DESTDIR}/usr/lib/c++rt0.o SINSTCC= $(DIST)/libstdc++/sinst.cc CINSTCC= $(DIST)/libstdc++/cinst.cc +_G_config.h: Makefile + rootme=${.OBJDIR} CC="${CC}" CXX="${CXX}" CONFIG_NM="${NM}" \ + /bin/sh ${DIST}/libio/gen-params LIB_VERSION=2.8.0 >tmp-params.h + mv -f tmp-params.h _G_config.h +CLEANFILES+=dummy.h tmp-params.h _G_config.h + cstrmain.cc: Makefile @echo Creating cstrmain.cc @(for i in 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 ; do \ diff --git a/gnu/lib/libstdc++/_G_config.h b/gnu/lib/libstdc++/_G_config.h deleted file mode 100644 index 720d361fd35..00000000000 --- a/gnu/lib/libstdc++/_G_config.h +++ /dev/null @@ -1,87 +0,0 @@ -/* AUTOMATICALLY GENERATED; DO NOT EDIT! */ -#ifndef _G_config_h -#define _G_config_h -#define _G_LIB_VERSION "2.8.0" -#define _G_NAMES_HAVE_UNDERSCORE 1 -#define _G_VTABLE_LABEL_HAS_LENGTH 1 -#define _G_VTABLE_LABEL_PREFIX "__vt$" -#define _G_HAVE_ST_BLKSIZE 1 - -#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) -typedef int _G_int8_t __attribute__((__mode__(__QI__))); -typedef unsigned int _G_uint8_t __attribute__((__mode__(__QI__))); -typedef int _G_int16_t __attribute__((__mode__(__HI__))); -typedef unsigned int _G_uint16_t __attribute__((__mode__(__HI__))); -typedef int _G_int32_t __attribute__((__mode__(__SI__))); -typedef unsigned int _G_uint32_t __attribute__((__mode__(__SI__))); -typedef int _G_int64_t __attribute__((__mode__(__DI__))); -typedef unsigned int _G_uint64_t __attribute__((__mode__(__DI__))); -#if __GNUC__ > 2 || __GNUC_MINOR__ >= 8 -__extension__ typedef long long _G_llong; -__extension__ typedef unsigned long long _G_ullong; -#endif -#else -typedef short _G_int16_t; -typedef unsigned short _G_uint16_t; -typedef int _G_int32_t; -typedef unsigned int _G_uint32_t; -#endif - -typedef unsigned long _G_clock_t; -typedef unsigned int _G_dev_t; -typedef _G_llong _G_fpos_t; -typedef unsigned int _G_gid_t; -typedef unsigned int _G_ino_t; -typedef unsigned int _G_mode_t; -typedef unsigned int _G_nlink_t; -typedef _G_llong _G_off_t; -typedef int _G_pid_t; -#ifndef __PTRDIFF_TYPE__ -#define __PTRDIFF_TYPE__ int -#endif -typedef __PTRDIFF_TYPE__ _G_ptrdiff_t; -typedef unsigned int _G_sigset_t; -#ifndef __SIZE_TYPE__ -#define __SIZE_TYPE__ unsigned int -#endif -typedef __SIZE_TYPE__ _G_size_t; -typedef long _G_time_t; -typedef unsigned int _G_uid_t; -typedef int _G_wchar_t; - -#define _G_BUFSIZ 1024 -#define _G_FOPEN_MAX 20 -#define _G_FILENAME_MAX 1024 -#if defined (__cplusplus) || defined (__STDC__) -#define _G_ARGS(ARGLIST) ARGLIST -#else -#define _G_ARGS(ARGLIST) () -#endif -#if !defined (__GNUG__) || defined (__STRICT_ANSI__) -#define _G_NO_NRV -#endif -#if !defined (__GNUG__) -#define _G_NO_EXTERN_TEMPLATES -#endif -typedef int _G_ssize_t; -typedef int /* default */ _G_wint_t; -typedef char * _G_va_list; -#define _G_signal_return_type void -#define _G_sprintf_return_type int -#define _G_HAVE_ATEXIT 1 -#define _G_HAVE_SYS_RESOURCE 1 -#define _G_HAVE_SYS_TIMES 1 -#define _G_HAVE_SYS_SOCKET 1 -#define _G_HAVE_SYS_CDEFS 1 -#define _G_HAVE_SYS_WAIT 1 -#define _G_HAVE_UNISTD 1 -#define _G_HAVE_DIRENT 1 -#define _G_HAVE_CURSES 1 -#define _G_MATH_H_INLINES 0 -#define _G_HAVE_BOOL 1 -#define _G_HAVE_PRINTF_FP 0 -#define _G_HAVE_LONG_DOUBLE_IO 0 -#undef NULL -#define __need_NULL -#include <stddef.h> -#endif /* !_G_config_h */ |
