<commit_before>lib-y+=httpserver
slib-y+=httpserver
httpserver_SOURCES+=httpserver.c
httpserver_CFLAGS+=-I../../include/httpserver

httpserver_SOURCES-$(VTHREAD)+=vthread.c
httpserver_CFLAGS-$(VTHREAD)+=-DVTHREAD
vthread_CFLAGS+=-DHAVE_PTHREAD -DHAVE_SCHED_YIELD

lib-y+=uri
slib-y+=uri
uri_SOURCES+=uri.c
uri_CFLAGS+=-I../../include/httpserver<commit_msg>[build] select STATIC or DYNAMIC libraries<commit_after>ifeq ($(STATIC),y)
SLIB_HTTPSERVER:=y
SLIB_URI:=y
endif

ifeq ($(DYNAMIC),y)
DLIB_HTTPSERVER:=y
DLIB_URI:=y
endif

lib-$(DLIB_HTTPSERVER)+=httpserver
slib-$(SLIB_HTTPSERVER)+=httpserver
httpserver_SOURCES+=httpserver.c
httpserver_CFLAGS+=-I../../include/httpserver

httpserver_SOURCES-$(VTHREAD)+=vthread.c
httpserver_CFLAGS-$(VTHREAD)+=-DVTHREAD
vthread_CFLAGS+=-DHAVE_PTHREAD -DHAVE_SCHED_YIELD

lib-$(DLIB_URI)+=uri
slib-$(SLIB_URI)+=uri
uri_SOURCES+=uri.c
uri_CFLAGS+=-I../../include/httpserver
{'fraction_non_alphanumeric': 0.16703296703296702, 'fraction_numerical': 0.0, 'mean_word_length': 8.11, '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': '1842968', 'n_tokens_mistral': 388, 'n_tokens_neox': 368, 'n_words': 38}