Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2007 09:16:11 +0000 (UTC)
From:      Max Khon <fjoe@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/make globals.h job.c job.h main.c make.1 make.h parse.c
Message-ID:  <200703080916.l289GB7N040141@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
fjoe        2007-03-08 09:16:11 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/make         globals.h job.c job.h main.c make.1 
                         make.h parse.c 
  Log:
  Implement "Remaking Makefiles" feature:
  
  After reading Makefile and all the files that are included using .include
  or .sinclude directives (source Makefiles) make considers each source
  Makefile as a target and tries to rebuild it.  Both explicit and implicit
  rules are checked and all source Makefiles are updated if necessary. If
  any of the source Makefiles were rebuilt, make restarts from clean state.
  
  To prevent infinite loops the following source Makefile targets are
  ignored:
  - :: targets that have no prerequisites but have commands
  - ! targets
  - targets that have .PHONY or .EXEC attributes
  - targets without prerequisites and without commands
  
  When remaking a source Makefile options -t (touch target), -q (query
  mode), and -n (no exec) do not take effect, unless source Makefile is
  specified explicitly as a target in make command line.
  Additionally, system makefiles and .depend are not considered as a
  Makefiles that can be rebuilt.
  
  Reviewed by:    harti
  
  Revision  Changes    Path
  1.11      +1 -0      src/usr.bin/make/globals.h
  1.126     +29 -20    src/usr.bin/make/job.c
  1.46      +2 -0      src/usr.bin/make/job.h
  1.161     +196 -6    src/usr.bin/make/main.c
  1.102     +45 -0     src/usr.bin/make/make.1
  1.35      +1 -0      src/usr.bin/make/make.h
  1.112     +5 -1      src/usr.bin/make/parse.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703080916.l289GB7N040141>