Lines Matching defs:version
181 # version-ge3
183 # Usage $(call version-ge3,2.6.4,$(FLEX_VERSION))
185 # To compare if a 3 component version is greater or equal to another, first use
186 # was to check the flex version to see if we can use compiler warnings as
189 version-ge3 = $(shell echo "$(1).$(2)" | awk -F'.' '{ printf("%d\n", (10000000 * $$1 + 10000 * $$2 + $$3) >= (10000000 * $$4 + 10000 * $$5 + $$6)) }')
191 # version-lt3
193 # Usage $(call version-lt3,2.6.2,$(FLEX_VERSION))
195 # To compare if a 3 component version is less thjan another, first use was to
196 # check the flex version to see if we can use compiler warnings as errors for
199 version-lt3 = $(shell echo "$(1).$(2)" | awk -F'.' '{ printf("%d\n", (10000000 * $$1 + 10000 * $$2 + $$3) < (10000000 * $$4 + 10000 * $$5 + $$6)) }')