<commit_before># License and copyright goes here

#########################################################################
# project.mk
#
# This is where we put all project-specific make commands, including 
# the list of files that becomes our public distribution
#########################################################################


# dist_files lists (relative to build) all files that end up in an
# external distribution
dist_bins    	:= iconvert${BINEXT} \
		   iinfo${BINEXT} \
		   iv${BINEXT}
dist_libs     	:= libimageio${SHLIBEXT} \
		   jpeg.imageio${SHLIBEXT} \
		   openexr.imageio${SHLIBEXT} \
		   tiff.imageio${SHLIBEXT}
dist_includes	:= export.h imageio.h paramtype.h


# Path for including things specific to this project

ifeq (${THIRD_PARTY_TOOLS_HOME},)
  THIRD_PARTY_TOOLS_HOME := ../3party/dist/${platform}
endif

ILMBASE_VERSION := 1.0.1
ifeq (${ILMBASE_HOME},)
  ILMBASE_HOME := ${THIRD_PARTY_TOOLS_HOME}
endif
ILMBASE_LIB_AREA := ${ILMBASE_HOME}/lib/ilmbase-${ILMBASE_VERSION}
ILMBASE_CXX := -I${ILMBASE_HOME}/include/ilmbase-${ILMBASE_VERSION}/OpenEXR
LINK_ILMBASE := ${LD_LIBPATH}${ILMBASE_LIB_AREA} -lImath -lHalf -lIlmThread -lIex

OPENEXR_VERSION := 1.6.1
ifeq (${OPENEXR_HOME},)
  OPENEXR_HOME := ${THIRD_PARTY_TOOLS_HOME}
endif
OPENEXR_CXX := -I${OPENEXR_HOME}/include/openexr-${OPENEXR_VERSION}/OpenEXR
LINK_OPENEXR := ${LD_LIBPATH}${OPENEXR_HOME}/lib/openexr-${OPENEXR_VERSION} -lIlmImf

TIFF_VERSION := 3.8.2
ifeq (${TIFF_HOME},)
  TIFF_HOME := ${THIRD_PARTY_TOOLS_HOME}
endif
TIFF_CXX := -I${TIFF_HOME}/include/tiff-${TIFF_VERSION}
LINK_TIFF := ${LD_LIBPATH}${TIFF_HOME}/lib/tiff-${TIFF_VERSION} -ltiff

JPEG_VERSION := 6b
ifeq (${JPEG_HOME},)
  JPEG_HOME := ${THIRD_PARTY_TOOLS_HOME}
endif
JPEG_CXX := -I${JPEG_HOME}/include/jpeg-${JPEG_VERSION}
LINK_JPEG := ${LD_LIBPATH}${JPEG_HOME}/lib/jpeg-${JPEG_VERSION} -ljpeg

ZLIB_VERSION := 1.2.3
ifeq (${ZLIB_HOME},)
  ZLIB_HOME := ${THIRD_PARTY_TOOLS_HOME}
endif
ZLIB_CXX := -I${ZLIB_HOME}/include/zlib-${ZLIB_VERSION}
LINK_ZLIB := ${LD_LIBPATH}${ZLIB_HOME}/lib/zlib-${ZLIB_VERSION} -lz

BOOST_VERSION := 1_35_0
ifeq (${BOOST_HOME},)
  BOOST_HOME := ${THIRD_PARTY_TOOLS_HOME}
endif
BOOST_CXX := -I${BOOST_HOME}/include/boost_${BOOST_VERSION}
BOOST_LIB_AREA := ${BOOST_HOME}/lib/boost_${BOOST_VERSION}
ifeq (${platform},macosx)
  BOOST_SUFFIX := -mt-1_35
else
  BOOST_SUFFIX := -gcc41-mt-1_35
endif
LINK_BOOST := ${LD_LIBPATH}${BOOST_LIB_AREA}
LINK_BOOST += -lboost_program_options${BOOST_SUFFIX} \
	      -lboost_filesystem${BOOST_SUFFIX} \
	      -lboost_system${BOOST_SUFFIX} \
	      -lboost_thread${BOOST_SUFFIX}
dist_extra_libs += ${BOOST_LIB_AREA}/libboost_program_options${BOOST_SUFFIX}${SHLIBEXT} \
		   ${BOOST_LIB_AREA}/libboost_filesystem${BOOST_SUFFIX}${SHLIBEXT} \
		   ${BOOST_LIB_AREA}/libboost_system${BOOST_SUFFIX}${SHLIBEXT} \
		   ${BOOST_LIB_AREA}/libboost_thread${BOOST_SUFFIX}${SHLIBEXT} \
		   ${ILMBASE_LIB_AREA}/libHalf${SHLIBEXT} \
		   ${ILMBASE_LIB_AREA}/libImath${SHLIBEXT} \
		   ${ILMBASE_LIB_AREA}/libIex${SHLIBEXT} \
		   ${ILMBASE_LIB_AREA}/libIlmThread${SHLIBEXT}


PROJECT_EXTRA_CXX := ${ILMBASE_CXX} ${OPENEXR_CXX} ${TIFF_CXX} ${JPEG_CXX} \
			${ZLIB_CXX} ${BOOST_CXX}

PROJECT_EXTRA_CXX += ${QT_INCLUDE} ${OPENGL_INCLUDE}

<commit_msg>Linux - copy all the right .so.num files from 3party area<commit_after># License and copyright goes here

#########################################################################
# project.mk
#
# This is where we put all project-specific make commands, including 
# the list of files that becomes our public distribution
#########################################################################


# dist_files lists (relative to build) all files that end up in an
# external distribution
dist_bins    	:= iconvert${BINEXT} \
		   iinfo${BINEXT} \
		   iv${BINEXT}
dist_libs     	:= libimageio${SHLIBEXT} \
		   jpeg.imageio${SHLIBEXT} \
		   openexr.imageio${SHLIBEXT} \
		   tiff.imageio${SHLIBEXT}
dist_includes	:= export.h imageio.h paramtype.h


# Path for including things specific to this project

ifeq (${THIRD_PARTY_TOOLS_HOME},)
  THIRD_PARTY_TOOLS_HOME := ../3party/dist/${platform}
endif

ILMBASE_VERSION := 1.0.1
ifeq (${ILMBASE_HOME},)
  ILMBASE_HOME := ${THIRD_PARTY_TOOLS_HOME}
endif
ILMBASE_LIB_AREA := ${ILMBASE_HOME}/lib/ilmbase-${ILMBASE_VERSION}
ILMBASE_CXX := -I${ILMBASE_HOME}/include/ilmbase-${ILMBASE_VERSION}/OpenEXR
#LINK_ILMBASE := ${LD_LIBPATH}${ILMBASE_LIB_AREA} -lImath -lHalf -lIlmThread -lIex
LINK_ILMBASE := ${LD_LIBPATH}${ILMBASE_LIB_AREA} -lImath ${ILMBASE_LIB_AREA}/half${OEXT} -lIlmThread -lIex

OPENEXR_VERSION := 1.6.1
ifeq (${OPENEXR_HOME},)
  OPENEXR_HOME := ${THIRD_PARTY_TOOLS_HOME}
endif
OPENEXR_CXX := -I${OPENEXR_HOME}/include/openexr-${OPENEXR_VERSION}/OpenEXR
LINK_OPENEXR := ${LD_LIBPATH}${OPENEXR_HOME}/lib/openexr-${OPENEXR_VERSION} -lIlmImf

TIFF_VERSION := 3.8.2
ifeq (${TIFF_HOME},)
  TIFF_HOME := ${THIRD_PARTY_TOOLS_HOME}
endif
TIFF_CXX := -I${TIFF_HOME}/include/tiff-${TIFF_VERSION}
LINK_TIFF := ${LD_LIBPATH}${TIFF_HOME}/lib/tiff-${TIFF_VERSION} -ltiff

JPEG_VERSION := 6b
ifeq (${JPEG_HOME},)
  JPEG_HOME := ${THIRD_PARTY_TOOLS_HOME}
endif
JPEG_CXX := -I${JPEG_HOME}/include/jpeg-${JPEG_VERSION}
LINK_JPEG := ${LD_LIBPATH}${JPEG_HOME}/lib/jpeg-${JPEG_VERSION} -ljpeg

ZLIB_VERSION := 1.2.3
ifeq (${ZLIB_HOME},)
  ZLIB_HOME := ${THIRD_PARTY_TOOLS_HOME}
endif
ZLIB_CXX := -I${ZLIB_HOME}/include/zlib-${ZLIB_VERSION}
LINK_ZLIB := ${LD_LIBPATH}${ZLIB_HOME}/lib/zlib-${ZLIB_VERSION} -lz

BOOST_VERSION := 1_35_0
ifeq (${BOOST_HOME},)
  BOOST_HOME := ${THIRD_PARTY_TOOLS_HOME}
endif
BOOST_CXX := -I${BOOST_HOME}/include/boost_${BOOST_VERSION}
BOOST_LIB_AREA := ${BOOST_HOME}/lib/boost_${BOOST_VERSION}
ifeq (${platform},macosx)
  BOOST_SUFFIX := -mt-1_35
else
  BOOST_SUFFIX := -gcc41-mt-1_35
endif
LINK_BOOST := ${LD_LIBPATH}${BOOST_LIB_AREA}
LINK_BOOST += -lboost_filesystem${BOOST_SUFFIX} \
	      -lboost_system${BOOST_SUFFIX} \
	      -lboost_thread${BOOST_SUFFIX}
#-lboost_program_options${BOOST_SUFFIX}


dist_extra_libs += ${BOOST_LIB_AREA}/libboost_program_options${BOOST_SUFFIX}${SHLIBEXT} \
		   $(wildcard ${BOOST_LIB_AREA}/libboost_filesystem${BOOST_SUFFIX}${SHLIBEXT}*) \
		   $(wildcard ${BOOST_LIB_AREA}/libboost_system${BOOST_SUFFIX}${SHLIBEXT}*) \
		   $(wildcard ${BOOST_LIB_AREA}/libboost_thread${BOOST_SUFFIX}${SHLIBEXT}*) \
		   ${ILMBASE_LIB_AREA}/libHalf${SHLIBEXT} \
		   $(wildcard ${ILMBASE_LIB_AREA}/libImath${SHLIBEXT}*) \
		   $(wildcard ${ILMBASE_LIB_AREA}/libIex${SHLIBEXT}*) \
		   $(wildcard ${ILMBASE_LIB_AREA}/libIlmThread${SHLIBEXT}*)


PROJECT_EXTRA_CXX := ${ILMBASE_CXX} ${OPENEXR_CXX} ${TIFF_CXX} ${JPEG_CXX} \
			${ZLIB_CXX} ${BOOST_CXX}

PROJECT_EXTRA_CXX += ${QT_INCLUDE} ${OPENGL_INCLUDE}


{'fraction_non_alphanumeric': 0.1898696682464455, 'fraction_numerical': 0.00784952606635071, 'mean_word_length': 6.01975051975052, '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': '6570387', 'n_tokens_mistral': 2928, 'n_tokens_neox': 2661, 'n_words': 373}