#-*-Makefile-*- vim:syntax=make
#$Id: ident_flags.extra,v 1.4 2006/12/12 18:22:55 vlahan Exp $

IDENT_PL ?= tos-ident-flags
IDENT_PROGRAM_NAME ?= $(COMPONENT)
IDENT_FLAGS := $(shell $(IDENT_PL) "$(IDENT_PROGRAM_NAME)")

CFLAGS += $(IDENT_FLAGS)

BUILD_EXTRA_DEPS += ident_cache

ident_cache: FORCE
	@echo '$(IDENT_FLAGS)' > $(BUILDDIR)/ident_flags.txt

