Changeset View
Changeset View
Standalone View
Standalone View
lib/atf/libatf-c/Makefile
Show All 22 Lines | |||||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
# SUCH DAMAGE. | # SUCH DAMAGE. | ||||
# | # | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
.include <src.opts.mk> | .include <src.opts.mk> | ||||
.include <bsd.init.mk> | .include <bsd.init.mk> | ||||
_CFLAGS:= ${CFLAGS} | _CFLAGS:= ${CFLAGS:M-[DILOWf]*} | ||||
_CPPFLAGS:= ${CPPFLAGS} | _CPPFLAGS:= ${CPPFLAGS:M-[DILOWf]*} | ||||
_CXXFLAGS:= ${CXXFLAGS} | _CXXFLAGS:= ${CXXFLAGS:M-[DILOWf]*} | ||||
jmmv: While you are doing this, could you rename these variables to ATF_BUILD_*? It's weird they are… | |||||
ngieAuthorUnsubmitted Done Inline ActionsI can't inline the values below as I would be assigning a non-immediate (expanded) value to a non-immediate value, but I can definitely add a prefix. ngie: I can't inline the values below as I would be assigning a non-immediate (expanded) value to a… | |||||
LIB= atf-c | LIB= atf-c | ||||
PRIVATELIB= true | PRIVATELIB= true | ||||
SHLIB_MAJOR= 1 | SHLIB_MAJOR= 1 | ||||
ATF= ${SRCTOP}/contrib/atf | ATF= ${SRCTOP}/contrib/atf | ||||
.PATH: ${ATF} | .PATH: ${ATF} | ||||
.PATH: ${ATF}/atf-c | .PATH: ${ATF}/atf-c | ||||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |
While you are doing this, could you rename these variables to ATF_BUILD_*? It's weird they are prefixed just with an underscore.
Maybe just inline the values down below where the -D are defined.