<commit_before># This is a subinclude file used to define the rules needed
# to build the perfstat plug-in.

# Driver description
DESCRIPTION.perfstat = Crystal Space Performance Stats Plugin

#------------------------------------------------------------- rootdefines ---#
ifeq ($(MAKESECTION),rootdefines)

# Driver-specific help commands
PLUGINHELP += \
  $(NEWLINE)echo $"  make perfstat     Make the $(DESCRIPTION.perfstat)$"

endif # ifeq ($(MAKESECTION),rootdefines)

#------------------------------------------------------------- roottargets ---#
ifeq ($(MAKESECTION),roottargets)

.PHONY: perfstat perfstatclean

all plugins: perfstat

perfstat:
	$(MAKE_TARGET) MAKE_DLL=yes
perfstatclean:
	$(MAKE_CLEAN)

endif # ifeq ($(MAKESECTION),roottargets)

#------------------------------------------------------------- postdefines ---#
ifeq ($(MAKESECTION),postdefines)

vpath %.cpp plugins/perfstat

ifeq ($(USE_SHARED_PLUGINS),yes)
  PERFSTAT=$(OUTDLL)perfstat$(DLL)
  DEP.PERFSTAT=$(CSGEOM.LIB) $(CSSYS.LIB) $(CSUTIL.LIB)
else
  PERFSTAT=$(OUT)$(LIB_PREFIX)perfstat$(LIB)
  DEP.EXE+=$(PERFSTAT)
  CFLAGS.STATIC_SCF+=$(CFLAGS.D)SCL_PERFSTAT
endif
DESCRIPTION.$(PERFSTAT) = $(DESCRIPTION.perfstat)
SRC.PERFSTAT = $(wildcard plugins/perfstat/*.cpp)
OBJ.PERFSTAT = $(addprefix $(OUT),$(notdir $(SRC.PERFSTAT:.cpp=$O)))

endif # ifeq ($(MAKESECTION),postdefines)

#----------------------------------------------------------------- targets ---#
ifeq ($(MAKESECTION),targets)

.PHONY: perfstat perfstatclean

# Chain rules
net: perfstat
clean: perfstatclean

perfstat: $(OUTDIRS) $(PERFSTAT)

$(PERFSTAT): $(OBJ.PERFSTAT) $(DEP.PERFSTAT)
	$(DO.PLUGIN)

perfstatclean:<commit_msg>perfstat plugin is now also installed.<commit_after># This is a subinclude file used to define the rules needed
# to build the perfstat plug-in.

# Driver description
DESCRIPTION.perfstat = Crystal Space Performance Stats Plugin

#------------------------------------------------------------- rootdefines ---#
ifeq ($(MAKESECTION),rootdefines)

# Driver-specific help commands
PLUGINHELP += \
  $(NEWLINE)echo $"  make perfstat     Make the $(DESCRIPTION.perfstat)$"

endif # ifeq ($(MAKESECTION),rootdefines)

#------------------------------------------------------------- roottargets ---#
ifeq ($(MAKESECTION),roottargets)

.PHONY: perfstat perfstatclean

all plugins: perfstat

perfstat:
	$(MAKE_TARGET) MAKE_DLL=yes
perfstatclean:
	$(MAKE_CLEAN)

endif # ifeq ($(MAKESECTION),roottargets)

#------------------------------------------------------------- postdefines ---#
ifeq ($(MAKESECTION),postdefines)

vpath %.cpp plugins/perfstat

ifeq ($(USE_SHARED_PLUGINS),yes)
  PERFSTAT=$(OUTDLL)perfstat$(DLL)
  DEP.PERFSTAT=$(CSGEOM.LIB) $(CSSYS.LIB) $(CSUTIL.LIB)
  TO_INSTALL.DYNAMIC_LIBS+=$(PERFSTAT)
else
  PERFSTAT=$(OUT)$(LIB_PREFIX)perfstat$(LIB)
  DEP.EXE+=$(PERFSTAT)
  CFLAGS.STATIC_SCF+=$(CFLAGS.D)SCL_PERFSTAT
  TO_INSTALL.STATIC_LIBS+=$(PERFSTAT)
endif
DESCRIPTION.$(PERFSTAT) = $(DESCRIPTION.perfstat)
SRC.PERFSTAT = $(wildcard plugins/perfstat/*.cpp)
OBJ.PERFSTAT = $(addprefix $(OUT),$(notdir $(SRC.PERFSTAT:.cpp=$O)))

endif # ifeq ($(MAKESECTION),postdefines)

#----------------------------------------------------------------- targets ---#
ifeq ($(MAKESECTION),targets)

.PHONY: perfstat perfstatclean

# Chain rules
net: perfstat
clean: perfstatclean

perfstat: $(OUTDIRS) $(PERFSTAT)

$(PERFSTAT): $(OBJ.PERFSTAT) $(DEP.PERFSTAT)
	$(DO.PLUGIN)

perfstatclean:
{'fraction_non_alphanumeric': 0.2764910248986682, 'fraction_numerical': 0.0, 'mean_word_length': 2.727076591154261, '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': '3686836', 'n_tokens_mistral': 1175, 'n_tokens_neox': 1116, 'n_words': 220}