[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #47409] API support for accessing build internals

From: Brian Vandenberg
Subject: [bug #47409] API support for accessing build internals
Date: Mon, 14 Mar 2016 17:59:35 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #1, bug #47409 (project make):

w/regard to build introspection: this could be useful for doing something like
the following.  Admittedly it's a contrived example, but I've had ideas along
these lines (but less contrived) that it would help with:

TARGETS := ... some stuff here ...

# ...
# possibly complicated logic for
# setting dependencies for ${TARGETS}
# ...

OBJS    := $(get_children ${TARGETS})
# more things may depend on those objects
# than was in the original list
TARGETS := $(get_parents ${OBJS})

${OBJS}    : private CCFLAGS += asdf
# anything linking these objects
# needs some special flag
${TARGETS} : private LDFLAGS += fdsa


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]