<commit_before>###
### Makefile for building Tor USB bundle on Mac OS X
###
### Copyright 2007 <NAME> <http://www.cl.cam.ac.uk/users/sjm217/>
### Copyright 2009, 2010 <NAME> <<EMAIL>>
### Copyright 2010 <NAME> <<EMAIL>>
###
### You want to do the following currently supported activities:
# This downloads and compiles everything
### make -f windows.mk build-all-binaries
# This makes a generic bundle
### make -f windows.mk generic-bundle
# This makes the English bundle
### make -f windows.mk bundle_en-US
# This makes the German bundle
### make -f windows.mk bundle_de
# This makes the German compressed bundle
### make -f windows.mk compressed-bundle_de 
# It's possible you may also want to do:
### make -f windows.mk build-all-binaries
### make -f windows.mk all-compressed-bundles
### ...
### Look in tbbwin-alpha-dist/ for your files.
###
### See LICENSE for licensing information
###

#####################
### Configuration ###
#####################

## Include versions
include $(PWD)/versions.mk
BUILD_NUM=3
PLATFORM=Windows

## Location of required libraries
MING=/c/MinGW/bin
QT_LIB=/c/Qt/$(QT_VER)/bin
OPENSSL_LIB=$(COMPILED_BINS)
WIX_LIB="/c/Program Files (x86)/Windows Installer XML v3.5/bin"

## Location of bundle components
VIDALIA=$(FETCH_DIR)/vidalia-$(VIDALIA_VER)
TOR=$(FETCH_DIR)/tor-$(TOR_VER)
FIREFOX=$(FETCH_DIR)/FirefoxPortable-$(FIREFOX_VER)
PIDGIN=$(FETCH_DIR)/PidginPortable-$(PIDGIN_VER)

## Location of utility applications
PWD:=$(shell pwd)
PYTHON=/c/Python26/python.exe
SEVENZIP="/c/Program Files/7-Zip/7z.exe"
PYGET=$(PYTHON) $(PWD)/pyget.py
WGET=wget
VIRUSSCAN=$(PYTHON) $(PWD)/virus-scan.py
WINRAR="/c/Program Files/WinRAR/WinRAR.exe"
CC=gcc


## Location of directory for source unpacking
FETCH_DIR=$(PWD)/build-alpha-windows
## Location of directory for prefix/destdir/compiles/etc
BUILT_DIR=$(FETCH_DIR)/built
TBB_FINAL=$(BUILT_DIR)/tbbwin-alpha-dist

source-dance: fetch-source unpack-source
	echo "We're ready for building now."

ZLIB_DIR=$(FETCH_DIR)/zlib-$(ZLIB_VER)
ZLIB_OPTS=--prefix=$(BUILT_DIR)
ZLIB_LDFLAGS="-Wl,--nxcompat -Wl,--dynamicbase"
build-zlib:
	cd $(ZLIB_DIR) && LDFLAGS=$(ZLIB_LDFLAGS) ./configure $(ZLIB_OPTS)
	cd $(ZLIB_DIR) && make
	cd $(ZLIB_DIR) && make install

OPENSSL_DIR=$(FETCH_DIR)/openssl-$(OPENSSL_VER)
OPENSSL_OPTS=-no-idea -no-rc5 -no-md2 shared zlib --prefix=$(BUILT_DIR) --openssldir=$(BUILT_DIR) -L$(BUILT_DIR)/lib -Wl,--nxcompat -Wl,--dynamicbase -I$(BUILT_DIR)/include
build-openssl:<commit_msg>update winrar path in windows makefile<commit_after>###
### Makefile for building Tor USB bundle on Mac OS X
###
### Copyright 2007 <NAME> <http://www.cl.cam.ac.uk/users/sjm217/>
### Copyright 2009, 2010 <NAME> <<EMAIL>>
### Copyright 2010 <NAME> <<EMAIL>>
###
### You want to do the following currently supported activities:
# This downloads and compiles everything
### make -f windows.mk build-all-binaries
# This makes a generic bundle
### make -f windows.mk generic-bundle
# This makes the English bundle
### make -f windows.mk bundle_en-US
# This makes the German bundle
### make -f windows.mk bundle_de
# This makes the German compressed bundle
### make -f windows.mk compressed-bundle_de 
# It's possible you may also want to do:
### make -f windows.mk build-all-binaries
### make -f windows.mk all-compressed-bundles
### ...
### Look in tbbwin-alpha-dist/ for your files.
###
### See LICENSE for licensing information
###

#####################
### Configuration ###
#####################

## Include versions
include $(PWD)/versions.mk
BUILD_NUM=3
PLATFORM=Windows

## Location of required libraries
MING=/c/MinGW/bin
QT_LIB=/c/Qt/$(QT_VER)/bin
OPENSSL_LIB=$(COMPILED_BINS)
WIX_LIB="/c/Program Files (x86)/Windows Installer XML v3.5/bin"

## Location of bundle components
VIDALIA=$(FETCH_DIR)/vidalia-$(VIDALIA_VER)
TOR=$(FETCH_DIR)/tor-$(TOR_VER)
FIREFOX=$(FETCH_DIR)/FirefoxPortable-$(FIREFOX_VER)
PIDGIN=$(FETCH_DIR)/PidginPortable-$(PIDGIN_VER)

## Location of utility applications
PWD:=$(shell pwd)
PYTHON=/c/Python26/python.exe
SEVENZIP="/c/Program Files/7-Zip/7z.exe"
PYGET=$(PYTHON) $(PWD)/pyget.py
WGET=wget
VIRUSSCAN=$(PYTHON) $(PWD)/virus-scan.py
WINRAR="/c/Program Files/WinRAR (x86)/WinRAR.exe"
CC=gcc


## Location of directory for source unpacking
FETCH_DIR=$(PWD)/build-alpha-windows
## Location of directory for prefix/destdir/compiles/etc
BUILT_DIR=$(FETCH_DIR)/built
TBB_FINAL=$(BUILT_DIR)/tbbwin-alpha-dist

source-dance: fetch-source unpack-source
	echo "We're ready for building now."

ZLIB_DIR=$(FETCH_DIR)/zlib-$(ZLIB_VER)
ZLIB_OPTS=--prefix=$(BUILT_DIR)
ZLIB_LDFLAGS="-Wl,--nxcompat -Wl,--dynamicbase"
build-zlib:
	cd $(ZLIB_DIR) && LDFLAGS=$(ZLIB_LDFLAGS) ./configure $(ZLIB_OPTS)
	cd $(ZLIB_DIR) && make
	cd $(ZLIB_DIR) && make install

OPENSSL_DIR=$(FETCH_DIR)/openssl-$(OPENSSL_VER)
OPENSSL_OPTS=-no-idea -no-rc5 -no-md2 shared zlib --prefix=$(BUILT_DIR) --openssldir=$(BUILT_DIR) -L$(BUILT_DIR)/lib -Wl,--nxcompat -Wl,--dynamicbase -I$(BUILT_DIR)/include
build-openssl:
{'fraction_non_alphanumeric': 0.1757271815446339, 'fraction_numerical': 0.012437311935807422, 'mean_word_length': 5.367816091954023, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '887861', 'n_tokens_mistral': 1898, 'n_tokens_neox': 1774, 'n_words': 413}