Files
glibc/stdio-common/Makefile
T

72 lines
2.3 KiB
Makefile
Raw Normal View History

1999-02-07 00:06:12 +00:00
# Copyright (C) 1991,92,93,94,95,96,97,98,99 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
# The GNU C 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
# Library General Public License for more details.
# You should have received a copy of the GNU Library General Public
1996-11-27 06:13:15 +00:00
# License along with the GNU C Library; see the file COPYING.LIB. If not,
# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#
# Specific makefile for stdio-common.
#
subdir := stdio-common
1998-09-14 16:38:49 +00:00
headers := printf.h
routines := \
ctermid cuserid \
1997-10-26 20:13:00 +00:00
_itoa itoa-digits \
vfprintf vprintf printf_fp reg-printf printf-prs printf_fphex \
1997-03-25 01:45:04 +00:00
printf_size fprintf printf snprintf sprintf asprintf dprintf \
vfscanf \
fscanf scanf sscanf \
perror psignal \
1997-10-12 04:05:44 +00:00
tmpfile tmpfile64 tmpnam tmpnam_r tempnam tempname \
getline getw putw \
1996-09-13 05:28:59 +00:00
remove rename \
1996-12-21 04:13:58 +00:00
lockfile
1996-09-13 03:21:39 +00:00
1998-09-15 12:10:51 +00:00
include ../Makeconfig
1998-09-14 16:38:49 +00:00
install-others := $(inst_includedir)/bits/stdio_lim.h
aux := errlist siglist
1998-09-14 11:43:26 +00:00
distribute := _itoa.h printf-parse.h stdio_lim.h.in
tests := tst-printf tstscanf test_rdwr test-popen tstgetln test-fseek \
1997-04-08 23:42:08 +00:00
temptest tst-fileno test-fwrite tst-ungetc tst-ferror \
xbug errnobug \
1998-06-15 14:55:03 +00:00
bug1 bug2 bug3 bug4 bug5 bug6 bug7 bug8 bug9 bug10 bug11 bug12 \
1999-02-14 20:03:55 +00:00
tfformat tiformat tllformat tstdiomisc tst-printfsz tst-wc-printf \
1998-12-14 15:23:56 +00:00
scanf1 scanf2 scanf3 scanf4 scanf5 scanf7 scanf8 scanf9 scanf10 \
1999-02-07 00:06:12 +00:00
scanf12 tst-tmpnam
include ../Rules
1996-12-22 00:32:43 +00:00
CFLAGS-vfprintf.c = -Wno-uninitialized
CFLAGS-_itoa.c = -Wno-unused
CFLAGS-tst-printf.c = -Wno-format
1996-10-31 02:57:12 +00:00
CFLAGS-tstdiomisc.c = -Wno-format
1996-11-27 06:13:15 +00:00
CFLAGS-scanf4.c = -Wno-format
CFLAGS-scanf7.c = -Wno-format
1997-04-21 11:38:46 +00:00
CFLAGS-tst-printfsz.c = -Wno-format
1996-09-20 01:58:09 +00:00
1998-09-14 16:38:49 +00:00
$(inst_includedir)/bits/stdio_lim.h: $(common-objpfx)bits/stdio_lim.h
1998-09-16 17:54:34 +00:00
$(do-install)
1998-09-14 16:38:49 +00:00
1996-09-20 01:58:09 +00:00
ifeq ($(stdio),libio)
ifneq (,$(filter %REENTRANT, $(defines)))
CPPFLAGS += -D_IO_MTSAFE_IO
endif
endif