mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 16:29:39 +08:00
5bd17d3917
2000-10-26 Phil Edwards <pme@sources.redhat.com> David Edelsohn <dje@watson.ibm.com> * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out --gc-sections stuff entirely to avoid misleading people. (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio. * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS): Rearrange and merge. * libio/libio.h: Simplify, make fewer assumptions. Define those macros which must be defined. * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a result. From-SVN: r37082
67 lines
1.9 KiB
Makefile
67 lines
1.9 KiB
Makefile
## Makefile for the libio subdirectory of the GNU C++ Standard library.
|
|
##
|
|
## Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
|
##
|
|
## This file is part of the libstdc++ version 3 distribution.
|
|
## Process this file with automake to produce Makefile.in.
|
|
|
|
## This file is part of the GNU ISO C++ Library. This library is free
|
|
## software; you can redistribute it and/or modify it under the
|
|
## terms of the GNU General Public License as published by the
|
|
## Free Software Foundation; either version 2, or (at your option)
|
|
## any later version.
|
|
|
|
## This library is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
|
|
## You should have received a copy of the GNU General Public License along
|
|
## with this library; see the file COPYING. If not, write to the Free
|
|
## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
|
## USA.
|
|
|
|
AUTOMAKE_OPTIONS = 1.3 cygnus
|
|
|
|
noinst_LTLIBRARIES = libio.la
|
|
|
|
# Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
|
|
GLIBCPP_INCLUDE_DIR = @GLIBCPP_INCLUDE_DIR@
|
|
C_INCLUDE_DIR = @C_INCLUDE_DIR@
|
|
TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
|
|
LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
|
|
LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
|
|
LIBIO_INCLUDES = @LIBIO_INCLUDES@
|
|
CSHADOW_INCLUDES = @CSHADOW_INCLUDES@
|
|
|
|
INCLUDES = \
|
|
-nostdinc++ \
|
|
-I$(top_builddir) -I$(GLIBCPP_INCLUDE_DIR) \
|
|
$(LIBIO_INCLUDES) $(TOPLEVEL_INCLUDES)
|
|
|
|
libio_headers = \
|
|
libio.h libioP.h iolibio.h
|
|
|
|
if GLIBCPP_NEED_LIBIO
|
|
LIBIO_SRCS = \
|
|
filedoalloc.c genops.c fileops.c stdfiles.c c_codecvt.c iofclose.c \
|
|
iofopen.c stdio.c
|
|
else
|
|
LIBIO_SRCS =
|
|
endif
|
|
|
|
if GLIBCPP_NEED_WLIBIO
|
|
LIBIO_WSRCS = \
|
|
wfiledoalloc.c wfileops.c wgenops.c iofwide.c
|
|
else
|
|
LIBIO_WSRCS =
|
|
endif
|
|
|
|
|
|
EXTRA_DIST = iostreamP.h
|
|
|
|
libio_la_SOURCES = $(LIBIO_SRCS) $(LIBIO_WSRCS)
|
|
|
|
|
|
AM_CFLAGS = -D_GNU_SOURCE @DEBUG_FLAGS@
|