<commit_before># $Id$
# %PSC_COPYRIGHT%

CROOTDIR=		$(realpath ${ROOTDIR})
STRIPROOTDIR=		$(subst ${CROOTDIR}/,,$1)
PATH_NAMIFY=		$(subst .,_,$(subst -,_,$(subst /,_,$1)))
FILE_CFLAGS_VARNAME=	$(call PATH_NAMIFY,$(call STRIPROOTDIR,$(abspath $1)))_CFLAGS
FILE_PCPP_FLAGS_VARNAME=$(call PATH_NAMIFY,$(call STRIPROOTDIR,$(abspath $1)))_PCPP_FLAGS
FILE_CFLAGS=		${$(call PATH_NAMIFY,$(call STRIPROOTDIR,$(realpath $1)))_CFLAGS}
FILE_PCPP_FLAGS=	${$(call PATH_NAMIFY,$(call STRIPROOTDIR,$(realpath $1)))_PCPP_FLAGS}

-include ${ROOTDIR}/mk/local.mk
include ${ROOTDIR}/mk/pickle.mk<commit_msg>add interface for adding CFLAGS for specific files<commit_after># $Id$
# %PSC_COPYRIGHT%

CROOTDIR=		$(realpath ${ROOTDIR})
STRIPROOTDIR=		$(subst ${CROOTDIR}/,,$1)
PATH_NAMIFY=		$(subst .,_,$(subst -,_,$(subst /,_,$1)))
FILE_CFLAGS_VARNAME=	$(call PATH_NAMIFY,$(call STRIPROOTDIR,$(abspath $1)))_CFLAGS
FILE_PCPP_FLAGS_VARNAME=$(call PATH_NAMIFY,$(call STRIPROOTDIR,$(abspath $1)))_PCPP_FLAGS
FILE_CFLAGS=		${$(call PATH_NAMIFY,$(call STRIPROOTDIR,$(realpath $1)))_CFLAGS}
FILE_PCPP_FLAGS=	${$(call PATH_NAMIFY,$(call STRIPROOTDIR,$(realpath $1)))_PCPP_FLAGS}
ADD_FILE_CFLAGS=	$(eval $(call FILE_CFLAGS_VARNAME,$1)+=$2)

-include ${ROOTDIR}/mk/local.mk
include ${ROOTDIR}/mk/pickle.mk
{'fraction_non_alphanumeric': 0.194815396700707, 'fraction_numerical': 0.010997643362136685, 'mean_word_length': 9.616666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4907295', 'n_tokens_mistral': 551, 'n_tokens_neox': 528, 'n_words': 84}