<commit_before>A = bigBedSearch
EXTRA = bigBedToBed bigBedInfo bigBedNamedItems bigBedSummary bigWigInfo bigWigSummary

# The following deactivates certain parts of lib/*.c that we don't need.
# They are all marked with #ifndef/#ifdef lines with the TRP_EXCISION symbol.
HG_DEFS = -DTRP_EXCISION

ifeq (${BINDIR},)
	BINDIR = .
endif
HG_INC = -I./include -I./src

########################### adapted from kent/src/inc/common.mk ##############################

CC = gcc
# to build on sundance: CC=gcc -mcpu=v9 -m64
ifeq (${COPT},)
	COPT = -O -g
endif
ifeq (${CFLAGS},)
	CFLAGS =
endif
ifeq (${MACHTYPE},)
	MACHTYPE := $(shell uname -m)
#		$(info MACHTYPE was empty, set to: ${MACHTYPE})
endif
ifneq (,$(findstring -,$(MACHTYPE)))
#		 $(info MACHTYPE has - sign ${MACHTYPE})
	MACHTYPE := $(shell uname -m)
#		 $(info MACHTYPE has - sign set to: ${MACHTYPE})
endif

# to check for Mac OSX Darwin specifics:
UNAME_S := $(shell uname -s)

#global external libraries 
L =


# pthreads is required
ifneq ($(UNAME_S),Darwin)
	L += -pthread
endif

# autodetect if openssl is installed
ifeq (${SSLDIR},)
	SSLDIR = /usr/include/openssl
endif
ifeq (${USE_SSL},)
	ifneq ($(wildcard ${SSLDIR}),)
		USE_SSL = 1
	endif
endif

ifeq (${USE_SSL},1)
	ifneq (${SSL_DIR}, "/usr/include/openssl")
		ifneq ($(UNAME_S),Darwin)
			L += -L${SSL_DIR}/lib
		endif
			HG_INC += -I${SSL_DIR}/include
	endif
	L += -lssl -lcrypto
	HG_DEFS += -DUSE_SSL
endif


SYS = $(shell uname -s)

ifeq (${HG_WARN},)
	ifeq (${SYS},Darwin)<commit_msg>trying to fix SSL for sierra<commit_after>A = bigBedSearch
EXTRA = bigBedToBed bigBedInfo bigBedNamedItems bigBedSummary bigWigInfo bigWigSummary

# The following deactivates certain parts of lib/*.c that we don't need.
# They are all marked with #ifndef/#ifdef lines with the TRP_EXCISION symbol.
HG_DEFS = -DTRP_EXCISION

ifeq (${BINDIR},)
	BINDIR = .
endif
HG_INC = -I./include -I./src

########################### adapted from kent/src/inc/common.mk ##############################

CC = gcc
# to build on sundance: CC=gcc -mcpu=v9 -m64
ifeq (${COPT},)
	COPT = -O -g
endif
ifeq (${CFLAGS},)
	CFLAGS =
endif
ifeq (${MACHTYPE},)
	MACHTYPE := $(shell uname -m)
#		$(info MACHTYPE was empty, set to: ${MACHTYPE})
endif
ifneq (,$(findstring -,$(MACHTYPE)))
#		 $(info MACHTYPE has - sign ${MACHTYPE})
	MACHTYPE := $(shell uname -m)
#		 $(info MACHTYPE has - sign set to: ${MACHTYPE})
endif

# to check for Mac OSX Darwin specifics:
UNAME_S := $(shell uname -s)

#global external libraries 
L =


# pthreads is required
ifneq ($(UNAME_S),Darwin)
	L += -pthread
endif

# autodetect if openssl is installed
ifeq (${SSLDIR},)
	SSLDIR = /usr/include/openssl
endif
ifeq (${USE_SSL},)
	ifneq ($(wildcard ${SSLDIR}),)
		USE_SSL = 1
	endif
endif

ifeq (${USE_SSL},1)
	ifneq (${SSLDIR}, "/usr/include/openssl")
		ifneq ($(UNAME_S),Darwin)
			L += -L${SSLDIR}/lib
		endif
			HG_INC += -I${SSLDIR}/include
	endif
	L += -lssl -lcrypto
	HG_DEFS += -DUSE_SSL
endif


SYS = $(shell uname -s)

ifeq (${HG_WARN},)
	ifeq (${SYS},Darwin)
{'fraction_non_alphanumeric': 0.1855533465871438, 'fraction_numerical': 0.0033134526176275677, 'mean_word_length': 4.241319444444445, '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': '6655199', 'n_tokens_mistral': 1251, 'n_tokens_neox': 1174, 'n_words': 334}