and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

This project is mirrored from https://git.savannah.gnu.org/git/make.git. Pull mirroring failed .
Last successful update .
  1. 17 May, 2013 5 commits
  2. 15 May, 2013 1 commit
  3. 13 May, 2013 4 commits
  4. 11 May, 2013 1 commit
  5. 06 May, 2013 9 commits
    • Eli Zaretskii's avatar
      Rearrange dllimport/dllexport declarations for MS-Windows. · f0529dac
      Eli Zaretskii authored
       gnumake.h (GMK_EXPORT) [_WIN32]: Move the dllexport declaration
       here from makeint.h.
       makeint.h (GMK_BUILDING_MAKE) [WINDOWS32]: Define before
       including gnumake.h.
      f0529dac
    • Eli Zaretskii's avatar
      doc/make.texi (Loaded Object Example): Add a note about building · a668c520
      Eli Zaretskii authored
       shared objects on MS-Windows.
      a668c520
    • Stefano Lattarini's avatar
      build: enable 'subdir-objects' and 'silent-rules' automake options · c8bf04e1
      Stefano Lattarini authored
      On 04/30/2013 05:11 PM, Stefano Lattarini wrote:
      > * configure.ac (AM_INIT_AUTOMAKE): Here.  The future major Automake
      > version 2.0 (ETA about one, one and half year from now) will likely
      > enable them by default, so better prepare ourselves.
      >
      Please drop this patch.  Enabling 'subdir-objects' would require
      sublter changes to several other parts of the build system that I
      don't know how to test properly.  We should only enable the
      'silent-rules' option for the moment.  The updated patch below
      does this.
      
      Sorry for the noise,
        Stefano
      
      ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ----
      
      >From 46623411f017a447caa8fe75b3b42ec2fbeac458 Mon Sep 17 00:00:00 2001
      Message-Id: <46623411f017a447caa8fe75b3b42ec2fbeac458.1367335124.git.stefano.lattarini@gmail.com>
      From: Stefano Lattarini <stefano.lattarini@gmail.com>
      Date: Tue, 30 Apr 2013 16:30:04 +0200
      Subject: [PATCH] build: enable the 'silent-rules' automake options
      
      * configure.ac (AM_INIT_AUTOMAKE): Here.  The future major Automake
      version 2.0 (ETA about one, one and half year from now) will enable
      it by default, so better prepare ourselves.
      Signed-off-by: default avatarStefano Lattarini <stefano.lattarini@gmail.com>
      c8bf04e1
    • Stefano Lattarini's avatar
      build: require Autoconf >= 2.62 and Automake >= 1.11.1 · 0a56034a
      Stefano Lattarini authored
      Older versions of those tools should be considered fully obsolete.
      Also, GNU make already requires Gettext >= 0.18.1, which has been
      released six months after Automake 1.11.1 and two years after
      Autoconf 2.62; so the new requirement shouldn't be problematic
      for people already bootstrapping GNU make from the Git repository.
      
      * configure.ac (AC_PREREQ): Require Autoconf 2.62 or later.
      (AM_INIT_AUTOMAKE): Require Automake 1.11.1 or later (1.11 had
      some serious bugs, and should not be used).
      
      Copyright-paperwork-exempt: yes
      Signed-off-by: default avatarStefano Lattarini <stefano.lattarini@gmail.com>
      0a56034a
    • Paul Smith's avatar
      Remove use of vfork(). · 94735f0a
      Paul Smith authored
      GCC was giving us warnings, most OS's now just run fork() when you call
      vfork(), and looking at the standard definition of vfork() we are a long way
      from using it safely anyway: you're not allowed to even call a function before
      you exec().
      94735f0a
    • Stefano Lattarini's avatar
      docs: port manual to Texinfo 5.x · 7c77486d
      Stefano Lattarini authored
      * doc/make.texi: Here.  It was sufficient to change an '@itemx'
      into an '@item'.
      
      Copyright-paperwork-exempt: yes
      Signed-off-by: default avatarStefano Lattarini <stefano.lattarini@gmail.com>
      7c77486d
    • Stefano Lattarini's avatar
      cosmetics: fix few innocuous typos · 13f13b96
      Stefano Lattarini authored
      Most of these were found using Lucas De Marchi's 'codespell' tool.
      
      * ChangeLog: Fix minor typos.
      * ChangeLog.2: Likewise.
      * README.Amiga: Likewise.
      * TODO.private: Likewise.
      * function.c: Likewise.
      * glob/glob.h: Likewise.
      * job.c: Likewise.
      * main.c: Likewise.
      * readme.vms: Likewise.
      * remake.c: Likewise.
      * tests/ChangeLog: Likewise.
      * tests/NEWS: Likewise.
      * tests/README: Likewise.
      * tests/scripts/variables/private: Likewise.
      * vmsdir.h: Likewise.
      * signame.c: Likewise.  While at it, improve line wrapping in the
      touched comment.
      
      Copyright-paperwork-exempt: yes
      Signed-off-by: default avatarStefano Lattarini <stefano.lattarini@gmail.com>
      13f13b96
    • Stefano Lattarini's avatar
      build: get rid of 'HAVE_ANSI_COMPILER' C preprocessor conditional · c3cd7806
      Stefano Lattarini authored
      GNU make already assume C89 or later throughout the codebase, and
      that preprocessor conditional was no longer used anyway.
      
      * configure.ac: Remove AC_DEFINE of HAVE_ANSI_COMPILER.
      * config.ami.template: Remove #define of HAVE_ANSI_COMPILER.
      * config.h-vms.template: Likewise.
      * config.h.W32.template: Likewise.
      * configh.dos.template: Likewise.
      Signed-off-by: default avatarStefano Lattarini <stefano.lattarini@gmail.com>
      c3cd7806
    • Paul Smith's avatar
      15f79579
  6. 05 May, 2013 1 commit
    • Paul Smith's avatar
      Ensure command lines are written synchronously with -O. · 1d992d8f
      Paul Smith authored
      If output-sync is enabled, have make write the command line to the temp file
      instead of printing it directly to the screen to ensure that the output is
      ordered properly.  Also, remove extraneous enter/leave operations by having
      them printed directly when dumping temp file output.
      1d992d8f
  7. 04 May, 2013 8 commits
  8. 03 May, 2013 2 commits
    • Eli Zaretskii's avatar
      Fix invocation of Windows batch files with whitespace in their names. · 82793f85
      Eli Zaretskii authored
       w32/subproc/sub_proc.c: Include makeint.h.  Remove a private
       incompatible prototype of xmalloc.
       (batch_file_with_spaces): New function, detects Windows batch
       files whose names include whitespace characters.
       (process_begin): If exec_name is a batch file with whitespace
       characters in its name, pass NULL as the first argument to
       CreateProcess.  This avoids weird failures due to buggy quoting by
       CreateProcess.  For the details, see the discussion starting at
       http://lists.gnu.org/archive/html/make-w32/2013-04/msg00008.html.
      82793f85
    • Eli Zaretskii's avatar
      Fix interfacing with and remaking dynamic objects on MS-Windows. · a66469e0
      Eli Zaretskii authored
       load.c (load_object, load_file): Accept an additional argument
       DLP and return in it a pointer that can be used to unload the
       dynamic object.
       read.c (eval): Call load_file with an additional argument, and
       record the pointer returned there in the 'struct file' object of
       dynamic objects in that object's 'struct file'.
       commands.c (execute_file_commands): Unload dynamic objects
       before remaking them, to avoid failure to remake if the OS doesn't
       allow overwriting objects that are in use.
       filedef.h (struct file): New member dlopen_ptr.
       gnumake.h (GMK_EXPORT): Define to dllexport/dllimport
       decorations for Windows and to nothing on other platforms.
       (gmk_eval, gmk_expand, gmk_add_function): Add GMK_EXPORT qualifier
       to prototypes.
       makeint.h (MAIN): Define before including gnumake.h, to give
       correct dllexport decorations to exported functions.
       (load_file): Adjust prototype.
       loadapi.c: Don't include gnumake.h, since makeint.h already
       includes it, and takes care of defining MAIN before doing so.
       build_w32.bat (LinkGCC): Produce an import library for functions
       exported by Make for loadable dynamic objects.
      
       w32/compat/posixfcn.c (dlclose): New function.
       w32/include/dlfcn.h (dlclose): Add prototype.
      
       scripts/features/load: Fix signatures of testload_gmk_setup and
       explicit_setup, to bring them in line with the documentation.
      a66469e0
  9. 01 May, 2013 4 commits
  10. 29 Apr, 2013 2 commits
    • Eli Zaretskii's avatar
      Support dynamic object loading on MS-Windows. · 19a69baf
      Eli Zaretskii authored
       w32/include/dlfcn.h: New file.
       w32/compat/posixfcn.c: Include dlfcn.h.
       (dlopen, dlerror, dlsym) [MAKE_LOAD]: New functions, in support of
       dynamic loading.
      
       config.h.W32.template (MAKE_LOAD): Define.
       load.c (load_object) [HAVE_DOS_PATHS]: Support backslashes and
       drive letters in file names of dynamic objects.
      19a69baf
    • Eli Zaretskii's avatar
      Fix the .ONESHELL operation on MS-Windows. · 9a7fe22b
      Eli Zaretskii authored
       job.c (construct_command_argv_internal) [WINDOWS32]: Return
       right after generating new_argv for one_shell case.  This fixes
       the Windows build for both Unixy shell and stock Windows shells.
      9a7fe22b
  11. 28 Apr, 2013 3 commits