<commit_before># Makefile to compile the Digital Bazaar C++ libraries

# Clean does not create a target file so this will
# make sure it always runs when typing "make clean"
.PHONY: clean

# base path
BASE_DIR = e:/work/dbcpp/dbcore/trunk

# windows include path
INCLUDES = \
	-IE:/OpenSSL/include \
	-I$(BASE_DIR)/rt/cpp/pthread \
	-I$(BASE_DIR)/data/cpp/db/data/xml/expat

# windows libs
WIN_LIBS = \
	$(BASE_DIR)/rt/cpp/pthread/libpthreadGCE2.a \
	E:/OpenSSL/lib/MinGW/ssleay32.a \
	E:/OpenSSL/lib/MinGW/libeay32.a \
	-lws2_32 \
	$(BASE_DIR)/data/cpp/db/data/xml/expat/libexpat.a \
	$(BASE_DIR)/data/cpp/db/data/xml/expat/libexpat.dll
	#$(BASE_DIR)/sql/cpp/sqlite/sqlite3.dll \
	

# Compiler
CC = g++

# Compiler flags:
# -g	include debug information
CFLAGS = -g -Wall $(INCLUDES)
PYTHON_INCLUDE = -I/usr/include/python2.4

# Archive builder
AR = ar
ARFLAGS = cr

# Library path
LIBS_DIR = $(BASE_DIR)/libs
LIBS = -L$(LIBS_DIR)

# Linker flags:
LDFLAGS = $(LIBS)

# H files
FIND_H = $(wildcard $(dir)/*.h)

# CPP files
FIND_CPP = $(wildcard $(dir)/*.cpp)

# Prefix for all MODULES
MODGROUP = db

# All modules
MODULES = rt modest util io crypto net data event test #sql logging

# All executables
EXES = maintest


# Module specific build rules

modules_MODLIBS = rt

util_MODLIBS = rt

io_MODLIBS = util rt

crypto_MODLIBS = io util rt

net_MODLIBS = crypto io util modest rt
net_SUBDIRS = http

#util_SUBDIRS = regex

data_SUBDIRS = xml mpeg id3v2
data_MODLIBS = io util rt

#sql_SUBDIRS = sqlite3 mysql util
#sql_MODLIBS = rt

event_MODLIBS = modest

test_MODLIBS = rt #sql

# exe rules

maintest_DIR = test
maintest_EXE = test.exe
maintest_MODLIBS = rt modest util io crypto net data event test
maintest_SOURCES = main
#maintest_LIBS = pthread crypto ssl expat


#
# Generic rules
<commit_msg>Added config and mail subdirectories to windows build file.<commit_after># Makefile to compile the Digital Bazaar C++ libraries

# Clean does not create a target file so this will
# make sure it always runs when typing "make clean"
.PHONY: clean

# base path
BASE_DIR = e:/work/dbcpp/dbcore/trunk

# windows include path
INCLUDES = \
	-IE:/OpenSSL/include \
	-I$(BASE_DIR)/rt/cpp/pthread \
	-I$(BASE_DIR)/data/cpp/db/data/xml/expat

# windows libs
WIN_LIBS = \
	$(BASE_DIR)/rt/cpp/pthread/libpthreadGCE2.a \
	E:/OpenSSL/lib/MinGW/ssleay32.a \
	E:/OpenSSL/lib/MinGW/libeay32.a \
	-lws2_32 \
	$(BASE_DIR)/data/cpp/db/data/xml/expat/libexpat.a \
	$(BASE_DIR)/data/cpp/db/data/xml/expat/libexpat.dll
	#$(BASE_DIR)/sql/cpp/sqlite/sqlite3.dll \
	

# Compiler
CC = g++

# Compiler flags:
# -g	include debug information
CFLAGS = -g -Wall $(INCLUDES)
PYTHON_INCLUDE = -I/usr/include/python2.4

# Archive builder
AR = ar
ARFLAGS = cr

# Library path
LIBS_DIR = $(BASE_DIR)/libs
LIBS = -L$(LIBS_DIR)

# Linker flags:
LDFLAGS = $(LIBS)

# H files
FIND_H = $(wildcard $(dir)/*.h)

# CPP files
FIND_CPP = $(wildcard $(dir)/*.cpp)

# Prefix for all MODULES
MODGROUP = db

# All modules
MODULES = rt modest util io crypto net data event config mail test #sql logging

# All executables
EXES = maintest


# Module specific build rules

modules_MODLIBS = rt

util_MODLIBS = rt

io_MODLIBS = util rt

crypto_MODLIBS = io util rt

net_MODLIBS = crypto io util modest rt
net_SUBDIRS = http

#util_SUBDIRS = regex

data_SUBDIRS = xml mpeg id3v2 json
data_MODLIBS = io util rt

#sql_SUBDIRS = sqlite3 mysql util
#sql_MODLIBS = rt

event_MODLIBS = modest

config_MODLIBS = util

mail_MODLIBS = net util

test_MODLIBS = rt #sql

# exe rules

maintest_DIR = test
maintest_EXE = test.exe
maintest_MODLIBS = rt modest util io crypto net data event config mail test
maintest_SOURCES = main
#maintest_LIBS = pthread crypto ssl expat


#
# Generic rules

{'fraction_non_alphanumeric': 0.10985764168681171, 'fraction_numerical': 0.007520816545796401, 'mean_word_length': 3.8489583333333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '6455913', 'n_tokens_mistral': 1509, 'n_tokens_neox': 1454, 'n_words': 388}