1997-08-22 00:57:35 +02:00
|
|
|
#
|
|
|
|
# Makefile
|
2000-04-29 16:25:12 +02:00
|
|
|
# Copyright (C) 1990, 91-99, 2000
|
1998-05-16 01:42:58 +02:00
|
|
|
# Free Software Foundation
|
1997-08-22 00:57:35 +02:00
|
|
|
#
|
|
|
|
# This file is part of the libiberty library.
|
|
|
|
# Libiberty 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.
|
|
|
|
#
|
|
|
|
# Libiberty 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
|
|
|
|
# License along with libiberty; see the file COPYING.LIB. If not,
|
|
|
|
# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
# Boston, MA 02111-1307, USA.
|
|
|
|
#
|
|
|
|
|
1998-05-16 01:42:58 +02:00
|
|
|
# This file was written by K. Richard Pixley <rich@cygnus.com>.
|
1997-08-22 00:57:35 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Makefile for libiberty directory
|
|
|
|
#
|
|
|
|
|
1998-05-16 01:42:58 +02:00
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
1997-08-22 00:57:35 +02:00
|
|
|
|
1998-05-16 01:42:58 +02:00
|
|
|
prefix = @prefix@
|
1997-08-22 00:57:35 +02:00
|
|
|
|
1998-05-16 01:42:58 +02:00
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
|
|
libdir = @libdir@
|
1997-08-22 00:57:35 +02:00
|
|
|
|
1998-05-16 01:42:58 +02:00
|
|
|
SHELL = @SHELL@
|
1997-08-22 00:57:35 +02:00
|
|
|
|
|
|
|
# Multilib support variables.
|
|
|
|
MULTISRCTOP =
|
|
|
|
MULTIBUILDTOP =
|
|
|
|
MULTIDIRS =
|
|
|
|
MULTISUBDIR =
|
|
|
|
MULTIDO = true
|
|
|
|
MULTICLEAN = true
|
|
|
|
|
1998-05-16 01:42:58 +02:00
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
1997-08-22 00:57:35 +02:00
|
|
|
|
1998-05-16 01:42:58 +02:00
|
|
|
AR = @AR@
|
1997-08-22 00:57:35 +02:00
|
|
|
AR_FLAGS = rc
|
|
|
|
|
1998-05-16 01:42:58 +02:00
|
|
|
CC = @CC@
|
|
|
|
CFLAGS = @CFLAGS@
|
1997-08-22 00:57:35 +02:00
|
|
|
LIBCFLAGS = $(CFLAGS)
|
1998-05-16 01:42:58 +02:00
|
|
|
RANLIB = @RANLIB@
|
1997-08-22 00:57:35 +02:00
|
|
|
|
|
|
|
PICFLAG =
|
|
|
|
|
|
|
|
MAKEOVERRIDES =
|
|
|
|
|
|
|
|
TARGETLIB = libiberty.a
|
|
|
|
|
1998-05-16 01:42:58 +02:00
|
|
|
LIBOBJS = @LIBOBJS@
|
1998-10-09 00:48:52 +02:00
|
|
|
ALLOCA = @ALLOCA@
|
1997-08-22 00:57:35 +02:00
|
|
|
|
|
|
|
# A configuration can specify extra .o files that should be included,
|
|
|
|
# even if they are in libc. (Perhaps the libc version is buggy.)
|
|
|
|
EXTRA_OFILES =
|
|
|
|
|
|
|
|
# Flags to pass to a recursive make.
|
|
|
|
FLAGS_TO_PASS = \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"CFLAGS=$(CFLAGS)" \
|
|
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
|
|
|
"EXTRA_OFILES=$(EXTRA_OFILES)" \
|
|
|
|
"HDEFINES=$(HDEFINES)" \
|
|
|
|
"INSTALL=$(INSTALL)" \
|
|
|
|
"INSTALL_DATA=$(INSTALL_DATA)" \
|
|
|
|
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
1999-08-07 07:37:16 +02:00
|
|
|
"SHELL=$(SHELL)" \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"exec_prefix=$(exec_prefix)" \
|
|
|
|
"libdir=$(libdir)" \
|
|
|
|
"libsubdir=$(libsubdir)" \
|
|
|
|
"tooldir=$(tooldir)"
|
1997-08-22 00:57:35 +02:00
|
|
|
|
1999-10-28 10:26:42 +02:00
|
|
|
# Subdirectories to recurse into. We need to override this during cleaning
|
|
|
|
SUBDIRS = testsuite
|
|
|
|
|
regress-demangle: New file.
* testsuite/regress-demangle: New file.
* testsuite/demangle-expected: New file.
* Makefile.in (all, check, installcheck, info, install-info,
clean-info, dvi, install, etags, tags, mostlyclean, clean,
distclean, maintainer-clean, realclean): Depend on corresponding
`-subdir' target.
(all-subdir check-subdir installcheck-subdir info-subdir
install-info-subdir clean-info-subdir dvi-subdir
install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
distclean-subdir maintainer-clean-subdir): New target.
* testsuite/Makefile.in: New file.
* configure: Rebuilt.
* configure.in: Create testsuite/Makefile.
From-SVN: r26205
1999-04-05 16:28:59 +02:00
|
|
|
all: stamp-picdir $(TARGETLIB) needed-list required-list all-subdir
|
1998-05-16 01:42:58 +02:00
|
|
|
@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
|
1997-08-22 00:57:35 +02:00
|
|
|
|
|
|
|
.PHONY: check installcheck
|
regress-demangle: New file.
* testsuite/regress-demangle: New file.
* testsuite/demangle-expected: New file.
* Makefile.in (all, check, installcheck, info, install-info,
clean-info, dvi, install, etags, tags, mostlyclean, clean,
distclean, maintainer-clean, realclean): Depend on corresponding
`-subdir' target.
(all-subdir check-subdir installcheck-subdir info-subdir
install-info-subdir clean-info-subdir dvi-subdir
install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
distclean-subdir maintainer-clean-subdir): New target.
* testsuite/Makefile.in: New file.
* configure: Rebuilt.
* configure.in: Create testsuite/Makefile.
From-SVN: r26205
1999-04-05 16:28:59 +02:00
|
|
|
check: check-subdir
|
|
|
|
installcheck: installcheck-subdir
|
1997-08-22 00:57:35 +02:00
|
|
|
|
1998-05-16 01:42:58 +02:00
|
|
|
@host_makefile_frag@
|
1997-08-22 00:57:35 +02:00
|
|
|
|
|
|
|
INCDIR=$(srcdir)/$(MULTISRCTOP)../include
|
|
|
|
|
2000-01-04 17:09:57 +01:00
|
|
|
COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
|
1997-08-22 00:57:35 +02:00
|
|
|
.c.o:
|
2000-05-16 04:48:28 +02:00
|
|
|
if [ x"$(PICFLAG)" != x ]; then \
|
|
|
|
$(COMPILE.c) $(PICFLAG) $< -o pic/$@; \
|
|
|
|
else true; fi
|
1997-08-22 00:57:35 +02:00
|
|
|
$(COMPILE.c) $<
|
|
|
|
|
regress-demangle: New file.
* testsuite/regress-demangle: New file.
* testsuite/demangle-expected: New file.
* Makefile.in (all, check, installcheck, info, install-info,
clean-info, dvi, install, etags, tags, mostlyclean, clean,
distclean, maintainer-clean, realclean): Depend on corresponding
`-subdir' target.
(all-subdir check-subdir installcheck-subdir info-subdir
install-info-subdir clean-info-subdir dvi-subdir
install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
distclean-subdir maintainer-clean-subdir): New target.
* testsuite/Makefile.in: New file.
* configure: Rebuilt.
* configure.in: Create testsuite/Makefile.
From-SVN: r26205
1999-04-05 16:28:59 +02:00
|
|
|
info: info-subdir
|
|
|
|
install-info: install-info-subdir
|
|
|
|
clean-info: clean-info-subdir
|
|
|
|
dvi: dvi-subdir
|
1997-08-22 00:57:35 +02:00
|
|
|
|
|
|
|
# Include files that are in this directory.
|
1998-05-16 01:42:58 +02:00
|
|
|
HFILES = alloca-conf.h
|
1997-08-22 00:57:35 +02:00
|
|
|
|
|
|
|
# NOTE: If you add new files to the library, add them to this list
|
1998-05-16 01:42:58 +02:00
|
|
|
# (alphabetical), and add them to REQUIRED_OFILES or funcs in
|
|
|
|
# configure.in.
|
2000-03-10 09:16:55 +01:00
|
|
|
CFILES = asprintf.c alloca.c argv.c atexit.c basename.c bcmp.c bcopy.c \
|
2000-06-05 04:28:41 +02:00
|
|
|
bzero.c calloc.c choose-temp.c clock.c concat.c cplus-dem.c \
|
|
|
|
cp-demangle.c dyn-string.c fdmatch.c fnmatch.c getcwd.c \
|
|
|
|
getpwd.c getopt.c getopt1.c getpagesize.c getruntime.c \
|
[multiple changes]
2000-08-28 Daniel Berlin <dberlin@redhat.com>
* dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
(print_die): If we don't know the offset of the
target die, try the symbol. Add a trailing newline.
(reverse_all_dies): New fn.
(dwarf2out_finish): Call it.
(break_out_includes): Reorganize for clarity.
(add_sibling_attributes): Don't call reverse_die_lists.
(output_comp_unit): Rename from output_comdat_comp_unit. Use for
primary CU, too.
* flags.h: Add flag_eliminate_dwarf2_dups.
* toplev.c (f_options): Support -feliminate-dwarf2-dups.
2000-08-28 Jason Merrill <jason@redhat.com>
* dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
* dwarf2out.c: #include "md5.h".
(DIE_LABEL_PREFIX): New macro.
(dw_val_struct): Add 'external' flag to val_die_ref.
(add_AT_die_ref, AT_ref): Adjust.
(AT_ref_external, set_AT_ref_external): New fns.
(build_abbrev_table): Call set_AT_ref_external.
(value_format): Call AT_ref_external.
(die_struct): Add die_symbol field.
(new_die): Clear it.
(dwarf_tag_name): Handle BINCL/EINCL.
(dwarf2out_start_source_file): Add BINCL DIE.
(dwarf2out_end_source_file): Add EINCL DIE.
(push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
(loc_checksum, attr_checksum, die_checksum): New fns.
(is_type_die, is_comdat_die, is_symbol_die): New fns.
(compute_section_prefix, assign_symbol_names): New fns.
(gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
(output_die): Call output_die_symbol and AT_ref_external.
(output_comdat_comp_unit): New fn, split out from...
(dwarf2out_finish): ...here. Also call add_sibling_attributes for
secondary CUs.
(output_pubnames, output_aranges): Abort if we see entries from
secondary CUs.
* toplev.h: Declare file_name_nondirectory.
* toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
(rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
(debug_start_source_file): Call dwarf2out_start_source_file
regardless of debug verbosity.
(debug_end_source_file): Similarly.
* tree.h: Declare clean_symbol_name.
* tree.c (clean_symbol_name): Split out from...
(get_file_function_name_long): ...here.
* dwarf2out.c (new_loc_descr): Use calloc.
(splice_child_die): Remove the die from the right parent.
(gen_struct_or_union_die): Don't add AT_name to a specification DIE.
gcc/cp:
2000-08-28 Jason Merrill <jason@redhat.com>
* lex.c (file_name_nondirectory): Move to toplev.c.
libiberty:
2000-08-28 Jason Merrill <jason@redhat.com>
* Makefile.in (REQUIRED_OFILES): Add md5.o.
(CFILES): Add md5.c.
* md5.c: New file.
include:
2000-08-28 Jason Merrill <jason@redhat.com>
* md5.h: New file.
gcc/cp:
2000-08-28 Jason Merrill <jason@redhat.com>
* cp-tree.h (LOCAL_CLASS_P): New macro.
* class.c (finish_struct_1): Use it.
From-SVN: r36022
2000-08-29 02:29:29 +02:00
|
|
|
floatformat.c hashtab.c hex.c index.c insque.c md5.c memchr.c memcmp.c\
|
2000-06-05 04:28:41 +02:00
|
|
|
memcpy.c memmove.c memset.c mkstemps.c objalloc.c obstack.c \
|
|
|
|
partition.c pexecute.c putenv.c random.c rename.c rindex.c setenv.c \
|
|
|
|
sigsetmask.c sort.c spaces.c splay-tree.c strcasecmp.c strncasecmp.c \
|
|
|
|
strchr.c strdup.c strerror.c strncmp.c strrchr.c strsignal.c strstr.c \
|
|
|
|
strtod.c strtol.c strtoul.c tmpnam.c vasprintf.c vfork.c vfprintf.c \
|
|
|
|
vprintf.c vsprintf.c waitpid.c xatexit.c xexit.c xmalloc.c \
|
|
|
|
xmemdup.c xstrdup.c xstrerror.c
|
1998-05-16 01:42:58 +02:00
|
|
|
|
1997-08-22 00:57:35 +02:00
|
|
|
# These are always included in the library.
|
2000-06-05 04:28:41 +02:00
|
|
|
REQUIRED_OFILES = argv.o choose-temp.o concat.o cplus-dem.o cp-demangle.o \
|
|
|
|
dyn-string.o fdmatch.o fnmatch.o getopt.o getopt1.o getpwd.o \
|
[multiple changes]
2000-08-28 Daniel Berlin <dberlin@redhat.com>
* dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
(print_die): If we don't know the offset of the
target die, try the symbol. Add a trailing newline.
(reverse_all_dies): New fn.
(dwarf2out_finish): Call it.
(break_out_includes): Reorganize for clarity.
(add_sibling_attributes): Don't call reverse_die_lists.
(output_comp_unit): Rename from output_comdat_comp_unit. Use for
primary CU, too.
* flags.h: Add flag_eliminate_dwarf2_dups.
* toplev.c (f_options): Support -feliminate-dwarf2-dups.
2000-08-28 Jason Merrill <jason@redhat.com>
* dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
* dwarf2out.c: #include "md5.h".
(DIE_LABEL_PREFIX): New macro.
(dw_val_struct): Add 'external' flag to val_die_ref.
(add_AT_die_ref, AT_ref): Adjust.
(AT_ref_external, set_AT_ref_external): New fns.
(build_abbrev_table): Call set_AT_ref_external.
(value_format): Call AT_ref_external.
(die_struct): Add die_symbol field.
(new_die): Clear it.
(dwarf_tag_name): Handle BINCL/EINCL.
(dwarf2out_start_source_file): Add BINCL DIE.
(dwarf2out_end_source_file): Add EINCL DIE.
(push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
(loc_checksum, attr_checksum, die_checksum): New fns.
(is_type_die, is_comdat_die, is_symbol_die): New fns.
(compute_section_prefix, assign_symbol_names): New fns.
(gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
(output_die): Call output_die_symbol and AT_ref_external.
(output_comdat_comp_unit): New fn, split out from...
(dwarf2out_finish): ...here. Also call add_sibling_attributes for
secondary CUs.
(output_pubnames, output_aranges): Abort if we see entries from
secondary CUs.
* toplev.h: Declare file_name_nondirectory.
* toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
(rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
(debug_start_source_file): Call dwarf2out_start_source_file
regardless of debug verbosity.
(debug_end_source_file): Similarly.
* tree.h: Declare clean_symbol_name.
* tree.c (clean_symbol_name): Split out from...
(get_file_function_name_long): ...here.
* dwarf2out.c (new_loc_descr): Use calloc.
(splice_child_die): Remove the die from the right parent.
(gen_struct_or_union_die): Don't add AT_name to a specification DIE.
gcc/cp:
2000-08-28 Jason Merrill <jason@redhat.com>
* lex.c (file_name_nondirectory): Move to toplev.c.
libiberty:
2000-08-28 Jason Merrill <jason@redhat.com>
* Makefile.in (REQUIRED_OFILES): Add md5.o.
(CFILES): Add md5.c.
* md5.c: New file.
include:
2000-08-28 Jason Merrill <jason@redhat.com>
* md5.h: New file.
gcc/cp:
2000-08-28 Jason Merrill <jason@redhat.com>
* cp-tree.h (LOCAL_CLASS_P): New macro.
* class.c (finish_struct_1): Use it.
From-SVN: r36022
2000-08-29 02:29:29 +02:00
|
|
|
getruntime.o hashtab.o hex.o floatformat.o md5.o objalloc.o obstack.o \
|
2000-06-05 04:28:41 +02:00
|
|
|
partition.o pexecute.o sort.o spaces.o splay-tree.o strerror.o \
|
|
|
|
strsignal.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o \
|
|
|
|
xstrerror.o
|
1997-08-22 00:57:35 +02:00
|
|
|
|
1998-10-09 00:48:52 +02:00
|
|
|
$(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) $(ALLOCA)
|
1998-05-16 01:42:58 +02:00
|
|
|
rm -f $(TARGETLIB)
|
|
|
|
$(AR) $(AR_FLAGS) $(TARGETLIB) \
|
1998-10-09 00:48:52 +02:00
|
|
|
$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) $(ALLOCA)
|
1998-05-16 01:42:58 +02:00
|
|
|
$(RANLIB) $(TARGETLIB)
|
1997-08-22 00:57:35 +02:00
|
|
|
|
1998-05-16 01:42:58 +02:00
|
|
|
INSTALL_DEST = @INSTALL_DEST@
|
regress-demangle: New file.
* testsuite/regress-demangle: New file.
* testsuite/demangle-expected: New file.
* Makefile.in (all, check, installcheck, info, install-info,
clean-info, dvi, install, etags, tags, mostlyclean, clean,
distclean, maintainer-clean, realclean): Depend on corresponding
`-subdir' target.
(all-subdir check-subdir installcheck-subdir info-subdir
install-info-subdir clean-info-subdir dvi-subdir
install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
distclean-subdir maintainer-clean-subdir): New target.
* testsuite/Makefile.in: New file.
* configure: Rebuilt.
* configure.in: Create testsuite/Makefile.
From-SVN: r26205
1999-04-05 16:28:59 +02:00
|
|
|
install: install_to_$(INSTALL_DEST) install-subdir
|
1997-08-22 00:57:35 +02:00
|
|
|
|
|
|
|
install_to_libdir: all
|
2000-03-24 22:32:08 +01:00
|
|
|
$(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
|
|
|
|
( cd $(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
|
|
|
|
mv -f $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(libdir)$(MULTISUBDIR)/$(TARGETLIB)
|
1997-08-22 00:57:35 +02:00
|
|
|
@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
|
|
|
|
|
|
|
|
install_to_tooldir: all
|
2000-03-24 22:32:08 +01:00
|
|
|
$(INSTALL_DATA) $(TARGETLIB) $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)n
|
|
|
|
( cd $(tooldir)/lib$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
|
|
|
|
mv -f $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)n $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)
|
1997-08-22 00:57:35 +02:00
|
|
|
@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
|
|
|
|
|
1999-07-07 17:22:55 +02:00
|
|
|
# needed-list is used by libstdc++. NEEDED is the list of functions
|
|
|
|
# to include there. Do not add anything LGPL to this list; libstdc++
|
|
|
|
# can't use anything encumbering.
|
|
|
|
NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \
|
2000-05-09 03:23:33 +02:00
|
|
|
strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
|
1999-07-12 20:20:41 +02:00
|
|
|
vfork waitpid bcmp bcopy bzero
|
1998-05-16 01:42:58 +02:00
|
|
|
needed-list: Makefile
|
1999-07-07 17:22:55 +02:00
|
|
|
rm -f needed-list; touch needed-list; \
|
|
|
|
for f in $(NEEDED); do \
|
1999-07-08 04:43:10 +02:00
|
|
|
for g in $(LIBOBJS) $(EXTRA_OFILES); do \
|
|
|
|
case "$$g" in \
|
|
|
|
*$$f*) echo $$g >> needed-list ;; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
1999-07-07 17:22:55 +02:00
|
|
|
done
|
1998-05-16 01:42:58 +02:00
|
|
|
|
|
|
|
# required-list was used when building a shared bfd/opcodes/libiberty
|
|
|
|
# library. I don't know if it used by anything currently.
|
1997-08-22 00:57:35 +02:00
|
|
|
required-list: Makefile
|
|
|
|
echo $(REQUIRED_OFILES) > required-list
|
|
|
|
|
|
|
|
stamp-picdir:
|
2000-05-16 04:48:28 +02:00
|
|
|
if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
|
1997-08-22 00:57:35 +02:00
|
|
|
mkdir pic; \
|
|
|
|
else true; fi
|
|
|
|
touch stamp-picdir
|
|
|
|
|
1998-05-16 01:42:58 +02:00
|
|
|
.PHONY: all etags tags ls clean stage1 stage2
|
1997-08-22 00:57:35 +02:00
|
|
|
|
regress-demangle: New file.
* testsuite/regress-demangle: New file.
* testsuite/demangle-expected: New file.
* Makefile.in (all, check, installcheck, info, install-info,
clean-info, dvi, install, etags, tags, mostlyclean, clean,
distclean, maintainer-clean, realclean): Depend on corresponding
`-subdir' target.
(all-subdir check-subdir installcheck-subdir info-subdir
install-info-subdir clean-info-subdir dvi-subdir
install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
distclean-subdir maintainer-clean-subdir): New target.
* testsuite/Makefile.in: New file.
* configure: Rebuilt.
* configure.in: Create testsuite/Makefile.
From-SVN: r26205
1999-04-05 16:28:59 +02:00
|
|
|
etags tags: TAGS etags-subdir
|
1997-08-22 00:57:35 +02:00
|
|
|
|
|
|
|
TAGS: $(CFILES) $(HFILES)
|
|
|
|
etags `for i in $(HFILES) $(CFILES); do echo $(srcdir)/$$i ; done`
|
|
|
|
|
|
|
|
# The standalone demangler (c++filt) has been moved to binutils.
|
|
|
|
demangle:
|
|
|
|
@echo "The standalone demangler, now named c++filt, is now"
|
|
|
|
@echo "a part of binutils."
|
|
|
|
@false
|
|
|
|
|
|
|
|
ls:
|
|
|
|
@echo Makefile $(HFILES) $(CFILES)
|
|
|
|
|
|
|
|
# Need to deal with profiled libraries, too.
|
|
|
|
|
1999-10-28 10:26:42 +02:00
|
|
|
# Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
|
|
|
|
# multiple times, hence our explicit recursion with an empty SUBDIRS.
|
regress-demangle: New file.
* testsuite/regress-demangle: New file.
* testsuite/demangle-expected: New file.
* Makefile.in (all, check, installcheck, info, install-info,
clean-info, dvi, install, etags, tags, mostlyclean, clean,
distclean, maintainer-clean, realclean): Depend on corresponding
`-subdir' target.
(all-subdir check-subdir installcheck-subdir info-subdir
install-info-subdir clean-info-subdir dvi-subdir
install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
distclean-subdir maintainer-clean-subdir): New target.
* testsuite/Makefile.in: New file.
* configure: Rebuilt.
* configure.in: Create testsuite/Makefile.
From-SVN: r26205
1999-04-05 16:28:59 +02:00
|
|
|
mostlyclean: mostlyclean-subdir
|
1997-08-22 00:57:35 +02:00
|
|
|
rm -rf *.o pic core errs \#* *.E a.out
|
|
|
|
rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
|
|
|
|
rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir
|
|
|
|
@$(MULTICLEAN) multi-clean DO=mostlyclean
|
1999-10-28 10:26:42 +02:00
|
|
|
clean: clean-subdir
|
|
|
|
$(MAKE) SUBDIRS="" mostlyclean
|
1997-08-22 00:57:35 +02:00
|
|
|
rm -f *.a required-list tmpmulti.out
|
|
|
|
@$(MULTICLEAN) multi-clean DO=clean
|
1999-10-28 10:26:42 +02:00
|
|
|
distclean: distclean-subdir
|
|
|
|
$(MAKE) SUBDIRS="" clean
|
1997-08-22 00:57:35 +02:00
|
|
|
@$(MULTICLEAN) multi-clean DO=distclean
|
1998-05-24 00:32:53 +02:00
|
|
|
rm -f *~ Makefile config.status xhost-mkfrag TAGS multilib.out
|
1998-10-09 00:48:52 +02:00
|
|
|
rm -f config.log
|
1999-10-28 10:26:42 +02:00
|
|
|
maintainer-clean realclean: maintainer-clean-subdir
|
|
|
|
$(MAKE) SUBDIRS="" distclean
|
1997-08-22 00:57:35 +02:00
|
|
|
|
|
|
|
force:
|
|
|
|
|
1998-05-16 01:42:58 +02:00
|
|
|
Makefile: $(srcdir)/Makefile.in config.status
|
|
|
|
CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
|
|
config.h: stamp-h ; @true
|
|
|
|
stamp-h: config.in config.status
|
|
|
|
CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
|
|
|
|
|
|
|
|
config.status: $(srcdir)/configure $(srcdir)/config.table
|
|
|
|
$(SHELL) ./config.status --recheck
|
1997-08-22 00:57:35 +02:00
|
|
|
|
regress-demangle: New file.
* testsuite/regress-demangle: New file.
* testsuite/demangle-expected: New file.
* Makefile.in (all, check, installcheck, info, install-info,
clean-info, dvi, install, etags, tags, mostlyclean, clean,
distclean, maintainer-clean, realclean): Depend on corresponding
`-subdir' target.
(all-subdir check-subdir installcheck-subdir info-subdir
install-info-subdir clean-info-subdir dvi-subdir
install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
distclean-subdir maintainer-clean-subdir): New target.
* testsuite/Makefile.in: New file.
* configure: Rebuilt.
* configure.in: Create testsuite/Makefile.
From-SVN: r26205
1999-04-05 16:28:59 +02:00
|
|
|
|
|
|
|
all-subdir check-subdir installcheck-subdir info-subdir \
|
|
|
|
install-info-subdir clean-info-subdir dvi-subdir install-subdir \
|
|
|
|
etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
|
|
|
|
maintainer-clean-subdir:
|
2000-04-29 16:25:12 +02:00
|
|
|
@subdirs='$(SUBDIRS)'; \
|
2000-04-22 00:20:20 +02:00
|
|
|
target=`echo $@ | sed -e 's/-subdir//'`; \
|
2000-04-29 16:25:12 +02:00
|
|
|
for dir in $$subdirs ; do \
|
2000-04-22 00:20:20 +02:00
|
|
|
cd $$dir && $(MAKE) $$target; \
|
1999-10-28 10:26:42 +02:00
|
|
|
done
|
regress-demangle: New file.
* testsuite/regress-demangle: New file.
* testsuite/demangle-expected: New file.
* Makefile.in (all, check, installcheck, info, install-info,
clean-info, dvi, install, etags, tags, mostlyclean, clean,
distclean, maintainer-clean, realclean): Depend on corresponding
`-subdir' target.
(all-subdir check-subdir installcheck-subdir info-subdir
install-info-subdir clean-info-subdir dvi-subdir
install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
distclean-subdir maintainer-clean-subdir): New target.
* testsuite/Makefile.in: New file.
* configure: Rebuilt.
* configure.in: Create testsuite/Makefile.
From-SVN: r26205
1999-04-05 16:28:59 +02:00
|
|
|
|
1998-10-09 00:48:52 +02:00
|
|
|
$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) $(ALLOCA): stamp-picdir
|
1998-05-22 02:20:51 +02:00
|
|
|
|
1998-05-16 01:42:58 +02:00
|
|
|
alloca.o: config.h
|
|
|
|
atexit.o: config.h
|
|
|
|
argv.o: config.h alloca-conf.h $(INCDIR)/libiberty.h
|
1997-08-22 00:57:35 +02:00
|
|
|
basename.o: $(INCDIR)/libiberty.h
|
1998-05-16 01:42:58 +02:00
|
|
|
choose-temp.o: config.h
|
|
|
|
clock.o: config.h
|
1997-08-22 00:57:35 +02:00
|
|
|
concat.o: $(INCDIR)/libiberty.h
|
1998-10-12 19:45:24 +02:00
|
|
|
cplus-dem.o: config.h $(INCDIR)/demangle.h
|
2000-06-07 22:35:43 +02:00
|
|
|
cp-demangle.o: config.h $(INCDIR)/dyn-string.h $(INCDIR)/demangle.h
|
2000-06-05 04:28:41 +02:00
|
|
|
dyn-string.o: config.h $(INCDIR)/dyn-string.h
|
1997-08-22 00:57:35 +02:00
|
|
|
fdmatch.o: $(INCDIR)/libiberty.h
|
1998-05-16 01:42:58 +02:00
|
|
|
fnmatch.o: config.h $(INCDIR)/fnmatch.h
|
|
|
|
getcwd.o: config.h
|
|
|
|
getopt.o: config.h $(INCDIR)/getopt.h
|
|
|
|
getopt1.o: config.h $(INCDIR)/getopt.h
|
|
|
|
getpagesize.o: config.h
|
1999-08-31 02:50:36 +02:00
|
|
|
getpwd.o: config.h $(INCDIR)/libiberty.h
|
1998-05-16 01:42:58 +02:00
|
|
|
getruntime.o: config.h $(INCDIR)/libiberty.h
|
1997-08-22 00:57:35 +02:00
|
|
|
hex.o: $(INCDIR)/libiberty.h
|
|
|
|
floatformat.o: $(INCDIR)/floatformat.h
|
1999-02-09 14:40:23 +01:00
|
|
|
mkstemps.o: config.h
|
2000-08-29 06:35:59 +02:00
|
|
|
md5.o: config.h
|
2000-05-30 23:06:31 +02:00
|
|
|
objalloc.o: config.h $(INCDIR)/objalloc.h
|
1998-10-12 19:45:24 +02:00
|
|
|
obstack.o: config.h $(INCDIR)/obstack.h
|
2000-03-16 09:37:47 +01:00
|
|
|
partition.o: config.h $(INCDIR)/partition.h
|
1998-05-16 01:42:58 +02:00
|
|
|
pexecute.o: config.h $(INCDIR)/libiberty.h
|
2000-07-27 01:23:24 +02:00
|
|
|
rename.o: config.h
|
1999-06-10 22:43:56 +02:00
|
|
|
setenv.o: config.h
|
2000-04-24 02:51:08 +02:00
|
|
|
sort.o: config.h $(INCDIR)/sort.h $(INCDIR)/ansidecl.h
|
1997-08-22 00:57:35 +02:00
|
|
|
spaces.o: $(INCDIR)/libiberty.h
|
1998-11-25 19:02:19 +01:00
|
|
|
splay-tree.o: config.h $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h $(INCDIR)/ansidecl.h
|
1998-05-16 01:42:58 +02:00
|
|
|
strerror.o: config.h $(INCDIR)/libiberty.h
|
|
|
|
strsignal.o: config.h $(INCDIR)/libiberty.h
|
2000-07-23 21:13:46 +02:00
|
|
|
strtol.o: config.h
|
|
|
|
strtoul.o: config.h
|
2000-07-22 01:18:01 +02:00
|
|
|
vasprintf.o: config.h
|
1997-08-22 00:57:35 +02:00
|
|
|
xatexit.o: $(INCDIR)/libiberty.h
|
2000-07-22 01:09:30 +02:00
|
|
|
xexit.o: config.h $(INCDIR)/libiberty.h
|
2000-05-24 03:46:44 +02:00
|
|
|
xmalloc.o: config.h $(INCDIR)/libiberty.h
|
1999-09-08 10:19:52 +02:00
|
|
|
xmemdup.o: config.h $(INCDIR)/libiberty.h
|
1999-01-30 14:28:44 +01:00
|
|
|
xstrdup.o: config.h $(INCDIR)/libiberty.h
|
1998-05-16 01:42:58 +02:00
|
|
|
xstrerror.o: config.h $(INCDIR)/libiberty.h
|
2000-07-27 01:23:24 +02:00
|
|
|
waitpid.o: config.h
|
1999-10-15 09:50:25 +02:00
|
|
|
hashtab.o: config.h $(INCDIR)/libiberty.h $(INCDIR)/hashtab.h $(INCDIR)/ansidecl.h
|