<commit_before>
.DEFAULT_GOAL := all

init:
	git submodule update --init
	android update project -p .

all: build-external build-jni build-java

build-external:
	cd external/ && \
	make -f Android.mk build-local-hack && \
	ndk-build && \
  make -f Android.mk copy-libs-hack

build-jni:
	cd jni/ && ndk-build

build-java:
	ant compile && \
	cd bin/classes && \
	jar -cvf sqlcipher.jar .
<commit_msg>Adding clean and deploy of compiled libs to build process<commit_after>
.DEFAULT_GOAL := all
LIBRARY_ROOT := libs

init:
	git submodule update --init
	android update project -p .

all: clean build-external build-jni build-java copy-libs

build-external:
	cd external/ && \
	make -f Android.mk build-local-hack && \
	ndk-build && \
  make -f Android.mk copy-libs-hack

build-jni:
	cd jni/ && ndk-build

build-java:
	ant compile && \
	cd bin/classes && \
	jar -cvf sqlcipher.jar .

clean:
	rm ${LIBRARY_ROOT}/armeabi/libsqlcipher_android.so && \
	rm ${LIBRARY_ROOT}/armeabi/libdatabase_sqlcipher.so && \
	rm ${LIBRARY_ROOT}/sqlcipher.jar

copy-libs:
	cp external/libs/armeabi/libsqlcipher_android.so \
		 ${LIBRARY_ROOT}/armeabi  && \
  cp jni/libs/armeabi/libdatabase_sqlcipher.so \
     ${LIBRARY_ROOT}/armeabi && \
  cp bin/classes/sqlcipher.jar ${LIBRARY_ROOT}

{'fraction_non_alphanumeric': 0.1324345757335448, 'fraction_numerical': 0.0, 'mean_word_length': 3.292517006802721, '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': '2686642', 'n_tokens_mistral': 498, 'n_tokens_neox': 473, 'n_words': 110}