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

# Driver description
DESCRIPTION.physldr = Crystal Space Physics Loader plug-in

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

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

endif # ifeq ($(MAKESECTION),rootdefines)

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

.PHONY: physldr physldrclean
all plugins: physldr

physldr:
	$(MAKE_TARGET) MAKE_DLL=yes
physldrclean:
	$(MAKE_CLEAN)

endif # ifeq ($(MAKESECTION),roottargets)

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

vpath %.cpp plugins/physics/loader

LIB.EXTERNAL.physldr = -lode

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

INC.physldr = $(wildcard plugins/physics/loader/*.h)
SRC.physldr = $(wildcard plugins/physics/loader/*.cpp)
OBJ.physldr = $(addprefix $(OUT)/,$(notdir $(SRC.physldr:.cpp=$O)))
DEP.physldr = CSGEOM CSUTIL CSSYS

MSVC.DSP += physldr
DSP.physldr.NAME = physldr
DSP.physldr.TYPE = plugin
DSP.physldr.LIBS = ode

endif # ifeq ($(MAKESECTION),postdefines)

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

.PHONY: physldr physldrclean

physldr: $(OUTDIRS) $(physldr)

$(physldr): $(OBJ.physldr) $(LIB.physldr)
	$(DO.PLUGIN) $(LIB.EXTERNAL.physldr)

clean: physldrclean
physldrclean:
	$(RM) $(physldr) $(OBJ.physldr)

ifdef DO_DEPEND
dep: $(OUTOS)/physldr.dep
$(OUTOS)/physldr.dep: $(SRC.physldr)
	$(DO.DEP)
else
-include $(OUTOS)/physldr.dep
endif

endif # ifeq ($(MAKESECTION),targets)<commit_msg>no need to link the physics loader with ode<commit_after># This is a subinclude file used to define the rules needed
# to build the physldr plug-in.

# Driver description
DESCRIPTION.physldr = Crystal Space Physics Loader plug-in

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

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

endif # ifeq ($(MAKESECTION),rootdefines)

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

.PHONY: physldr physldrclean
all plugins: physldr

physldr:
	$(MAKE_TARGET) MAKE_DLL=yes
physldrclean:
	$(MAKE_CLEAN)

endif # ifeq ($(MAKESECTION),roottargets)

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

vpath %.cpp plugins/physics/loader

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

INC.physldr = $(wildcard plugins/physics/loader/*.h)
SRC.physldr = $(wildcard plugins/physics/loader/*.cpp)
OBJ.physldr = $(addprefix $(OUT)/,$(notdir $(SRC.physldr:.cpp=$O)))
DEP.physldr = CSGEOM CSUTIL CSSYS

MSVC.DSP += physldr
DSP.physldr.NAME = physldr
DSP.physldr.TYPE = plugin
DSP.physldr.LIBS = ode

endif # ifeq ($(MAKESECTION),postdefines)

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

.PHONY: physldr physldrclean

physldr: $(OUTDIRS) $(physldr)

$(physldr): $(OBJ.physldr) $(LIB.physldr)
	$(DO.PLUGIN)

clean: physldrclean
physldrclean:
	$(RM) $(physldr) $(OBJ.physldr)

ifdef DO_DEPEND
dep: $(OUTOS)/physldr.dep
$(OUTOS)/physldr.dep: $(SRC.physldr)
	$(DO.DEP)
else
-include $(OUTOS)/physldr.dep
endif

endif # ifeq ($(MAKESECTION),targets)
{'fraction_non_alphanumeric': 0.2644927536231884, 'fraction_numerical': 0.0, 'mean_word_length': 2.7817351598173516, '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': '4919269', 'n_tokens_mistral': 1562, 'n_tokens_neox': 1486, 'n_words': 292}