<commit_before>#
# Copyright 2014, NICTA
#
# This software may be distributed and modified according to the terms of
# the BSD 2-Clause license. Note that NO WARRANTY is provided.
# See "LICENSE_BSD2.txt" for details.
#
# @TAG(NICTA_BSD)
#

/*# Ignore the following line. It is intended to apply to the output of this
    template.
#*/
# THIS FILE IS AUTOMATICALLY GENERATED. YOUR EDITS WILL BE OVERWRITTEN.

/*# When modifying this template be particularly careful. The awkward syntax of
    both the templating language and GNU Make come together to make it very
    easy to introduce unreadable code in this context.
#*/

# FIXME: Move to the common build system.
SPONGE := $(shell which sponge)
# If `sponge` is unavailable, emulate it.
ifeq (${SPONGE},)
  SPONGE := python -c 'import sys; data = sys.stdin.read(); f = open(sys.argv[1], "w"); f.write(data); f.close()'
endif

/*# Various macros to make constructing makefile rules easier. #*/
/*- macro rule_cp(target, dependencies) -*/
/*? target ?*/: /*? dependencies ?*/
	@echo " [CP] $(notdir $@)"
	${Q}mkdir -p $(dir $@)
	${Q}echo "#line 1 \"$<\"" >$@
	${Q}cat "$<" >>"$@"
/*- endmacro -*/

/*- macro rule_gen(target, dependencies, item, cfiles_append=None, platform='seL4', preprocessor=None) -*/
/*- if cfiles_append -*/
/*? cfiles_append ?*/_CFILES += /*? target ?*/
/*- endif -*/
.DELETE_ON_ERROR: /*? target ?*/
/*? target ?*/: /*? dependencies ?*/
	@echo " [GEN] $(notdir $@)"
	${Q}mkdir -p $(dir $@)
	${Q}camkes.sh runner \<commit_msg>Templates: Remove `sponge` from the build system.<commit_after>#
# Copyright 2014, NICTA
#
# This software may be distributed and modified according to the terms of
# the BSD 2-Clause license. Note that NO WARRANTY is provided.
# See "LICENSE_BSD2.txt" for details.
#
# @TAG(NICTA_BSD)
#

/*# Ignore the following line. It is intended to apply to the output of this
    template.
#*/
# THIS FILE IS AUTOMATICALLY GENERATED. YOUR EDITS WILL BE OVERWRITTEN.

/*# When modifying this template be particularly careful. The awkward syntax of
    both the templating language and GNU Make come together to make it very
    easy to introduce unreadable code in this context.
#*/

/*# Various macros to make constructing makefile rules easier. #*/
/*- macro rule_cp(target, dependencies) -*/
/*? target ?*/: /*? dependencies ?*/
	@echo " [CP] $(notdir $@)"
	${Q}mkdir -p $(dir $@)
	${Q}echo "#line 1 \"$<\"" >$@
	${Q}cat "$<" >>"$@"
/*- endmacro -*/

/*- macro rule_gen(target, dependencies, item, cfiles_append=None, platform='seL4', preprocessor=None) -*/
/*- if cfiles_append -*/
/*? cfiles_append ?*/_CFILES += /*? target ?*/
/*- endif -*/
.DELETE_ON_ERROR: /*? target ?*/
/*? target ?*/: /*? dependencies ?*/
	@echo " [GEN] $(notdir $@)"
	${Q}mkdir -p $(dir $@)
	${Q}camkes.sh runner \
{'fraction_non_alphanumeric': 0.17175709665828243, 'fraction_numerical': 0.006108515989938915, 'mean_word_length': 3.6947723440134905, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '2727293', 'n_tokens_mistral': 983, 'n_tokens_neox': 925, 'n_words': 312}