<commit_before>#will be /usr/local/trafficserver in prod
BASEDIR=/usr/
INSTALLDIR=/usr/local/trafficserver/modules
#INSTALLDIR=/usr/libexec/trafficserver/

PATH=/usr/local/bin:/usr/bin:/bin::/usr/local/trafficserver/bin  #access to tsxs
CXXFLAGS="-O0 -g2 -L/usr/lib -L/usr/local/lib"
TSXS="$(BASEDIR)/bin/tsxs"
INSTALL=install

INCFLAGS=-I "./include" -I "/usr/include/mysql"
LIBLIST=-l re2 -l zmq -l config++

all:	banjax

banjax:
	$(TSXS) -o banjax.so $(INCFLAGS) $(LIBLIST) -C src/*.cpp

clean:
	rm -fr banjax.so

install:
	mkdir -p $(DESTDIR)$(INSTALLDIR)
	$(INSTALL) banjax.so $(DESTDIR)$(INSTALLDIR)<commit_msg>We do need libmysql :(<commit_after>#will be /usr/local/trafficserver in prod
BASEDIR=/usr/
INSTALLDIR=/usr/local/trafficserver/modules
#INSTALLDIR=/usr/libexec/trafficserver/

PATH=/usr/local/bin:/usr/bin:/bin::/usr/local/trafficserver/bin  #access to tsxs
CXXFLAGS="-O0 -g2 -L/usr/lib -L/usr/local/lib"
TSXS="$(BASEDIR)/bin/tsxs"
INSTALL=install

INCFLAGS=-I "./include" -I "/usr/include/mysql"
LIBLIST=-l re2 -l zmq -l config++ -l mysqlclient

all:	banjax

banjax:
	$(TSXS) -o banjax.so $(INCFLAGS) $(LIBLIST) -C src/*.cpp

clean:
	rm -fr banjax.so

install:
	mkdir -p $(DESTDIR)$(INSTALLDIR)
	$(INSTALL) banjax.so $(DESTDIR)$(INSTALLDIR)
{'fraction_non_alphanumeric': 0.1836248012718601, 'fraction_numerical': 0.0047694753577106515, 'mean_word_length': 4.426724137931035, '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': '6655221', 'n_tokens_mistral': 541, 'n_tokens_neox': 512, 'n_words': 103}