2000-05-25 21:09:01 +08:00
|
|
|
## Makefile for the libio subdirectory of the GNU C++ Standard library.
|
2000-04-22 04:33:34 +08:00
|
|
|
##
|
2000-08-15 15:33:00 +08:00
|
|
|
## Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
2000-04-22 04:33:34 +08:00
|
|
|
##
|
|
|
|
## 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
|
|
|
|
|
2000-12-09 06:26:49 +08:00
|
|
|
if GLIBCPP_BUILD_LIBIO
|
2000-10-08 02:54:08 +08:00
|
|
|
noinst_LTLIBRARIES = libio.la
|
2000-12-09 06:26:49 +08:00
|
|
|
else
|
|
|
|
noinst_LTLIBRARIES =
|
|
|
|
endif
|
2000-10-08 02:54:08 +08:00
|
|
|
|
2000-10-12 19:45:23 +08:00
|
|
|
# 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@
|
2000-07-02 10:16:35 +08:00
|
|
|
|
|
|
|
INCLUDES = \
|
2000-10-05 19:36:52 +08:00
|
|
|
-nostdinc++ \
|
2000-10-30 06:32:30 +08:00
|
|
|
-I$(top_builddir)/include -I$(GLIBCPP_INCLUDE_DIR) \
|
2000-10-08 02:54:08 +08:00
|
|
|
$(LIBIO_INCLUDES) $(TOPLEVEL_INCLUDES)
|
2000-04-22 04:33:34 +08:00
|
|
|
|
|
|
|
libio_headers = \
|
|
|
|
libio.h libioP.h iolibio.h
|
|
|
|
|
|
|
|
if GLIBCPP_NEED_LIBIO
|
|
|
|
LIBIO_SRCS = \
|
2000-10-27 20:29:42 +08:00
|
|
|
filedoalloc.c genops.c fileops.c stdfiles.c c_codecvt.c iofclose.c \
|
|
|
|
iofopen.c stdio.c
|
2000-04-22 04:33:34 +08:00
|
|
|
else
|
|
|
|
LIBIO_SRCS =
|
|
|
|
endif
|
|
|
|
|
2000-07-02 10:16:35 +08:00
|
|
|
if GLIBCPP_NEED_WLIBIO
|
|
|
|
LIBIO_WSRCS = \
|
2000-10-27 20:29:42 +08:00
|
|
|
wfiledoalloc.c wfileops.c wgenops.c iofwide.c
|
2000-05-25 21:09:01 +08:00
|
|
|
else
|
2000-07-02 10:16:35 +08:00
|
|
|
LIBIO_WSRCS =
|
2000-05-25 21:09:01 +08:00
|
|
|
endif
|
2000-04-28 10:50:55 +08:00
|
|
|
|
2000-07-19 08:57:38 +08:00
|
|
|
|
2000-07-02 10:16:35 +08:00
|
|
|
EXTRA_DIST = iostreamP.h
|
2000-05-25 21:09:01 +08:00
|
|
|
|
2000-10-27 20:29:42 +08:00
|
|
|
libio_la_SOURCES = $(LIBIO_SRCS) $(LIBIO_WSRCS)
|
2000-05-25 21:09:01 +08:00
|
|
|
|
2000-10-07 07:31:22 +08:00
|
|
|
|
2000-10-08 02:54:08 +08:00
|
|
|
AM_CFLAGS = -D_GNU_SOURCE @DEBUG_FLAGS@
|