PROGS: Support INTERNALPROG.prog=yes to not install it.
MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
5bff0a8f50
commit
cbfb8e93eb
@ -331,6 +331,7 @@ PROGS_CXX PROG and PROGS_CXX in one Makefile. To define
|
||||
- DEBUG_FLAGS
|
||||
- DPADD
|
||||
- DPSRCS
|
||||
- INTERNALPROG (no installation)
|
||||
- LDADD
|
||||
- LDFLAGS
|
||||
- LIBADD
|
||||
|
@ -24,8 +24,8 @@ PROGS += ${PROGS_CXX}
|
||||
# just one of many
|
||||
PROG_OVERRIDE_VARS += BINDIR BINGRP BINOWN BINMODE DPSRCS MAN NO_WERROR \
|
||||
PROGNAME SRCS STRIP WARNS
|
||||
PROG_VARS += CFLAGS CXXFLAGS DEBUG_FLAGS DPADD LDADD LIBADD LINKS \
|
||||
LDFLAGS MLINKS ${PROG_OVERRIDE_VARS}
|
||||
PROG_VARS += CFLAGS CXXFLAGS DEBUG_FLAGS DPADD INTERNALPROG LDADD LIBADD \
|
||||
LINKS LDFLAGS MLINKS ${PROG_OVERRIDE_VARS}
|
||||
.for v in ${PROG_VARS:O:u}
|
||||
.if empty(${PROG_OVERRIDE_VARS:M$v})
|
||||
.if defined(${v}.${PROG})
|
||||
|
Loading…
Reference in New Issue
Block a user