<commit_before># This is an submakefile which defines basical rules for building volatile.h

# Platforms which need to perform some sort of special transformation on the
# entire content of volatile.h before it is written to disk may override this
# definition.
DO.MAKE.VOLATILE=$(VOLATILE_H.ALL)

# Blank lines in defines are significant.  Do not remove them.
VOLATILE_H.ALL=$(VOLATILE_H.PREFIX) $(VOLATILE_H.CONTENT) $(VOLATILE_H.SUFFIX)
VOLATILE_H.CONTENT=$(MAKE_VOLATILE_H)
define VOLATILE_H.PREFIX
  echo $"// Do not change.  File generated automatically.$">volatile.tmp
  echo $"#ifndef __CS_VOLATILE_H__$">>volatile.tmp
  echo $"#define __CS_VOLATILE_H__$">>volatile.tmp

endef
define VOLATILE_H.SUFFIX

  echo $"#endif // __CS_VOLATILE_H__$">>volatile.tmp
endef
define VOLATILE_H.OS_FAMILY

  echo $"#if !defined($(OS_FAMILY.$(OS_FAMILY)))$">>volatile.tmp
  echo $"#  define $(OS_FAMILY.$(OS_FAMILY))$">>volatile.tmp
  echo $"#endif$">>volatile.tmp

endef

OS_FAMILY.UNIX=OS_UNIX

PROC.NAME.X86=X86
PROC.NAME.SPARC=Sparc
PROC.NAME.MIPS=MIPS
PROC.NAME.POWERPC=PowerPC
PROC.NAME.M68K=M68K
PROC.NAME.HPPA=PA-RISC
PROC.NAME.ALPHA=Alpha

ifeq ($(PROC.NAME),)
  PROC.NAME=$(PROC.NAME.$(PROC))
endif

COMP.NAME.GCC=GCC
COMP.NAME.VC=VisualC
COMP.NAME.BCC32=Borland
COMP.NAME.MWERKS=MetroWorks

ifeq ($(COMP.NAME),)
  COMP.NAME=$(COMP.NAME.$(COMP))
endif

MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define OS_$(OS)$">>volatile.tmp
MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define PROC_$(PROC)$">>volatile.tmp
MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define COMP_$(COMP)$">>volatile.tmp

ifneq ($(DESCRIPTION.$(TARGET)),)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_PLATFORM_NAME "$(DESCRIPTION.OS.$(TARGET))"$">>volatile.tmp
endif
ifneq ($(PROC.NAME),)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_PROCESSOR_NAME "$(PROC.NAME)"$">>volatile.tmp
endif
ifneq ($(COMP.NAME),)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_COMPILER_NAME "$(COMP.NAME)"$">>volatile.tmp
endif
ifeq ($(USE_PLUGINS),no)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_STATIC_LINKED$">>volatile.tmp
endif
ifeq ($(EXTENSIVE_MEMDEBUG),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_EXTENSIVE_MEMDEBUG$">>volatile.tmp
endif
ifeq ($(DO_SOUND),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define DO_SOUND$">>volatile.tmp
endif
ifeq ($(NASM.INSTALLED),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define DO_NASM$">>volatile.tmp
endif
ifeq ($(DO_MMX),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define DO_MMX$">>volatile.tmp
endif
ifeq ($(CS_USE_FAKE_BOOL_TYPE),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_USE_FAKE_BOOL_TYPE$">>volatile.tmp
endif
ifeq ($(CS_USE_FAKE_EXPLICIT_KEYWORD),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_USE_FAKE_EXPLICIT_KEYWORD$">>volatile.tmp
endif
ifeq ($(CS_USE_OLD_STYLE_CASTS),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_USE_OLD_STYLE_CASTS$">>volatile.tmp
endif
ifeq ($(CS_BUILTIN_SIZED_TYPES),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_BUILTIN_SIZED_TYPES$">>volatile.tmp
endif
ifeq ($(CS_USE_FAKE_SOCKLEN_TYPE),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_USE_FAKE_SOCKLEN_TYPE$">>volatile.tmp
endif
ifeq ($(CS_NO_QSQRT),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_NO_QSQRT$">>volatile.tmp
endif
ifeq ($(CS_QINT_WORKAROUND),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_QINT_WORKAROUND$">>volatile.tmp
endif
ifdef CS_LITTLE_ENDIAN
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_LITTLE_ENDIAN$">>volatile.tmp
endif
ifdef CS_BIG_ENDIAN
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_BIG_ENDIAN$">>volatile.tmp
endif
ifneq ($(OS_FAMILY),)
  MAKE_VOLATILE_H+=$(VOLATILE_H.OS_FAMILY)
endif<commit_msg>additionally adds CSGL_EXT_STATIC_ASSERTION to volatile.h if needed<commit_after># This is an submakefile which defines basical rules for building volatile.h

# Platforms which need to perform some sort of special transformation on the
# entire content of volatile.h before it is written to disk may override this
# definition.
DO.MAKE.VOLATILE=$(VOLATILE_H.ALL)

# Blank lines in defines are significant.  Do not remove them.
VOLATILE_H.ALL=$(VOLATILE_H.PREFIX) $(VOLATILE_H.CONTENT) $(VOLATILE_H.SUFFIX)
VOLATILE_H.CONTENT=$(MAKE_VOLATILE_H)
define VOLATILE_H.PREFIX
  echo $"// Do not change.  File generated automatically.$">volatile.tmp
  echo $"#ifndef __CS_VOLATILE_H__$">>volatile.tmp
  echo $"#define __CS_VOLATILE_H__$">>volatile.tmp

endef
define VOLATILE_H.SUFFIX

  echo $"#endif // __CS_VOLATILE_H__$">>volatile.tmp
endef
define VOLATILE_H.OS_FAMILY

  echo $"#if !defined($(OS_FAMILY.$(OS_FAMILY)))$">>volatile.tmp
  echo $"#  define $(OS_FAMILY.$(OS_FAMILY))$">>volatile.tmp
  echo $"#endif$">>volatile.tmp

endef

OS_FAMILY.UNIX=OS_UNIX

PROC.NAME.X86=X86
PROC.NAME.SPARC=Sparc
PROC.NAME.MIPS=MIPS
PROC.NAME.POWERPC=PowerPC
PROC.NAME.M68K=M68K
PROC.NAME.HPPA=PA-RISC
PROC.NAME.ALPHA=Alpha

ifeq ($(PROC.NAME),)
  PROC.NAME=$(PROC.NAME.$(PROC))
endif

COMP.NAME.GCC=GCC
COMP.NAME.VC=VisualC
COMP.NAME.BCC32=Borland
COMP.NAME.MWERKS=MetroWorks

ifeq ($(COMP.NAME),)
  COMP.NAME=$(COMP.NAME.$(COMP))
endif

MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define OS_$(OS)$">>volatile.tmp
MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define PROC_$(PROC)$">>volatile.tmp
MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define COMP_$(COMP)$">>volatile.tmp

ifneq ($(DESCRIPTION.$(TARGET)),)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_PLATFORM_NAME "$(DESCRIPTION.OS.$(TARGET))"$">>volatile.tmp
endif
ifneq ($(PROC.NAME),)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_PROCESSOR_NAME "$(PROC.NAME)"$">>volatile.tmp
endif
ifneq ($(COMP.NAME),)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_COMPILER_NAME "$(COMP.NAME)"$">>volatile.tmp
endif
ifeq ($(USE_PLUGINS),no)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_STATIC_LINKED$">>volatile.tmp
endif
ifeq ($(EXTENSIVE_MEMDEBUG),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_EXTENSIVE_MEMDEBUG$">>volatile.tmp
endif
ifeq ($(DO_SOUND),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define DO_SOUND$">>volatile.tmp
endif
ifeq ($(NASM.INSTALLED),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define DO_NASM$">>volatile.tmp
endif
ifeq ($(DO_MMX),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define DO_MMX$">>volatile.tmp
endif
ifeq ($(CS_USE_FAKE_BOOL_TYPE),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_USE_FAKE_BOOL_TYPE$">>volatile.tmp
endif
ifeq ($(CS_USE_FAKE_EXPLICIT_KEYWORD),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_USE_FAKE_EXPLICIT_KEYWORD$">>volatile.tmp
endif
ifeq ($(CS_USE_OLD_STYLE_CASTS),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_USE_OLD_STYLE_CASTS$">>volatile.tmp
endif
ifeq ($(CS_BUILTIN_SIZED_TYPES),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_BUILTIN_SIZED_TYPES$">>volatile.tmp
endif
ifeq ($(CS_USE_FAKE_SOCKLEN_TYPE),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_USE_FAKE_SOCKLEN_TYPE$">>volatile.tmp
endif
ifeq ($(CS_NO_QSQRT),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_NO_QSQRT$">>volatile.tmp
endif
ifeq ($(CS_QINT_WORKAROUND),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_QINT_WORKAROUND$">>volatile.tmp
endif
ifeq ($(CSGL_EXT_STATIC_ASSERTION),yes)
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CSGL_EXT_STATIC_ASSERTION$">>volatile.tmp
endif
ifdef CS_LITTLE_ENDIAN
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_LITTLE_ENDIAN$">>volatile.tmp
endif
ifdef CS_BIG_ENDIAN
  MAKE_VOLATILE_H+=$(NEWLINE)echo $"\#define CS_BIG_ENDIAN$">>volatile.tmp
endif
ifneq ($(OS_FAMILY),)
  MAKE_VOLATILE_H+=$(VOLATILE_H.OS_FAMILY)
endif
{'fraction_non_alphanumeric': 0.16544264921885432, 'fraction_numerical': 0.002670583522499666, 'mean_word_length': 7.895486935866983, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 111, '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': '5782791', 'n_tokens_mistral': 3314, 'n_tokens_neox': 3079, 'n_words': 459}