OLD | NEW |
1 # Makefile for the libiberty library. | 1 # Makefile for the libiberty library. |
2 # Originally written by K. Richard Pixley <rich@cygnus.com>. | 2 # Originally written by K. Richard Pixley <rich@cygnus.com>. |
3 # | 3 # |
4 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, | 4 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, |
5 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 | 5 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
2012 |
6 # Free Software Foundation | 6 # Free Software Foundation |
7 # | 7 # |
8 # This file is part of the libiberty library. | 8 # This file is part of the libiberty library. |
9 # Libiberty is free software; you can redistribute it and/or | 9 # Libiberty is free software; you can redistribute it and/or |
10 # modify it under the terms of the GNU Library General Public | 10 # modify it under the terms of the GNU Library General Public |
11 # License as published by the Free Software Foundation; either | 11 # License as published by the Free Software Foundation; either |
12 # version 2 of the License, or (at your option) any later version. | 12 # version 2 of the License, or (at your option) any later version. |
13 # | 13 # |
14 # Libiberty is distributed in the hope that it will be useful, | 14 # Libiberty is distributed in the hope that it will be useful, |
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 false | 119 false |
120 | 120 |
121 # NOTE: If you add new files to the library, add them to this list | 121 # NOTE: If you add new files to the library, add them to this list |
122 # (alphabetical), and add them to REQUIRED_OFILES, or | 122 # (alphabetical), and add them to REQUIRED_OFILES, or |
123 # CONFIGURED_OFILES and funcs in configure.ac. Also run "make maint-deps" | 123 # CONFIGURED_OFILES and funcs in configure.ac. Also run "make maint-deps" |
124 # to build the new rules. | 124 # to build the new rules. |
125 CFILES = alloca.c argv.c asprintf.c atexit.c \ | 125 CFILES = alloca.c argv.c asprintf.c atexit.c \ |
126 basename.c bcmp.c bcopy.c bsearch.c bzero.c \ | 126 basename.c bcmp.c bcopy.c bsearch.c bzero.c \ |
127 calloc.c choose-temp.c clock.c concat.c cp-demangle.c \ | 127 calloc.c choose-temp.c clock.c concat.c cp-demangle.c \ |
128 cp-demint.c cplus-dem.c crc32.c \ | 128 cp-demint.c cplus-dem.c crc32.c \ |
129 » dyn-string.c» » » » » » » \ | 129 » dwarfnames.c dyn-string.c» » » » » \ |
130 fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c \ | 130 fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c \ |
131 fnmatch.c fopen_unlocked.c \ | 131 fnmatch.c fopen_unlocked.c \ |
132 getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \ | 132 getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \ |
133 gettimeofday.c \ | 133 gettimeofday.c \ |
134 hashtab.c hex.c \ | 134 hashtab.c hex.c \ |
135 index.c insque.c \ | 135 index.c insque.c \ |
136 lbasename.c \ | 136 lbasename.c \ |
137 lrealpath.c \ | 137 lrealpath.c \ |
138 make-relative-prefix.c \ | 138 make-relative-prefix.c \ |
139 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c \ | 139 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c \ |
(...skipping 19 matching lines...) Expand all Loading... |
159 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c \ | 159 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c \ |
160 xstrndup.c | 160 xstrndup.c |
161 | 161 |
162 # These are always included in the library. The first four are listed | 162 # These are always included in the library. The first four are listed |
163 # first and by compile time to optimize parallel builds. | 163 # first and by compile time to optimize parallel builds. |
164 REQUIRED_OFILES = \ | 164 REQUIRED_OFILES = \ |
165 ./regex.$(objext) ./cplus-dem.$(objext) ./cp-demangle.$(objext) \ | 165 ./regex.$(objext) ./cplus-dem.$(objext) ./cp-demangle.$(objext) \ |
166 ./md5.$(objext) ./sha1.$(objext) ./alloca.$(objext) \ | 166 ./md5.$(objext) ./sha1.$(objext) ./alloca.$(objext) \ |
167 ./argv.$(objext) \ | 167 ./argv.$(objext) \ |
168 ./choose-temp.$(objext) ./concat.$(objext) \ | 168 ./choose-temp.$(objext) ./concat.$(objext) \ |
169 » ./cp-demint.$(objext) ./crc32.$(objext) ./dyn-string.$(objext)» \ | 169 » ./cp-demint.$(objext) ./crc32.$(objext)»» » » \ |
| 170 » ./dwarfnames.$(objext) ./dyn-string.$(objext)» » » \ |
170 ./fdmatch.$(objext) ./fibheap.$(objext) \ | 171 ./fdmatch.$(objext) ./fibheap.$(objext) \ |
171 ./filename_cmp.$(objext) ./floatformat.$(objext) \ | 172 ./filename_cmp.$(objext) ./floatformat.$(objext) \ |
172 ./fnmatch.$(objext) ./fopen_unlocked.$(objext) \ | 173 ./fnmatch.$(objext) ./fopen_unlocked.$(objext) \ |
173 ./getopt.$(objext) ./getopt1.$(objext) ./getpwd.$(objext) \ | 174 ./getopt.$(objext) ./getopt1.$(objext) ./getpwd.$(objext) \ |
174 ./getruntime.$(objext) ./hashtab.$(objext) ./hex.$(objext) \ | 175 ./getruntime.$(objext) ./hashtab.$(objext) ./hex.$(objext) \ |
175 ./lbasename.$(objext) ./lrealpath.$(objext) \ | 176 ./lbasename.$(objext) ./lrealpath.$(objext) \ |
176 ./make-relative-prefix.$(objext) ./make-temp-file.$(objext) \ | 177 ./make-relative-prefix.$(objext) ./make-temp-file.$(objext) \ |
177 ./objalloc.$(objext) \ | 178 ./objalloc.$(objext) \ |
178 ./obstack.$(objext) \ | 179 ./obstack.$(objext) \ |
179 ./partition.$(objext) ./pexecute.$(objext) ./physmem.$(objext) \ | 180 ./partition.$(objext) ./pexecute.$(objext) ./physmem.$(objext) \ |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 else true; fi | 615 else true; fi |
615 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION) | 616 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION) |
616 | 617 |
617 ./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \ | 618 ./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \ |
618 $(INCDIR)/libiberty.h | 619 $(INCDIR)/libiberty.h |
619 if [ x"$(PICFLAG)" != x ]; then \ | 620 if [ x"$(PICFLAG)" != x ]; then \ |
620 $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \ | 621 $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \ |
621 else true; fi | 622 else true; fi |
622 $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION) | 623 $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION) |
623 | 624 |
| 625 ./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.h \ |
| 626 $(INCDIR)/dwarf2.def |
| 627 if [ x"$(PICFLAG)" != x ]; then \ |
| 628 $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \ |
| 629 else true; fi |
| 630 $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION) |
| 631 |
624 ./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \ | 632 ./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \ |
625 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h | 633 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h |
626 if [ x"$(PICFLAG)" != x ]; then \ | 634 if [ x"$(PICFLAG)" != x ]; then \ |
627 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \ | 635 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \ |
628 else true; fi | 636 else true; fi |
629 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION) | 637 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION) |
630 | 638 |
631 ./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \ | 639 ./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \ |
632 $(INCDIR)/libiberty.h | 640 $(INCDIR)/libiberty.h |
633 if [ x"$(PICFLAG)" != x ]; then \ | 641 if [ x"$(PICFLAG)" != x ]; then \ |
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1248 else true; fi | 1256 else true; fi |
1249 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION) | 1257 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION) |
1250 | 1258 |
1251 ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \ | 1259 ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \ |
1252 $(INCDIR)/libiberty.h | 1260 $(INCDIR)/libiberty.h |
1253 if [ x"$(PICFLAG)" != x ]; then \ | 1261 if [ x"$(PICFLAG)" != x ]; then \ |
1254 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \ | 1262 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \ |
1255 else true; fi | 1263 else true; fi |
1256 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION) | 1264 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION) |
1257 | 1265 |
OLD | NEW |