about summary refs log tree commit diff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* rename configure.in to configure.acMike Frysinger2013-10-301-3/+3
| | | | | | | Autoconf has been deprecating configure.in for quite a long time. Rename all our configure.in and preconfigure.in files to .ac. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix erroneous (and circular) implied pattern rule for linkobj/libc.so.Brooks Moses2013-10-031-30/+1
| | | | | | | | | | | | | | | | | [BZ #15915] As described in the bug, the pattern rule for lib%.so files in Makerules includes linkobj/libc.so as a dependency. However, the explicit rule for linkobj/libc.so is in the top-level Makefile. Thus, the subdirectory makefiles that include Makerules end up with an erroneous makefile pattern rule for linkobj/libc.so that includes itself as a dependency. The result is make warnings whenever rules for other .so files are resolved -- and, on occasion, actual makefile failures when a race condition causes the implicit rule to actually be used. This patch moves the explicit rules for linkobj/libc.so into Makerules to clear up this problem. It also elaborates a couple of comments that I'd initially found confusing.
* Cope without sunrpc.Roland McGrath2013-08-271-2/+8
|
* Remove trailing blank lines when generating INSTALL.Joseph Myers2013-08-201-2/+7
|
* Link extra-libs consistently with libc and ld.so.Joseph Myers2013-05-311-0/+3
|
* Add --enable-hardcoded-path-in-tests configure optionH.J. Lu2013-01-111-1/+1
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-021-1/+1
|
* Remove $(format-me) and fix indentation.Joseph Myers2012-11-091-8/+4
|
* Support --with-pkgversion and --with-bugurl.Joseph Myers2012-11-091-5/+8
|
* Remove gnu/stubs.h dependency on soversions.mkH.J. Lu2012-09-071-1/+1
|
* Use LD_SO to set $ld_so_name/$ld_so_versionH.J. Lu2012-08-291-1/+1
|
* Move c++-types baselines to sysdeps directories.Joseph Myers2012-07-171-14/+4
|
* Convert WORDSIZE[32|64]/ld entries to abi-variantsH.J. Lu2012-05-301-4/+19
|
* Move FAQ to wikiAndreas Jaeger2012-05-031-3/+1
| | | | | The FAQ is now at http://sourceware.org/glibc/wiki/FAQ and not anymore part of the repository.
* Remove NOTES.Joseph Myers2012-03-211-4/+2
|
* Use Texinfo macros to refer to the GNU C Library within the manual.Joseph Myers2012-02-281-2/+2
|
* Move __STDC_* predefined macros from features.h to stdc-predef.h.Joseph Myers2012-02-221-1/+1
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-091-3/+2
|
* Remove support for automatic cvs check-insUlrich Drepper2011-09-081-12/+0
| | | | CVS use for glibc is long gone.
* Fix remaining explicit uses of shlib.lds to use $(shlib-lds).Roland McGrath2011-07-141-1/+1
|
* Generate testrun.sh to use relative directory names.Roland McGrath2011-07-021-2/+4
|
* Rewrite local headers check to be more robust and informative.Roland McGrath2011-07-021-1/+2
|
* Quash some new warnings from GCC 4.6.Roland McGrath2011-06-101-2/+8
|
* Obsolete RPC implementation in libc.Ulrich Drepper2011-04-161-20/+34
|
* Revert "Shorten build commands"Roland McGrath2010-04-091-1/+1
| | | | This reverts commit 59d9f1d6983fc9b606a1f9214fb817efe3d6cff8.
* Shorten build commandsDaniel Jacobowitz2010-04-081-1/+1
| | | | | | | | | | This patch scratches an itch. Each individual gcc command in the glibc build is over 1K, which means it takes up a good chunk of my terminal. Most of that is include paths. Any version of GCC new enough to build glibc supports response files, which were added in 2005. So use a response file for the static list of include paths. Now the build commands are a lot shorter, and easier to use when developing glibc.
* New simplified make dist using git archive.Roland McGrath2009-10-301-38/+25
|
* configure tweaks, support $libc_add_on_config_subdirsRoland McGrath2009-09-151-1/+1
|
* Fix sed expression in TAGS command.Andreas Schwab2009-08-071-2/+2
| | | | | The backslash-newline pair is interpreted as the beginning of an address regex.
* [BZ #9955]Ulrich Drepper2009-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-04-23 Ulrich Drepper <drepper@redhat.com> [BZ #9955] * gshadow/Makefile: New file. * gshadow/Versions: New file. * gshadow/fgetsgent.c: New file. * gshadow/fgetsgent_r.c: New file. * gshadow/getsgent.c: New file. * gshadow/getsgent_r.c: New file. * gshadow/getsgnam.c: New file. * gshadow/getsgnam_r.c: New file. * gshadow/gshadow.h: New file. * gshadow/putsgent.c: New file. * gshadow/sgetsgent.c: New file. * gshadow/sgetsgent_r.c: New file. * gshadow/tst-gshadow.c: New file. * include/gshadow.h: New file. * Makeconfig (all-subdirs): Add gshadow. * Makefile (installed-headers): Add gshadow/gshadow.h. * nss/Makefile (databases): Add sgrp. * nss/Versions: Add gshadow functions as private exports. * nss/nsswitch.conf: Add gshadow entry. * nss/sgrp-lookup.c: New file. * nss/nss_files/files-parse.c: Add STRING_LIST macro. Rewrite parse_list to handle STRING_LIST and TRAILING_LIST_PARSER. * nss/nss_files/files-sgrp.c: New file. * sysdeps/generic/paths.h: Add _PATH_GSHADOW. * sysdeps/unix/sysv/linux/paths.h: Likewise.
* [BZ #9895]Roland McGrath2009-02-241-10/+1
| | | | | | | | | 2009-02-24 Roland McGrath <roland@redhat.com> [BZ #9895] * README.template: Reworded not to use substituted version number. Renamed to ... * README: ... here (no longer generated). * Makefile (README): Target removed.
* * Makefile (check-data): Check data directory in add-ons.Roland McGrath2008-08-191-2/+2
| | | | * elf/Makefile (check-data): Likewise.
* * shlib-versions (sparc.*-.*-.*, sparc64.*-.*-.*): Add ABI lines.Roland McGrath2008-05-221-3/+8
| | | | | | | | | | | | * Makefile (check-data): Use $(abi-name) before other guesses. Look in $(add-ons) dirs before scripts/data/. * elf/Makefile (check-data): Likewise. * scripts/soversions.awk: Grok ABI line. * Makeconfig ($(common-objpfx)soversions.mk): Likewise. Emit definition for abi-name variable. if [__USE_BSD].
* * version.h (VERSION): 2.3.91Roland McGrath2006-03-011-6/+6
| | | | | | | | | | * Makeconfig (sysdeps-srcdirs): New variable. (sysdeps-add-ons-srcdirs): Use it. * csu/Makefile (all-Banner-files): Use it. * Makefile (dist-selector): New variable. (glibc-%.tar rule): Use it. Make $(dist-separate) tarballs contain one version-named directory.
* * Makefile (format-me): Use --plaintext --no-number-sections.Roland McGrath2006-03-011-1/+1
| | | | * NOTES, INSTALL: Regenerated.
* * Makefile (subdir-target-args): New variable.Roland McGrath2006-02-281-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ($(all-subdirs-targets)): Use it in place of -C option. * Rules: Use $(..) instead of ../ if it's already defined. * Makeconfig (subdir-srcdirs): New variable. * csu/Makefile (all-Banner-files): Use it. * configure.in (--enable-add-ons): Set to "yes" by default. Handle absolute add-on directory names when looking for configure fragments. Also look for sysdeps/*/preconfigure fragments in add-ons. Require add-on configure to set $libc_add_on_canonical, use that in $add_ons_sfx. Substitute add_on_subdirs with computed list of subdir names each add-on configure set in libc_add_on_subdirs. * configure: Regenerated. * Makefile (%/preconfigure: %/preconfigure.in): New pattern rule. * config.make.in (add-on-subdirs): New substituted variable. * Makeconfig (all-subdirs): Include $(add-on-subdirs). Remove $(add-ons), $(sysdep-subdirs). Don't filter out $(sysdep-inhibit-subdirs). ($(common-objpfx)sysd-dirs): Target removed. Don't include it. ($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs files together to gen-sorted.awk, and $(subdirs) via -v. (subdirs): Remove magic reordering for mach and hurd. * scripts/gen-sorted.awk: Use subdirs from command line. Process Subdirs and Depend files directly. Let Subdirs files use "first dir" and "inhibit dir". Always move elf to the end of the list. * hurd/Depend: New file. * sysdeps/mach/Subdirs: Use "first mach". * Makefile (dist-separate): Remove linuxthreads. (dist-separate-linuxthreads): Variable removed. (glibc-%.tar rule): Use $(sysdeps-add-ons). * Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs), not $(all-subdirs). (sysdep-makefiles): Use $(sysdirs). (sysdirs): Remove export. ($(+sysdir_pfx)sysd-rules): Handle absolute directory names in $(config-sysdirs). (+sysdir_pfx): Variable removed. (sysd-rules): Use $(common-objpfx) in place of it. (sysdirs): Variable moved to ... * Makeconfig (sysdirs): ... here. Handle absolute directory names in $(config-sysdirs). (full_config_sysdirs): Variable removed. * csu/Makefile: Use $(sysdirs) in vpath directive. * math/Makefile (ulps-file): Use $(sysdirs). * sysdeps/gnu/Makefile (errlist-c): Likewise. ($(objpfx)errlist-compat.c): Likewise. * Makeconfig (all-Subdirs-files): Likewise. ($(common-objpfx)config.status): Likewise. * configure.in (sysnames): Handle absolute add-on directory names. (sysdeps_add_ons): New variable, AC_SUBST it. Compute which add-ons contributed sysdeps directories. * configure: Regenerated. * config.make.in (sysdeps-add-ons): New substituted variable. * Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ... * Makeconfig: ... to here. (+sysdep_dirs): Append $(sysdeps-add-ons) here. (+includes): Remove $(objpfx) include, already in $(+sysdep_dirs). Remove $(includes). (sysdep-makeconfigs): Use $(+sysdep_dirs). ($(common-objpfx)shlib-versions.v.i): Likewise. * Makeconfig: Remove hair to set Makeconfig-add-on. * sysdeps/unix/Makefile (sysdirs): Remove export. (asm_CPP): Variable removed. ($(common-objpfx)sysd-syscalls): Pass them directly for the script. * sysdeps/posix/Makefile: New file. * Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix values here with ?=. * stdlib/gen-mpn-copy: File removed. * stdlib/Makefile (distribute): Remove it. * configure.in: Don't grok --with-gmp. * configure: Regenerated. * configure.in (libc_cv_idn): Don't check it; libidn/configure does it. * configure: Regenerated. * bare: Directory removed, saved in ports repository.
* * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules to installRoland McGrath2006-01-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | into $(inst_includedir)/%.h from sysdirs. [headers]: Change static pattern rule for installing $(headers) to do only those not matching %.h. ($(inst_includedir)/%.h: $(objpfx)%.h): Add this pattern rule instead. ($(inst_includedir)/%.h: %.h): Likewise. ($(inst_includedir)/%.h: $(..)include/%.h): Likewise. * Makefile ($(inst_includedir)/gnu/stubs.h): Add $(make-target-directory). * stdlib/Makefile (headers): Restore headers removed in last change. 2006-01-16 Jakub Jelinek <jakub@redhat.com> * math/e_exp2l.c: Don't include stdio.h, errno.h, stub-tag.h, include math_private.h. (__ieee754_exp2l): Compute for now as expl (M_LN2l * x) instead of failing. (exp2l): Remove stub_warning. 2006-01-15 Jakub Jelinek <jakub@redhat.com> * io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.
* * po/.cvsignore: List libc.pot.files, and not any .pot names.Roland McGrath2006-01-081-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * manual/maint.texi (Porting): Don't mention Dist files. * sysdeps/alpha/soft-fp/Dist: File removed. * sysdeps/alpha/Dist: File removed. * sysdeps/i386/i686/Dist: File removed. * sysdeps/i386/soft-fp/Dist: File removed. * sysdeps/i386/Dist: File removed. * sysdeps/mips/soft-fp/Dist: File removed. * sysdeps/mips/mips64/soft-fp/Dist: File removed. * sysdeps/mips/mips64/Dist: File removed. * sysdeps/mips/Dist: File removed. * sysdeps/wordsize-32/Dist: File removed. * sysdeps/m68k/fpu/switch/Dist: File removed. * sysdeps/m68k/fpu/Dist: File removed. * sysdeps/powerpc/powerpc64/Dist: File removed. * sysdeps/powerpc/soft-fp/Dist: File removed. * sysdeps/powerpc/powerpc32/fpu/Dist: File removed. * sysdeps/powerpc/powerpc32/Dist: File removed. * sysdeps/powerpc/fpu/Dist: File removed. * sysdeps/powerpc/Dist: File removed. * sysdeps/unix/common/Dist: File removed. * sysdeps/unix/bsd/bsd4.4/Dist: File removed. * sysdeps/unix/bsd/Dist: File removed. * sysdeps/unix/sysv/linux/alpha/Dist: File removed. * sysdeps/unix/sysv/linux/i386/Dist: File removed. * sysdeps/unix/sysv/linux/mips/mips64/Dist: File removed. * sysdeps/unix/sysv/linux/mips/Dist: File removed. * sysdeps/unix/sysv/linux/m68k/Dist: File removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: File removed. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: File removed. * sysdeps/unix/sysv/linux/powerpc/aix/Dist: File removed. * sysdeps/unix/sysv/linux/powerpc/Dist: File removed. * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: File removed. * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: File removed. * sysdeps/unix/sysv/linux/sparc/Dist: File removed. * sysdeps/unix/sysv/linux/ia64/Dist: File removed. * sysdeps/unix/sysv/linux/s390/s390-64/Dist: File removed. * sysdeps/unix/sysv/linux/s390/Dist: File removed. * sysdeps/unix/sysv/linux/s390/s390-32/Dist: File removed. * sysdeps/unix/sysv/linux/sh/Dist: File removed. * sysdeps/unix/sysv/linux/x86_64/Dist: File removed. * sysdeps/unix/sysv/linux/hppa/Dist: File removed. * sysdeps/unix/sysv/linux/Dist: File removed. * sysdeps/unix/sysv/Dist: File removed. * sysdeps/unix/Dist: File removed. * sysdeps/generic/Dist: File removed. * sysdeps/sparc/sparc32/soft-fp/Dist: File removed. * sysdeps/sparc/sparc32/sparcv9/Dist: File removed. * sysdeps/sparc/sparc32/sparcv8/Dist: File removed. * sysdeps/sparc/sparc32/Dist: File removed. * sysdeps/sparc/sparc64/soft-fp/Dist: File removed. * sysdeps/sparc/sparc64/Dist: File removed. * sysdeps/sparc/Dist: File removed. * sysdeps/gnu/Dist: File removed. * sysdeps/ia64/fpu/Dist: File removed. * sysdeps/ia64/Dist: File removed. * sysdeps/mach/mips/Dist: File removed. * sysdeps/mach/hurd/alpha/Dist: File removed. * sysdeps/mach/hurd/i386/Dist: File removed. * sysdeps/mach/hurd/mips/Dist: File removed. * sysdeps/mach/hurd/powerpc/Dist: File removed. * sysdeps/mach/hurd/Dist: File removed. * sysdeps/s390/s390-64/Dist: File removed. * sysdeps/s390/Dist: File removed. * sysdeps/s390/s390-32/Dist: File removed. * sysdeps/sh/Dist: File removed. * sysdeps/posix/Dist: File removed. * sysdeps/ieee754/dbl-64/Dist: File removed. * sysdeps/ieee754/ldbl-128/Dist: File removed. * sysdeps/ieee754/flt-32/Dist: File removed. * sysdeps/ieee754/Dist: File removed. * sysdeps/x86_64/soft-fp/Dist: File removed. * sysdeps/x86_64/Dist: File removed. * sysdeps/hppa/Dist: File removed. * Makerules (common-clean): Don't remove distinfo file. ($(objpfx)distinfo): Target removed. * manual/Makefile (mostlyclean): Don't remove distinfo file. (glibc-targets): Remove echo-distinfo. * scripts/list-sources.sh: New file. * Makefile (TAGS): New target. * po/Makefile (libc.pot, libc.pot.files): New targets. * Makeconfig (XGETTEXT): New variable. * Makerules ($(..)po/%.pot): Rule removed. (TAGS): Target removed. * Rules (subdir_TAGS): Target removed. * MakeTAGS: File removed. * Makefile (iconvdata/% localedata/% po/% manual/%): Depend on FORCE. * Makeconfig ($(all-Depend-files)): New targets with no-op commands.
* [BZ #1920]Ulrich Drepper2005-11-241-1/+4
| | | | | | | | | 005-11-24 Jakub Jelinek <jakub@redhat.com> [BZ #1920] * sysdeps/pthread/pthread.h (__pthread_unwind_next): Use __attribute__ instead of __attribute. * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (__cleanup_fct_attribute): Likewise.
* * Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command.Roland McGrath2005-09-221-1/+1
| | | | Reported by Alexandre Oliva <aoliva@redhat.com>.
* Add rules to run scripts/begin-end-check.pl.Ulrich Drepper2005-09-171-1/+51
|
* [BZ #592, BZ #821, BZ #822, BZ #825]Roland McGrath2005-04-061-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * intl/tst-codeset.sh: Use mkdir -p. Put msgfmt output in temporary file and mv it into place. * intl/tst-gettext3.sh: Likewise. * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts are up to date in srcdir. Touch all configure scripts after export. [BZ #592] [BZ #825] [BZ #825] [BZ #592] [BZ #592] [BZ #592] [BZ #592] [BZ #822] [BZ #821] [BZ #821] [BZ #821] [BZ #821] [BZ #821] [BZ #821] [BZ #821] [BZ #821] [BZ #821] [BZ #821] [BZ #821]
* [BZ #715] cvs/fedora-glibc-20050211T1037Roland McGrath2005-02-111-1/+13
| | | | | | | | | | | | | | | | | | * Makefile (installed-stubs): New variable. Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no, or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise. [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs). ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this rule's target. ($(inst_includedir)/gnu/stubs.h): New target, install from ... * include/stubs-biarch.h: New file. * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64. * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig. Emit defn for variable `biarch'. * include/stub-tag.h: Update comment.
* * Rules (subdir_objs, subdir_stubs): New phony targets.Roland McGrath2005-02-101-2/+2
| | | | * Makefile (+subdir_targets): Add them.
* (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper2004-12-221-103/+17
|
* 2.5-18.1Jakub Jelinek2007-07-121-17/+103
|
* 2004-10-22 Roland McGrath <roland@frob.com>Roland McGrath2004-10-231-3/+0
| | | | | * Makefile (%.bz2, %.gz): Move these pattern rules ... * Makerules: ... to here.
* 2004-07-07 Roland McGrath <roland@frob.com>Roland McGrath2004-07-071-7/+24
| | | | | | | | | | | * Makefile (dist-separate): New variable. (glibc-%.tar rule): Make separate tar files for add-ons listed there. Depend on their configure files. (dist-do-separate-dirs): New canned sequence to do that. (dist-separate-libidn, dist-separate-linuxthreads): New variables. (dist): Depend on add-on tar files based on $(dist-separate). (dist-version): New variable, default to $(version). (tag-for-dist, dist): Use that in place of $(version) in deps.
* * Makerules (compile-mkdep-flags): Add -MT $@.Roland McGrath2004-06-201-44/+27
| | | | | | | | | | | | | | | | | | * Makefile (dist, tag-for-dist): New targets. (files-for-dist, tag-of-stem): New variables. (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule. Make tar files using cvs export. (%.bz2, %.gz, tag-%): New pattern rules. (distribute): Variable removed. (+subdir_targets): Remove distinfo targets. (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed. (rpm/%): Pattern rule removed. * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed. * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist): Targets removed. * Makerules (dist, subdir_distinfo): Targets removed. ($(objpfx)distinfo): Depend on $(distribute). * Make-dist: File removed.
* Update.Ulrich Drepper2004-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | 2004-03-26 Ulrich Drepper <drepper@redhat.com> * elf/dl-caller.c: New file. * include/caller.h: New file. * Makefile (distribute): Add include/caller.h. * elf/Makefile (dl-routines): Add dl-caller. * elf/dl-load.c (_dl_map_object_from_fd): Record l_text_end. * elf/dl-open.c (check_libc_caller): Removed. (dl_open_worker): Use __check_caller instead. * elf/rtld.c (_rtld_global_ro): Initialize _dl_check_caller. (_dl_start_final): Record l_text_end for ld.so map. (dl_main): Record l_text_end for main object and vdso. * include/link.h (struct link_map): Add l_text_end field. * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_check_caller field. Define enum allowmask. Add declaration of _dl_check_caller. * sysdeps/unix/sysv/linux/dl-execstack.c: Also use __check_caller test.