<commit_before>include_directories(AFTER ${loganon_SOURCE_DIR}/lib/include)

# PCRE
include_directories(AFTER ${PCRE_INCLUDE_DIR})

# DUMBNET
include_directories(AFTER ${DUMBNET_INCLUDE_DIRS})

#OPENSSL
include_directories(AFTER ${OPENSSL_INCLUDE_DIR})

#PCAP
include_directories(AFTER ${PCAP_INCLUDE_DIRS})



add_library(parser SHARED client.c loganon_parser.c loganon_parser_pcap.c
	loganon_parser_syslog.c loganon_pcre loganon_queue.c)

add_executable(client client.c )
set_target_properties(parser PROPERTIES SOVERSION 1)

target_link_libraries(parser ${PCRE_PCRE_LIBRARY} ${DUMBNET_LIBRARIES}
	${OPENSSL_LIBRARIES} ${PCAP_LIBRARIES})

target_link_libraries(client ${PCRE_PCRE_LIBRARY} ${DUMBNET_LIBRARIES}
   	${OPENSSL_LIBRARIES} ${PCAP_LIBRARIES} parser)<commit_msg>Add a new option to include libloganon in parser<commit_after>include_directories(AFTER ${loganon_SOURCE_DIR}/lib/include)

# PCRE
include_directories(AFTER ${PCRE_INCLUDE_DIR})

# DUMBNET
include_directories(AFTER ${DUMBNET_INCLUDE_DIRS})

#OPENSSL
include_directories(AFTER ${OPENSSL_INCLUDE_DIR})

#PCAP
include_directories(AFTER ${PCAP_INCLUDE_DIRS})



add_library(parser SHARED client.c loganon_parser.c loganon_parser_pcap.c
	loganon_parser_syslog.c loganon_pcre loganon_queue.c)

add_executable(client client.c )
set_target_properties(parser PROPERTIES SOVERSION 1)

target_link_libraries(parser ${PCRE_PCRE_LIBRARY} ${DUMBNET_LIBRARIES}
	${OPENSSL_LIBRARIES} ${PCAP_LIBRARIES} loganon)

target_link_libraries(client ${PCRE_PCRE_LIBRARY} ${DUMBNET_LIBRARIES}
   	${OPENSSL_LIBRARIES} ${PCAP_LIBRARIES} parser loganon)
{'fraction_non_alphanumeric': 0.09255784865540963, 'fraction_numerical': 0.0012507817385866166, 'mean_word_length': 10.347517730496454, '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': '2818514', 'n_tokens_mistral': 642, 'n_tokens_neox': 606, 'n_words': 87}