<commit_before># Plug-in description
DESCRIPTION.mp3 = Crystal Space mp3 sound loader

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

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

endif # ifeq ($(MAKESECTION),rootdefines)

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

.PHONY: mp3 mp3clean
all plugins drivers snddrivers: mp3

mp3:
	$(MAKE_TARGET) MAKE_DLL=yes
mp3clean:
	$(MAKE_CLEAN)

endif # ifeq ($(MAKESECTION),roottargets)

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

vpath %.cpp plugins/sound/loader/mp3 plugins/sound/loader/mp3/mpg123

ifeq ($(USE_PLUGINS),yes)
  MP3 = $(OUTDLL)sndmp3$(DLL)
  LIB.MP3 = $(foreach d,$(DEP.MP3),$($d.LIB))
  TO_INSTALL.DYNAMIC_LIBS += $(MP3)
else
  MP3 = $(OUT)$(LIB_PREFIX)sndmp3$(LIB)
  DEP.EXE += $(MP3)
  SCF.STATIC += sndmp3
  TO_INSTALL.STATIC_LIBS += $(MP3)
endif

INC.MP3 = $(wildcard plugins/sound/loader/mp3/*.h) $(wildcard plugins/sound/loader/mp3/mpg123/*.h)
SRC.MP3 = $(wildcard plugins/sound/loader/mp3/*.cpp) $(wildcard plugins/sound/loader/mp3/mpg123/*.cpp)
OBJ.MP3 = $(addprefix $(OUT),$(notdir $(SRC.MP3:.cpp=$O)))
DEP.MP3 = CSUTIL CSSYS CSUTIL

MSVC.DSP += MP3
DSP.MP3.NAME = sndmp3
DSP.MP3.TYPE = plugin

endif # ifeq ($(MAKESECTION),postdefines)

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

.PHONY: mp3 mp3clean
<commit_msg>Modified so nix specific files are *not* added to MSVC project files for attempted compilation.<commit_after># Plug-in description
DESCRIPTION.mp3 = Crystal Space mp3 sound loader

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

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

endif # ifeq ($(MAKESECTION),rootdefines)

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

.PHONY: mp3 mp3clean
all plugins drivers snddrivers: mp3

mp3:
	$(MAKE_TARGET) MAKE_DLL=yes
mp3clean:
	$(MAKE_CLEAN)

endif # ifeq ($(MAKESECTION),roottargets)

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

vpath %.cpp plugins/sound/loader/mp3 plugins/sound/loader/mp3/mpg123

ifeq ($(USE_PLUGINS),yes)
  MP3 = $(OUTDLL)sndmp3$(DLL)
  LIB.MP3 = $(foreach d,$(DEP.MP3),$($d.LIB))
  TO_INSTALL.DYNAMIC_LIBS += $(MP3)
else
  MP3 = $(OUT)$(LIB_PREFIX)sndmp3$(LIB)
  DEP.EXE += $(MP3)
  SCF.STATIC += sndmp3
  TO_INSTALL.STATIC_LIBS += $(MP3)
endif

ifeq ($(OS),WIN32)
  INC.MP3 = $(wildcard plugins/sound/loader/mp3/*.h) \
    plugins/sound/loader/mp3/mpg123/bitstrm.h plugins/sound/loader/mp3/mpg123/frame.h \
    plugins/sound/loader/mp3/mpg123/genre.h plugins/sound/loader/mp3/mpg123/huffman.h \
    plugins/sound/loader/mp3/mpg123/l2tables.h plugins/sound/loader/mp3/mpg123/mpg123.h \
    plugins/sound/loader/mp3/mpg123/version.h
  SRC.MP3 = $(wildcard plugins/sound/loader/mp3/*.cpp) \
    plugins/sound/loader/mp3/mpg123/bitstrm.cpp plugins/sound/loader/mp3/mpg123/dct64.cpp \
    plugins/sound/loader/mp3/mpg123/dec2to1.cpp plugins/sound/loader/mp3/mpg123/decntom.cpp \
    plugins/sound/loader/mp3/mpg123/dec4to1.cpp plugins/sound/loader/mp3/mpg123/decode.cpp \
    plugins/sound/loader/mp3/mpg123/frame.cpp plugins/sound/loader/mp3/mpg123/layer1.cpp \
    plugins/sound/loader/mp3/mpg123/layer2.cpp plugins/sound/loader/mp3/mpg123/layer3.cpp \
    plugins/sound/loader/mp3/mpg123/tabinit.cpp
else
  INC.MP3 = $(wildcard plugins/sound/loader/mp3/*.h) $(wildcard plugins/sound/loader/mp3/mpg123/*.h)
  SRC.MP3 = $(wildcard plugins/sound/loader/mp3/*.cpp) $(wildcard plugins/sound/loader/mp3/mpg123/*.cpp)
endif

OBJ.MP3 = $(addprefix $(OUT),$(notdir $(SRC.MP3:.cpp=$O)))
DEP.MP3 = CSUTIL CSSYS CSUTIL

MSVC.DSP += MP3
DSP.MP3.NAME = sndmp3
DSP.MP3.TYPE = plugin

endif # ifeq ($(MAKESECTION),postdefines)

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

.PHONY: mp3 mp3clean

{'fraction_non_alphanumeric': 0.2630359212050985, 'fraction_numerical': 0.04194669756662804, 'mean_word_length': 2.5464256368118323, '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': 62, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3200755', 'n_tokens_mistral': 1696, 'n_tokens_neox': 1565, 'n_words': 248}