<commit_before>include ../projekt.mk

SOURCES = ${JCOM_HUB_SOURCE}
OBJS = $(filter-out $(SOURCES),${JCOM_HUB_OBJS})
LOCAL_INCLUDES = -I.
OUTPUT = jcom.hub.mxe
LINK_INPUT = $(OBJS) jcom.hub.def
LIBXML = -L../../ThirdParty/libxml2/win32/bin 
LIBXML += -L../../ThirdParty/libxml2/win32/lib 
#LIBXML = -L/usr/bin 
LIBICONV = -L../../ThirdParty/libiconv/bin


EXTRA_CXXFLAGS = ${LOCAL_INCLUDES} -DLIBXML_STATIC -DLIBXSLT_STATIC -DLIBEXSLT_STATIC -DXMLSEC_STATIC -DLIBXML_THREAD_ENABLED

include ../infra/common.mk
include ../infra/makedep.mk

# this is here because if TT_INCLUDE_CPP is defined when building jcom.hub it
# won't link due to multiple definitions
WIN_DEFINES = -DWIN_VERSION -DTT_TARGET_MAX -DWIN_EXT_VERSION

LIBS += -llibiconv
LIBS += -llibxml2

release: $(OBJS) $(OUTPUT)
	@cp $(OUTPUT) $(INSTALL_DIR)

debug: $(OBJS) $(OUTPUT)
	@cp $(OUTPUT) $(INSTALL_DIR)

$(OUTPUT):
	$(CXX) -Xlinker --allow-multiple-definition -shared -mno-cygwin -o $(OUTPUT) $(LINK_INPUT) $(MAX_INCLUDES) $(MAX_LIB_INCLUDES) $(LIBICONV) $(LIBXML) $(LIBS)

clean:
	rm -f $(OBJS)
	rm -f $(DEPENDS)<commit_msg>change search path for libiconv.dll<commit_after>include ../projekt.mk

SOURCES = ${JCOM_HUB_SOURCE}
OBJS = $(filter-out $(SOURCES),${JCOM_HUB_OBJS})
LOCAL_INCLUDES = -I.
OUTPUT = jcom.hub.mxe
LINK_INPUT = $(OBJS) jcom.hub.def
LIBXML = -L../../ThirdParty/libxml2/win32/bin 
LIBXML += -L../../ThirdParty/libxml2/win32/lib 
#LIBXML = -L/usr/bin 
LIBICONV = -L../../ThirdParty/libiconv


EXTRA_CXXFLAGS = ${LOCAL_INCLUDES} -DLIBXML_STATIC -DLIBXSLT_STATIC -DLIBEXSLT_STATIC -DXMLSEC_STATIC -DLIBXML_THREAD_ENABLED

include ../infra/common.mk
include ../infra/makedep.mk

# this is here because if TT_INCLUDE_CPP is defined when building jcom.hub it
# won't link due to multiple definitions
WIN_DEFINES = -DWIN_VERSION -DTT_TARGET_MAX -DWIN_EXT_VERSION

LIBS += -llibiconv
LIBS += -llibxml2

release: $(OBJS) $(OUTPUT)
	@cp $(OUTPUT) $(INSTALL_DIR)

debug: $(OBJS) $(OUTPUT)
	@cp $(OUTPUT) $(INSTALL_DIR)

$(OUTPUT):
	$(CXX) -Xlinker --allow-multiple-definition -shared -mno-cygwin -o $(OUTPUT) $(LINK_INPUT) $(MAX_INCLUDES) $(MAX_LIB_INCLUDES) $(LIBICONV) $(LIBXML) $(LIBS)

clean:
	rm -f $(OBJS)
	rm -f $(DEPENDS)
{'fraction_non_alphanumeric': 0.16333938294010888, 'fraction_numerical': 0.006352087114337568, 'mean_word_length': 4.471464019851116, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '4540123', 'n_tokens_mistral': 948, 'n_tokens_neox': 881, 'n_words': 187}