Revision 9ef622e3

b/rules.mak
106 106
# Logical if: like make's $(if) but with an leqv-like test
107 107
lif = $(if $(subst n,,$1),$2,$3)
108 108

  
109
# String testing functions: inputs to these can be any string;
110
# the output is always either "y" or "n". Leading and trailing whitespace
111
# is ignored when comparing strings.
112
# String equality
113
eq = $(if $(subst $2,,$1)$(subst $1,,$2),n,y)
114
# String inequality
115
ne = $(if $(subst $2,,$1)$(subst $1,,$2),y,n)
116
# Emptiness/non-emptiness tests:
117
isempty = $(if $1,n,y)
118
notempty = $(if $1,y,n)
119

  
109 120
# Generate files with tracetool
110 121
TRACETOOL=$(PYTHON) $(SRC_PATH)/scripts/tracetool.py
111 122

  

Also available in: Unified diff