[bug #51278] Support for the specification of special build properties together with each make rule

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[bug #51278] Support for the specification of special build properties together with each make rule

Robert Morell
URL:
  <http://savannah.gnu.org/bugs/?51278>

                 Summary: Support for the specification of special build
properties together with each make rule
                 Project: make
            Submitted by: elfring
            Submitted on: Tue 20 Jun 2017 03:30:32 PM CEST
                Severity: 3 - Normal
              Item Group: Enhancement
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.2.1
        Operating System: Any
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

Special built-in target names
<https://www.gnu.org/software/make/manual/html_node/Special-Targets.html> are
provided by the make software. Some of them have got special consequences on
the handling of prerequisites and targets.
* .PHONY
* .SUFFIXES
* .INTERMEDIATE
* .SECONDEXPANSION

Such names provide an interface for the specification of additional software
build properties which did not fit into traditional syntax for make rules.
I imagine that it can also become useful to specify desired extra build
settings in front of each rule directly without repeating (special) target
names.
How do you think about to add such a possibility?




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51278>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-make
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[bug #51278] Support for the specification of special build properties together with each make rule

Robert Morell
Update of bug #51278 (project make):

                  Status:                    None => Wont Fix              
             Open/Closed:                    Open => Closed                

    _______________________________________________________

Follow-up Comment #1:

.SUFFIXES is an entirely different thing and doesn't belong on this list: it
doesn't modify a target.

.SECONDEXPANSION is a boolean flag for the entire make process, it doesn't
apply to specific targets.

I don't see any straightforward syntactic way to include the per-target
special modifiers within the rule.  I think it's fine to have them specified
on a separate line.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51278>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-make
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[bug #51278] Support for the specification of special build properties together with each make rule

Robert Morell
Follow-up Comment #2, bug #51278 (project make):

> .SUFFIXES is an entirely different thing and doesn't belong on this list: it
doesn't modify a target.

Is this target relevant for suffix rules?


>.SECONDEXPANSION is a boolean flag for the entire make process, it doesn't
apply to specific targets.

I would appreciate if such a software detail can be adjusted anyhow.


> I think it's fine to have them specified on a separate line.

I imagine that it could be occasionally more appropriate to specify special
make rule properties in the same line (at the beginning) so that the
repetition of target names could be avoided.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51278>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-make
Loading...