<commit_before>TRUNK=../..
COM=$(TRUNK)/CommonLibs/trunk-public-staging
SQL=$(TRUNK)/sqlite3/trunk-public-staging
#SR=$(TRUNK)/subscriberRegistry/trunk-public-staging
LOCALLIBS=$(COM)/Logger.cpp $(COM)/Timeval.cpp $(COM)/Threads.cpp $(COM)/Sockets.cpp $(COM)/Configuration.cpp $(SQL)/sqlite3util.cpp SubscriberRegistry.cpp servershare.cpp
LIBS=$(LOCALLIBS) -losipparser2 -losip2 -lc -lpthread -lsqlite3
INCLUDES=-I$(COM) -I$(SQL)
CPPFLAGS=-g -Wall -Wno-deprecated

all: srmanager.cgi sipauthserve

srmanager.cgi: srmanager.cpp $(LOCALLIBS)
	g++ -o srmanager.cgi $(CPPFLAGS) $(INCLUDES) srmanager.cpp $(LIBS)

sipauthserve: sipauthserve.cpp $(LOCALLIBS)
	g++ -o sipauthserve $(CPPFLAGS) $(INCLUDES) sipauthserve.cpp $(LIBS)

clean:
	rm -f srmanager.cgi sipauthserve test.SubscriberRegistry/test<commit_msg>allow sipauthserve to build against the openbts CommonLibs and sqlite3 directories. Not a great long-term solution.<commit_after>TRUNK=../../openbts/trunk
COM=$(TRUNK)/CommonLibs
SQL=$(TRUNK)/sqlite3
#SR=$(TRUNK)/subscriberRegistry/trunk-public-staging
LOCALLIBS=$(COM)/Logger.cpp $(COM)/Timeval.cpp $(COM)/Threads.cpp $(COM)/Sockets.cpp $(COM)/Configuration.cpp $(SQL)/sqlite3util.cpp SubscriberRegistry.cpp servershare.cpp
LIBS=$(LOCALLIBS) -losipparser2 -losip2 -lc -lpthread -lsqlite3
INCLUDES=-I$(COM) -I$(SQL)
CPPFLAGS=-g -Wall -Wno-deprecated

all: srmanager.cgi sipauthserve

srmanager.cgi: srmanager.cpp $(LOCALLIBS)
	g++ -o srmanager.cgi $(CPPFLAGS) $(INCLUDES) srmanager.cpp $(LIBS)

sipauthserve: sipauthserve.cpp $(LOCALLIBS)
	g++ -o sipauthserve $(CPPFLAGS) $(INCLUDES) sipauthserve.cpp $(LIBS)

clean:
	rm -f srmanager.cgi sipauthserve test.SubscriberRegistry/test
{'fraction_non_alphanumeric': 0.15973871733966746, 'fraction_numerical': 0.006532066508313539, 'mean_word_length': 5.991701244813278, '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': '4052508', 'n_tokens_mistral': 631, 'n_tokens_neox': 646, 'n_words': 118}